on 02-02-2009 1:18 PM
Hi
Requirement is : I am using Pi 7.1, i have line items on my source, and as many line items have to be created on target, thats not a problem. for every line item on my target, there is a field where in, it should display a counter. since pi 7.1 does not allow to create a global var, i am stuck.
Note: getting the total count is not needed.
EG: target
root node(1st lineitem)
lineitem1 = 1
lineitem2 = abc
root node
root node(2nd lineitem)
lineitem1 = 2
lineitem2 = xyz
root node
root node(3rdnd lineitem)
lineitem1 = 3
lineitem2 = pqr
root node
in pi 7.0, this is very easy to do with global variables, 7.1 has made it a little complicating.
i have referred to blog /people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable
not much help. it helps to get the total count, but not in sequence for each lineitem
THanks
SG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi SG,
just use [standard function|http://help.sap.com/saphelp_nw2004s/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm] "counter".
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try this...........in msg mapping, take source node like Record and use Index function and map it to Lineitem field...........
Regards,
Rajeev Gupta
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 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.