on 06-02-2008 1:11 AM
Hi,
I need help on mapping. I have a target field vbeln (with SAP delivery number), with this delivery number I need to get all delivery items. How can I get them?
Points will be rewarded.
Cheers.
HI Wong,
The usage of If-Else statements are possible, but if you have multiple line items then probably you need to use Advanced UDFs to recover all the line Items from the queue.
In UDF use below logic,
Cache parameter -- Queue
Header -- VBELN ---> A
LineITEM - VBELN ---> B
LineItem-details --> C
//Write your code
for(int i = 0; i<B.length; i++)
{
if(A[0]==B<i>)
result.addValue(C<i>);
}
Use above UDF for all line Item fields
Thanks
swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wong,
For this Purpose you can use ifWithoutElse available in Boolean,
If SAP delivery number = delivery number
then send the Delivery item.
Thanks
Sunil Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
If i understood your question correctly you can do this via If-Then mapping
If Delivery_Number=11111
then map Delivery_Item to target node.
You might need to use Remove context though before If.
Thanx
Aamir
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.