on 07-23-2008 11:41 AM
SCENARIO: IDOC-FILE
IDOC: COND_A04
DESIGN: Two namespaces with DT,MT,MI,MM,IM for sales condition and purchase condition.
Here based on the condition(LIFNR) i have to schedule the message to either salesconditon CC or purchasecondition CC.
REQUIREMENT: If LIFNR has value in IDOC it should go to SALESCONDITION receiver CC, else PURCHASECONDITION.
I need the condition to be given in receiver determination.
note: we are using different structures for salescondition and purchase condition even the idoc is same.
thanks in advance
Hi,
First check some links on xpath and then put the condition in receiver determination
http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/content.htm
http://www.w3schools.com/xpath/default.asp
http://www.w3schools.com/xpath/xpath_operators.asp
Have a look into this link for complete understanding about XPATH Predicates.
http://www.tizag.com/xmlTutorial/xpathpredicate.php
http://help.sap.com/saphelp_nw04/helpdata/en/59/e1283f2bbad036e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/ab/13bf7191e73a4fb3560e767a2525fd/content.htm
https://forums.sdn.sap.com/click.jspa?searchID=12418562&messageID=5232329
http://www.tizag.com/xmlTutorial/xpathpredicate.php
http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/content.htm
http://www.w3schools.com/xpath/default.asp
http://www.w3schools.com/xpath/xpath_operators.asp
http://help.sap.com/saphelp_nw04/helpdata/en/59/e1283f2bbad036e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/ab/13bf7191e73a4fb3560e767a2525fd/content.htm
Regards,
Phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi shanthi,
IN BPM Using Fork, transformation steps and containers and correlation and multi mapping can fulfill this.
regards
kummari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If structures are different, you can use two context objects to point to LIFNR and then check the condition in receiver determination.
If structures are same, one context object would be enough.
Regards,
Riyaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you can simply use two messages for sales and purchase and then create a multi mapping to create the messages accoeding to your condition. specify this multi mapping in extended interface determination.
does this suit ur requirement?
edit-- as u said u want condition in rec det.. so you have two receivers...is it? then in rec det u can simply look for the value of LIFNR again and send the message to appropriate receiver (the corresponding message is created according to the condition in multimapping)
thanks,
latika.
Edited by: Latika Sethi on Jul 23, 2008 12:47 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.