2011 Dec 01 3:50 PM
Hi all,
My customer wants to add a new button by programming to the standard pf-status in a HR infotype. It's not an ALV neither a report. Is'a a module pool and I would like to avoid duplicate the standard gui-status just for this case.
Any help is apreciated,
Regards,
Luis
Hi all,
My customer wants to add a new button by programming to the standard pf-status in a HR infotype. It's not an ALV neither a report. Is'a a module pool and I would like to avoid duplicate the standard gui-status just for this case.
Any help is apreciated,
Regards,
Luis
2011 Dec 05 10:25 AM
In order to add additional functionality and checks to the PBo & PAI of HR infotypes you need to implement enhancement 'PBAS0001' using CMOD . Once you have done this you need to go to the function modules EXIT_SAPFP50M_001 & EXIT_SAPFP50M_002 and create the includes within them i.e. ZXPADU01 and ZXPADU02. You can now enhance the functionality of HR infotype PBO and PAI by simply adding code to these includes. See example below:
HR Infotype User exits
Include ZXPADU01 for the PBO module
Incldue ZXPADU02 for the PAI module
*Example code.
CASE innnn-infty. "Infotype?
WHEN '0001'. "infotype 0001
Processing code
WHEN '0008'. "infotype 0008
Processing code.
etc.
WHEN OTHERS.
ENDCASE.
2011 Dec 06 10:09 AM
Hi,
Double click on PF-status and give the required name in application toolbar. Double click on name and mention the details like the function code and fn text and reuired button and click on continue.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |