SAP EAMCC_GET_TL_DOCUMENTS Function Module for NOTRANSL: Get value of gv_show_doc_button









EAMCC_GET_TL_DOCUMENTS is a standard eamcc get tl documents SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Get value of gv_show_doc_button 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 eamcc get tl documents FM, simply by entering the name EAMCC_GET_TL_DOCUMENTS into the relevant SAP transaction such as SE37 or SE38.

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



Function EAMCC_GET_TL_DOCUMENTS 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 'EAMCC_GET_TL_DOCUMENTS'"NOTRANSL: Get value of gv_show_doc_button
EXPORTING
IV_FLAG_TL = "New Input Values
IV_PLNAL = "TL Group Counter
IV_PLNNR = "Key for Task List Group
IV_PLNTY = "TL Type
* IV_ONLY_FOR_DOC_BUTTON = "New Input Values
* IV_GET_ALL_DOCS_AVAILABLE = "New Input Values

IMPORTING
ET_DOCUMENTS = "Table Type for DRAD
ET_OUTTAB_FOR_DOC_BUTTON = "EAMVE table type for structure eamve_s_outtab
.



IMPORTING Parameters details for EAMCC_GET_TL_DOCUMENTS

IV_FLAG_TL - New Input Values

Data type: XFLAG
Optional: No
Call by Reference: Yes

IV_PLNAL - TL Group Counter

Data type: PLNAL
Optional: No
Call by Reference: Yes

IV_PLNNR - Key for Task List Group

Data type: PLNNR
Optional: No
Call by Reference: Yes

IV_PLNTY - TL Type

Data type: PLNTY
Optional: No
Call by Reference: Yes

IV_ONLY_FOR_DOC_BUTTON - New Input Values

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

IV_GET_ALL_DOCS_AVAILABLE - New Input Values

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for EAMCC_GET_TL_DOCUMENTS

ET_DOCUMENTS - Table Type for DRAD

Data type: DMS_TBL_DRAD
Optional: No
Call by Reference: Yes

ET_OUTTAB_FOR_DOC_BUTTON - EAMVE table type for structure eamve_s_outtab

Data type: EAMVE_TTY_OUTTAB
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EAMCC_GET_TL_DOCUMENTS 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_iv_flag_tl  TYPE XFLAG, "   
lv_et_documents  TYPE DMS_TBL_DRAD, "   
lv_iv_plnal  TYPE PLNAL, "   
lv_et_outtab_for_doc_button  TYPE EAMVE_TTY_OUTTAB, "   
lv_iv_plnnr  TYPE PLNNR, "   
lv_iv_plnty  TYPE PLNTY, "   
lv_iv_only_for_doc_button  TYPE XFLAG, "   
lv_iv_get_all_docs_available  TYPE XFLAG. "   

  CALL FUNCTION 'EAMCC_GET_TL_DOCUMENTS'  "NOTRANSL: Get value of gv_show_doc_button
    EXPORTING
         IV_FLAG_TL = lv_iv_flag_tl
         IV_PLNAL = lv_iv_plnal
         IV_PLNNR = lv_iv_plnnr
         IV_PLNTY = lv_iv_plnty
         IV_ONLY_FOR_DOC_BUTTON = lv_iv_only_for_doc_button
         IV_GET_ALL_DOCS_AVAILABLE = lv_iv_get_all_docs_available
    IMPORTING
         ET_DOCUMENTS = lv_et_documents
         ET_OUTTAB_FOR_DOC_BUTTON = lv_et_outtab_for_doc_button
. " EAMCC_GET_TL_DOCUMENTS




ABAP code using 7.40 inline data declarations to call FM EAMCC_GET_TL_DOCUMENTS

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.

 
 
 
 
 
 
 
 


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!