SAP PT_ARQ_READ_INFOTYPES Function Module for









PT_ARQ_READ_INFOTYPES is a standard pt arq read 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 pt arq read infotypes FM, simply by entering the name PT_ARQ_READ_INFOTYPES into the relevant SAP transaction such as SE37 or SE38.

Function Group: PT_ARQ_REQUEST_UIA
Program Name: SAPLPT_ARQ_REQUEST_UIA
Main Program: SAPLPT_ARQ_REQUEST_UIA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function PT_ARQ_READ_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 'PT_ARQ_READ_INFOTYPES'"
EXPORTING
PERNR = "Personnel Number
* BEGDA = '18000101' "Valid From
* ENDDA = '99991231' "Valid to

IMPORTING
RETURN = "Return Value from ABAP Statements

TABLES
* ITAB_0001 = "HR Master Record: Infotype 0001 (Org. Assignment)
* ITAB_0002 = "HR Master Record: Infotype 0002 (Personal Data)
* ITAB_0105 = "HR Master Record: Infotype 0105 (Communications)
* ITAB_0003 = "
* ITAB_0007 = "
* ITAB_2006 = "
* ITAB_2007 = "
.



IMPORTING Parameters details for PT_ARQ_READ_INFOTYPES

PERNR - Personnel Number

Data type: PRELP-PERNR
Optional: No
Call by Reference: Yes

BEGDA - Valid From

Data type: PRELP-BEGDA
Default: '18000101'
Optional: No
Call by Reference: Yes

ENDDA - Valid to

Data type: PRELP-ENDDA
Default: '99991231'
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for PT_ARQ_READ_INFOTYPES

RETURN - Return Value from ABAP Statements

Data type: SY-SUBRC
Optional: No
Call by Reference: Yes

TABLES Parameters details for PT_ARQ_READ_INFOTYPES

ITAB_0001 - HR Master Record: Infotype 0001 (Org. Assignment)

Data type: P0001
Optional: Yes
Call by Reference: Yes

ITAB_0002 - HR Master Record: Infotype 0002 (Personal Data)

Data type: P0002
Optional: Yes
Call by Reference: Yes

ITAB_0105 - HR Master Record: Infotype 0105 (Communications)

Data type: P0105
Optional: Yes
Call by Reference: Yes

ITAB_0003 -

Data type: P0003
Optional: Yes
Call by Reference: Yes

ITAB_0007 -

Data type: P0007
Optional: Yes
Call by Reference: Yes

ITAB_2006 -

Data type: P2006
Optional: Yes
Call by Reference: Yes

ITAB_2007 -

Data type: P2007
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for PT_ARQ_READ_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:
lv_pernr  TYPE PRELP-PERNR, "   
lv_return  TYPE SY-SUBRC, "   
lt_itab_0001  TYPE STANDARD TABLE OF P0001, "   
lv_begda  TYPE PRELP-BEGDA, "   '18000101'
lt_itab_0002  TYPE STANDARD TABLE OF P0002, "   
lv_endda  TYPE PRELP-ENDDA, "   '99991231'
lt_itab_0105  TYPE STANDARD TABLE OF P0105, "   
lt_itab_0003  TYPE STANDARD TABLE OF P0003, "   
lt_itab_0007  TYPE STANDARD TABLE OF P0007, "   
lt_itab_2006  TYPE STANDARD TABLE OF P2006, "   
lt_itab_2007  TYPE STANDARD TABLE OF P2007. "   

  CALL FUNCTION 'PT_ARQ_READ_INFOTYPES'  "
    EXPORTING
         PERNR = lv_pernr
         BEGDA = lv_begda
         ENDDA = lv_endda
    IMPORTING
         RETURN = lv_return
    TABLES
         ITAB_0001 = lt_itab_0001
         ITAB_0002 = lt_itab_0002
         ITAB_0105 = lt_itab_0105
         ITAB_0003 = lt_itab_0003
         ITAB_0007 = lt_itab_0007
         ITAB_2006 = lt_itab_2006
         ITAB_2007 = lt_itab_2007
. " PT_ARQ_READ_INFOTYPES




ABAP code using 7.40 inline data declarations to call FM PT_ARQ_READ_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 PRELP INTO @DATA(ld_pernr).
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_return).
 
 
"SELECT single BEGDA FROM PRELP INTO @DATA(ld_begda).
DATA(ld_begda) = '18000101'.
 
 
"SELECT single ENDDA FROM PRELP INTO @DATA(ld_endda).
DATA(ld_endda) = '99991231'.
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!