cancel
Showing results for 
Search instead for 
Did you mean: 

File to IDOC - Sales Order

Former Member
0 Kudos

Hi Experts,

I am working on a File TO IDOC scenario for Sales Order n bit confused how should I define the data type and the File Sender communication channel.

My data will be something like this. Header data, item data(Mutiple) and partner data(Multiple). And also not sure whether I will have one sales order data at a time or multiple.

Considering this, I am thinking of defining the data type Like as below

SLAES_ORD_DT as complex type, under this I will have the three elements for Hedaer(1:1) with its fields , Item(1:Unbound) with its fields and Partner(1 to Unbould) wit its fields

Considering the fact the file being a CS, then how should be the data in the input file?? means will this needs to in a single line or different line for header, item and partner.

And how I need to define the communication channel in this case??

Please help me in understanding the content conversion and the input file format.

Thanks

Kumar

Accepted Solutions (0)

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

since you get input source as comma seperated flat file, you have to use FCC file adapter on the sender side. There are plenty of sdn threads for FCC sender.

Create Recordset Structure in fcc channel like Header,1, Item, *, Partner, *

It is pretty simple. see previous replies links.

Former Member
0 Kudos

And also not sure whether I will have one sales order data at a time or multiple.

Though it depends on how the sender is structuring the file. I think there will be one line for each sales order in partner details. so* MULTIPLE*

As far as FCC is concerned, its very basic and widely used ....you can easily get it in a lot of threads.

Refer the following thread:

http://help.sap.com/saphelp_nwpi711/helpdata/en/44/6713ec3f914ddee10000000a1553f7/content.htm

http://wiki.sdn.sap.com/wiki/display/XI/BasicFileAdapterContentConversion

You can use the following details for sales order idoc:

order05(IDOC type) --> enter ORDERS(message type)

Please let me knw if you need any help..