on 10-10-2007 7:55 AM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use method to pass the innn structure to p0015 and write all the logics with that and later again pass this structure to innnn.
Reward points if helpful.
Regards,
Manoj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Which logical data base are you using use "PNP" OR "PCH"
Rewards Poins
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
105 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.