Ansicht
Dokumentation
SIMG_CFMENUOHP2BAD04 - BAdI: Fill Appraisal Tables
BAL Application Log Documentation Vendor Master (General Section)This documentation is copyright by SAP AG.
You can use this Business Add-In (BAdI) to implement additional functions at the time an appraisal is created.
The BAdI is not implemented in the SAP standard system. If you do not create an implementation, the SAP system does not run the BAdI Fill Appraisal Tables.
After you have called the IMG activity, proceed as follows:
- In the following dialog box, enter in the field "Implementation" a name for the BAdI implementation and choose Copy.
- If implementations have already been created for the BAdI, a dialog box with the existing implementations will be displayed. In this dialog box, choose Create.
- In the corresponding field, enter a short text for implementation .
- In the tab Propertiesenter filter properties - if this is a filter-dependent BAdI.
- Choose the tab Interface.
- The name of the implementing class is generated by the system based on the name of your impmlementation. You can change the name.
- If the BAdI is a menu exit, the tab FCodes also appears.Enter a function here and, if necessary, additional data.
- Save your entries and assign a package.
- Position the cursor on a method. Call up the Class Builder by double-clicking it.
- Between the statements method <Interface-Name>~<Name of Method>. and endmethod, enter the coding you request for the implementation.
- Save and activate your coding, and navigate back to the screen Change Implementation.
- Save on the screen Change Implementation.
- Note: You can first create an implementation for the BAdI and then activate this later on. In this case, close the processing function at this time.
- Choose Activate.
- When the application program is executed, the coding you have created will be run.
If the system returns the Export Parameter SUBRC as not equal to zero, changed appraisal tables are not taken into account in the implementation. The update includes the appraisal data that was first entered in the tables and the buffer is reset (cleared).
For more information, see the documentation for the BAdI interface IF_EX_HRPDV00APPRAISAL0004 and the documentation for the methods it calls FILL_APPRAISAL_TABLES.
appraisers:
PLVAR | |OTYPE | |SOBID | |SHORT | |STEXT |
---|---|---|---|---|
1 | |P | |00001000 | |Nielsen | |Thor Nielsen |
appraisees:
PLVAR | |OTYPE | |SOBID | |SHORT | |STEXT |
---|---|---|---|---|
1 | |P | |11111111 | |Mann | |Thomas Mann |
app_pt1045:
PLVAR | |OTYPE | |OBJID | |RANK | |SLEVL | |APP_OTYPE | |APP_OBJID | |APP_STEXT |
---|---|---|---|---|---|---|---|
1 | |BA | |50014375 | |0001 | |01 | |BS | |50011238 | |Test 1 |
1 | |BA | |50014375 | |0002 | |02 | |Q | |50004480 | |Agriculture Certificate |
1 | |BA | |50014375 | |0003 | |03 | |BG | |50005614 | |US 37 Alex |
1 | |BA | |50014375 | |0004 | |04 | |BK | |50005903 | |Outcome: Wolfgang |
app_endda:
20031231
app_begda:
20030101
app_active:
app_stext:
Test 1
EXT_NUMBER:
00000000
appscheme_id:
50011238
Plvar:
01
Vendor Master (General Section) CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 6152 Date: 20240524 Time: 001023 sap01-206 ( 58 ms )