Inbound IDOC issues.
We are creating an interface program which will do the following.
1.) Read the file from the legacy system which has legacy data in 'X' file format.
2.) Convert this file format which is in X format to a format 'Y' which is acceptable to WMMBID02 idoc type.
3.) Use this file and call the function module EDI_DATA_INCOMING which will read this file and create the idoc .
Now we are facing issues/roadbolcks on point 2 , on how do we convert our legacy file format to the structure accepted by this IDOC type,
1.)like what will be the format of the new file?
2.)which data will be constant and which data will be mapped to the legacy file viz PO number / quantity.
Any inputs on this. if someone has already implemented something similar , Please let me know