SAP Function Modules

CLVM_CLASS_BOOK_MULT SAP Function module







CLVM_CLASS_BOOK_MULT 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 CLVM_CLASS_BOOK_MULT into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: CLVM
Released Date: Not Released
Processing type: Start update immediately (start immed)
update module start immediate settings


Pattern for FM CLVM_CLASS_BOOK_MULT - CLVM CLASS BOOK MULT





CALL FUNCTION 'CLVM_CLASS_BOOK_MULT' "
  TABLES
    ti_clvm =                   " clvm_m        Control Fields for Multiple Class Update
    ti_klah =                   " klah          Class Header Data
    ti_smerkae =                " smerkae_m     Changes to Characteristics: Update Multiple Classes
    ti_klat =                   " klat          Classes: Long Texts
    ti_ksml =                   " ksml          Characteristics of a Class
    ti_swor =                   " swor          Classification System: Keywords
    ti_oksml =                  " ksml
    .  "  CLVM_CLASS_BOOK_MULT

ABAP code example for Function Module CLVM_CLASS_BOOK_MULT





The ABAP code below is a full code listing to execute function module CLVM_CLASS_BOOK_MULT 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:
it_ti_clvm  TYPE STANDARD TABLE OF CLVM_M,"TABLES PARAM
wa_ti_clvm  LIKE LINE OF it_ti_clvm ,
it_ti_klah  TYPE STANDARD TABLE OF KLAH,"TABLES PARAM
wa_ti_klah  LIKE LINE OF it_ti_klah ,
it_ti_smerkae  TYPE STANDARD TABLE OF SMERKAE_M,"TABLES PARAM
wa_ti_smerkae  LIKE LINE OF it_ti_smerkae ,
it_ti_klat  TYPE STANDARD TABLE OF KLAT,"TABLES PARAM
wa_ti_klat  LIKE LINE OF it_ti_klat ,
it_ti_ksml  TYPE STANDARD TABLE OF KSML,"TABLES PARAM
wa_ti_ksml  LIKE LINE OF it_ti_ksml ,
it_ti_swor  TYPE STANDARD TABLE OF SWOR,"TABLES PARAM
wa_ti_swor  LIKE LINE OF it_ti_swor ,
it_ti_oksml  TYPE STANDARD TABLE OF KSML,"TABLES PARAM
wa_ti_oksml  LIKE LINE OF it_ti_oksml .


"populate fields of struture and append to itab
append wa_ti_clvm to it_ti_clvm.

"populate fields of struture and append to itab
append wa_ti_klah to it_ti_klah.

"populate fields of struture and append to itab
append wa_ti_smerkae to it_ti_smerkae.

"populate fields of struture and append to itab
append wa_ti_klat to it_ti_klat.

"populate fields of struture and append to itab
append wa_ti_ksml to it_ti_ksml.

"populate fields of struture and append to itab
append wa_ti_swor to it_ti_swor.

"populate fields of struture and append to itab
append wa_ti_oksml to it_ti_oksml. . CALL FUNCTION 'CLVM_CLASS_BOOK_MULT' TABLES ti_clvm = it_ti_clvm ti_klah = it_ti_klah ti_smerkae = it_ti_smerkae ti_klat = it_ti_klat ti_ksml = it_ti_ksml ti_swor = it_ti_swor ti_oksml = it_ti_oksml . " CLVM_CLASS_BOOK_MULT
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:
it_ti_clvm  TYPE STANDARD TABLE OF CLVM_M ,
wa_ti_clvm  LIKE LINE OF it_ti_clvm,
it_ti_klah  TYPE STANDARD TABLE OF KLAH ,
wa_ti_klah  LIKE LINE OF it_ti_klah,
it_ti_smerkae  TYPE STANDARD TABLE OF SMERKAE_M ,
wa_ti_smerkae  LIKE LINE OF it_ti_smerkae,
it_ti_klat  TYPE STANDARD TABLE OF KLAT ,
wa_ti_klat  LIKE LINE OF it_ti_klat,
it_ti_ksml  TYPE STANDARD TABLE OF KSML ,
wa_ti_ksml  LIKE LINE OF it_ti_ksml,
it_ti_swor  TYPE STANDARD TABLE OF SWOR ,
wa_ti_swor  LIKE LINE OF it_ti_swor,
it_ti_oksml  TYPE STANDARD TABLE OF KSML ,
wa_ti_oksml  LIKE LINE OF it_ti_oksml.


"populate fields of struture and append to itab
append wa_ti_clvm to it_ti_clvm.

"populate fields of struture and append to itab
append wa_ti_klah to it_ti_klah.

"populate fields of struture and append to itab
append wa_ti_smerkae to it_ti_smerkae.

"populate fields of struture and append to itab
append wa_ti_klat to it_ti_klat.

"populate fields of struture and append to itab
append wa_ti_ksml to it_ti_ksml.

"populate fields of struture and append to itab
append wa_ti_swor to it_ti_swor.

"populate fields of struture and append to itab
append wa_ti_oksml to it_ti_oksml.

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 CLVM_CLASS_BOOK_MULT or its description.