SAP ISP_POPUP_ORGDAT Function Module for IS-M/AM: Dialog Box: Organizational Data for the Order









ISP_POPUP_ORGDAT is a standard isp popup orgdat 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/AM: Dialog Box: Organizational Data for the Order 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 orgdat FM, simply by entering the name ISP_POPUP_ORGDAT into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_POPUP_ORGDAT 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_ORGDAT'"IS-M/AM: Dialog Box: Organizational Data for the Order
EXPORTING
* XSHOW = ' ' "
* XVKORG = 'X' "
* XVTWEG = 'X' "
* XSPART = 'X' "
* XVKBUR = 'X' "
* XVKGRP = 'X' "
* XAUART = 'X' "

IMPORTING
XCANCEL = "

CHANGING
VKORG = "Sales Organization
VTWEG = "Distribution Channel
SPART = "Division
VKBUR = "Sales Office
VKGRP = "Sales Group
AUART = "Order Type
.




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_SAPLJHA2_001 IS-M/AM: Copy Order Objects

IMPORTING Parameters details for ISP_POPUP_ORGDAT

XSHOW -

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

XVKORG -

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

XVTWEG -

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

XSPART -

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

XVKBUR -

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

XVKGRP -

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

XAUART -

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

EXPORTING Parameters details for ISP_POPUP_ORGDAT

XCANCEL -

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

CHANGING Parameters details for ISP_POPUP_ORGDAT

VKORG - Sales Organization

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

VTWEG - Distribution Channel

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

SPART - Division

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

VKBUR - Sales Office

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

VKGRP - Sales Group

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

AUART - Order Type

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

Copy and paste ABAP code example for ISP_POPUP_ORGDAT 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_vkorg  TYPE JHAK-VKORG, "   
lv_xshow  TYPE SY-BATCH, "   SPACE
lv_xcancel  TYPE SY-BATCH, "   
lv_vtweg  TYPE JHAK-VTWEG, "   
lv_xvkorg  TYPE SY-BATCH, "   'X'
lv_spart  TYPE JHAK-SPART, "   
lv_xvtweg  TYPE SY-BATCH, "   'X'
lv_vkbur  TYPE JHAK-VKBUR, "   
lv_xspart  TYPE SY-BATCH, "   'X'
lv_vkgrp  TYPE JHAK-VKGRP, "   
lv_xvkbur  TYPE SY-BATCH, "   'X'
lv_auart  TYPE JHAK-AUART, "   
lv_xvkgrp  TYPE SY-BATCH, "   'X'
lv_xauart  TYPE SY-BATCH. "   'X'

  CALL FUNCTION 'ISP_POPUP_ORGDAT'  "IS-M/AM: Dialog Box: Organizational Data for the Order
    EXPORTING
         XSHOW = lv_xshow
         XVKORG = lv_xvkorg
         XVTWEG = lv_xvtweg
         XSPART = lv_xspart
         XVKBUR = lv_xvkbur
         XVKGRP = lv_xvkgrp
         XAUART = lv_xauart
    IMPORTING
         XCANCEL = lv_xcancel
    CHANGING
         VKORG = lv_vkorg
         VTWEG = lv_vtweg
         SPART = lv_spart
         VKBUR = lv_vkbur
         VKGRP = lv_vkgrp
         AUART = lv_auart
. " ISP_POPUP_ORGDAT




ABAP code using 7.40 inline data declarations to call FM ISP_POPUP_ORGDAT

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 VKORG FROM JHAK INTO @DATA(ld_vkorg).
 
"SELECT single BATCH FROM SY INTO @DATA(ld_xshow).
DATA(ld_xshow) = ' '.
 
"SELECT single BATCH FROM SY INTO @DATA(ld_xcancel).
 
"SELECT single VTWEG FROM JHAK INTO @DATA(ld_vtweg).
 
"SELECT single BATCH FROM SY INTO @DATA(ld_xvkorg).
DATA(ld_xvkorg) = 'X'.
 
"SELECT single SPART FROM JHAK INTO @DATA(ld_spart).
 
"SELECT single BATCH FROM SY INTO @DATA(ld_xvtweg).
DATA(ld_xvtweg) = 'X'.
 
"SELECT single VKBUR FROM JHAK INTO @DATA(ld_vkbur).
 
"SELECT single BATCH FROM SY INTO @DATA(ld_xspart).
DATA(ld_xspart) = 'X'.
 
"SELECT single VKGRP FROM JHAK INTO @DATA(ld_vkgrp).
 
"SELECT single BATCH FROM SY INTO @DATA(ld_xvkbur).
DATA(ld_xvkbur) = 'X'.
 
"SELECT single AUART FROM JHAK INTO @DATA(ld_auart).
 
"SELECT single BATCH FROM SY INTO @DATA(ld_xvkgrp).
DATA(ld_xvkgrp) = 'X'.
 
"SELECT single BATCH FROM SY INTO @DATA(ld_xauart).
DATA(ld_xauart) = 'X'.
 


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!