SAP ISHMED_TAGPLAN_SELECT_DATA Function Module for OBSOLETE









ISHMED_TAGPLAN_SELECT_DATA is a standard ishmed tagplan select data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for OBSOLETE 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 ishmed tagplan select data FM, simply by entering the name ISHMED_TAGPLAN_SELECT_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function ISHMED_TAGPLAN_SELECT_DATA 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_TAGPLAN_SELECT_DATA'"OBSOLETE
EXPORTING
EINRI = "Institution
ORGID = "
VON_DATUM = "Interval Start
BIS_DATUM = "End of interval
NODE = "
* FLUSH = 'X' "

IMPORTING
EING_LISTE = "

TABLES
* T_DATUM = "
* T_N1ANFVKG = "
* T_N1ANF_DAT = "
* T_N1VKG_DAT = "
* T_N1ANFVKG_EIN = "
* T_V_NLEM = "

EXCEPTIONS
OCX_ERROR = 1
.



IMPORTING Parameters details for ISHMED_TAGPLAN_SELECT_DATA

EINRI - Institution

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

ORGID -

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

VON_DATUM - Interval Start

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

BIS_DATUM - End of interval

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

NODE -

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

FLUSH -

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

EXPORTING Parameters details for ISHMED_TAGPLAN_SELECT_DATA

EING_LISTE -

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

TABLES Parameters details for ISHMED_TAGPLAN_SELECT_DATA

T_DATUM -

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

T_N1ANFVKG -

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

T_N1ANF_DAT -

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

T_N1VKG_DAT -

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

T_N1ANFVKG_EIN -

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

T_V_NLEM -

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

EXCEPTIONS details

OCX_ERROR - General Error

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

Copy and paste ABAP code example for ISHMED_TAGPLAN_SELECT_DATA 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_einri  TYPE N1ANF-EINRI, "   
lt_t_datum  TYPE STANDARD TABLE OF RN1DATUMD, "   
lv_ocx_error  TYPE RN1DATUMD, "   
lv_eing_liste  TYPE C, "   
lv_orgid  TYPE N1ANF-ORGID, "   
lt_t_n1anfvkg  TYPE STANDARD TABLE OF RN1ANFVKG, "   
lv_von_datum  TYPE SN1DESK-DATUM, "   
lt_t_n1anf_dat  TYPE STANDARD TABLE OF RN1ANF_DAT, "   
lv_bis_datum  TYPE SN1DESK-DATUM, "   
lt_t_n1vkg_dat  TYPE STANDARD TABLE OF RN1VKG_DAT, "   
lv_node  TYPE RN1ANFTREE_ENTRY, "   
lt_t_n1anfvkg_ein  TYPE STANDARD TABLE OF RN1ANFVKG, "   
lv_flush  TYPE C, "   'X'
lt_t_v_nlem  TYPE STANDARD TABLE OF V_NLEM. "   

  CALL FUNCTION 'ISHMED_TAGPLAN_SELECT_DATA'  "OBSOLETE
    EXPORTING
         EINRI = lv_einri
         ORGID = lv_orgid
         VON_DATUM = lv_von_datum
         BIS_DATUM = lv_bis_datum
         NODE = lv_node
         FLUSH = lv_flush
    IMPORTING
         EING_LISTE = lv_eing_liste
    TABLES
         T_DATUM = lt_t_datum
         T_N1ANFVKG = lt_t_n1anfvkg
         T_N1ANF_DAT = lt_t_n1anf_dat
         T_N1VKG_DAT = lt_t_n1vkg_dat
         T_N1ANFVKG_EIN = lt_t_n1anfvkg_ein
         T_V_NLEM = lt_t_v_nlem
    EXCEPTIONS
        OCX_ERROR = 1
. " ISHMED_TAGPLAN_SELECT_DATA




ABAP code using 7.40 inline data declarations to call FM ISHMED_TAGPLAN_SELECT_DATA

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 EINRI FROM N1ANF INTO @DATA(ld_einri).
 
 
 
 
"SELECT single ORGID FROM N1ANF INTO @DATA(ld_orgid).
 
 
"SELECT single DATUM FROM SN1DESK INTO @DATA(ld_von_datum).
 
 
"SELECT single DATUM FROM SN1DESK INTO @DATA(ld_bis_datum).
 
 
 
 
DATA(ld_flush) = '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!