SAP EWW_TASK_CONTAINER_READ Function Module for NOTRANSL: INTERN: Liest die Containerdefinition zu einer Aufgabe
EWW_TASK_CONTAINER_READ is a standard eww task container read 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: INTERN: Liest die Containerdefinition zu einer Aufgabe 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 eww task container read FM, simply by entering the name EWW_TASK_CONTAINER_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: EWW1
Program Name: SAPLEWW1
Main Program: SAPLEWW1
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EWW_TASK_CONTAINER_READ 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 'EWW_TASK_CONTAINER_READ'"NOTRANSL: INTERN: Liest die Containerdefinition zu einer Aufgabe.
EXPORTING
X_PLVAR = "Plan Variant
X_RHOTYPE = "Object Type
X_RHOBJID = "Object ID
* X_DATE = SY-DATUM "Key Date
* X_LANGU = SY-LANGU "ABAP System Field: Language Key of Text Environment
* X_APPDEND_DEFAULTS = "General checkbox: X or ' '
TABLES
YT_CONTDEF = "Container definition
* YT_CONTTEXT = "Structure Texts for Container Definition
IMPORTING Parameters details for EWW_TASK_CONTAINER_READ
X_PLVAR - Plan Variant
Data type: PLOG-PLVAROptional: No
Call by Reference: No ( called with pass by value option)
X_RHOTYPE - Object Type
Data type: PLOG-OTYPEOptional: No
Call by Reference: No ( called with pass by value option)
X_RHOBJID - Object ID
Data type: PLOG-OBJIDOptional: No
Call by Reference: No ( called with pass by value option)
X_DATE - Key Date
Data type: PLOG-BEGDADefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_LANGU - ABAP System Field: Language Key of Text Environment
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_APPDEND_DEFAULTS - General checkbox: X or SPACE
Data type: EBAGEN-KENNZXOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EWW_TASK_CONTAINER_READ
YT_CONTDEF - Container definition
Data type: SWCONTDEFOptional: No
Call by Reference: No ( called with pass by value option)
YT_CONTTEXT - Structure Texts for Container Definition
Data type: HRCONT_TXTOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EWW_TASK_CONTAINER_READ 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_x_plvar | TYPE PLOG-PLVAR, " | |||
| lt_yt_contdef | TYPE STANDARD TABLE OF SWCONTDEF, " | |||
| lv_x_rhotype | TYPE PLOG-OTYPE, " | |||
| lt_yt_conttext | TYPE STANDARD TABLE OF HRCONT_TXT, " | |||
| lv_x_rhobjid | TYPE PLOG-OBJID, " | |||
| lv_x_date | TYPE PLOG-BEGDA, " SY-DATUM | |||
| lv_x_langu | TYPE SY-LANGU, " SY-LANGU | |||
| lv_x_appdend_defaults | TYPE EBAGEN-KENNZX. " |
|   CALL FUNCTION 'EWW_TASK_CONTAINER_READ' "NOTRANSL: INTERN: Liest die Containerdefinition zu einer Aufgabe |
| EXPORTING | ||
| X_PLVAR | = lv_x_plvar | |
| X_RHOTYPE | = lv_x_rhotype | |
| X_RHOBJID | = lv_x_rhobjid | |
| X_DATE | = lv_x_date | |
| X_LANGU | = lv_x_langu | |
| X_APPDEND_DEFAULTS | = lv_x_appdend_defaults | |
| TABLES | ||
| YT_CONTDEF | = lt_yt_contdef | |
| YT_CONTTEXT | = lt_yt_conttext | |
| . " EWW_TASK_CONTAINER_READ | ||
ABAP code using 7.40 inline data declarations to call FM EWW_TASK_CONTAINER_READ
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 PLVAR FROM PLOG INTO @DATA(ld_x_plvar). | ||||
| "SELECT single OTYPE FROM PLOG INTO @DATA(ld_x_rhotype). | ||||
| "SELECT single OBJID FROM PLOG INTO @DATA(ld_x_rhobjid). | ||||
| "SELECT single BEGDA FROM PLOG INTO @DATA(ld_x_date). | ||||
| DATA(ld_x_date) | = SY-DATUM. | |||
| "SELECT single LANGU FROM SY INTO @DATA(ld_x_langu). | ||||
| DATA(ld_x_langu) | = SY-LANGU. | |||
| "SELECT single KENNZX FROM EBAGEN INTO @DATA(ld_x_appdend_defaults). | ||||
Search for further information about these or an SAP related objects