Header Detail Mapping types in Transaction

Previous  Top  Next

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

transaction---header-detailb1

 

There are 4 different ways to tell Process Runner how your Excel data is organized for multi line document. Different mapping type allows using Excel data as you have - without forcing you to change them.

Notes:

i.    There are two fields to map for Header-Detail looping - one is Block Type and another is Block Value. These two fields are over and above regular mapping fields. These fields are used together to tell Process Runner how data in Excel file is arranged.

ii.    You maintain "Block Type" and "Block Value" in same row as "Start Loop".

 

hmtoggle_plus11.    Fix Blocks

Where you know that number of detail rows are always fix, say 2 rows

transaction---header-detailb2

 

Mapping should look like:

transaction---header-detailb3

 

 

hmtoggle_plus12.    On Change

In this type, Process Runner automatically determines new transaction when value changes. For example, you have Document number repeated for each line in column E, You can use this mapping type and every time there is new Document number, Process Runner will start a new Header-Detail transaction automatically.

transaction---header-detailb4

Mapping should look like:

transaction---header-detailb5

 

hmtoggle_plus13.    On Change Ignore blanks

Same as 2, but instead of repeating Document number, you have blanks between Document numbers. Since a blank is a change, you want to tell Process Runner to ignore blank for considering them as a change.  With this mapping type, Process Runner will ignore those blank and will repeated new Header-Detail transaction when it encounters new Document number in column E.

transaction---header-detailb6

Mapping should look like:

transaction---header-detailb7

 

hmtoggle_plus14.    On Blank Cell in Column

For example, you are separating Header-Detail block by placing a blank line between each block of Header-Detail transaction. You can use this mapping type and anytime Process Runner encounters a Blank Cell in mapped column, it will automatically start new Header-Detail transaction.

transaction---header-detailb8

Mapping should look like:

transaction---header-detailb9

hmtoggle_plus0        

hmtoggle_plus15.     Legacy Loop

Additionally to above mentioned methods, you can also specify which rows to be used as header and which to use as a detail in a separate column. As shown below, Headers are named as H and detail as D. You can give any user defined names to header-detail items instead of just H & D.

 

transaction---header-detailb10

In mapper below, K indicates the Legacy loop column & H and D indicate Header & detail items respectively.

transaction---header-detailb11

 

See more mapping types:

 

Transaction - Basic | Transaction - Block Types for Loops

BAPI/RFM - Basic | BAPI/RFM - Header Detail

GUI Script - Basic | GUI Script - Header Detail

Data Extractor - Basic