on 10-22-2014 10:07 PM
Hi Team,
I am working on SAP PO 7.4 and am having in receiver determination condition. Actually I want to stop those records which are having quantity is zero. Its flat file to Idoc scenario. I tried to apply below options but no one is working.
/p1:MTPODSalesLSUK/Record_Set/Data/MTD_Quantity[not(starts-with(.,"0"))] EX
/p1:MTPODSalesLSUK/Record_Set/Data/MTD_Quantity ≠ '0'
/p1:MTPODSalesLSUK/Record_Set/Data/MTD_Quantity ≠ "0"
I see only below conditions in PO7.4.
=
≠
≈
EX
File is :
<wholesale_discount>30</wholesale_discount>
<MTD_Quantity>0</MTD_Quantity>
<MTD_avg_list_price>17.99</MTD_avg_list_price>
I have to apply condition on MTD_Quantity field.
Thanks in advance for your valuable suggestion.
Thanks,
Kumar
HI Team,
Thanks for inputs.
I have made changes in line item level in Mapping to stop zero quantity. Now its working fine to me.
Thanks,
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
/p1:MTPODSalesLSUK/Record_Set/Data/MTD_Quantity[not(starts-with(.,"0"))] EX
/p1:MTPODSalesLSUK/Record_Set/Data/MTD_Quantity ≠ '0'
/p1:MTPODSalesLSUK/Record_Set/Data/MTD_Quantity ≠ "0"
Don't use apostrophes or double quotes when using NE or EQ. Just use 0 and it should work.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am not worry about receiver. My concern is to stop zero quantity at interface mapping..
Which do you want to achieve?
a. Pass only non-zero values in interface mapping - if this is the case, a simple ifElse in message mapping will do the trick
b. Stop message processing - this is not possible using standard mapping (try BPM). At best it would result in an error that says Interface Determination did not yield actual interface. If you don't want any errors, you can do this via enhanced receiver determination.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumar,
Please check the occurrence of the Source Message (XPath) in your mapping. Is it "1"?
Regards,
Nabendu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.