SAP ISH_CCPS_MSG_STORE Function Module for









ISH_CCPS_MSG_STORE is a standard ish ccps msg store 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 ish ccps msg store FM, simply by entering the name ISH_CCPS_MSG_STORE into the relevant SAP transaction such as SE37 or SE38.

Function Group: NC22
Program Name: SAPLNC22
Main Program: SAPLNC22
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISH_CCPS_MSG_STORE 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 'ISH_CCPS_MSG_STORE'"
EXPORTING
I_NC301S = "New NC301S message for DB compare NC301S

IMPORTING
QNTMAILS = "Number of messages saved

TABLES
INC301E = "New NC301E messages for DB compare NC301E
INC301M = "New NC301N msg. content for DB compare NC301M

EXCEPTIONS
STORE_FAILED = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLNC22_001 IS-H SG: V1.1 user exitr for BGM begin of message
EXIT_SAPLNC22_002 IS-H SG: V1.1 User exit for ADI_03 Additional information
EXIT_SAPLNC22_003 IS-H SG: V1.1 User exit for BIL Bill particulars segment
EXIT_SAPLNC22_004 IS-H SG: V1.1 User exit for DTM Date and time reference segment
EXIT_SAPLNC22_005 IS-H SG: V1.1 User exit for RFF Physician references segment
EXIT_SAPLNC22_006 IS-H SG: V1.1 User exit for ADI Additional diagnosis information segment
EXIT_SAPLNC22_007 IS-H SG: V1.1 User exit for Group 1 Daily tmt. fees and room charges segm
EXIT_SAPLNC22_008 IS-H SG: V1.1 User exit for Group 2 Other charges segment
EXIT_SAPLNC22_009 IS-H SG: V1.1 User exit for Group 3 Operation particulars segment
EXIT_SAPLNC22_010 IS-H SG: V1.1 User exit for Group 4 Patient particulars segment
EXIT_SAPLNC22_011 IS-H SG: V1.1 User exit for Group 5 Payer particulars segment
EXIT_SAPLNC22_012 IS-H SG: V1.1 User exit for Group 6
EXIT_SAPLNC22_013 IS-H SG: User Exit for Suppress Auto Changes

IMPORTING Parameters details for ISH_CCPS_MSG_STORE

I_NC301S - New NC301S message for DB compare NC301S

Data type: NC301S
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISH_CCPS_MSG_STORE

QNTMAILS - Number of messages saved

Data type: RNCOM-QUANTITY
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ISH_CCPS_MSG_STORE

INC301E - New NC301E messages for DB compare NC301E

Data type: NC301E
Optional: No
Call by Reference: No ( called with pass by value option)

INC301M - New NC301N msg. content for DB compare NC301M

Data type: NC301M
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

STORE_FAILED - Save not possible

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISH_CCPS_MSG_STORE 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:
lt_inc301e  TYPE STANDARD TABLE OF NC301E, "   
lv_i_nc301s  TYPE NC301S, "   
lv_qntmails  TYPE RNCOM-QUANTITY, "   
lv_store_failed  TYPE RNCOM, "   
lt_inc301m  TYPE STANDARD TABLE OF NC301M. "   

  CALL FUNCTION 'ISH_CCPS_MSG_STORE'  "
    EXPORTING
         I_NC301S = lv_i_nc301s
    IMPORTING
         QNTMAILS = lv_qntmails
    TABLES
         INC301E = lt_inc301e
         INC301M = lt_inc301m
    EXCEPTIONS
        STORE_FAILED = 1
. " ISH_CCPS_MSG_STORE




ABAP code using 7.40 inline data declarations to call FM ISH_CCPS_MSG_STORE

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.

 
 
"SELECT single QUANTITY FROM RNCOM INTO @DATA(ld_qntmails).
 
 
 


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!