Skip to Content

Changing IDOC-Filename to contain the outgoing-Invoice-Numer

We would like to create an IDOC as a file for some outgoing Invoices (e-billing)

The Filename should be change to contain the Invoice-Number instead of the IDOC-No.

The Standard-Routines to change the Filename such as

DX_PATH_CREATE Ermittlung des Dateinamens für die DX-Workbench

EDI_LPATH_CREATE_CLIENT_DOCNUM logisches Verzeichnis, Dateiname im Format T_Mandant_Docnum

EDI_LPATH_CREATE_USERNAME L logisches Verzeichnis, Dateiname im Format SY-UNAME

EDI_PATH_CREATE_CLIENT_DOCNUM Verzeichnis + Dateiname im Format T_Mandant_Docnum

EDI_PATH_CREATE_DATE_TIME Verzeichnis + Dateiname im Format T_CCYYMMDD_HHMMSS

EDI_PATH_CREATE_LENGTH_LE_8 Verzeichnis + Dateiname im Format NTHHMMSS.T

EDI_PATH_CREATE_MESTYP_DOCNUM Verzeichnis +

EDI_PATH_CREATE_USERNAME Verzeichnis + Dateiname im Format SY-UNAME

EDI_PATH_CREATE_USERNAME_DT_TM Verzeichnis + Dateiname im Format T_SY-UNAME_CCYYMMDD_HHMMSS

JBD_EXP_GET_OUTPUT_FILENAME SEM-PA Export Dateinamen

dont work.

How can i get the Invoice-Number, stored in E1EDK01-Belnr to create an new Filename for the IDOC ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 02, 2014 at 01:48 PM

    Hi Michael,

    I just had the same problem and have not found a standard function for that. To create the filename as needed you need to create a custom function that reads the invoice number from the table edid4 using the passed IDoc-number.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.