on 12-23-2008 12:32 PM
Hi all,
My requirement is that ,in a custom IDOC if a perticular segment E1IDT01 exist then populate from the field TXT02(even if it is blank) else populate from other segment field BELNR.
my logic is if->exists->E1IDT01 and TXT02->then TXT02
Else
Belnr these are mapped to the target.
Now the problem is this is working fine when TXT02 has data,if it is empty the target is getting populated with Belnr though E1IDT01 exists.
I tried various ways if TXT02->equals(text function)=CONSTANT [] then concat TXT02 ->CONSTANT " ".This dint work .The value is still getting populated from Belnr.
Please suggest.
Thanks,
Srinivasa
Hi Srini,
Just map "MapWithDefault" function to TXT02 and then try. Douple click "MapWithDefault" function and assign any value in it.
The modifide logic will be
if->exists->E1IDT01 and TXT02->MapWithDefault->then TXT02
> Else
> Belnr
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
please check that if field TXT02 not having any value than what it contains, it is null value or that node does not exist.
if it not exist than plese check the existance of TXT02 and map with constant.
regards,
navneet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check Display queue in each step of the mapping. I think your condition is not satisfied always the else part is executed. Check display queue for If part. it should not be false and return the 'true' value.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.