Posted: Sat Oct 13, 2007 1:29 pm Post subject: User Exits to Add functionality to the PBO and PAI of HR
User Exits to Add functionality to the PBO and PAI of HR infotypes
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
Code:
*Example code.
CASE innnn-infty. "Infotype?
WHEN '0001'. "infotype 0001
* Processing code
WHEN '0008'. "infotype 0008
* Processing code.
* etc.
WHEN OTHERS.
ENDCASE.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.