Skip to Content
0
Former Member
Aug 01, 2007 at 09:45 AM

Suggestions Required While Doing Idoc To File Scenario

17 Views

Hi All,

My scenario is Idoc To File. I have to take the Purchase Order Idoc from system "A" and send it as a XML file to system"B".

The problem here is, i have three types of PO Idoc's with different fields.

1) Purchase Order (Fields : PO Number, date, vendor, material and quantity)

2) Delivery with serial number ( Fields : delivery number, est date, vendor, material, serial and quantity)

3) Delivery using serial number with subcontracting repair ( Fields :

PO Number, date, vendor, material, serial and quantity).

I have to convert all the above PO Idoc's into Xml file format and send it to system "B".

Here i have three different Idocs one per Purchase Order , one per Delivery with serial number and one per Delivery using serial number with subcontracting repair .

My question is, shall i need to create three different scenario's for the above requirement or shall i create only one scenario with all the fileds in file structure.

Is it possible by creating only scenario, to handle the above situation. If so where can i handle the conditions saying that the File Structure

for Purchase Order should be (With Fields : PO Number, date, vendor, material and quantity) ,

for Delivery with serial number should be (With Fields : delivery number, est date, vendor, material, serial and quantity) and

for Delivery using serial number with subcontracting repair should be ( With Fields : PO Number, date, vendor, material, serial and quantity).

Please provide the solution for the above situation.

And suggest me which is the best method to follow.

Regards,

Venkat.