Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc Inbound Processing

Former Member
0 Kudos

Hi ,

I had a requirement where i need to update the goods receipted quantities in SAP system. I'll get an idoc sent by an external system in the form of an idoc .

The standard idoc which i use in SAP is MBGMCR03.

Can you plaese suggest me how i can map the segments in the idoc sent by the external system with the segments in SAP system . Also the interface triggers MB01 transaction and updates the goods receipted quantities against the Purchase order.

Immediate response will be appreciated.

regards,

soha

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi ,

here are the basis steps to map.

Once the distribution model is designed and is decided upon by all parties involved, IDOC interfaces need to be developed for non-standard messages and need to be customized for standard messages. Each business message participating in the data distribution model is represented by a message type in SAP R/3. A message type is basically a pointer to the required fields of the IDOC, and this mapping can be achieved by means of several tools provided by SAP. Basically the following points are to be taken into account while mapping any IDOC:

1. SAP to ISO code mapping for unit of measurement (UOM), currencies, country global parameters

2. Conversion rules, filtering and IDOC reduction

3. Change pointers for master data distribution

4. For fields, which are not available in standard IDOC, extend the IDOC and write user-exit to populate corresponding fields.

Sateesh.

4 REPLIES 4

Former Member
0 Kudos

I think you need to go for a Customer Exit by writing the code for handling the requirement.

To the external idoc(if its a standard one ) get the customer functions avaliable and check the fields or tables avaliable where u can get the actual parameters/values

that can be used to get the solution.

you can get the customer functions by opening the IDOC_INPUT_XXX

In se37 and make a search on Customer functions ...

Regards,

vijay

0 Kudos

Thank u very much vijay.

Former Member
0 Kudos

Hi ,

here are the basis steps to map.

Once the distribution model is designed and is decided upon by all parties involved, IDOC interfaces need to be developed for non-standard messages and need to be customized for standard messages. Each business message participating in the data distribution model is represented by a message type in SAP R/3. A message type is basically a pointer to the required fields of the IDOC, and this mapping can be achieved by means of several tools provided by SAP. Basically the following points are to be taken into account while mapping any IDOC:

1. SAP to ISO code mapping for unit of measurement (UOM), currencies, country global parameters

2. Conversion rules, filtering and IDOC reduction

3. Change pointers for master data distribution

4. For fields, which are not available in standard IDOC, extend the IDOC and write user-exit to populate corresponding fields.

Sateesh.

0 Kudos

Hi Sateesh,

thanks for your answer. can you please suggest how to create a filter group for movement types in the distribution model . when iam adding message type to the model view and create a modelview it is creating a filter group with PLANT and STORAGE LOC by default . how can i add movement type also to restrict for some particular types.

Iam usind ADD BAPI and used Obj name as goods movement and METHOD as Createfromdata.

thanks

soha