Ansicht
Dokumentation

OHADBLX140 - BAdI: Complete Check of Enmployee Number

OHADBLX140 - BAdI: Complete Check of Enmployee Number

Vendor Master (General Section)   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Because the employee number was entered incorrectly in infotype 189 - Social Fund Procedure, this resulted in questions from the Wiesbaden social fund. The result is a great increase in manual effort required both from the processor of the master data as well as from the social fund. You can avoid this extra effort using the BAdI HRPAYDECI_SKV_ZVKAN. If you implement this BAdI, the system checks the validity of the employee numbers when they are entered in infotype 189. In addition, you can use report RPCBKAD0 to check the complete dataset of employees.

The subprogram needed for this check cannot be provided in the standard SAP delivery due to legal restrictions. Instead, you can get this subprogram by request only from the Wiesbaden social fund.

The implementation of this BAdI is a prerequisite when creating infotype 189 - Social Fund Procedure.

The source text exists for the BAdI implementation.

After you access the IMG activity, a dialog box appears in which you have to enter a name for the implementation.

If implementations have already been created for the BAdI, a dialog box appears displaying the existing implementations. Normally there is usually either no implementation or just one implementation. If there is no implementation, choose Create in the dialog box and proceed as follows:

1. In the Implementation field in the dialog box, enter a name for the BAdI implementation and choose Create

The initial screen for creating BAdI implementations appears.

2. Enter a text for the implementation in the Implementation short text field.

3. In the tab index, choose Interface.

The Name of implementing class field is filled automatically because the system assigns a class name on the basis of your implementation.

4. Save your entries and assign a package.

5. Place the cursor on the method and double-click to go to method processing.

6. Enter the code required by the Wiesbaden social fund between the method <interface name>~<method name>. and endmethod. statements.

7. Save your code and activate it. Return to the Change Implementation screen.

8. Save the data on the Change Implementation screen.

Note: You can also create an implementation for a BAdI first and then activate it later on. If you want to do so, complete processing now.

9. Choose Activate.

When you enter employee numbers in infotype 189, the system now processes the code you entered in the method along with the check. In addition, you can check all existing employee numbers in the system using report RPCBKAD0.

Procedure for Exchanging and Updating the Existing Implementation


After calling the IMG activity, a dialog window appears displaying any existing implementations. Please proceed as follows:

1. Select the implementation to be changed and choose Display.

2. Choose the Interface tab page and double-click method CHECK_ZVKAN.

3. Choose change.

4. Replace the existing lines between the instructions method <Interface-Name>~<Name der Methode>. and endmethod. with the new coding.

5. Save and activate the coding.

6. When you close the implementation, check that it has been activated.






ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 3584 Date: 20240523 Time: 225008     sap01-206 ( 65 ms )