BAPI/RFM - Header Detail

These mapping types deal with multi-line (Header detail) documents.

Consider the data as below in which one part is header and the other is detail. Both header details together constitute a Sales Document.

In column I there is a Sales Document column that will retrieve the sales document number when the document is posted. We have mapped that field to SAP to Excel in Download from SAP.

BAPI_HeaderDetail

To execute the above date we need to configure loop in Process Runner. You can assign loop to a field from Block Type and Block value from Mapper. It will only be visible if you have enabled Advance view from Mapper toolbar.

Unlike Transaction, here there is no Start loop or End loop indicators. Inserting a Block Type and its consequent block value will automatically consider those fields in a loop.

You can tell Process Runner how it should loop through your Excel data. You can tell that Excel data is grouped in "Fix Block" or certain rows or grouped by similar values i.e. "On Change" or grouped by blank row in between them i.e. "Blank Row".

BAPI_HeaderDetail2

Following are the Block types supported.

When you set loops to upload multiple line items information, you can map Excel Column Index (column name) or Excel Column Header text (Excel header cell) in the Block Value column. For information about mapping Excel header Cell, see Map Excel Header. Note that this feature does not support to loop when Block Type is set to Fix Block.