cancel
Showing results for 
Search instead for 
Did you mean: 

validation of data in message mapping

Former Member
0 Kudos

Hi..

in my IDoc to file scenario...

my requirement is

The posting of the receipt stock movement in SAP (transactions MIGO_GR, MB1B) and a decision table (see below) containing the combination of required elements trigger the interface. The interface is triggered if the combination of movement type, destination storage location, destination plant and material # is found in the table with field ‘Interface’ equals to R (Receipt)

is it possible to do the above validation in message mapping ? if possible tell me how ?

thanx in advance

regards

ram

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Ram,

Please clear about decision table , your scenario is Idoc to file , what is this table .Please explain clearly i will try to answer.

waiting for your reply

Former Member
0 Kudos

hi all

thanx for ur back..

my requirement is

<b>The posting of the receipt stock movement in SAP (transactions MIGO_GR, MB1B) and a decision table (see below) containing the combination of required elements trigger the interface. The interface is triggered if the combination of movement type, destination storage location, destination plant and material # is found in the table with field ‘Interface’ equals to R (Receipt)</b>

Here desision tabel is Ztable contaning movement type, destination storage location, destination plant and material .

if all these combination of data exist in Ztable then onle data shoul populated in IDOC . I did in SAP.

<b>is possible to do these data validations in message mapping??</b>

regards

Ram

bhavesh_kantilal
Active Contributor
0 Kudos

Ram

This is possible using XI . You will need a BPM as well as an RFC for this.

BPM will receive the IDOC from the R3 system.

Next, using a Custom or Standard RFC, you will query the ZTABLE and get the required data into XI. Use the Source IDOC and the ZTABLE entries got from the RFC to validate the data in a mapping step.

Set some flag in the mapping output to decide if the IDOC is to be sent out or not.

Regards,

Bhavesh

former_member187339
Active Contributor
0 Kudos

Hi,

I am not completely getting your question. Let me ask somethings:

>>decision table (see below)

Where?

>>The posting of the receipt stock movement in SAP (transactions MIGO_GR, MB1B) and a decision table (see below) containing the combination of required elements trigger the interface

So your are successfull in calling XI!!!

Its an IDOC to FIle scenario right? Whats the IDOC bringing? Will it have all these

movement type,

destination storage location,

destination plant

material #

Regards

Suraj

Former Member
0 Kudos

HI XI gurus.....

guide me please .. how can we do above validation in message mapping..if possible .. wat functions to be used..

regards

ram

Former Member
0 Kudos

Hi Ram,

Your requirement is not clear to me. Can you elaborate your requirement...

DO you need to trigger the interface if these condition satisfy or do you need to test it in mapping??

Regards,

Jai Shankar.