on 12-13-2011 6:27 AM
Hi,
I have a sceanrio where i have to send value based on field not exit. its IDOC to soap scenario.
E1WBB01 -
MATNR
E1WBB01---E1WBB03E1WBB04---EAN11,HPEAN
when HPEAN in E1WBB04 not exit then i have to send MATNR and EAN11 to target. E1WBB04 will occure many times.
there will be one MATNR and multiple E1WBB04 segement.
so 1st data set will be :
MATNR=10001
E1WBB04--EAN11=111
E1WBB04-HPEAN=X
2nd data set will be:
MATNR=10001
E1WBB04--EAN11=222
so i have to send 2nd data set to target.
Pls provide me the mapping.
Regards
Laxmi Bhushan
Hello,
You can use this mapping:
For EAN
HPEAN -> mapWithDefault: -> equalsS -> ifWithoutElse -> removeContext -> splitByValue:eachValue -> EANTarget
Constant: -> / EAN11 -> /
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try below one.
if-->HPEAN>Exist->not>then>MATNR>Terget
if-->HPEAN>Exist->not>then>EAN11>Terget
change context(Parent node) level for MATNR and EAN1 fields.
GreatDay,
Girii
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
> I have a sceanrio where i have to send value based on field not exit. its IDOC to soap scenario.
> E1WBB01 -
MATNR
> E1WBB01---E1WBB03E1WBB04---EAN11,HPEAN
> when HPEAN in E1WBB04 not exit then i have to send MATNR and EAN11 to target. E1WBB04 will occure many times.
> there will be one MATNR and multiple E1WBB04 segement.
HPEAN - remove contexts node function - collapse context node function - exists node function - not function - then map MATNR field.
Change HPEAN context to E1WBB01 segment.
If you want these field multiple times in target then you need to use OneAsMany node function
Regards,
Venkata Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
when HPEAN in E1WBB04 not exit then i have to send MATNR and EAN11 to target. E1WBB04 will occure many times.
please go through below blog
http://wiki.sdn.sap.com/wiki/display/XI/ToExistOrNottoExististheQuestion
regards,
ganesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.