09-03-2010 9:46 AM
Hi,
I extended the MARA table with a new field. Now I want to export the article data including the new field via the IDOC-Type ARTMAS05. So I need to extend the IDOC-Type but thats not possible via WE30 because ARTMAS05 is a generated IDOC-Type (see SAP Note 91390). I couldn't find any clear documentation about how to extend generated IDOCs and add new fields.
So my questions are:
How can I extend the IDOC ARTMAS05?
How can I add new segments to the IDOC for my new field in the MARA table?
Hope somebody can help!
Mathias
09-03-2010 12:48 PM
09-03-2010 12:48 PM
09-03-2010 1:10 PM
Thanks for the link ...
Unfortunatly it does not help really. I need some guideline with steps i have to do to extend the IDOC!
09-08-2010 11:04 AM
we can not extend generated idoc types. Generated idoc types uses BAPI Methods to tranfer idoc. The bapi should contain Extensionin structure. Find the user exit and pass the field data into bapi extensionin struture, then the passed field value automatically comes into idoc.
09-09-2010 8:33 AM
Hi Mathias,
Try these linkss:
In this link search for extended idoc type and search the Function module attached
Thank you,
Thanks,
AMS