Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Urgent: Validation on additional units field in Infotype 15: Points assured

hi all

I am implementing enhancement PBAS0001using function exit EXIT_SAPFP50M_002

for putting validation on number of additional units entered.

In our company, a predefined no. of units is allotted to every PS group for the whole year. Now i need to validate if the no. of add. units entered for an employee for a given year against the limit set for the PS group he belongs to.

I have created two ztables. One is a master table for the PS group and the annual limit.

and the other one is for storing the month wise additional units and the total add. units conusmed . Its structure is : pernr, lgart, entry_date, add. units, total units consumed, year, month.

Now in the exit i am coding statement like

lv_new_tot = innnn-anzhl + lv_tot.

where lv_new_tot denotes the new sum of add. units consumed and lv_tot is the previous

total of add. units consumed.

But it gives an error saying: INNNN does'nt have a component anzhl.

Now please tell me how to refer to the additional units for the current entry being made.

<b>Points will be awarded surely.</b>

thanks

Former Member
Former Member replied

Hi,

Have a look at this thread regarding the coding in userexit-EXIT_SAPFP50M_002.

User Exit for Infotype 0019

Reward points if Helpful.

Revert back if u need anything else.

Regards,

Manoj.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question