SAP CCMCS_SET_GET_MORE_FLAGS Function Module for Set the flags indicating if more than one values exists









CCMCS_SET_GET_MORE_FLAGS is a standard ccmcs set get more flags SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Set the flags indicating if more than one values exists 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 set get more flags FM, simply by entering the name CCMCS_SET_GET_MORE_FLAGS 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_SET_GET_MORE_FLAGS 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_SET_GET_MORE_FLAGS'"Set the flags indicating if more than one values exists
EXPORTING
* MORE_PARTNERS1 = "boolean variable (X=true, -=false, space=unknown)
* MORE_PARTNERS2 = "boolean variable (X=true, -=false, space=unknown)
* MORE_COMPONENTS = "boolean variable (X=true, -=false, space=unknown)
* MORE_PHONE_NOS = "boolean variable (X=true, -=false, space=unknown)

IMPORTING
PRTN1_FLAG = "boolean variable (X=true, -=false, space=unknown)
PRTN2_FLAG = "boolean variable (X=true, -=false, space=unknown)
COMP_FLAG = "boolean variable (X=true, -=false, space=unknown)
PHONS_FLAG = "boolean variable (X=true, -=false, space=unknown)
.



IMPORTING Parameters details for CCMCS_SET_GET_MORE_FLAGS

MORE_PARTNERS1 - boolean variable (X=true, -=false, space=unknown)

Data type: BOOLEAN
Optional: Yes
Call by Reference: Yes

MORE_PARTNERS2 - boolean variable (X=true, -=false, space=unknown)

Data type: BOOLEAN
Optional: Yes
Call by Reference: Yes

MORE_COMPONENTS - boolean variable (X=true, -=false, space=unknown)

Data type: BOOLEAN
Optional: Yes
Call by Reference: Yes

MORE_PHONE_NOS - boolean variable (X=true, -=false, space=unknown)

Data type: BOOLEAN
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for CCMCS_SET_GET_MORE_FLAGS

PRTN1_FLAG - boolean variable (X=true, -=false, space=unknown)

Data type: BOOLEAN
Optional: No
Call by Reference: Yes

PRTN2_FLAG - boolean variable (X=true, -=false, space=unknown)

Data type: BOOLEAN
Optional: No
Call by Reference: Yes

COMP_FLAG - boolean variable (X=true, -=false, space=unknown)

Data type: BOOLEAN
Optional: No
Call by Reference: Yes

PHONS_FLAG - boolean variable (X=true, -=false, space=unknown)

Data type: BOOLEAN
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CCMCS_SET_GET_MORE_FLAGS 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_prtn1_flag  TYPE BOOLEAN, "   
lv_more_partners1  TYPE BOOLEAN, "   
lv_prtn2_flag  TYPE BOOLEAN, "   
lv_more_partners2  TYPE BOOLEAN, "   
lv_comp_flag  TYPE BOOLEAN, "   
lv_more_components  TYPE BOOLEAN, "   
lv_phons_flag  TYPE BOOLEAN, "   
lv_more_phone_nos  TYPE BOOLEAN. "   

  CALL FUNCTION 'CCMCS_SET_GET_MORE_FLAGS'  "Set the flags indicating if more than one values exists
    EXPORTING
         MORE_PARTNERS1 = lv_more_partners1
         MORE_PARTNERS2 = lv_more_partners2
         MORE_COMPONENTS = lv_more_components
         MORE_PHONE_NOS = lv_more_phone_nos
    IMPORTING
         PRTN1_FLAG = lv_prtn1_flag
         PRTN2_FLAG = lv_prtn2_flag
         COMP_FLAG = lv_comp_flag
         PHONS_FLAG = lv_phons_flag
. " CCMCS_SET_GET_MORE_FLAGS




ABAP code using 7.40 inline data declarations to call FM CCMCS_SET_GET_MORE_FLAGS

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.

 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!