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

EDI_DATA_INCOMING function module

Former Member
0 Likes
777

Hi All,

Do i need to write program somewhere to use EDI_DATA_INCOMING fm? I dont know how to use it

Thanks

2 REPLIES 2
Read only

Former Member
0 Likes
577

one more question. Does the Idoc flat file generated from the EDI subsystem match with R/3 idoc strucuture.

Read only

0 Likes
577

EDI_DATA_INCOMING reads a Idoc flat file from the file port and path name

CALL FUNCTION 'EDI_DATA_INCOMING'
  EXPORTING
    PATHNAME       =
    PORT           =

It then creates the Idoc which then can be viewed in WE02. It is quite simple to use from a program, it save effort of manually reading the idoc file from the OS.

Yes, we need to have Idoc definition, message type, partner profile for the sender maintained in the system. The control record of the idoc will be validated to determine which idoc type and message type to use, to interpret the flat idoc text file. Once determine EDI_INCOMING_DATA can proceed to create the idoc.