RM_COLLECT_RISKF_FOR_YC 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 RM_COLLECT_RISKF_FOR_YC into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RMRH
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RM_COLLECT_RISKF_FOR_YC' "Risikofaktoren im Zinsbereich zu einem Knoten zusammenstellen
EXPORTING
node = " jbrrhknts-knoten
ycszkart = " jbd11-szkart
ycwgkm = " jbd11-wgkm
TABLES
e_rflist = " tvrm_rflist End Node Structure
* e_left = " tvrm_delim End Node Structure
* e_right = " tvrm_delim End Node Structure
EXCEPTIONS
HIERARCHY_TO_RULE_MISMATCH = 1 " End Node Structure
RULE_TO_BUFFER_MISMATCH = 2 " End Node Structure
NO_RISKFACTORS_COLLECTED = 3 " End Node Structure
. " RM_COLLECT_RISKF_FOR_YC
The ABAP code below is a full code listing to execute function module RM_COLLECT_RISKF_FOR_YC 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).
| it_e_rflist | TYPE STANDARD TABLE OF TVRM_RFLIST,"TABLES PARAM |
| wa_e_rflist | LIKE LINE OF it_e_rflist , |
| it_e_left | TYPE STANDARD TABLE OF TVRM_DELIM,"TABLES PARAM |
| wa_e_left | LIKE LINE OF it_e_left , |
| it_e_right | TYPE STANDARD TABLE OF TVRM_DELIM,"TABLES PARAM |
| wa_e_right | LIKE LINE OF it_e_right . |
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_node | TYPE JBRRHKNTS-KNOTEN , |
| it_e_rflist | TYPE STANDARD TABLE OF TVRM_RFLIST , |
| wa_e_rflist | LIKE LINE OF it_e_rflist, |
| ld_ycszkart | TYPE JBD11-SZKART , |
| it_e_left | TYPE STANDARD TABLE OF TVRM_DELIM , |
| wa_e_left | LIKE LINE OF it_e_left, |
| ld_ycwgkm | TYPE JBD11-WGKM , |
| it_e_right | TYPE STANDARD TABLE OF TVRM_DELIM , |
| wa_e_right | LIKE LINE OF it_e_right. |
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 RM_COLLECT_RISKF_FOR_YC or its description.
RM_COLLECT_RISKF_FOR_YC - Risikofaktoren im Zinsbereich zu einem Knoten zusammenstellen RM_COLLECT_REPGAP_SINGLE_NODE - RM Gap Analysis: Aggregates an REPGAP result with a node result RM_COLLECT_AMORT_SINGLE_NODE - RM Gap Analysis: Aggregates an AMORT result with a node result RM_COLLECTIVE_BACKFLUSH_D - RM_COLLECTIVE_BACKFLUSH_COMP_D - Collective Entry with Display of Item Postproc. Confirmation/Repet. Mf RM_COLLECTIVE_BACKFLUSH_COMP - Collective Entry: Postprocessing Confirmations in Repetitive Manufactu