SAP RP_FILL_AR_US_TAX_INFOTYPES Function Module for
RP_FILL_AR_US_TAX_INFOTYPES is a standard rp fill ar us tax infotypes SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for rp fill ar us tax infotypes FM, simply by entering the name RP_FILL_AR_US_TAX_INFOTYPES into the relevant SAP transaction such as SE37 or SE38.
Function Group: RPRP
Program Name: SAPLRPRP
Main Program: SAPLRPRP
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function RP_FILL_AR_US_TAX_INFOTYPES pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'RP_FILL_AR_US_TAX_INFOTYPES'".
EXPORTING
A_PERNR = "
* A_SEQNR = "
A_VERSC = "
A_PERM = "
* ABRECH = ' ' "
TABLES
A_RT = "
A_TCRT = "
A_TAX = "
* INFTY_TAB = "
* OUTDATED_INFTY_TAB = "
EXCEPTIONS
NO_INFOTYPES = 1 MISSING_CUMTY_CUSTOMIZING = 2 WRONG_PYINFTY_STRUCTURE = 3 INFOTYPE_OUT_OF_DATE = 4
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLRPRP_001 Set Start and End Date for the Current Payroll Result
IMPORTING Parameters details for RP_FILL_AR_US_TAX_INFOTYPES
A_PERNR -
Data type: P0001-PERNROptional: No
Call by Reference: No ( called with pass by value option)
A_SEQNR -
Data type: PC261-SEQNROptional: Yes
Call by Reference: No ( called with pass by value option)
A_VERSC -
Data type: PC202Optional: No
Call by Reference: No ( called with pass by value option)
A_PERM -
Data type: PC22ROptional: No
Call by Reference: No ( called with pass by value option)
ABRECH -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RP_FILL_AR_US_TAX_INFOTYPES
A_RT -
Data type: PC207Optional: No
Call by Reference: No ( called with pass by value option)
A_TCRT -
Data type: PC23HOptional: No
Call by Reference: No ( called with pass by value option)
A_TAX -
Data type: PC22TOptional: No
Call by Reference: No ( called with pass by value option)
INFTY_TAB -
Data type: INFOTYP_TABOptional: Yes
Call by Reference: Yes
OUTDATED_INFTY_TAB -
Data type: INFOTYP_TABOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NO_INFOTYPES -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MISSING_CUMTY_CUSTOMIZING -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_PYINFTY_STRUCTURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INFOTYPE_OUT_OF_DATE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RP_FILL_AR_US_TAX_INFOTYPES Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.DATA: | ||||
lt_a_rt | TYPE STANDARD TABLE OF PC207, " | |||
lv_a_pernr | TYPE P0001-PERNR, " | |||
lv_no_infotypes | TYPE P0001, " | |||
lt_a_tcrt | TYPE STANDARD TABLE OF PC23H, " | |||
lv_a_seqnr | TYPE PC261-SEQNR, " | |||
lv_missing_cumty_customizing | TYPE PC261, " | |||
lt_a_tax | TYPE STANDARD TABLE OF PC22T, " | |||
lv_a_versc | TYPE PC202, " | |||
lv_wrong_pyinfty_structure | TYPE PC202, " | |||
lv_a_perm | TYPE PC22R, " | |||
lt_infty_tab | TYPE STANDARD TABLE OF INFOTYP_TAB, " | |||
lv_infotype_out_of_date | TYPE INFOTYP_TAB, " | |||
lv_abrech | TYPE INFOTYP_TAB, " SPACE | |||
lt_outdated_infty_tab | TYPE STANDARD TABLE OF INFOTYP_TAB. " |
  CALL FUNCTION 'RP_FILL_AR_US_TAX_INFOTYPES' " |
EXPORTING | ||
A_PERNR | = lv_a_pernr | |
A_SEQNR | = lv_a_seqnr | |
A_VERSC | = lv_a_versc | |
A_PERM | = lv_a_perm | |
ABRECH | = lv_abrech | |
TABLES | ||
A_RT | = lt_a_rt | |
A_TCRT | = lt_a_tcrt | |
A_TAX | = lt_a_tax | |
INFTY_TAB | = lt_infty_tab | |
OUTDATED_INFTY_TAB | = lt_outdated_infty_tab | |
EXCEPTIONS | ||
NO_INFOTYPES = 1 | ||
MISSING_CUMTY_CUSTOMIZING = 2 | ||
WRONG_PYINFTY_STRUCTURE = 3 | ||
INFOTYPE_OUT_OF_DATE = 4 | ||
. " RP_FILL_AR_US_TAX_INFOTYPES |
ABAP code using 7.40 inline data declarations to call FM RP_FILL_AR_US_TAX_INFOTYPES
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8."SELECT single PERNR FROM P0001 INTO @DATA(ld_a_pernr). | ||||
"SELECT single SEQNR FROM PC261 INTO @DATA(ld_a_seqnr). | ||||
DATA(ld_abrech) | = ' '. | |||
Search for further information about these or an SAP related objects