on 05-13-2011 12:32 PM
Hi All,
I have issue in Mapping .XML-> BAPI Scenario
1 line item has the one 50% Cost Centre , another 50% Cost centre data
2 line item has only 100% WBS elemnt
WBS elemnt mapping :
If A |EQUALS (Text) | WBS_ELEMNT |If without else| B(WBS value) |REmoveContexs| SplitByValue| WBS_ELEMNT(BAPI field)
But this supress second line item : WBS_ELEMNT data and uploads into1.Item .Hence PO is not getting created in SAP.
Could you please giv me a logic to actaually split the value into 2 seperate so that respective data of each line item are split properly .
Thank you ,
Vara
Hi I think you need an udf for this:
int total = Integer.parseInt(value[0]);
result.addValue(Integer.toString(a/2));
result.addValue(Integer.toString(a/2));
and after it you can add a splitbyvalue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.