2014 Nov 03 9:18 PM
Hello Guys,
I have a situation wherein I need to change the source system of an existing Idoc processing. So, I need to define the Idoc type on this new source system. However, I cannot define one specific segment in the Idoc type because of name space constraint. So, I was thinking of a possibility to change the segment name during runtime of outbound processing via a User exit/ Badi / or some standard conversion table. In this way, I could avoid changes on the receiving system
Is it possible to change the segment name during outbound processing of an Idoc ?
Thanks for your help.
2014 Nov 03 11:06 PM
Hi Fayaz,
You question is not clear. Are you trying to modify the extension IDOC type custom segment name?
Thanks,
Venkat
2014 Nov 04 6:28 AM
Yes, I am trying to change the segment name of the extension Idoc type. I would like to know if it's possible to do so by some customizing or via a user-exit/ badi ?
Thanks,
Fayaz
2014 Nov 04 4:10 PM
Hi Fayaz,
For the outbound or inbound IDOCs, there will be a function module associated. In that function module, SAP provides with few customer user exits. Go to that function module and search with 'Call customer-function' and you will find few customer exits. Try to find the correct user exit which has the table segment structure (EDIDD). If you are able to find this, implement the exit and try to modify the custom segment of your extension idoc type. You cannot change the standard segment names.
Thanks,
Sandy
2014 Nov 04 4:16 PM
Hi Sandeep,
Thanks for your reply.
I use the function "MASTER_IDOC_DISTRIBUTE" to send the Idoc. I see that there is only one user exit which is provided to change the control record.But, I do not see a user exit to change the Idoc data record.
Regards,
Fayaz
2014 Nov 04 4:38 PM
I dont think you can change the name, it would lead to inconsistency,
2016 Feb 06 5:59 PM