SAP EWB_CCPROCFO_INIT Function Module for Implementation of Private Method CCPROCFO.Init









EWB_CCPROCFO_INIT is a standard ewb ccprocfo init SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Implementation of Private Method CCPROCFO.Init 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 ewb ccprocfo init FM, simply by entering the name EWB_CCPROCFO_INIT into the relevant SAP transaction such as SE37 or SE38.

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



Function EWB_CCPROCFO_INIT 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 'EWB_CCPROCFO_INIT'"Implementation of Private Method CCPROCFO.Init
EXPORTING
X_PROCNAME = "
* X_ACTSTAT = 'A' "

CHANGING
XY_CONTEXT = "

TABLES
* T_CONT = "

EXCEPTIONS
INVALID_BUSPROC = 1 INVALID_PARAMETER = 2 INTERNAL_ERROR = 3
.



IMPORTING Parameters details for EWB_CCPROCFO_INIT

X_PROCNAME -

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

X_ACTSTAT -

Data type: EWBPROCX-ACTSTAT
Default: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for EWB_CCPROCFO_INIT

XY_CONTEXT -

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

TABLES Parameters details for EWB_CCPROCFO_INIT

T_CONT -

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

EXCEPTIONS details

INVALID_BUSPROC -

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

INVALID_PARAMETER -

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

INTERNAL_ERROR -

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

Copy and paste ABAP code example for EWB_CCPROCFO_INIT 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_t_cont  TYPE STANDARD TABLE OF SWCONT, "   
lv_xy_context  TYPE EWX10_FO_PROCESS, "   
lv_x_procname  TYPE EWBPROCX-BUSPROC, "   
lv_invalid_busproc  TYPE EWBPROCX, "   
lv_x_actstat  TYPE EWBPROCX-ACTSTAT, "   'A'
lv_invalid_parameter  TYPE EWBPROCX, "   
lv_internal_error  TYPE EWBPROCX. "   

  CALL FUNCTION 'EWB_CCPROCFO_INIT'  "Implementation of Private Method CCPROCFO.Init
    EXPORTING
         X_PROCNAME = lv_x_procname
         X_ACTSTAT = lv_x_actstat
    CHANGING
         XY_CONTEXT = lv_xy_context
    TABLES
         T_CONT = lt_t_cont
    EXCEPTIONS
        INVALID_BUSPROC = 1
        INVALID_PARAMETER = 2
        INTERNAL_ERROR = 3
. " EWB_CCPROCFO_INIT




ABAP code using 7.40 inline data declarations to call FM EWB_CCPROCFO_INIT

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 BUSPROC FROM EWBPROCX INTO @DATA(ld_x_procname).
 
 
"SELECT single ACTSTAT FROM EWBPROCX INTO @DATA(ld_x_actstat).
DATA(ld_x_actstat) = 'A'.
 
 
 


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!