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

IDOC extension .

Former Member
0 Likes
943

Hi All,

I want to extend an IDOC, which is getting generated while executing the transaction BD16.

Details of the IDOC are given below:

Message Type = COSMAS

Basic type = COSMAS01

Basically a new custom field "ZZMFG_RLVNT" was added in the table CSKS. Requirement is to add this field in the new segment of IDOC which gets generated while executing the transaction BD16. I was able to make the neccessary configurations in WE31, WE30, WE81 and WE80.

Now i am struck at finding suitable user exit for writing code to support IDoc extension.

Please provide me ur inputs.

Regards,

Rajesh

Hi All,

I want to extend an IDOC, which is getting generated while executing the transaction BD16.

Details of the IDOC are given below:

Message Type = COSMAS

Basic type = COSMAS01

Basically a new custom field "ZZMFG_RLVNT" was added in the table CSKS. Requirement is to add this field in the new segment of IDOC which gets generated while executing the transaction BD16. I was able to make the neccessary configurations in WE31, WE30, WE81 and WE80.

Now i am struck at finding suitable user exit for writing code to support IDoc extension.

Please provide me ur inputs.

Regards,

Rajesh

1 REPLY 1
Read only

jaideepsharma
Active Contributor
0 Likes
771

Hi ,

Try writing your code in customer exit EXIT_CUSTOMER_FIELDS_FILL in MASTERIDOC_CREATE_COSMAS function module. You can use this exit to fill customer fields.

You will have to write a badi implementation for gd_user_exit->customer_fields_fill.

This function module is internally call in transaction BD16. Please reward points if it solves your purpose.