5 Replies Latest reply: Apr 22, 2016 2:54 PM by MDG User RSS

MDG Data transfer error

Rogers Suppp
Currently Being Moderated


When trying to import iDoc XML files in a folder, I get the error message:


"Directory Z2_MDG_PATH is not valid".


I configure this path in tcode FILE. But,

1. in step 6, I can't see the path in AL11 or see its contents as mentioned in the below documentation

2. in step 7, I cannot use it within the UI to see the directory contents.

has anyone else faced this issue?

mdg dt error.bmp

I followed the following steps.......

To be able to import IDoc-XML files the following set up activities need to be carried out:

  1. Use transaction IDX1 to create two ports in the IDoc adapter, one for sending and the other for receiving. Enter the port, client, description, and RFC destination for each port. Both ports should have the RFC destination of the MDG hub. Check that the port names match the names in your IDoc-XML file for the SNDPOR and RCVPOR, see table above for details.
  2. In transaction WE21 enter the receiver XML port using the same name as in step 1 above. Enter the port name under the folder XML File, and enter a description and a physical directory. In the function module field enter EDI_PATH_CREATE_CLIENT_DOCNUM. On the Outbound:Trigger tab, in the RFC destination field, enter LOCAL_EXEC.
  3. In transaction BD54 enter the sender and receiver partner numbers as logical system names.
  4. In transaction FILE create the logical file path name. Enter a Logical File and a Name. In the Physical File field enter <PARAM_1>. In the data format field enter BIN. In the Application Area field enter CA. In the Logical Path field enter the logical file path.
  5. Open the Configuration activity  General Settings  Data Transfer  Define File Source and Archive Directories for Data Transfer  and assign your new logical file path name as a directory for data transfer.
  6. In transaction AL11 make sure that the IDoc-XML files are stored under the logical path and that there are no other files stored in that directory. Double-click on the path to view the existing IDoc-XML file. You can use transaction CG3Z to copy a local IDoc-XML file to the path.
  7. To test the data import, open the Data Import service from the Material Governance work center in the SAP NetWeaver Portal or SAP NetWeaver Business Client. For more information, see Data Import.