on 09-18-2007 12:18 PM
Hi Experts,
Here my scenario is to convert the Purchase Order Idoc into XML file.
There are two different scenario's on the same requirement.
First Requirement: I have to convert the Purchase Order Idoc into XML file( The file contains the fields like po_number, date, vendor, material, quantity)
Second Requirement: I have to convert the PO created with repairable material into XML file( The file contains the fields like po_number, date, vendor, material, serial , quantity).
I need your help in developing the scenario.
Shall i need to create two different scenario's or one scenario is enough to handle this situation.
Kindly suggest the different possible solutions to handle such situations.
What i think is if i develop two different scenarios the follwoing problem will araise.
If i trigger the Idoc at R/3 side i will get two files in destination because Idoc can have all the fields which mentioned in my requirement.
If i need to develop a single scenario, how to do. kindly suggest.
Thanks & Regards,
Venkat
Hi
1)You can create two scenarios-Both IDoc to XML.Since you say the target fields are available in the IDoc itself..simple go for One to One mapping in both cases and you can take the IDoc itself on the target side and you will get IDoc-xml.No need to create another target Datatypes.
2)Using one scenario,create two targets.Import them and in message mapping take both of them and map the required fields.
Both of them can be done without bpm.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Monika,
As per u'r suggestion if i create two different scenario's to handle my situation, one problem will araise. suppose if i trigger idoc at R/3 side it will generate two files in the target directory because the fields from first scenario and the fields from second scenario will be available in Idoc, so i will get two target files. Please correct me if iam wrong.
Regards,
Venakt
Hi
If you create 2 scenarios then also 2 files will be created provided communication channels of both the scenarios are active.And if you have a single scenario then also the same will happen.It is just the same only the matter of convenience.
How are you triggering the iDoc..Using we 19 or the Report program in r/3
Thanks
you cn check the condition either on the mapping level or on the receiver determination.
Q.if in my idoc serial field value exists then the second requirement should trigger
on the root node of the tagret field write this condition (create node only if your above conditin satisfies)
follow the same for the second one also.
You can use multimapping to complete ur scenario.
Refer the link for multimapping,
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.