Application Development and Automation 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: 
Read only

Extend generated Idocs

Former Member
0 Likes
739

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
Read only

Former Member
0 Likes
630

Hi Mathias Noack ,

I hope this link may helpfull to you.

[;

Thank you,

Thankss,

AMS

4 REPLIES 4
Read only

Former Member
0 Likes
631

Hi Mathias Noack ,

I hope this link may helpfull to you.

[;

Thank you,

Thankss,

AMS

Read only

0 Likes
630

Thanks for the link ...

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

Read only

0 Likes
630

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.

Read only

0 Likes
630

Hi Mathias,

Try these linkss:

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

Thank you,

Thanks,

AMS