SAP CCMCS_BP_LEAN_CREATE Function Module for Lean Creation of Business Partner
CCMCS_BP_LEAN_CREATE is a standard ccmcs bp lean create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Lean Creation of Business Partner 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 ccmcs bp lean create FM, simply by entering the name CCMCS_BP_LEAN_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CRM_CIC_BP_SUB
Program Name: SAPLCRM_CIC_BP_SUB
Main Program: SAPLCRM_CIC_BP_SUB
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CCMCS_BP_LEAN_CREATE 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 'CCMCS_BP_LEAN_CREATE'"Lean Creation of Business Partner.
EXPORTING
* BP_TO_CREATE = 'BP1' "Business partner 1/2
SEARCH_STRUCTURE = "Search and Display Component - All Fields
* BU_PARTNER_EXT = "Business Partner Number
CIC_BP_CREATE_CONF_POPUP = "CIC BP lean creation configuration dialog
IMPORTING
NEW_PARTNER = "Business Partner Number
EXCEPTIONS
WARNING = 1 ERROR = 2 CONFIGURATION_MISSING = 3
IMPORTING Parameters details for CCMCS_BP_LEAN_CREATE
BP_TO_CREATE - Business partner 1/2
Data type: CHAR3Default: 'BP1'
Optional: Yes
Call by Reference: Yes
SEARCH_STRUCTURE - Search and Display Component - All Fields
Data type: CCMSEARCH_STRUCTOptional: No
Call by Reference: Yes
BU_PARTNER_EXT - Business Partner Number
Data type: BU_PARTNEROptional: Yes
Call by Reference: Yes
CIC_BP_CREATE_CONF_POPUP - CIC BP lean creation configuration dialog
Data type: CRMT_CIC_BP_CREATE_CONF_POPUPOptional: No
Call by Reference: Yes
EXPORTING Parameters details for CCMCS_BP_LEAN_CREATE
NEW_PARTNER - Business Partner Number
Data type: BU_PARTNEROptional: No
Call by Reference: Yes
EXCEPTIONS details
WARNING - warning was issued
Data type:Optional: No
Call by Reference: Yes
ERROR - warning was issued
Data type:Optional: No
Call by Reference: Yes
CONFIGURATION_MISSING - customizing configuration missing/incomplete
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CCMCS_BP_LEAN_CREATE 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_warning | TYPE STRING, " | |||
| lv_new_partner | TYPE BU_PARTNER, " | |||
| lv_bp_to_create | TYPE CHAR3, " 'BP1' | |||
| lv_error | TYPE CHAR3, " | |||
| lv_search_structure | TYPE CCMSEARCH_STRUCT, " | |||
| lv_bu_partner_ext | TYPE BU_PARTNER, " | |||
| lv_configuration_missing | TYPE BU_PARTNER, " | |||
| lv_cic_bp_create_conf_popup | TYPE CRMT_CIC_BP_CREATE_CONF_POPUP. " |
|   CALL FUNCTION 'CCMCS_BP_LEAN_CREATE' "Lean Creation of Business Partner |
| EXPORTING | ||
| BP_TO_CREATE | = lv_bp_to_create | |
| SEARCH_STRUCTURE | = lv_search_structure | |
| BU_PARTNER_EXT | = lv_bu_partner_ext | |
| CIC_BP_CREATE_CONF_POPUP | = lv_cic_bp_create_conf_popup | |
| IMPORTING | ||
| NEW_PARTNER | = lv_new_partner | |
| EXCEPTIONS | ||
| WARNING = 1 | ||
| ERROR = 2 | ||
| CONFIGURATION_MISSING = 3 | ||
| . " CCMCS_BP_LEAN_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM CCMCS_BP_LEAN_CREATE
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_bp_to_create) | = 'BP1'. | |||
Search for further information about these or an SAP related objects