SAP RSPLFD_PLST_MAINT Function Module for Maintenance of Planning Function Type
RSPLFD_PLST_MAINT is a standard rsplfd plst maint SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Maintenance of Planning Function Type 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 rsplfd plst maint FM, simply by entering the name RSPLFD_PLST_MAINT into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSPLFD_PLST_MAINT
Program Name: SAPLRSPLFD_PLST_MAINT
Main Program: SAPLRSPLFD_PLST_MAINT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSPLFD_PLST_MAINT 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 'RSPLFD_PLST_MAINT'"Maintenance of Planning Function Type.
EXPORTING
I_SRVTYPENM = "Name of Function Type
* I_OBJVERS = RS_C_OBJVERS-MODIFIED "Object Version
* I_DISPLAY = RS_C_FALSE "'X' = Display Mode
* I_NEW = RS_C_FALSE "'X' = Create New Function Type
* I_S_PROP = "Template properties for Copy
EXCEPTIONS
CX_RS_VERSION_NOT_FOUND = 1 CX_RS_MSG = 2
IMPORTING Parameters details for RSPLFD_PLST_MAINT
I_SRVTYPENM - Name of Function Type
Data type: RSPLF_SRVTYPENMOptional: No
Call by Reference: Yes
I_OBJVERS - Object Version
Data type: RSOBJVERSDefault: RS_C_OBJVERS-MODIFIED
Optional: Yes
Call by Reference: Yes
I_DISPLAY - 'X' = Display Mode
Data type: RS_BOOLDefault: RS_C_FALSE
Optional: Yes
Call by Reference: Yes
I_NEW - 'X' = Create New Function Type
Data type: RS_BOOLDefault: RS_C_FALSE
Optional: Yes
Call by Reference: Yes
I_S_PROP - Template properties for Copy
Data type: CL_RSPLFD_PLST_VERS=>GT_S_PROPOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
CX_RS_VERSION_NOT_FOUND - Object not found in a version
Data type:Optional: No
Call by Reference: Yes
CX_RS_MSG - BW Exception with Generic Mesasges (No Special Attributes)
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RSPLFD_PLST_MAINT 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_i_srvtypenm | TYPE RSPLF_SRVTYPENM, " | |||
| lv_cx_rs_version_not_found | TYPE RSPLF_SRVTYPENM, " | |||
| lv_cx_rs_msg | TYPE RSPLF_SRVTYPENM, " | |||
| lv_i_objvers | TYPE RSOBJVERS, " RS_C_OBJVERS-MODIFIED | |||
| lv_i_display | TYPE RS_BOOL, " RS_C_FALSE | |||
| lv_i_new | TYPE RS_BOOL, " RS_C_FALSE | |||
| lv_i_s_prop | TYPE CL_RSPLFD_PLST_VERS=>GT_S_PROP. " |
|   CALL FUNCTION 'RSPLFD_PLST_MAINT' "Maintenance of Planning Function Type |
| EXPORTING | ||
| I_SRVTYPENM | = lv_i_srvtypenm | |
| I_OBJVERS | = lv_i_objvers | |
| I_DISPLAY | = lv_i_display | |
| I_NEW | = lv_i_new | |
| I_S_PROP | = lv_i_s_prop | |
| EXCEPTIONS | ||
| CX_RS_VERSION_NOT_FOUND = 1 | ||
| CX_RS_MSG = 2 | ||
| . " RSPLFD_PLST_MAINT | ||
ABAP code using 7.40 inline data declarations to call FM RSPLFD_PLST_MAINT
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_i_objvers) | = RS_C_OBJVERS-MODIFIED. | |||
| DATA(ld_i_display) | = RS_C_FALSE. | |||
| DATA(ld_i_new) | = RS_C_FALSE. | |||
Search for further information about these or an SAP related objects