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

Renaming XML file generated by IDOC

Former Member
0 Likes
1,392

The requirement is to rename the XML file generated by IDOC.How can achieve that IDOC generates a XML file with custom name,

The requirement is to rename the XML file generated by IDOC.How can achieve that IDOC generates a XML file with custom name,

3 REPLIES 3
Read only

ThangaPrakash
Active Contributor
0 Likes
967

Hello Meenu,

You can rename it using the function module EDI_PATH_CREATE_CLIENT_DOCNUM.

Refer to step 6 in the below link, it explains you how to override the default name and provide custom name.

Port Type XML File: Maintaining the Port Definition - IDoc Interface/Electronic Data Interchange - S...

Regards,

Thanga

Read only

karthikeyan_p3
Contributor
0 Likes
967

Hi Meenu,

If none of the standard function module matches your requirement, You can also create custom function module by copying the standard FM. Implement the logic.

Add the created FM name in the table EDIFM.

Regards,

Karthikeyan

Read only

ThangaPrakash
Active Contributor
0 Likes
967

Hello Meenu,

In short you can goto transaction WE21. Click on the XML file port which you are working on.

In the tab Outbound file ---> place your cursor on field Outbound file and press F1 for documentation.

Which gives you a pop up with File name for outbound data. Read the documentation clearly for creating the file name.

Regards,

Thanga