SAP CNV_TDMS_05_ACS_PLAN_CALC_P Function Module for
CNV_TDMS_05_ACS_PLAN_CALC_P is a standard cnv tdms 05 acs plan calc p SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 cnv tdms 05 acs plan calc p FM, simply by entering the name CNV_TDMS_05_ACS_PLAN_CALC_P into the relevant SAP transaction such as SE37 or SE38.
Function Group: CNV_TDMS_05_P
Program Name: SAPLCNV_TDMS_05_P
Main Program: SAPLCNV_TDMS_05_P
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:
Function CNV_TDMS_05_ACS_PLAN_CALC_P 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 'CNV_TDMS_05_ACS_PLAN_CALC_P'".
EXPORTING
* GD_HEADER = "
* GD_ACT_ID = "
GD_PACKID = "
GD_PHASE = "
* GD_JOBS = 1 "
GD_IDENT = "
GD_ACTIVITY_TEXT = "
GD_HEADER_FLAG = "
GS_MODE = "
* GD_SESS_ID = "
IMPORTING
EV_PRECALC = "
TABLES
* GT_CONVOBJECTS = "
EXCEPTIONS
NO_OBJECT = 1 NO_FREE_JOB = 2 RFC_ERROR = 3
IMPORTING Parameters details for CNV_TDMS_05_ACS_PLAN_CALC_P
GD_HEADER -
Data type: CNV_MBT_TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
GD_ACT_ID -
Data type: CNV_MBT_ACTIVITYOptional: Yes
Call by Reference: No ( called with pass by value option)
GD_PACKID -
Data type: CNV_MBT_PACKIDOptional: No
Call by Reference: No ( called with pass by value option)
GD_PHASE -
Data type: CNV_MBT_PHASEOptional: No
Call by Reference: No ( called with pass by value option)
GD_JOBS -
Data type: CNV_MBT_PMAXDefault: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
GD_IDENT -
Data type: CNV_MBT_COBJOptional: No
Call by Reference: No ( called with pass by value option)
GD_ACTIVITY_TEXT -
Data type: CNV_MBT_NODEOptional: No
Call by Reference: No ( called with pass by value option)
GD_HEADER_FLAG -
Data type: CNV_MBT_EXEC_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
GS_MODE -
Data type: CNVMBTRETSTROptional: No
Call by Reference: No ( called with pass by value option)
GD_SESS_ID -
Data type: CNVMBTSESSIONID-SESSION_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CNV_TDMS_05_ACS_PLAN_CALC_P
EV_PRECALC -
Data type: BOOLEANOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CNV_TDMS_05_ACS_PLAN_CALC_P
GT_CONVOBJECTS -
Data type: CNVMBTCONVOBJECTSOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NO_OBJECT -
Data type:Optional: No
Call by Reference: Yes
NO_FREE_JOB -
Data type:Optional: No
Call by Reference: Yes
RFC_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CNV_TDMS_05_ACS_PLAN_CALC_P 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_gd_header | TYPE CNV_MBT_TABLE, " | |||
lv_no_object | TYPE CNV_MBT_TABLE, " | |||
lv_ev_precalc | TYPE BOOLEAN, " | |||
lt_gt_convobjects | TYPE STANDARD TABLE OF CNVMBTCONVOBJECTS, " | |||
lv_gd_act_id | TYPE CNV_MBT_ACTIVITY, " | |||
lv_gd_packid | TYPE CNV_MBT_PACKID, " | |||
lv_no_free_job | TYPE CNV_MBT_PACKID, " | |||
lv_gd_phase | TYPE CNV_MBT_PHASE, " | |||
lv_rfc_error | TYPE CNV_MBT_PHASE, " | |||
lv_gd_jobs | TYPE CNV_MBT_PMAX, " 1 | |||
lv_gd_ident | TYPE CNV_MBT_COBJ, " | |||
lv_gd_activity_text | TYPE CNV_MBT_NODE, " | |||
lv_gd_header_flag | TYPE CNV_MBT_EXEC_TYPE, " | |||
lv_gs_mode | TYPE CNVMBTRETSTR, " | |||
lv_gd_sess_id | TYPE CNVMBTSESSIONID-SESSION_ID. " |
  CALL FUNCTION 'CNV_TDMS_05_ACS_PLAN_CALC_P' " |
EXPORTING | ||
GD_HEADER | = lv_gd_header | |
GD_ACT_ID | = lv_gd_act_id | |
GD_PACKID | = lv_gd_packid | |
GD_PHASE | = lv_gd_phase | |
GD_JOBS | = lv_gd_jobs | |
GD_IDENT | = lv_gd_ident | |
GD_ACTIVITY_TEXT | = lv_gd_activity_text | |
GD_HEADER_FLAG | = lv_gd_header_flag | |
GS_MODE | = lv_gs_mode | |
GD_SESS_ID | = lv_gd_sess_id | |
IMPORTING | ||
EV_PRECALC | = lv_ev_precalc | |
TABLES | ||
GT_CONVOBJECTS | = lt_gt_convobjects | |
EXCEPTIONS | ||
NO_OBJECT = 1 | ||
NO_FREE_JOB = 2 | ||
RFC_ERROR = 3 | ||
. " CNV_TDMS_05_ACS_PLAN_CALC_P |
ABAP code using 7.40 inline data declarations to call FM CNV_TDMS_05_ACS_PLAN_CALC_P
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_gd_jobs) | = 1. | |||
"SELECT single SESSION_ID FROM CNVMBTSESSIONID INTO @DATA(ld_gd_sess_id). | ||||
Search for further information about these or an SAP related objects