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: 

Extend generated Idocs

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Mathias Noack ,

I hope this link may helpfull to you.

[;

Thank you,

Thankss,

AMS

4 REPLIES 4

Former Member
0 Kudos

Hi Mathias Noack ,

I hope this link may helpfull to you.

[;

Thank you,

Thankss,

AMS

0 Kudos

Thanks for the link ...

Unfortunatly it does not help really. I need some guideline with steps i have to do to extend the IDOC!

0 Kudos

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.

0 Kudos

Hi Mathias,

Try these linkss:

In this link search for extended idoc type and search the Function module attached

Thank you,

Thanks,

AMS