We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
Enables you to manipulate the field catalogs of the output lists for the advance return for tax on sales/purchases (program RFUMSV00). These field catalogs contain the field descriptions that the ABAP List Viewer uses to generate the output.
To differentiate between the output lists, an additional handle is assigned to the BADI and, depending on which list is being used, takes on the following values:
DATA: ls_fieldcat TYPE slis_fieldcat_alv.
IF i_handle = 'HAN1'.
READ TABLE ch_tab_fieldcat WITH KEY fieldname = 'BUKRS'
ls_fieldcat-seltext_l = 'New Company Code Name'.
MODIFY ch_tab_fieldcat FROM ls_fieldcat INDEX sy-tabix.
In order for the methods of this BADI to be called in the program, the same country must be assigned to all company codes used for selection. The country acts as a filter value for the enhancement methods (parameter FLT_VAL).