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

idoc from file

Former Member
0 Likes
445

hi,

i created a file from an outbound IDoc using FM 'IDOC_READ_COMPLETELY'.From file i am trying to make an inbound IDoc using FM 'IDOC_INBOUND_FROM_FILE'. i have an error 'First record is not control record'. bcoz the first characters of first record of file are expected to be 'EDI_DC' or 'EDI_DC40' but in my file i have something else, but no such table name.

how can i make such this file to be in the format needed by the FM 'IDOC_INBOUND_FROM_FILE'. What should actually happen?

hi,

i created a file from an outbound IDoc using FM 'IDOC_READ_COMPLETELY'.From file i am trying to make an inbound IDoc using FM 'IDOC_INBOUND_FROM_FILE'. i have an error 'First record is not control record'. bcoz the first characters of first record of file are expected to be 'EDI_DC' or 'EDI_DC40' but in my file i have something else, but no such table name.

how can i make such this file to be in the format needed by the FM 'IDOC_INBOUND_FROM_FILE'. What should actually happen?

1 REPLY 1
Read only

Former Member
0 Likes
376

HI,

The smart way take an existing idoc and write it to file using tx we19. Now convert this file for your need and edit the control record details. Use tx we16 for uploading data from file.

Reward points if helpful.

Regards