SAP Function Modules

CCSEQ_NODES_SAVE SAP Function module







CCSEQ_NODES_SAVE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name CCSEQ_NODES_SAVE into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: CCSEQ_DB
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM CCSEQ_NODES_SAVE - CCSEQ NODES SAVE





CALL FUNCTION 'CCSEQ_NODES_SAVE' "
* EXPORTING
*   iv_commit =                 " xfeld
*   it_nodes_delete =           " ccseq_t_nodes
*   it_nodes_insert =           " ccseq_t_nodes
*   it_nodes_update =           " ccseq_t_nodes
  IMPORTING
    ev_count_delete =           " sydbcnt
    ev_count_insert =           " sydbcnt
    ev_count_update =           " sydbcnt
    .  "  CCSEQ_NODES_SAVE

ABAP code example for Function Module CCSEQ_NODES_SAVE





The ABAP code below is a full code listing to execute function module CCSEQ_NODES_SAVE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_ev_count_delete  TYPE SYDBCNT ,
ld_ev_count_insert  TYPE SYDBCNT ,
ld_ev_count_update  TYPE SYDBCNT .

DATA(ld_iv_commit) = 'Check type of data required'.
DATA(ld_it_nodes_delete) = 'Check type of data required'.
DATA(ld_it_nodes_insert) = 'Check type of data required'.
DATA(ld_it_nodes_update) = 'Check type of data required'. . CALL FUNCTION 'CCSEQ_NODES_SAVE' * EXPORTING * iv_commit = ld_iv_commit * it_nodes_delete = ld_it_nodes_delete * it_nodes_insert = ld_it_nodes_insert * it_nodes_update = ld_it_nodes_update IMPORTING ev_count_delete = ld_ev_count_delete ev_count_insert = ld_ev_count_insert ev_count_update = ld_ev_count_update . " CCSEQ_NODES_SAVE
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_ev_count_delete  TYPE SYDBCNT ,
ld_iv_commit  TYPE XFELD ,
ld_ev_count_insert  TYPE SYDBCNT ,
ld_it_nodes_delete  TYPE CCSEQ_T_NODES ,
ld_ev_count_update  TYPE SYDBCNT ,
ld_it_nodes_insert  TYPE CCSEQ_T_NODES ,
ld_it_nodes_update  TYPE CCSEQ_T_NODES .

ld_iv_commit = 'Check type of data required'.
ld_it_nodes_delete = 'Check type of data required'.
ld_it_nodes_insert = 'Check type of data required'.
ld_it_nodes_update = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CCSEQ_NODES_SAVE or its description.