SAP ISHMED_DISPOSITION Function Module for









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

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



Function ISHMED_DISPOSITION 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_DISPOSITION'"
EXPORTING
I_DISP_OE = "
* I_IBGDT_BIS = '99991230' "
* I_IBGDT_VON = '18000101' "
* I_IBZT_BIS = '2400' "
* I_IBZT_VON = '0' "
* I_TCODE_CALLING = ' ' "
* I_LOCK_FAL = ON "
* I_DISP_TYPE = '*' "
* I_ROLLE = '*' "

IMPORTING
E_CHANGED = "
E_FCODE = "

TABLES
T_ANF = "
T_ANFOE = "
T_ANPOE = "
T_ERBOE = "
T_NFAL = "
T_NLEI = "
* T_NTMN = "

EXCEPTIONS
NO_AUTH = 1 ABBRUCH = 2
.




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_SAPLN1LD_001 IS-H*MED: User Exit for the Scheduling
EXIT_SAPLN1LD_002 IS-H*MED: User Exit before Calling the Scheduling Function

IMPORTING Parameters details for ISHMED_DISPOSITION

I_DISP_OE -

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

I_IBGDT_BIS -

Data type: NLEI-IBGDT
Default: '99991230'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_IBGDT_VON -

Data type: NLEI-IBGDT
Default: '18000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_IBZT_BIS -

Data type: NLEI-IBZT
Default: '2400'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_IBZT_VON -

Data type: NLEI-IBZT
Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TCODE_CALLING -

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

I_LOCK_FAL -

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

I_DISP_TYPE -

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

I_ROLLE -

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

EXPORTING Parameters details for ISHMED_DISPOSITION

E_CHANGED -

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

E_FCODE -

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

TABLES Parameters details for ISHMED_DISPOSITION

T_ANF -

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

T_ANFOE -

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

T_ANPOE -

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

T_ERBOE -

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

T_NFAL -

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

T_NLEI -

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

T_NTMN -

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

EXCEPTIONS details

NO_AUTH -

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

ABBRUCH -

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

Copy and paste ABAP code example for ISHMED_DISPOSITION 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:
lt_t_anf  TYPE STANDARD TABLE OF N1ANF, "   
lv_no_auth  TYPE N1ANF, "   
lv_e_changed  TYPE RNT40-MARK, "   
lv_i_disp_oe  TYPE NORG-ORGID, "   
lv_abbruch  TYPE NORG, "   
lv_e_fcode  TYPE SY-UCOMM, "   
lt_t_anfoe  TYPE STANDARD TABLE OF NORG, "   
lv_i_ibgdt_bis  TYPE NLEI-IBGDT, "   '99991230'
lt_t_anpoe  TYPE STANDARD TABLE OF NORG, "   
lv_i_ibgdt_von  TYPE NLEI-IBGDT, "   '18000101'
lt_t_erboe  TYPE STANDARD TABLE OF NORG, "   
lv_i_ibzt_bis  TYPE NLEI-IBZT, "   '2400'
lt_t_nfal  TYPE STANDARD TABLE OF NFAL, "   
lv_i_ibzt_von  TYPE NLEI-IBZT, "   '0'
lt_t_nlei  TYPE STANDARD TABLE OF VNLEI, "   
lv_i_tcode_calling  TYPE SY-TCODE, "   SPACE
lt_t_ntmn  TYPE STANDARD TABLE OF NTMN, "   
lv_i_lock_fal  TYPE NTMN, "   ON
lv_i_disp_type  TYPE RNT40-MARK, "   '*'
lv_i_rolle  TYPE RNT40-MARK. "   '*'

  CALL FUNCTION 'ISHMED_DISPOSITION'  "
    EXPORTING
         I_DISP_OE = lv_i_disp_oe
         I_IBGDT_BIS = lv_i_ibgdt_bis
         I_IBGDT_VON = lv_i_ibgdt_von
         I_IBZT_BIS = lv_i_ibzt_bis
         I_IBZT_VON = lv_i_ibzt_von
         I_TCODE_CALLING = lv_i_tcode_calling
         I_LOCK_FAL = lv_i_lock_fal
         I_DISP_TYPE = lv_i_disp_type
         I_ROLLE = lv_i_rolle
    IMPORTING
         E_CHANGED = lv_e_changed
         E_FCODE = lv_e_fcode
    TABLES
         T_ANF = lt_t_anf
         T_ANFOE = lt_t_anfoe
         T_ANPOE = lt_t_anpoe
         T_ERBOE = lt_t_erboe
         T_NFAL = lt_t_nfal
         T_NLEI = lt_t_nlei
         T_NTMN = lt_t_ntmn
    EXCEPTIONS
        NO_AUTH = 1
        ABBRUCH = 2
. " ISHMED_DISPOSITION




ABAP code using 7.40 inline data declarations to call FM ISHMED_DISPOSITION

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 MARK FROM RNT40 INTO @DATA(ld_e_changed).
 
"SELECT single ORGID FROM NORG INTO @DATA(ld_i_disp_oe).
 
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_e_fcode).
 
 
"SELECT single IBGDT FROM NLEI INTO @DATA(ld_i_ibgdt_bis).
DATA(ld_i_ibgdt_bis) = '99991230'.
 
 
"SELECT single IBGDT FROM NLEI INTO @DATA(ld_i_ibgdt_von).
DATA(ld_i_ibgdt_von) = '18000101'.
 
 
"SELECT single IBZT FROM NLEI INTO @DATA(ld_i_ibzt_bis).
DATA(ld_i_ibzt_bis) = '2400'.
 
 
"SELECT single IBZT FROM NLEI INTO @DATA(ld_i_ibzt_von).
DATA(ld_i_ibzt_von) = '0'.
 
 
"SELECT single TCODE FROM SY INTO @DATA(ld_i_tcode_calling).
DATA(ld_i_tcode_calling) = ' '.
 
 
DATA(ld_i_lock_fal) = ON.
 
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_disp_type).
DATA(ld_i_disp_type) = '*'.
 
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_rolle).
DATA(ld_i_rolle) = '*'.
 


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!