SAP RPM_LCC_CREATE_MORE_DATA Function Module for Create Matrixes
RPM_LCC_CREATE_MORE_DATA is a standard rpm lcc create more data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create Matrixes 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 rpm lcc create more data FM, simply by entering the name RPM_LCC_CREATE_MORE_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: RPM_LCC_TESTTOOL
Program Name: SAPLRPM_LCC_TESTTOOL
Main Program: SAPLRPM_LCC_TESTTOOL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function RPM_LCC_CREATE_MORE_DATA 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 'RPM_LCC_CREATE_MORE_DATA'"Create Matrixes.
EXPORTING
IV_BLOCK_NO1 = "Natürliche Zahl
ACTIVITIES = "Linke Seite Act Matrix
ACTIVITIES_SUBRES = "Activity-Matrix: Subzeilen Resourcen
ACTIVITIES_SUB1 = "Linke Seite wegen alternativer Linien/Abtaktungen
ACTIVITIES_SUBPV = "Subzeile Activity Matrix Positionsvarianten
T_HANDLE = "Matrix-Handle im liveCache
TOKEN_TAB = "Tabelle von tokens
VERSION = "Name der Planversion
MATID = "interne Nummer (UID) für Produkt
LOCID = "interne Nummer der Lokation (Kunde, Lieferant oder Werk)
TRPID = "interne Nummer der Bezugsquelle
IV_MATRIX_NO = "Natürliche Zahl
STATUS_M = "Matrix-Handle im liveCache
IS_TB_LEGOINFO = "TB-Übergabestruktur für Legos
* IV_COLORS = '' "Feld zum Ankreuzen
IS_FACTORY = "Factory Struktur mit angelegten Live-Chache Objekten
P_HANDLE = "Matrix-Handle im liveCache
POSVAR_TAB = "Tabelle von PosVars
POSVAR_SUB1_TAB = "Subzeilen Posvars
A_HANDLE = "Matrix-Handle im liveCache
IMPORTING Parameters details for RPM_LCC_CREATE_MORE_DATA
IV_BLOCK_NO1 - Natürliche Zahl
Data type: INT4Optional: No
Call by Reference: No ( called with pass by value option)
ACTIVITIES - Linke Seite Act Matrix
Data type: MMRP_ACTIVITIES_TABOptional: No
Call by Reference: No ( called with pass by value option)
ACTIVITIES_SUBRES - Activity-Matrix: Subzeilen Resourcen
Data type: MMRP_ACTIVITIES_SUBRES_TABOptional: No
Call by Reference: No ( called with pass by value option)
ACTIVITIES_SUB1 - Linke Seite wegen alternativer Linien/Abtaktungen
Data type: MMRP_ACTIVITIES_SUB1_TABOptional: No
Call by Reference: No ( called with pass by value option)
ACTIVITIES_SUBPV - Subzeile Activity Matrix Positionsvarianten
Data type: MMRP_ACTIVITIES_SUBPV_TABOptional: No
Call by Reference: No ( called with pass by value option)
T_HANDLE - Matrix-Handle im liveCache
Data type: M_HANDLEOptional: No
Call by Reference: No ( called with pass by value option)
TOKEN_TAB - Tabelle von tokens
Data type: MMRP_TOKENS_TABOptional: No
Call by Reference: No ( called with pass by value option)
VERSION - Name der Planversion
Data type: /SAPAPO/OM_VRSIOIDOptional: No
Call by Reference: No ( called with pass by value option)
MATID - interne Nummer (UID) für Produkt
Data type: /SAPAPO/OM_MATIDOptional: No
Call by Reference: No ( called with pass by value option)
LOCID - interne Nummer der Lokation (Kunde, Lieferant oder Werk)
Data type: /SAPAPO/OM_LOCIDOptional: No
Call by Reference: No ( called with pass by value option)
TRPID - interne Nummer der Bezugsquelle
Data type: /SAPAPO/OM_TR_TRPIDOptional: No
Call by Reference: No ( called with pass by value option)
IV_MATRIX_NO - Natürliche Zahl
Data type: INT4Optional: No
Call by Reference: No ( called with pass by value option)
STATUS_M - Matrix-Handle im liveCache
Data type: M_HANDLEOptional: No
Call by Reference: No ( called with pass by value option)
IS_TB_LEGOINFO - TB-Übergabestruktur für Legos
Data type: /SAPAPO/OMT_TB_LEGOINFOOptional: No
Call by Reference: No ( called with pass by value option)
IV_COLORS - Feld zum Ankreuzen
Data type: XFELDDefault: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)
IS_FACTORY - Factory Struktur mit angelegten Live-Chache Objekten
Data type: /SAPAPO/OMT_TB_FACTORYOptional: No
Call by Reference: No ( called with pass by value option)
P_HANDLE - Matrix-Handle im liveCache
Data type: M_HANDLEOptional: No
Call by Reference: No ( called with pass by value option)
POSVAR_TAB - Tabelle von PosVars
Data type: MMRP_POSVAR_TABOptional: No
Call by Reference: No ( called with pass by value option)
POSVAR_SUB1_TAB - Subzeilen Posvars
Data type: MMRP_POSVARS_SUB1_TABOptional: No
Call by Reference: No ( called with pass by value option)
A_HANDLE - Matrix-Handle im liveCache
Data type: M_HANDLEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RPM_LCC_CREATE_MORE_DATA 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_block_no1 | TYPE INT4, " | |||
| lv_activities | TYPE MMRP_ACTIVITIES_TAB, " | |||
| lv_activities_subres | TYPE MMRP_ACTIVITIES_SUBRES_TAB, " | |||
| lv_activities_sub1 | TYPE MMRP_ACTIVITIES_SUB1_TAB, " | |||
| lv_activities_subpv | TYPE MMRP_ACTIVITIES_SUBPV_TAB, " | |||
| lv_t_handle | TYPE M_HANDLE, " | |||
| lv_token_tab | TYPE MMRP_TOKENS_TAB, " | |||
| lv_version | TYPE /SAPAPO/OM_VRSIOID, " | |||
| lv_matid | TYPE /SAPAPO/OM_MATID, " | |||
| lv_locid | TYPE /SAPAPO/OM_LOCID, " | |||
| lv_trpid | TYPE /SAPAPO/OM_TR_TRPID, " | |||
| lv_iv_matrix_no | TYPE INT4, " | |||
| lv_status_m | TYPE M_HANDLE, " | |||
| lv_is_tb_legoinfo | TYPE /SAPAPO/OMT_TB_LEGOINFO, " | |||
| lv_iv_colors | TYPE XFELD, " '' | |||
| lv_is_factory | TYPE /SAPAPO/OMT_TB_FACTORY, " | |||
| lv_p_handle | TYPE M_HANDLE, " | |||
| lv_posvar_tab | TYPE MMRP_POSVAR_TAB, " | |||
| lv_posvar_sub1_tab | TYPE MMRP_POSVARS_SUB1_TAB, " | |||
| lv_a_handle | TYPE M_HANDLE. " |
|   CALL FUNCTION 'RPM_LCC_CREATE_MORE_DATA' "Create Matrixes |
| EXPORTING | ||
| IV_BLOCK_NO1 | = lv_iv_block_no1 | |
| ACTIVITIES | = lv_activities | |
| ACTIVITIES_SUBRES | = lv_activities_subres | |
| ACTIVITIES_SUB1 | = lv_activities_sub1 | |
| ACTIVITIES_SUBPV | = lv_activities_subpv | |
| T_HANDLE | = lv_t_handle | |
| TOKEN_TAB | = lv_token_tab | |
| VERSION | = lv_version | |
| MATID | = lv_matid | |
| LOCID | = lv_locid | |
| TRPID | = lv_trpid | |
| IV_MATRIX_NO | = lv_iv_matrix_no | |
| STATUS_M | = lv_status_m | |
| IS_TB_LEGOINFO | = lv_is_tb_legoinfo | |
| IV_COLORS | = lv_iv_colors | |
| IS_FACTORY | = lv_is_factory | |
| P_HANDLE | = lv_p_handle | |
| POSVAR_TAB | = lv_posvar_tab | |
| POSVAR_SUB1_TAB | = lv_posvar_sub1_tab | |
| A_HANDLE | = lv_a_handle | |
| . " RPM_LCC_CREATE_MORE_DATA | ||
ABAP code using 7.40 inline data declarations to call FM RPM_LCC_CREATE_MORE_DATA
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_iv_colors) | = ''. | |||
Search for further information about these or an SAP related objects