SAP Function Modules

BBP_AUCTION_RESULT_COMPLETE SAP Function module







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

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


Pattern for FM BBP_AUCTION_RESULT_COMPLETE - BBP AUCTION RESULT COMPLETE





CALL FUNCTION 'BBP_AUCTION_RESULT_COMPLETE' "
  EXPORTING
    is_bid_header =             " bbp_pds_bid_header_d
    it_attach =                 " bbpt_pds_att_t
    iv_auction_type =           " bbp_auction_type
    it_dyn_attr =               " bbpt_pds_dynattribute
  IMPORTING
    et_dyn_attr =               " bbpt_pds_dynattribute
  TABLES
    it_quot_header =            " bbp_pds_quot_header_d
    it_quot_item =              " bbp_pds_quot_item_d
    it_partner =                " bbp_pds_partner
    it_longtext =               " bbp_pds_longtext
    et_quot_header =            " bbp_pds_quot_header_u
    et_quot_item =              " bbp_pds_quot_item_icu
    .  "  BBP_AUCTION_RESULT_COMPLETE

ABAP code example for Function Module BBP_AUCTION_RESULT_COMPLETE





The ABAP code below is a full code listing to execute function module BBP_AUCTION_RESULT_COMPLETE 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_et_dyn_attr  TYPE BBPT_PDS_DYNATTRIBUTE ,
it_it_quot_header  TYPE STANDARD TABLE OF BBP_PDS_QUOT_HEADER_D,"TABLES PARAM
wa_it_quot_header  LIKE LINE OF it_it_quot_header ,
it_it_quot_item  TYPE STANDARD TABLE OF BBP_PDS_QUOT_ITEM_D,"TABLES PARAM
wa_it_quot_item  LIKE LINE OF it_it_quot_item ,
it_it_partner  TYPE STANDARD TABLE OF BBP_PDS_PARTNER,"TABLES PARAM
wa_it_partner  LIKE LINE OF it_it_partner ,
it_it_longtext  TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT,"TABLES PARAM
wa_it_longtext  LIKE LINE OF it_it_longtext ,
it_et_quot_header  TYPE STANDARD TABLE OF BBP_PDS_QUOT_HEADER_U,"TABLES PARAM
wa_et_quot_header  LIKE LINE OF it_et_quot_header ,
it_et_quot_item  TYPE STANDARD TABLE OF BBP_PDS_QUOT_ITEM_ICU,"TABLES PARAM
wa_et_quot_item  LIKE LINE OF it_et_quot_item .

DATA(ld_is_bid_header) = 'Check type of data required'.
DATA(ld_it_attach) = 'Check type of data required'.
DATA(ld_iv_auction_type) = 'Check type of data required'.
DATA(ld_it_dyn_attr) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_quot_header to it_it_quot_header.

"populate fields of struture and append to itab
append wa_it_quot_item to it_it_quot_item.

"populate fields of struture and append to itab
append wa_it_partner to it_it_partner.

"populate fields of struture and append to itab
append wa_it_longtext to it_it_longtext.

"populate fields of struture and append to itab
append wa_et_quot_header to it_et_quot_header.

"populate fields of struture and append to itab
append wa_et_quot_item to it_et_quot_item. . CALL FUNCTION 'BBP_AUCTION_RESULT_COMPLETE' EXPORTING is_bid_header = ld_is_bid_header it_attach = ld_it_attach iv_auction_type = ld_iv_auction_type it_dyn_attr = ld_it_dyn_attr IMPORTING et_dyn_attr = ld_et_dyn_attr TABLES it_quot_header = it_it_quot_header it_quot_item = it_it_quot_item it_partner = it_it_partner it_longtext = it_it_longtext et_quot_header = it_et_quot_header et_quot_item = it_et_quot_item . " BBP_AUCTION_RESULT_COMPLETE
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_et_dyn_attr  TYPE BBPT_PDS_DYNATTRIBUTE ,
ld_is_bid_header  TYPE BBP_PDS_BID_HEADER_D ,
it_it_quot_header  TYPE STANDARD TABLE OF BBP_PDS_QUOT_HEADER_D ,
wa_it_quot_header  LIKE LINE OF it_it_quot_header,
ld_it_attach  TYPE BBPT_PDS_ATT_T ,
it_it_quot_item  TYPE STANDARD TABLE OF BBP_PDS_QUOT_ITEM_D ,
wa_it_quot_item  LIKE LINE OF it_it_quot_item,
ld_iv_auction_type  TYPE BBP_AUCTION_TYPE ,
it_it_partner  TYPE STANDARD TABLE OF BBP_PDS_PARTNER ,
wa_it_partner  LIKE LINE OF it_it_partner,
ld_it_dyn_attr  TYPE BBPT_PDS_DYNATTRIBUTE ,
it_it_longtext  TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT ,
wa_it_longtext  LIKE LINE OF it_it_longtext,
it_et_quot_header  TYPE STANDARD TABLE OF BBP_PDS_QUOT_HEADER_U ,
wa_et_quot_header  LIKE LINE OF it_et_quot_header,
it_et_quot_item  TYPE STANDARD TABLE OF BBP_PDS_QUOT_ITEM_ICU ,
wa_et_quot_item  LIKE LINE OF it_et_quot_item.

ld_is_bid_header = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_quot_header to it_it_quot_header.
ld_it_attach = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_quot_item to it_it_quot_item.
ld_iv_auction_type = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_partner to it_it_partner.
ld_it_dyn_attr = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_longtext to it_it_longtext.

"populate fields of struture and append to itab
append wa_et_quot_header to it_et_quot_header.

"populate fields of struture and append to itab
append wa_et_quot_item to it_et_quot_item.

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