SAP ISHMED_CHECK_NORG Function Module for









ISHMED_CHECK_NORG is a standard ishmed check norg 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 check norg FM, simply by entering the name ISHMED_CHECK_NORG into the relevant SAP transaction such as SE37 or SE38.

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



Function ISHMED_CHECK_NORG 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_CHECK_NORG'"
EXPORTING
* SS_AMBES = '*' "
* SS_N1DIKZ = '*' "
* SS_N1ERBRKZ = '*' "
* SS_N1PLSKZ = '*' "
SS_ORGID = "
* SS_PFZUW = '*' "
* SS_SPERR = 'N' "Blocking Indicator
* SS_GDAT_BIS = ' ' "
* SS_CHECK_DATE = ON "
* SS_LEITST = ' ' "
* SS_OEPARM = ' ' "
SS_EINRI = "
* SS_OEPARM_VALUE = ' ' "
* SS_OEPARM_EXCL = ' ' "
* SS_OEPARM_NOEXC = ' ' "
* SS_EINRI_CHK = 'N' "
* SS_FAZUW = '*' "
* SS_FREIG = '*' "Release flag
* SS_GDATUM = SY-DATUM "
* SS_N1ANFGP = '*' "
* SS_N1ANFKZ = '*' "
* SS_N1ANFOR = ' ' "

IMPORTING
E_N1AOEZ = "
E_NORG = "
E_OEPARM_INVALID = "
E_DATE_INVALID = "

EXCEPTIONS
NOT_FOUND = 1 NOT_VALID = 2
.



IMPORTING Parameters details for ISHMED_CHECK_NORG

SS_AMBES -

Data type: NORG-AMBES
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_N1DIKZ -

Data type: NORG-N1DIKZ
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_N1ERBRKZ -

Data type: NORG-N1ERBRKZ
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_N1PLSKZ -

Data type: N1AOEZ-N1PLSKZ
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_ORGID -

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

SS_PFZUW -

Data type: NORG-PFZUW
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_SPERR - Blocking Indicator

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

SS_GDAT_BIS -

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

SS_CHECK_DATE -

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

SS_LEITST -

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

SS_OEPARM -

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

SS_EINRI -

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

SS_OEPARM_VALUE -

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

SS_OEPARM_EXCL -

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

SS_OEPARM_NOEXC -

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

SS_EINRI_CHK -

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

SS_FAZUW -

Data type: NORG-FAZUW
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_FREIG - Release flag

Data type: NORG-FREIG
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_GDATUM -

Data type: NORG-BEGDT
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_N1ANFGP -

Data type: NORG-N1ANFGP
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_N1ANFKZ -

Data type: NORG-N1ANFKZ
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_N1ANFOR -

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

EXPORTING Parameters details for ISHMED_CHECK_NORG

E_N1AOEZ -

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

E_NORG -

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

E_OEPARM_INVALID -

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

E_DATE_INVALID -

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

EXCEPTIONS details

NOT_FOUND -

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

NOT_VALID -

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

Copy and paste ABAP code example for ISHMED_CHECK_NORG 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_e_n1aoez  TYPE N1AOEZ, "   
lv_ss_ambes  TYPE NORG-AMBES, "   '*'
lv_not_found  TYPE NORG, "   
lv_ss_n1dikz  TYPE NORG-N1DIKZ, "   '*'
lv_ss_n1erbrkz  TYPE NORG-N1ERBRKZ, "   '*'
lv_ss_n1plskz  TYPE N1AOEZ-N1PLSKZ, "   '*'
lv_ss_orgid  TYPE NORG-ORGID, "   
lv_ss_pfzuw  TYPE NORG-PFZUW, "   '*'
lv_ss_sperr  TYPE NORG, "   'N'
lv_ss_gdat_bis  TYPE NORG-ENDDT, "   SPACE
lv_ss_check_date  TYPE ISH_ON_OFF, "   ON
lv_ss_leitst  TYPE RNT40-MARK, "   SPACE
lv_ss_oeparm  TYPE N1ORGPAR-N1PARID, "   SPACE
lv_e_norg  TYPE NORG, "   
lv_ss_einri  TYPE NORG-EINRI, "   
lv_not_valid  TYPE NORG, "   
lv_ss_oeparm_value  TYPE N1ORGPAR-N1PARWERT, "   SPACE
lv_ss_oeparm_excl  TYPE ISH_ON_OFF, "   SPACE
lv_ss_oeparm_noexc  TYPE ISH_ON_OFF, "   SPACE
lv_ss_einri_chk  TYPE ISH_ON_OFF, "   'N'
lv_e_oeparm_invalid  TYPE ISH_ON_OFF, "   
lv_ss_fazuw  TYPE NORG-FAZUW, "   '*'
lv_e_date_invalid  TYPE ISH_ON_OFF, "   
lv_ss_freig  TYPE NORG-FREIG, "   '*'
lv_ss_gdatum  TYPE NORG-BEGDT, "   SY-DATUM
lv_ss_n1anfgp  TYPE NORG-N1ANFGP, "   '*'
lv_ss_n1anfkz  TYPE NORG-N1ANFKZ, "   '*'
lv_ss_n1anfor  TYPE N1AOEZ-N1ANFOR. "   SPACE

  CALL FUNCTION 'ISHMED_CHECK_NORG'  "
    EXPORTING
         SS_AMBES = lv_ss_ambes
         SS_N1DIKZ = lv_ss_n1dikz
         SS_N1ERBRKZ = lv_ss_n1erbrkz
         SS_N1PLSKZ = lv_ss_n1plskz
         SS_ORGID = lv_ss_orgid
         SS_PFZUW = lv_ss_pfzuw
         SS_SPERR = lv_ss_sperr
         SS_GDAT_BIS = lv_ss_gdat_bis
         SS_CHECK_DATE = lv_ss_check_date
         SS_LEITST = lv_ss_leitst
         SS_OEPARM = lv_ss_oeparm
         SS_EINRI = lv_ss_einri
         SS_OEPARM_VALUE = lv_ss_oeparm_value
         SS_OEPARM_EXCL = lv_ss_oeparm_excl
         SS_OEPARM_NOEXC = lv_ss_oeparm_noexc
         SS_EINRI_CHK = lv_ss_einri_chk
         SS_FAZUW = lv_ss_fazuw
         SS_FREIG = lv_ss_freig
         SS_GDATUM = lv_ss_gdatum
         SS_N1ANFGP = lv_ss_n1anfgp
         SS_N1ANFKZ = lv_ss_n1anfkz
         SS_N1ANFOR = lv_ss_n1anfor
    IMPORTING
         E_N1AOEZ = lv_e_n1aoez
         E_NORG = lv_e_norg
         E_OEPARM_INVALID = lv_e_oeparm_invalid
         E_DATE_INVALID = lv_e_date_invalid
    EXCEPTIONS
        NOT_FOUND = 1
        NOT_VALID = 2
