BBP_CM_API_PROG_GEN_OBJREL 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 BBP_CM_API_PROG_GEN_OBJREL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BBP_CM_API_PROGRAM
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BBP_CM_API_PROG_GEN_OBJREL' "Generate Objective Breakdowns
* EXPORTING
* iv_obj_re_start = " bbp_cm_objrel_start Objective Breakdown Start Date
* iv_obj_re_end = " bbp_cm_objrel_end End Date for Objective Breakdown
* iv_objrel_period = " bbp_cm_objrel_period Objective Breakdown Period (Month, Quarter, Year)
* iv_maintain_value = " xfeld Checkbox
* iv_progguid = " bbp_cm_guid_d GUID in character format
TABLES
* it_objective_breakdown = " bbpt_cm_objective_realz_d UI Fields -Objective Breakdown
et_messages = " bapiret2 Return Parameter
et_objective_breakdown = " bbpt_cm_objective_realz_d UI Fields -Objective Breakdown
. " BBP_CM_API_PROG_GEN_OBJREL
The ABAP code below is a full code listing to execute function module BBP_CM_API_PROG_GEN_OBJREL 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_it_objective_breakdown | TYPE STANDARD TABLE OF BBPT_CM_OBJECTIVE_REALZ_D,"TABLES PARAM |
| wa_it_objective_breakdown | LIKE LINE OF it_it_objective_breakdown , |
| it_et_messages | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_et_messages | LIKE LINE OF it_et_messages , |
| it_et_objective_breakdown | TYPE STANDARD TABLE OF BBPT_CM_OBJECTIVE_REALZ_D,"TABLES PARAM |
| wa_et_objective_breakdown | LIKE LINE OF it_et_objective_breakdown . |
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_iv_obj_re_start | TYPE BBP_CM_OBJREL_START , |
| it_it_objective_breakdown | TYPE STANDARD TABLE OF BBPT_CM_OBJECTIVE_REALZ_D , |
| wa_it_objective_breakdown | LIKE LINE OF it_it_objective_breakdown, |
| ld_iv_obj_re_end | TYPE BBP_CM_OBJREL_END , |
| it_et_messages | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_et_messages | LIKE LINE OF it_et_messages, |
| ld_iv_objrel_period | TYPE BBP_CM_OBJREL_PERIOD , |
| it_et_objective_breakdown | TYPE STANDARD TABLE OF BBPT_CM_OBJECTIVE_REALZ_D , |
| wa_et_objective_breakdown | LIKE LINE OF it_et_objective_breakdown, |
| ld_iv_maintain_value | TYPE XFELD , |
| ld_iv_progguid | TYPE BBP_CM_GUID_D . |
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 BBP_CM_API_PROG_GEN_OBJREL or its description.
BBP_CM_API_PROG_GEN_OBJREL - Generate Objective Breakdowns BBP_CM_API_PROG_CHANGE_STATUS - API to change Program status BBP_CM_API_PROGRAM_SEARCH - Search API for Program BBP_CM_API_PROGRAM_SAVE - Create/Update a Program BBP_CM_API_PROGRAM_LOCK - Obtain Lock for Modifying Program Object BBP_CM_API_PROGRAM_GETPOCALIST - Get the Program-objective-category Allocations