SAP ISHMED_PATREG_REST_DATA_GET Function Module for









ISHMED_PATREG_REST_DATA_GET is a standard ishmed patreg rest data get 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 ishmed patreg rest data get FM, simply by entering the name ISHMED_PATREG_REST_DATA_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: N1PR
Program Name: SAPLN1PR
Main Program: SAPLN1PR
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function ISHMED_PATREG_REST_DATA_GET 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 'ISHMED_PATREG_REST_DATA_GET'"
EXPORTING
* I_FAL = ' ' "
* I_BEW = ' ' "
* I_DIA = ' ' "
* I_RSF = ' ' "
* I_DOC = ' ' "
I_TLNRID = "
I_EINRI = "

IMPORTING
E_RETMAXTYPE = "

TABLES
T_FAL = "
T_BEW = "
T_DIA = "
T_RSF = "
T_DOC = "
T_PATNR = "
T_RETURN = "

EXCEPTIONS
NO_FAL = 1 NO_DATA = 2
.



IMPORTING Parameters details for ISHMED_PATREG_REST_DATA_GET

I_FAL -

Data type: DDREFSTRUC-FLAG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BEW -

Data type: DDREFSTRUC-FLAG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DIA -

Data type: DDREFSTRUC-FLAG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RSF -

Data type: DDREFSTRUC-FLAG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DOC -

Data type: DDREFSTRUC-FLAG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TLNRID -

Data type: N1PRTLNR-TLNRID
Optional: No
Call by Reference: No ( called with pass by value option)

I_EINRI -

Data type: TN01-EINRI
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISHMED_PATREG_REST_DATA_GET

E_RETMAXTYPE -

Data type: NPDOK-BAPIRETMAXTY
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ISHMED_PATREG_REST_DATA_GET

T_FAL -

Data type: N1PRFAL
Optional: No
Call by Reference: Yes

T_BEW -

Data type: N1PRBEW
Optional: No
Call by Reference: Yes

T_DIA -

Data type: N1PRDIA
Optional: No
Call by Reference: Yes

T_RSF -

Data type: N1PRRSF
Optional: No
Call by Reference: Yes

T_DOC -

Data type: N1PRDOC
Optional: No
Call by Reference: Yes

T_PATNR -

Data type: RN1PRPATNR
Optional: No
Call by Reference: Yes

T_RETURN -

Data type: BAPIRET2
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NO_FAL -

Data type:
Optional: No
Call by Reference: Yes

NO_DATA -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISHMED_PATREG_REST_DATA_GET 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_i_fal  TYPE DDREFSTRUC-FLAG, "   ' '
lt_t_fal  TYPE STANDARD TABLE OF N1PRFAL, "   
lv_no_fal  TYPE N1PRFAL, "   
lv_e_retmaxtype  TYPE NPDOK-BAPIRETMAXTY, "   
lv_i_bew  TYPE DDREFSTRUC-FLAG, "   ' '
lt_t_bew  TYPE STANDARD TABLE OF N1PRBEW, "   
lv_no_data  TYPE N1PRBEW, "   
lv_i_dia  TYPE DDREFSTRUC-FLAG, "   ' '
lt_t_dia  TYPE STANDARD TABLE OF N1PRDIA, "   
lv_i_rsf  TYPE DDREFSTRUC-FLAG, "   ' '
lt_t_rsf  TYPE STANDARD TABLE OF N1PRRSF, "   
lv_i_doc  TYPE DDREFSTRUC-FLAG, "   ' '
lt_t_doc  TYPE STANDARD TABLE OF N1PRDOC, "   
lt_t_patnr  TYPE STANDARD TABLE OF RN1PRPATNR, "   
lv_i_tlnrid  TYPE N1PRTLNR-TLNRID, "   
lv_i_einri  TYPE TN01-EINRI, "   
lt_t_return  TYPE STANDARD TABLE OF BAPIRET2. "   

  CALL FUNCTION 'ISHMED_PATREG_REST_DATA_GET'  "
    EXPORTING
         I_FAL = lv_i_fal
         I_BEW = lv_i_bew
         I_DIA = lv_i_dia
         I_RSF = lv_i_rsf
         I_DOC = lv_i_doc
         I_TLNRID = lv_i_tlnrid
         I_EINRI = lv_i_einri
    IMPORTING
         E_RETMAXTYPE = lv_e_retmaxtype
    TABLES
         T_FAL = lt_t_fal
         T_BEW = lt_t_bew
         T_DIA = lt_t_dia
         T_RSF = lt_t_rsf
         T_DOC = lt_t_doc
         T_PATNR = lt_t_patnr
         T_RETURN = lt_t_return
    EXCEPTIONS
        NO_FAL = 1
        NO_DATA = 2
. " ISHMED_PATREG_REST_DATA_GET




ABAP code using 7.40 inline data declarations to call FM ISHMED_PATREG_REST_DATA_GET

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 FLAG FROM DDREFSTRUC INTO @DATA(ld_i_fal).
DATA(ld_i_fal) = ' '.
 
 
 
"SELECT single BAPIRETMAXTY FROM NPDOK INTO @DATA(ld_e_retmaxtype).
 
"SELECT single FLAG FROM DDREFSTRUC INTO @DATA(ld_i_bew).
DATA(ld_i_bew) = ' '.
 
 
 
"SELECT single FLAG FROM DDREFSTRUC INTO @DATA(ld_i_dia).
DATA(ld_i_dia) = ' '.
 
 
"SELECT single FLAG FROM DDREFSTRUC INTO @DATA(ld_i_rsf).
DATA(ld_i_rsf) = ' '.
 
 
"SELECT single FLAG FROM DDREFSTRUC INTO @DATA(ld_i_doc).
DATA(ld_i_doc) = ' '.
 
 
 
"SELECT single TLNRID FROM N1PRTLNR INTO @DATA(ld_i_tlnrid).
 
"SELECT single EINRI FROM TN01 INTO @DATA(ld_i_einri).
 
 


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!