SAP LE_DSP_READ_FLOW Function Module for Lesen des Splitflusses (in Baumdarstellung)
LE_DSP_READ_FLOW is a standard le dsp read flow SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Lesen des Splitflusses (in Baumdarstellung) 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 le dsp read flow FM, simply by entering the name LE_DSP_READ_FLOW into the relevant SAP transaction such as SE37 or SE38.
Function Group: V53S
Program Name: SAPLV53S
Main Program: SAPLV53S
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function LE_DSP_READ_FLOW 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 'LE_DSP_READ_FLOW'"Lesen des Splitflusses (in Baumdarstellung).
EXPORTING
IF_VBELN = "Liefernummer
* IF_CHECK_GOODS_ISSUE = ' ' "Soll auch der Warenbewegungsstatus gelesen werden?
IMPORTING
ET_LEDSPD_FLOW_TREE = "Splitfluß als Baum von Liefernummern
ET_LEDSPD_FLOW = "Liefersplitfluß
EF_REFERENCE_DELIVERY = "Lieferung auf dem niedrigsten Splitlevel - noch nicht WA gebucht
EF_ROOT_DELIVERY = "Originallieferung (Wurzel des Splitbaums)
EF_ITEMS_BELONG_TO = "Splitpositionen gehören zur vorhandenen/neuen Lieferung
EF_SPLIT_PROFILE = "Betriebswirtsch. Vorgang bei dem der Split vorgenommen wird
EXCEPTIONS
INTERNAL_ERROR = 1
IMPORTING Parameters details for LE_DSP_READ_FLOW
IF_VBELN - Liefernummer
Data type: VBELN_VLOptional: No
Call by Reference: Yes
IF_CHECK_GOODS_ISSUE - Soll auch der Warenbewegungsstatus gelesen werden?
Data type: BOOLE_DDefault: ' '
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for LE_DSP_READ_FLOW
ET_LEDSPD_FLOW_TREE - Splitfluß als Baum von Liefernummern
Data type: LEDSPD_FLOW_TREE_TOptional: No
Call by Reference: Yes
ET_LEDSPD_FLOW - Liefersplitfluß
Data type: LEDSPD_FLOW_TOptional: No
Call by Reference: Yes
EF_REFERENCE_DELIVERY - Lieferung auf dem niedrigsten Splitlevel - noch nicht WA gebucht
Data type: VBELN_VLOptional: No
Call by Reference: Yes
EF_ROOT_DELIVERY - Originallieferung (Wurzel des Splitbaums)
Data type: VBELN_VLOptional: No
Call by Reference: Yes
EF_ITEMS_BELONG_TO - Splitpositionen gehören zur vorhandenen/neuen Lieferung
Data type: LEDSPD_ITEMS_BELONG_TOOptional: No
Call by Reference: Yes
EF_SPLIT_PROFILE - Betriebswirtsch. Vorgang bei dem der Split vorgenommen wird
Data type: LEDSPD_PMODEOptional: No
Call by Reference: Yes
EXCEPTIONS details
INTERNAL_ERROR - Interner Fehler
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for LE_DSP_READ_FLOW 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_if_vbeln | TYPE VBELN_VL, " | |||
| lv_internal_error | TYPE VBELN_VL, " | |||
| lv_et_ledspd_flow_tree | TYPE LEDSPD_FLOW_TREE_T, " | |||
| lv_et_ledspd_flow | TYPE LEDSPD_FLOW_T, " | |||
| lv_if_check_goods_issue | TYPE BOOLE_D, " ' ' | |||
| lv_ef_reference_delivery | TYPE VBELN_VL, " | |||
| lv_ef_root_delivery | TYPE VBELN_VL, " | |||
| lv_ef_items_belong_to | TYPE LEDSPD_ITEMS_BELONG_TO, " | |||
| lv_ef_split_profile | TYPE LEDSPD_PMODE. " |
|   CALL FUNCTION 'LE_DSP_READ_FLOW' "Lesen des Splitflusses (in Baumdarstellung) |
| EXPORTING | ||
| IF_VBELN | = lv_if_vbeln | |
| IF_CHECK_GOODS_ISSUE | = lv_if_check_goods_issue | |
| IMPORTING | ||
| ET_LEDSPD_FLOW_TREE | = lv_et_ledspd_flow_tree | |
| ET_LEDSPD_FLOW | = lv_et_ledspd_flow | |
| EF_REFERENCE_DELIVERY | = lv_ef_reference_delivery | |
| EF_ROOT_DELIVERY | = lv_ef_root_delivery | |
| EF_ITEMS_BELONG_TO | = lv_ef_items_belong_to | |
| EF_SPLIT_PROFILE | = lv_ef_split_profile | |
| EXCEPTIONS | ||
| INTERNAL_ERROR = 1 | ||
| . " LE_DSP_READ_FLOW | ||
ABAP code using 7.40 inline data declarations to call FM LE_DSP_READ_FLOW
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.| DATA(ld_if_check_goods_issue) | = ' '. | |||
Search for further information about these or an SAP related objects