SAP PIUGMD_GET_DATA_PRIVATE Function Module for NOTRANSL: NICHT VERWENDEN!









PIUGMD_GET_DATA_PRIVATE is a standard piugmd get data private SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: NICHT VERWENDEN! processing and below is the pattern details for this FM, 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 piugmd get data private FM, simply by entering the name PIUGMD_GET_DATA_PRIVATE into the relevant SAP transaction such as SE37 or SE38.

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



Function PIUGMD_GET_DATA_PRIVATE 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 'PIUGMD_GET_DATA_PRIVATE'"NOTRANSL: NICHT VERWENDEN!
EXPORTING
I_DSOURCE = "DataSource
* I_REQUNR = '1' "Request number for the data transfer
* I_MAXSIZE = '999999' "Maximum Number of Table Entries in Extraction API Interface
* I_MAXFETCH = '0010' "Four-digit number
* I_UPDMODE = 'F' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_LOGSYS = "Logical System
* IT_SELECT = "Selection Criteria
* IT_FIELD = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_NO_DATA = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING
E_LINES_READ = "DE-EN-LANG-SWITCH-NO-TRANSLATION
ET_INDX = "FI Master Data: INDX Table

EXCEPTIONS
NO_AUTHORITY = 1 DATASOURCE_ERROR = 2
.



IMPORTING Parameters details for PIUGMD_GET_DATA_PRIVATE

I_DSOURCE - DataSource

Data type: ROOSOURCER
Optional: No
Call by Reference: No ( called with pass by value option)

I_REQUNR - Request number for the data transfer

Data type: RSREQUNR
Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MAXSIZE - Maximum Number of Table Entries in Extraction API Interface

Data type: RSMAXSIZE
Default: '999999'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MAXFETCH - Four-digit number

Data type: NUM4
Default: '0010'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_UPDMODE - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: ROUPDMODE
Default: 'F'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_LOGSYS - Logical System

Data type: LOGSYS
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SELECT - Selection Criteria

Data type: PIUGMD_TS_SELECT
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_FIELD - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: PIUGMD_TS_FIELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_NO_DATA - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: PIUGMD_S_SELECT-SIGN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for PIUGMD_GET_DATA_PRIVATE

E_LINES_READ - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: SYTABIX
Optional: No
Call by Reference: No ( called with pass by value option)

ET_INDX - FI Master Data: INDX Table

Data type: PIUGMD_T_INDX
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_AUTHORITY -

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

DATASOURCE_ERROR -

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

Copy and paste ABAP code example for PIUGMD_GET_DATA_PRIVATE 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_dsource  TYPE ROOSOURCER, "   
lv_e_lines_read  TYPE SYTABIX, "   
lv_no_authority  TYPE SYTABIX, "   
lv_et_indx  TYPE PIUGMD_T_INDX, "   
lv_i_requnr  TYPE RSREQUNR, "   '1'
lv_datasource_error  TYPE RSREQUNR, "   
lv_i_maxsize  TYPE RSMAXSIZE, "   '999999'
lv_i_maxfetch  TYPE NUM4, "   '0010'
lv_i_updmode  TYPE ROUPDMODE, "   'F'
lv_i_logsys  TYPE LOGSYS, "   
lv_it_select  TYPE PIUGMD_TS_SELECT, "   
lv_it_field  TYPE PIUGMD_TS_FIELD, "   
lv_i_no_data  TYPE PIUGMD_S_SELECT-SIGN. "   SPACE

  CALL FUNCTION 'PIUGMD_GET_DATA_PRIVATE'  "NOTRANSL: NICHT VERWENDEN!
    EXPORTING
         I_DSOURCE = lv_i_dsource
         I_REQUNR = lv_i_requnr
         I_MAXSIZE = lv_i_maxsize
         I_MAXFETCH = lv_i_maxfetch
         I_UPDMODE = lv_i_updmode
         I_LOGSYS = lv_i_logsys
         IT_SELECT = lv_it_select
         IT_FIELD = lv_it_field
         I_NO_DATA = lv_i_no_data
    IMPORTING
         E_LINES_READ = lv_e_lines_read
         ET_INDX = lv_et_indx
    EXCEPTIONS
        NO_AUTHORITY = 1
        DATASOURCE_ERROR = 2
. " PIUGMD_GET_DATA_PRIVATE




ABAP code using 7.40 inline data declarations to call FM PIUGMD_GET_DATA_PRIVATE

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.

 
 
 
 
DATA(ld_i_requnr) = '1'.
 
 
DATA(ld_i_maxsize) = '999999'.
 
DATA(ld_i_maxfetch) = '0010'.
 
DATA(ld_i_updmode) = 'F'.
 
 
 
 
"SELECT single SIGN FROM PIUGMD_S_SELECT INTO @DATA(ld_i_no_data).
DATA(ld_i_no_data) = ' '.
 


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!