Skip to Content
0
Former Member
Feb 18, 2009 at 04:46 PM

mapping problem in idoc

44 Views

Hi

I had a source segment E1EDP20 (0---99 occurences), i need to pass a constant value to target field poitem.

the requirement is

on every occurence of E1EDP20, the constant value should be incremented by 1 and that constant should be passed to target field poitem.

Ex- on first occurence of E1EDP20 the constant value should be 1.

on second occurence of E1EDP20 the constant value should be 2.

on third occurence of E1EDP20 the constant value should be 3.

like this as long as on E1EDP20 occurs the constant value should be incremented by 1.

the constant should be passed to targetfield poitem.

pls suggest what is the logic should i write for the above requirement.

regards

raghu