cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping issue

Former Member
0 Kudos

Hi all,

How to use the CEIL and COUNTER function in Graphical mapping. please explain with an example

Thanks

Anil

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

CEIL will give you the minimum integer value, eg 2.50 + 1 gives you 3.50 using CEIL you will get 3

COUNTER is used to count the occurences of the element/node, eg counter starts with 1 and you are incrementing it with 1. suppose you use counter for your node and you have 3 occurences of that node than Node1 value is 1, Node2 value is 2, Node3 value is 3.

hope it helps

Regards,

Shradha

Former Member
0 Kudos

Thanks for your help

Former Member
0 Kudos

Hello,

Ceil O = The smallest possible integer value (up to minus 'infiniteu2019) that is not smaller than the argument I. Corresponds to the Java function java.lang.Math.ceil().

Counter O = Number of calls for this target-field mapping where you specify the initial value and the increment of the counter in the function properties.

If you want to get the no. of times a particular field/node is appearing in any XML, you can use this function.

For more information: http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm

regards,

MM

Former Member
0 Kudos

Hi,

Refer below link. This may help you.

http://wiki.sdn.sap.com/wiki/display/XI/StandardFunctionsinPI7.0

Regards,

Sari