2007 Jun 20 5:45 PM
Hi Experts,
My question is , will , get pernr get only the record which satisfy all the conditions on the screen like emp status, emp group, sub group ect with out any code writen or i need to add code for validation before get pernr.
Any example for screen validation code will be appriciated and same question for date range too. Will date range be evaluated by get pernr or i need to add code for that, I need the record with in the given range.
my email: [email protected]
Thank you.
Regards,
Admir.
Points will be rewarded.
2007 Jun 20 6:31 PM
<<<get pernr get only the record which satisfy all the conditions
YES.. but within the date range you entered on the sel scr.. You might need to put in explicit validations in the GET PERNR if you want to verify the employee's current record vis-a-vis the selcriteria ie
GET PERNR.
* to verify if the employee status for the current record
rp-provide-from-last p0000 space pn-begda pn-endda.
if pnp-sw-found eq 1.
check p0000-stat2 in pnpstat2.
endif.
* to verify empoyee belongs to pers Area on sel scr.
rp-provide-from-last p0001 space pn-begda pn-endda.
if pnp-sw-found eq 1.
check p0001-werks in pnpwerks.
endif.
~Suresh
Hi Experts,
My question is , will , get pernr get only the record which satisfy all the conditions on the screen like emp status, emp group, sub group ect with out any code writen or i need to add code for validation before get pernr.
Any example for screen validation code will be appriciated and same question for date range too. Will date range be evaluated by get pernr or i need to add code for that, I need the record with in the given range.
my email: [email protected]
Thank you.
Regards,
Admir.
Points will be rewarded.
2007 Jun 20 5:53 PM
Please don't write down your e-mail...We got the Business Card -;)
GET PERNR do all the neccesary validations, so you don't need to do anything else...while you don't need some custom validations -;) I have work with LDB PNP without troubles....
Greetings,
Blag.
2007 Jun 20 6:31 PM
<<<get pernr get only the record which satisfy all the conditions
YES.. but within the date range you entered on the sel scr.. You might need to put in explicit validations in the GET PERNR if you want to verify the employee's current record vis-a-vis the selcriteria ie
GET PERNR.
* to verify if the employee status for the current record
rp-provide-from-last p0000 space pn-begda pn-endda.
if pnp-sw-found eq 1.
check p0000-stat2 in pnpstat2.
endif.
* to verify empoyee belongs to pers Area on sel scr.
rp-provide-from-last p0001 space pn-begda pn-endda.
if pnp-sw-found eq 1.
check p0001-werks in pnpwerks.
endif.
~Suresh
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |