BBP_CTR_APP_EVENT_HANDLER 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_APP_EVENT_HANDLER into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BBP_CTR_UI
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BBP_CTR_APP_EVENT_HANDLER' "FCODE Bearbeitung
EXPORTING
iv_fcode = " syucomm Bildschirmbilder, Funktionscode, der PAI ausgelöst hat
* is_default = " bbps_ctr_ui_default Vorschlagswerte für Einkaufskontrakt
* is_external_call = " bbps_ctr_external_call Externer Aufruf des Kontraktes aus PO, WF, etc.
is_header = " bbps_ctr_ui_header Kopfstruktur Einkaufskontrakt
* is_status = " bbps_ctr_ui_status Status Einkaufskontrakt
is_item = " bbps_ctr_ui_item Tabellentyp Position Einkaufskontrakt
it_items = " bbpt_ctr_ui_item Tabellentyp Position Einkaufskontrakt
it_items_update = " bbpt_ctr_ui_item Tabellentyp Position Einkaufskontrakt
* it_search_field_list = " bbpt_sel_search_field_control Übergabe der Feldliste an den Search-Screen
* it_dist_update = " bbpt_pd_dis Kontrakt Verteilungsdaten
IMPORTING
ev_fcode = " syucomm Bildschirmbilder, Funktionscode, der PAI ausgelöst hat
es_header = " bbps_ctr_ui_header Kopfstruktur Einkaufskontrakt
es_item = " bbps_ctr_ui_item Tabellentyp Position Einkaufskontrakt
et_items = " bbpt_ctr_ui_item Tabellentyp Position Einkaufskontrakt
et_status = " bbpt_ctr_ui_status Tabellentyp Status Einkaufskontrakt
et_partners = " bbpt_pd_partner Tabellentyp Partner Einkaufskontrakt
et_search_field_list = " bbpt_sel_search_field_control Übergabe der Feldliste an den Search-Screen
et_text = " bbpt_pd_longtext Langtexte
et_attach = " bbpt_pds_att_t KW-Anlagen inkl. Dokument
et_call_off_list = " bbpt_ctr_ui_call_off Liste von Abrufbestellungen
et_cuftable_h = " bbpt_pds_hcf_ctr Tabellenartige Kunden- und Solutionfelder am Kontraktkopf
et_cuftable_i = " bbpt_pds_icf_ctr Tab. Kunden- und Solutionfelder an der Kontraktposition
et_dist = " bbpt_ctr_ui_dis Kontrakt Verteilungsdaten
* CHANGING
* cs_global = " bbps_ctr_ui_global Globaldaten Einkaufskontrakt
* cs_inframe_catalog = " bbps_inframe_catalog Struktur zur Anzeige von Inframe-Katalogen
* ct_messages = " bbpt_pds_messages Error Message for Procurement Document Methods
EXCEPTIONS
ERROR_OCCURRED = 1 " Fehler aufgetreten
AUTHORIZATION_ERROR = 2 " Fehler in der Berechtigungsprüfung aufgetaucht
. " BBP_CTR_APP_EVENT_HANDLER
The ABAP code below is a full code listing to execute function module BBP_CTR_APP_EVENT_HANDLER 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).
| ld_ev_fcode | TYPE SYUCOMM , |
| ld_es_header | TYPE BBPS_CTR_UI_HEADER , |
| ld_es_item | TYPE BBPS_CTR_UI_ITEM , |
| ld_et_items | TYPE BBPT_CTR_UI_ITEM , |
| ld_et_status | TYPE BBPT_CTR_UI_STATUS , |
| ld_et_partners | TYPE BBPT_PD_PARTNER , |
| ld_et_search_field_list | TYPE BBPT_SEL_SEARCH_FIELD_CONTROL , |
| ld_et_text | TYPE BBPT_PD_LONGTEXT , |
| ld_et_attach | TYPE BBPT_PDS_ATT_T , |
| ld_et_call_off_list | TYPE BBPT_CTR_UI_CALL_OFF , |
| ld_et_cuftable_h | TYPE BBPT_PDS_HCF_CTR , |
| ld_et_cuftable_i | TYPE BBPT_PDS_ICF_CTR , |
| ld_et_dist | TYPE BBPT_CTR_UI_DIS . |
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_cs_global | TYPE BBPS_CTR_UI_GLOBAL , |
| ld_ev_fcode | TYPE SYUCOMM , |
| ld_iv_fcode | TYPE SYUCOMM , |
| ld_cs_inframe_catalog | TYPE BBPS_INFRAME_CATALOG , |
| ld_es_header | TYPE BBPS_CTR_UI_HEADER , |
| ld_is_default | TYPE BBPS_CTR_UI_DEFAULT , |
| ld_ct_messages | TYPE BBPT_PDS_MESSAGES , |
| ld_es_item | TYPE BBPS_CTR_UI_ITEM , |
| ld_is_external_call | TYPE BBPS_CTR_EXTERNAL_CALL , |
| ld_et_items | TYPE BBPT_CTR_UI_ITEM , |
| ld_is_header | TYPE BBPS_CTR_UI_HEADER , |
| ld_et_status | TYPE BBPT_CTR_UI_STATUS , |
| ld_is_status | TYPE BBPS_CTR_UI_STATUS , |
| ld_et_partners | TYPE BBPT_PD_PARTNER , |
| ld_is_item | TYPE BBPS_CTR_UI_ITEM , |
| ld_et_search_field_list | TYPE BBPT_SEL_SEARCH_FIELD_CONTROL , |
| ld_it_items | TYPE BBPT_CTR_UI_ITEM , |
| ld_et_text | TYPE BBPT_PD_LONGTEXT , |
| ld_it_items_update | TYPE BBPT_CTR_UI_ITEM , |
| ld_it_search_field_list | TYPE BBPT_SEL_SEARCH_FIELD_CONTROL , |
| ld_et_attach | TYPE BBPT_PDS_ATT_T , |
| ld_it_dist_update | TYPE BBPT_PD_DIS , |
| ld_et_call_off_list | TYPE BBPT_CTR_UI_CALL_OFF , |
| ld_et_cuftable_h | TYPE BBPT_PDS_HCF_CTR , |
| ld_et_cuftable_i | TYPE BBPT_PDS_ICF_CTR , |
| ld_et_dist | TYPE BBPT_CTR_UI_DIS . |
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_APP_EVENT_HANDLER or its description.