Ansicht
Dokumentation

PYIN_P2E_APP_03 - BAdI: Change UI List

PYIN_P2E_APP_03 - BAdI: Change UI List

CL_GUI_FRONTEND_SERVICES - Frontend Services   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In is used in the HR Policy Management in India solution that belongs to the (PA-PA-IN) component.

This Add-In enables you to filter a list of validation attributes, closure actions and approver list.

In the standard SAP solution, system displays the list that you configure in backend for validation attribute, closure actions and approver list.

In case, you want to filter the list in a different format from what is displayed in the standard, you can do so using this BAdI.

You can use the following methods in the BAdI with the corresponding import, change and export parameters as per your requirements:

  • VALIDATION_ATTRIBUTES
You can use this method to change list of validation attributes.
Importing Parameter
  • IV_PERNR - This refers to employee number

  • IV_AREKY - This refers to the area key

Changing Parameter
  • CT_VALIDATION - This contains the details of the validation attribute

  • APPROVERS_LIST
You can use this method to change list of approvers
Importing Parameter
  • IV_PERNR - This refers to employee number

  • IV_AREKY - This refers to the area key

Changing Parameters
  • CT_APPROVAL - This contains the details of the approvers (agents)

  • CLOSURE_ACTION
You can use this method to change list of closure actions.
Importing Parameter
  • IV_PERNR - This refers to employee number

  • IV_AREKY - This refers to the area key

Changing Parameter
  • ET_CLOSURE- This contains the details of closure actions

You should carry out this step only if both of the following points apply:

  • The SAP standard processes do not suit your needs
  • You are a competent ABAP/4 programmer

In the standard system, the Business Add-In is not activated.

After calling up the Customizing activity, a dialog box appears, in which the existing implementations are displayed. Choose Change, and proceed as follows:

  1. From the tab index, choose Interface.
  2. Place the cursor on the method, and double-click to enter method processing.
  3. Enter the coding for the implementation between the statements methodIF_AC_CHANGE_UI_LIST~ and endmethod.
  4. Save and implement your coding. Return to the Edit Implementation screen.
  5. Save the entries on the Edit Implementationscreen.
    Note: You can also change the implementation, and then activate it at a later time. In such a case, end the processing stage at this point.
  6. Choose Activate
The coding you stored in the method will be run when the application program is executed.

To display the sample code, choose Goto-> Sample Code -> Display






TXBHW - Original Tax Base Amount in Local Currency   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3994 Date: 20240523 Time: 203306     sap01-206 ( 38 ms )