SAP ISP_POPUP_USERDATA Function Module for IS-M/SD: Display Created By Data in Dialog Box









ISP_POPUP_USERDATA is a standard isp popup userdata SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-M/SD: Display Created By Data in Dialog Box 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 isp popup userdata FM, simply by entering the name ISP_POPUP_USERDATA into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_POPUP_USERDATA 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 'ISP_POPUP_USERDATA'"IS-M/SD: Display Created By Data in Dialog Box
EXPORTING
* AENDATE = 0 "Last Changed On
* TITEL = ' ' "
* AENPROG = ' ' "
* AENTIME = 0 "Time of the Last Change
* AENUSER = ' ' "
* ERFDATE = 0 "Date of Initial Entry
* ERFPROG = ' ' "
* ERFTIME = 0 "First Entered at
* ERFUSER = ' ' "Created By
* TABNAME = ' ' "

IMPORTING
OUT_RETCODE = "

EXCEPTIONS
ERROR_IN_FIELDS = 1
.



IMPORTING Parameters details for ISP_POPUP_USERDATA

AENDATE - Last Changed On

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

TITEL -

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

AENPROG -

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

AENTIME - Time of the Last Change

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

AENUSER -

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

ERFDATE - Date of Initial Entry

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

ERFPROG -

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

ERFTIME - First Entered at

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

ERFUSER - Created By

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

TABNAME -

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

EXPORTING Parameters details for ISP_POPUP_USERDATA

OUT_RETCODE -

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

EXCEPTIONS details

ERROR_IN_FIELDS -

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

Copy and paste ABAP code example for ISP_POPUP_USERDATA 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_aendate  TYPE JYTUSER-AENDATE, "   0
lv_out_retcode  TYPE SY-BATCH, "   
lv_error_in_fields  TYPE SY, "   
lv_titel  TYPE RSEU1-TIT_TEXT, "   SPACE
lv_aenprog  TYPE JYTUSE2-AENPROG, "   SPACE
lv_aentime  TYPE JYTUSER-AENTIME, "   0
lv_aenuser  TYPE JYTUSER-AENUSER, "   SPACE
lv_erfdate  TYPE JYTUSER-ERFDATE, "   0
lv_erfprog  TYPE JYTUSE2-ERFPROG, "   SPACE
lv_erftime  TYPE JYTUSER-ERFTIME, "   0
lv_erfuser  TYPE JYTUSER-ERFUSER, "   SPACE
lv_tabname  TYPE SVAL-TABNAME. "   SPACE

  CALL FUNCTION 'ISP_POPUP_USERDATA'  "IS-M/SD: Display Created By Data in Dialog Box
    EXPORTING
         AENDATE = lv_aendate
         TITEL = lv_titel
         AENPROG = lv_aenprog
         AENTIME = lv_aentime
         AENUSER = lv_aenuser
         ERFDATE = lv_erfdate
         ERFPROG = lv_erfprog
         ERFTIME = lv_erftime
         ERFUSER = lv_erfuser
         TABNAME = lv_tabname
    IMPORTING
         OUT_RETCODE = lv_out_retcode
    EXCEPTIONS
        ERROR_IN_FIELDS = 1
. " ISP_POPUP_USERDATA




ABAP code using 7.40 inline data declarations to call FM ISP_POPUP_USERDATA

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 AENDATE FROM JYTUSER INTO @DATA(ld_aendate).
 
"SELECT single BATCH FROM SY INTO @DATA(ld_out_retcode).
 
 
"SELECT single TIT_TEXT FROM RSEU1 INTO @DATA(ld_titel).
DATA(ld_titel) = ' '.
 
"SELECT single AENPROG FROM JYTUSE2 INTO @DATA(ld_aenprog).
DATA(ld_aenprog) = ' '.
 
"SELECT single AENTIME FROM JYTUSER INTO @DATA(ld_aentime).
 
"SELECT single AENUSER FROM JYTUSER INTO @DATA(ld_aenuser).
DATA(ld_aenuser) = ' '.
 
"SELECT single ERFDATE FROM JYTUSER INTO @DATA(ld_erfdate).
 
"SELECT single ERFPROG FROM JYTUSE2 INTO @DATA(ld_erfprog).
DATA(ld_erfprog) = ' '.
 
"SELECT single ERFTIME FROM JYTUSER INTO @DATA(ld_erftime).
 
"SELECT single ERFUSER FROM JYTUSER INTO @DATA(ld_erfuser).
DATA(ld_erfuser) = ' '.
 
"SELECT single TABNAME FROM SVAL INTO @DATA(ld_tabname).
DATA(ld_tabname) = ' '.
 


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!