WRF_CHECK_ENDING_NODE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name WRF_CHECK_ENDING_NODE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RTMATGRP_FU01
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'WRF_CHECK_ENDING_NODE' "Check Whether Node Is End Point in Hierarchy
EXPORTING
hierid = " wrf_matgrp_sku-hier_id Hierarchy ID
* node = " wrf_matgrp_sku-node Hierarchy Node
* hier_date = " wrf_date Validity of Assignment in Article Hierarchy
IMPORTING
ending_node = " char1 Einstelliges Kennzeichen; hat Wert 'X', wenn Endknoten vorliegt
* CHANGING
* it_matgrp_struc = " wrf_node_attr_tty Category Structure
* it_not_ending_node = " wrf_node_attr_tty Tabelle, die alle Nicht-Endknoten enthält
EXCEPTIONS
WRONG_CALL = 1 " Invalid Call
. " WRF_CHECK_ENDING_NODE
The ABAP code below is a full code listing to execute function module WRF_CHECK_ENDING_NODE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_ending_node | TYPE CHAR1 . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_it_matgrp_struc | TYPE WRF_NODE_ATTR_TTY , |
| ld_ending_node | TYPE CHAR1 , |
| ld_hierid | TYPE WRF_MATGRP_SKU-HIER_ID , |
| ld_it_not_ending_node | TYPE WRF_NODE_ATTR_TTY , |
| ld_node | TYPE WRF_MATGRP_SKU-NODE , |
| ld_hier_date | TYPE WRF_DATE . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name WRF_CHECK_ENDING_NODE or its description.
WRF_CHECK_ENDING_NODE - Check Whether Node Is End Point in Hierarchy WRF_CHECK_DEL_EM - WRF_CHECK_DATA_CONSIGNMENT - Check Article Master Data for Consignment Processing WRF_CHECK_CONFIRMATION - WRF_CHECK_CHAR_VAL_F4 - Search Help for Characteristic Values WRF_CHECK_CHAR_VAL_DC - Read Language-Dependent Char. Value Description