SAP FCC1_SCMA_START_SEQUENCE Function Module for









FCC1_SCMA_START_SEQUENCE is a standard fcc1 scma start sequence 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 fcc1 scma start sequence FM, simply by entering the name FCC1_SCMA_START_SEQUENCE into the relevant SAP transaction such as SE37 or SE38.

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



Function FCC1_SCMA_START_SEQUENCE 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 'FCC1_SCMA_START_SEQUENCE'"
EXPORTING
SCMA_SEQUENCE = "
* I_EXTERN_CALLER_ID = "
* I_EXTERN_RFCDEST_S = "
* I_EXTERN_RFCDEST_C = "
* I_EXTERN_RFCDIA_C = "
* I_EXTERN_RFCDIA_S = "
* I_USE_SYTIME = ' ' "
SCMA_STARTDATE = "
SCMA_STARTTIME = "
* SCMA_TPI_ID = "GUID in 'CHAR' Format in Uppercase
* SCMA_TPI_TEXT = "Schedule Manager: Instance Text for a Tasklist
FLAG_SCHEDULED = "
FLAG_IMMEDIATE = "
* I_NO_DIALOG = "No dialog
* I_EXTERN_CALL = "

IMPORTING
SCMA_WI_ID = "
LAST_RUN = "
E_NOT_SCHEDULED = "

TABLES
LD_SCMATREES = "
* LT_CONTAINER = "Workflow container
* ET_SCMATREED = "
.



IMPORTING Parameters details for FCC1_SCMA_START_SEQUENCE

SCMA_SEQUENCE -

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

I_EXTERN_CALLER_ID -

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

I_EXTERN_RFCDEST_S -

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

I_EXTERN_RFCDEST_C -

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

I_EXTERN_RFCDIA_C -

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

I_EXTERN_RFCDIA_S -

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

I_USE_SYTIME -

Data type: CHAR1
Default: ' '
Optional: Yes
Call by Reference: Yes

SCMA_STARTDATE -

Data type: TBTCJOB-SDLSTRTDT
Optional: No
Call by Reference: Yes

SCMA_STARTTIME -

Data type: TBTCJOB-SDLSTRTTM
Optional: No
Call by Reference: Yes

SCMA_TPI_ID - GUID in 'CHAR' Format in Uppercase

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

SCMA_TPI_TEXT - Schedule Manager: Instance Text for a Tasklist

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

FLAG_SCHEDULED -

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

FLAG_IMMEDIATE -

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

I_NO_DIALOG - No dialog

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

I_EXTERN_CALL -

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

EXPORTING Parameters details for FCC1_SCMA_START_SEQUENCE

SCMA_WI_ID -

Data type: SWD_PRAPI-WI_ID
Optional: No
Call by Reference: Yes

LAST_RUN -

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

E_NOT_SCHEDULED -

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

TABLES Parameters details for FCC1_SCMA_START_SEQUENCE

LD_SCMATREES -

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

LT_CONTAINER - Workflow container

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

ET_SCMATREED -

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

Copy and paste ABAP code example for FCC1_SCMA_START_SEQUENCE 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_scma_wi_id  TYPE SWD_PRAPI-WI_ID, "   
lt_ld_scmatrees  TYPE STANDARD TABLE OF SCMATREES, "   
lv_scma_sequence  TYPE SWD_PRAPI-TASK, "   
lv_i_extern_caller_id  TYPE TZNTSTMPL, "   
lv_i_extern_rfcdest_s  TYPE RFCDEST, "   
lv_i_extern_rfcdest_c  TYPE RFCDEST, "   
lv_i_extern_rfcdia_c  TYPE RFCDEST, "   
lv_i_extern_rfcdia_s  TYPE RFCDEST, "   
lv_i_use_sytime  TYPE CHAR1, "   ' '
lv_last_run  TYPE SCMALAST_RUN, "   
lt_lt_container  TYPE STANDARD TABLE OF SWCONT, "   
lv_scma_startdate  TYPE TBTCJOB-SDLSTRTDT, "   
lt_et_scmatreed  TYPE STANDARD TABLE OF SCMATREED, "   
lv_scma_starttime  TYPE TBTCJOB-SDLSTRTTM, "   
lv_e_not_scheduled  TYPE CHAR1, "   
lv_scma_tpi_id  TYPE GUID_32, "   
lv_scma_tpi_text  TYPE SCMA_TPI_TEXT, "   
lv_flag_scheduled  TYPE CHAR1, "   
lv_flag_immediate  TYPE CHAR1, "   
lv_i_no_dialog  TYPE CHAR1, "   
lv_i_extern_call  TYPE CHAR1. "   

  CALL FUNCTION 'FCC1_SCMA_START_SEQUENCE'  "
    EXPORTING
         SCMA_SEQUENCE = lv_scma_sequence
         I_EXTERN_CALLER_ID = lv_i_extern_caller_id
         I_EXTERN_RFCDEST_S = lv_i_extern_rfcdest_s
         I_EXTERN_RFCDEST_C = lv_i_extern_rfcdest_c
         I_EXTERN_RFCDIA_C = lv_i_extern_rfcdia_c
         I_EXTERN_RFCDIA_S = lv_i_extern_rfcdia_s
         I_USE_SYTIME = lv_i_use_sytime
         SCMA_STARTDATE = lv_scma_startdate
         SCMA_STARTTIME = lv_scma_starttime
         SCMA_TPI_ID = lv_scma_tpi_id
         SCMA_TPI_TEXT = lv_scma_tpi_text
         FLAG_SCHEDULED = lv_flag_scheduled
         FLAG_IMMEDIATE = lv_flag_immediate
         I_NO_DIALOG = lv_i_no_dialog
         I_EXTERN_CALL = lv_i_extern_call
    IMPORTING
         SCMA_WI_ID = lv_scma_wi_id
         LAST_RUN = lv_last_run
         E_NOT_SCHEDULED = lv_e_not_scheduled
    TABLES
         LD_SCMATREES = lt_ld_scmatrees
         LT_CONTAINER = lt_lt_container
         ET_SCMATREED = lt_et_scmatreed
. " FCC1_SCMA_START_SEQUENCE




ABAP code using 7.40 inline data declarations to call FM FCC1_SCMA_START_SEQUENCE

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 WI_ID FROM SWD_PRAPI INTO @DATA(ld_scma_wi_id).
 
 
"SELECT single TASK FROM SWD_PRAPI INTO @DATA(ld_scma_sequence).
 
 
 
 
 
 
DATA(ld_i_use_sytime) = ' '.
 
 
 
"SELECT single SDLSTRTDT FROM TBTCJOB INTO @DATA(ld_scma_startdate).
 
 
"SELECT single SDLSTRTTM FROM TBTCJOB INTO @DATA(ld_scma_starttime).
 
 
 
 
 
 
 
 


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!