cancel
Showing results for 
Search instead for 
Did you mean: 

Multi Mapping

Former Member
0 Kudos

Is it possible to do multi-mapping using synchronous abstract interfaces?

My Scenario is like below

My input file will have multiple transaction and for each I have to call BAPI and get a synchronous response. After receiving response of the first transaction, BAPI needs to be called for second transaction. Similarly, BAPI has to be called for all the transaction. Is it possible do do multiple calls using multi mappings synchronously?

To explain more:

I am getting input from Source System and the structure of the input file like

RootNode
   |_ EASET (Occurance 1.. unbounded)
       |_ Header (occurance 0..1)
           |_ Field1
           |_ Field2
       |_ Deail (Occurance 0.. unbounded)
           |_ FieldD1
           |_ FieldD2

Now I need to make a synchronous RFC call to a BAPI which can take one Header and multiple details. My requirement is use the same bapi an call multiple times for multiple EASET available in the input structure and get back the response. Is this possible in XI?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can try this in BPM...

Receive STEP-> Transformation STEP Muli Mapping -> Block (For each) -> SEND Sync STEP.

In receive step, read the following structure.

RootNode

|_ EASET (Occurance 1.. unbounded)

|_ Header (occurance 0..1)

|_ Field1

|_ Field2

|_ Deail (Occurance 0.. unbounded)

|_ FieldD1

|_ FieldD2

In the next transformation step, use multi mapping conevrt 1 to N message. Then use a BLOCK with "for each" or "parallel for each" and put a SEND Sync STEP inside the block to make the RFC call.

Rgds,

Sasi

Former Member
0 Kudos

Hi Dib,

Were you able to solve the problem by the given approach?

I am also facing the similar problem. If yes, Could you please elobarate the solution?

Please treat this as an urgent issue.

Thanks

Mohan

Answers (0)