cancel
Showing results for 
Search instead for 
Did you mean: 

Help needed in field mapping

Former Member
0 Kudos

Hi Experts,

I am new to SAP PI working on mapping there is a field like this...

Calculate adding the value of all ocurences of XXXXX map it to target field....

Do the needful...Sorry if i made mistake by asking basic one.....

Accepted Solutions (1)

Accepted Solutions (1)

ambrish_mishra
Active Contributor
0 Kudos

Hi Rajesh,

Use the standard SUM function under Statistics.

Also take a look at this document. Good read!

http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm

Ambrish

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanq Experts.....

nabendu_sen
Active Contributor
0 Kudos

Hi Rajesh,

You need to use SUM function under category Statistics. Find the below document where you can find screenshots with examples:

http://wiki.sdn.sap.com/wiki/display/XI/Standard+Functions+in+PI+7.0

SUM:

R = Sum of values X1 to Xi of a context.


For example I want to take the sum of payment:


Make the context mt_source.




And here is the output:

Regards,

Nabendu.