. " ISHMED_CHECK_NORG




ABAP code using 7.40 inline data declarations to call FM ISHMED_CHECK_NORG

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 AMBES FROM NORG INTO @DATA(ld_ss_ambes).
DATA(ld_ss_ambes) = '*'.
 
 
"SELECT single N1DIKZ FROM NORG INTO @DATA(ld_ss_n1dikz).
DATA(ld_ss_n1dikz) = '*'.
 
"SELECT single N1ERBRKZ FROM NORG INTO @DATA(ld_ss_n1erbrkz).
DATA(ld_ss_n1erbrkz) = '*'.
 
"SELECT single N1PLSKZ FROM N1AOEZ INTO @DATA(ld_ss_n1plskz).
DATA(ld_ss_n1plskz) = '*'.
 
"SELECT single ORGID FROM NORG INTO @DATA(ld_ss_orgid).
 
"SELECT single PFZUW FROM NORG INTO @DATA(ld_ss_pfzuw).
DATA(ld_ss_pfzuw) = '*'.
 
DATA(ld_ss_sperr) = 'N'.
 
"SELECT single ENDDT FROM NORG INTO @DATA(ld_ss_gdat_bis).
DATA(ld_ss_gdat_bis) = ' '.
 
DATA(ld_ss_check_date) = ON.
 
"SELECT single MARK FROM RNT40 INTO @DATA(ld_ss_leitst).
DATA(ld_ss_leitst) = ' '.
 
"SELECT single N1PARID FROM N1ORGPAR INTO @DATA(ld_ss_oeparm).
DATA(ld_ss_oeparm) = ' '.
 
 
"SELECT single EINRI FROM NORG INTO @DATA(ld_ss_einri).
 
 
"SELECT single N1PARWERT FROM N1ORGPAR INTO @DATA(ld_ss_oeparm_value).
DATA(ld_ss_oeparm_value) = ' '.
 
DATA(ld_ss_oeparm_excl) = ' '.
 
DATA(ld_ss_oeparm_noexc) = ' '.
 
DATA(ld_ss_einri_chk) = 'N'.
 
 
"SELECT single FAZUW FROM NORG INTO @DATA(ld_ss_fazuw).
DATA(ld_ss_fazuw) = '*'.
 
 
"SELECT single FREIG FROM NORG INTO @DATA(ld_ss_freig).
DATA(ld_ss_freig) = '*'.
 
"SELECT single BEGDT FROM NORG INTO @DATA(ld_ss_gdatum).
DATA(ld_ss_gdatum) = SY-DATUM.
 
"SELECT single N1ANFGP FROM NORG INTO @DATA(ld_ss_n1anfgp).
DATA(ld_ss_n1anfgp) = '*'.
 
"SELECT single N1ANFKZ FROM NORG INTO @DATA(ld_ss_n1anfkz).
DATA(ld_ss_n1anfkz) = '*'.
 
"SELECT single N1ANFOR FROM N1AOEZ INTO @DATA(ld_ss_n1anfor).
DATA(ld_ss_n1anfor) = ' '.
 


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!