on 12-11-2008 6:22 AM
Hi experts,
If we create the Master/ Transactional data in SAP it will generate IDOC. How the data that is created (Ex. Material data in MM01) will fit into the IDOC fields?
Thanks
Manoj
Hi,
Database fields are mapped to segments. Segments are attached to Idoc type & IDOC type is assigned to Message type.
An IDoc consists of a control record with structure edidc and one or more data records with structure edidd. The control record contains the sender and recipient of the IDoc, as well as information on the type of message.To be able to pass an IDoc to the ALE layer, you must set up a field string with structure edidc and an internal table with structure edidd. They are used to call function module master_idoc_distribute, which performs the save to the database and triggers the dispatch if necessary.
So basically creation of IDOC is done using function module MASTER_IDOC_DISTRIBUTE.
Hope it clarifies your doubt.
Thanks & Regards
Prabhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
Some configuration is involved for that.
From what i know...
You need to create a Output Type , then configure that output type using NACE transaction..
Then while creating Master Data , using standard transaction ( Like MM01), you can specify the output type and trigger a IDOC.
BR,
Sushil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
When you call any transaction the corresponding report or function module is executed.
Like for MM01 ,report SAPMMG01 gets executed.And this report fills the data in idoc and creates it.
Like you can write a customized report for idoc creation,SAP provides standard reports for idoc creation.
regards,
ujjwal kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.