SAP Function Modules

BBP_CTR_NOV_GETLIST SAP Function module - Read Novation Protocol







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

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


Pattern for FM BBP_CTR_NOV_GETLIST - BBP CTR NOV GETLIST





CALL FUNCTION 'BBP_CTR_NOV_GETLIST' "Read Novation Protocol
  EXPORTING
    iv_novation_guid =          " crmt_object_guid  Novation GUID
    iv_novation_id =            " bbp_novation_id  Novation ID
  IMPORTING
    ev_novation_guid =          " crmt_object_guid  Novation GUID
    ev_novation_id =            " bbp_novation_id  Novation ID
  TABLES
    et_ctr_nov_log =            " bbpd_ctr_nov_log  Novation Protocol
  EXCEPTIONS
    NOVATION_NOT_FOUND = 1      "               novation_not_found
    .  "  BBP_CTR_NOV_GETLIST

ABAP code example for Function Module BBP_CTR_NOV_GETLIST





The ABAP code below is a full code listing to execute function module BBP_CTR_NOV_GETLIST 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_novation_guid  TYPE CRMT_OBJECT_GUID ,
ld_ev_novation_id  TYPE BBP_NOVATION_ID ,
it_et_ctr_nov_log  TYPE STANDARD TABLE OF BBPD_CTR_NOV_LOG,"TABLES PARAM
wa_et_ctr_nov_log  LIKE LINE OF it_et_ctr_nov_log .

DATA(ld_iv_novation_guid) = 'Check type of data required'.
DATA(ld_iv_novation_id) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_ctr_nov_log to it_et_ctr_nov_log. . CALL FUNCTION 'BBP_CTR_NOV_GETLIST' EXPORTING iv_novation_guid = ld_iv_novation_guid iv_novation_id = ld_iv_novation_id IMPORTING ev_novation_guid = ld_ev_novation_guid ev_novation_id = ld_ev_novation_id TABLES et_ctr_nov_log = it_et_ctr_nov_log EXCEPTIONS NOVATION_NOT_FOUND = 1 . " BBP_CTR_NOV_GETLIST
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here 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_novation_guid  TYPE CRMT_OBJECT_GUID ,
ld_iv_novation_guid  TYPE CRMT_OBJECT_GUID ,
it_et_ctr_nov_log  TYPE STANDARD TABLE OF BBPD_CTR_NOV_LOG ,
wa_et_ctr_nov_log  LIKE LINE OF it_et_ctr_nov_log,
ld_ev_novation_id  TYPE BBP_NOVATION_ID ,
ld_iv_novation_id  TYPE BBP_NOVATION_ID .

ld_iv_novation_guid = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_ctr_nov_log to it_et_ctr_nov_log.
ld_iv_novation_id = '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 BBP_CTR_NOV_GETLIST or its description.