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: 

New Idoc in BD10 to send material grid

Former Member
0 Kudos
421

Hi Experts,

We have a requirement like this : In transaction BD10 when "send material in full" is flagged, we have to start IDOC J3AGRI01 creation (using FM J_4A_MASTERIDOC_CRE_REQ_J3AGRI). At present when the flag is set, only the classifications are distributed.

example:

Transaction BD10.

Material: MOSHF2CND

Message Type: /AFS/MATMAS05

Logical System: IECCLNT510

Flag Send Material in full

with above input it only creates /AFS/MATMAS05 and CLFMAS Idocs, I want J3AGRI IDOC also to be created.

Can you suggest me some BADI/EXITs to meet this requirement? Or any other way to accomplish the above requirement.

A quick reply is highly appreciated.

Thanks,

Vani

1 ACCEPTED SOLUTION

Former Member
0 Kudos
228

Check the BADI "BADI_MATERIAL_OD", method "MG_IDOC_CREATE_FULL" which is called from function module MG_IDOC_CREATE_FULL_MAT line number 185 (Which is called from main program of BD10 when "Send article in Full" option is selected.)

2 REPLIES 2

Former Member
0 Kudos
229

Check the BADI "BADI_MATERIAL_OD", method "MG_IDOC_CREATE_FULL" which is called from function module MG_IDOC_CREATE_FULL_MAT line number 185 (Which is called from main program of BD10 when "Send article in Full" option is selected.)

Former Member
0 Kudos
228

solved....thnx a lot!!