Hi Experts,
I do have a requirement to send Text file to SAP in the form of IDoc. I have Header,BatchHeader,InvoiceHeader & Trailer records in my Sender text file. I am using a Key field to identify the roots of each node. But i just need all of your help to read the below kind of file through FCC and populate the fields in SAP(IDoc).
The sender file looks like.......
MT_Vendor Invoice
Header --------------------------- Occurs 1-1
->Field 1
->Field 2
->Field 3
->Field 4
Batch Header ----------------- Occurs 0-Unbound
->Field 1
->Field 2
->Field 3
->Field 4
->Invoice Header ------ Occurs 0-999 times
->Field 1
->Field 2
->Field 3
->Field 4
->Field 5
Trailer ----------------------------- Occurs 1-1
->Field 1
->Field 2
->Field 3
|
|
->Field 6.
Now in my file Header and Trailer will be Occurs only 1 time, and Batch Header will Occurs multiple times. Now my query is how to write content conversion for Batch Header along with the Invoice Header.
Please help me to get out from this issue... *Points will be rewarded*
Thanks in Advance... :-)
Regards,
Dileep Kumar.