Skip to Content
0
May 17, 2010 at 07:18 PM

IDOC segment values change

53 Views

Hello Team

I am using MBGMCR03 idoc type for creating inbound idoc. now my requirement is i am retrieving some values in the FM ZIDOC_INPUT_MBGMCR which i have made a copy of standard one. for example i am getting PO field from legacy system and it is mapped in item segment of the IDOC MBGMCR03 , based on that PO i am retreving delivery document number number and now i want to create idoc for with that delivery document number. for example i want to put that delivery docuemnt number in header segment -ref_doc_no field. for doing this i am passing the values to the relavent header segment and tried modifying IDOC_DATA and t_edidd tables also but it is not working out for me.

So please let me know the procedure to create idoc with my values retrieved in the FM. is there any enhacement avaialable to do that , please let me know the enhancment name and procedure to follow. Awaiting for your reply.

Reg

Raj