SAP BD_CO_GEN_GET_DETAILS Function Module for UCES: Performance Broadcast Call for Function Module Details - Intital









BD_CO_GEN_GET_DETAILS is a standard bd co gen get details SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for UCES: Performance Broadcast Call for Function Module Details - Intital processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for bd co gen get details FM, simply by entering the name BD_CO_GEN_GET_DETAILS into the relevant SAP transaction such as SE37 or SE38.

Function Group: BDISU_CO
Program Name: SAPLBDISU_CO
Main Program: SAPLBDISU_CO
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BD_CO_GEN_GET_DETAILS pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'BD_CO_GEN_GET_DETAILS'"UCES: Performance Broadcast Call for Function Module Details - Intital
EXPORTING
I_PARTNER = "Business Partner Number
* I_ACCOUNT = "Contract Account Number
* I_SPRAS = SY-LANGU "Language Key
I_CONTRACT = "Contract
* I_DATE = SY-DATUM "Date

IMPORTING
E_CO_DETAIL = "UCES: Contract Details
E_DUMMY_METER = "UCES: Table Category for Dummy Entries
E_MR_DATA = "UCES: Table Type for UCES_CO_MR_DATE
RETURN_MRDATE = "Return Parameter(s)
E_DUMMY_MRDATE = "UCES: Table Category for Dummy Entries
E_TECH_DETAIL = "UCES: Technical Details for Contract Overview
RETURN_TECH = "Return Parameter(s)
E_DUMMY_TECH = "UCES: Table Category for Dummy Entries
RETURN_CUSTOM = "Return Parameter(s)
E_CUSTOM = "UCES: Table Category for Dummy Entries
E_TAB_NAME = "UCES: Texts
RETURN_CONTRACT = "Return Parameter(s)
E_DUMMY_CONTRACT = "UCES: Table Category for Dummy Entries
E_BITMAP = "
E_HIST_GROUP = "UCES: Selection Groups for Consumption History
RETURN_HISTORY = "Return Parameter(s)
E_DUMMY_HISTORY = "UCES: Table Category for Dummy Entries
E_HIST_DATA = "UCES: Table Category for UCES_CO_HIST_DATA
RETURN_METER = "Return Parameter(s)
.



IMPORTING Parameters details for BD_CO_GEN_GET_DETAILS

I_PARTNER - Business Partner Number

Data type: GPART_KK
Optional: No
Call by Reference: No ( called with pass by value option)

I_ACCOUNT - Contract Account Number

Data type: VKONT_KK
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SPRAS - Language Key

Data type: SPRAS
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CONTRACT - Contract

Data type: VERTRAG
Optional: No
Call by Reference: No ( called with pass by value option)

I_DATE - Date

Data type: DATUM
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for BD_CO_GEN_GET_DETAILS

E_CO_DETAIL - UCES: Contract Details

Data type: UCES_CO_CONTRACT_DETAIL
Optional: No
Call by Reference: No ( called with pass by value option)

E_DUMMY_METER - UCES: Table Category for Dummy Entries

Data type: UCES_TAB_DUMMY
Optional: No
Call by Reference: No ( called with pass by value option)

E_MR_DATA - UCES: Table Type for UCES_CO_MR_DATE

Data type: UCES_TAB_CO_MR_DATE
Optional: No
Call by Reference: No ( called with pass by value option)

RETURN_MRDATE - Return Parameter(s)

Data type: BAPIRET2
Optional: No
Call by Reference: No ( called with pass by value option)

E_DUMMY_MRDATE - UCES: Table Category for Dummy Entries

Data type: UCES_TAB_DUMMY
Optional: No
Call by Reference: No ( called with pass by value option)

E_TECH_DETAIL - UCES: Technical Details for Contract Overview

Data type: UCES_CO_TECHNICAL_DETAIL
Optional: No
Call by Reference: No ( called with pass by value option)

RETURN_TECH - Return Parameter(s)

Data type: BAPIRET2
Optional: No
Call by Reference: No ( called with pass by value option)

E_DUMMY_TECH - UCES: Table Category for Dummy Entries

Data type: UCES_TAB_DUMMY
Optional: No
Call by Reference: No ( called with pass by value option)

RETURN_CUSTOM - Return Parameter(s)

Data type: BAPIRET2
Optional: No
Call by Reference: No ( called with pass by value option)

E_CUSTOM - UCES: Table Category for Dummy Entries

Data type: UCES_TAB_DUMMY
Optional: No
Call by Reference: No ( called with pass by value option)

E_TAB_NAME - UCES: Texts

Data type: UCES_TEXT
Optional: No
Call by Reference: No ( called with pass by value option)

RETURN_CONTRACT - Return Parameter(s)

Data type: BAPIRET2
Optional: No
Call by Reference: No ( called with pass by value option)

E_DUMMY_CONTRACT - UCES: Table Category for Dummy Entries

Data type: UCES_TAB_DUMMY
Optional: No
Call by Reference: No ( called with pass by value option)

E_BITMAP -

Data type: XSTRING
Optional: No
Call by Reference: No ( called with pass by value option)

E_HIST_GROUP - UCES: Selection Groups for Consumption History

Data type: UCES_TAB_CO_HIST_GROUPS
Optional: No
Call by Reference: No ( called with pass by value option)

RETURN_HISTORY - Return Parameter(s)

Data type: BAPIRET2
Optional: No
Call by Reference: No ( called with pass by value option)

E_DUMMY_HISTORY - UCES: Table Category for Dummy Entries

Data type: UCES_TAB_DUMMY
Optional: No
Call by Reference: No ( called with pass by value option)

E_HIST_DATA - UCES: Table Category for UCES_CO_HIST_DATA

Data type: UCES_TAB_CO_HIST_DATA
Optional: No
Call by Reference: No ( called with pass by value option)

RETURN_METER - Return Parameter(s)

Data type: BAPIRET2
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for BD_CO_GEN_GET_DETAILS Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_i_partner  TYPE GPART_KK, "   
lv_e_co_detail  TYPE UCES_CO_CONTRACT_DETAIL, "   
lv_e_dummy_meter  TYPE UCES_TAB_DUMMY, "   
lv_e_mr_data  TYPE UCES_TAB_CO_MR_DATE, "   
lv_return_mrdate  TYPE BAPIRET2, "   
lv_e_dummy_mrdate  TYPE UCES_TAB_DUMMY, "   
lv_e_tech_detail  TYPE UCES_CO_TECHNICAL_DETAIL, "   
lv_return_tech  TYPE BAPIRET2, "   
lv_e_dummy_tech  TYPE UCES_TAB_DUMMY, "   
lv_return_custom  TYPE BAPIRET2, "   
lv_e_custom  TYPE UCES_TAB_DUMMY, "   
lv_e_tab_name  TYPE UCES_TEXT, "   
lv_i_account  TYPE VKONT_KK, "   
lv_return_contract  TYPE BAPIRET2, "   
lv_i_spras  TYPE SPRAS, "   SY-LANGU
lv_e_dummy_contract  TYPE UCES_TAB_DUMMY, "   
lv_e_bitmap  TYPE XSTRING, "   
lv_i_contract  TYPE VERTRAG, "   
lv_i_date  TYPE DATUM, "   SY-DATUM
lv_e_hist_group  TYPE UCES_TAB_CO_HIST_GROUPS, "   
lv_return_history  TYPE BAPIRET2, "   
lv_e_dummy_history  TYPE UCES_TAB_DUMMY, "   
lv_e_hist_data  TYPE UCES_TAB_CO_HIST_DATA, "   
lv_return_meter  TYPE BAPIRET2. "   

  CALL FUNCTION 'BD_CO_GEN_GET_DETAILS'  "UCES: Performance Broadcast Call for Function Module Details - Intital
    EXPORTING
         I_PARTNER = lv_i_partner
         I_ACCOUNT = lv_i_account
         I_SPRAS = lv_i_spras
         I_CONTRACT = lv_i_contract
         I_DATE = lv_i_date
    IMPORTING
         E_CO_DETAIL = lv_e_co_detail
         E_DUMMY_METER = lv_e_dummy_meter
         E_MR_DATA = lv_e_mr_data
         RETURN_MRDATE = lv_return_mrdate
         E_DUMMY_MRDATE = lv_e_dummy_mrdate
         E_TECH_DETAIL = lv_e_tech_detail
         RETURN_TECH = lv_return_tech
         E_DUMMY_TECH = lv_e_dummy_tech
         RETURN_CUSTOM = lv_return_custom
         E_CUSTOM = lv_e_custom
         E_TAB_NAME = lv_e_tab_name
         RETURN_CONTRACT = lv_return_contract
         E_DUMMY_CONTRACT = lv_e_dummy_contract
         E_BITMAP = lv_e_bitmap
         E_HIST_GROUP = lv_e_hist_group
         RETURN_HISTORY = lv_return_history
         E_DUMMY_HISTORY = lv_e_dummy_history
         E_HIST_DATA = lv_e_hist_data
         RETURN_METER = lv_return_meter
. " BD_CO_GEN_GET_DETAILS




ABAP code using 7.40 inline data declarations to call FM BD_CO_GEN_GET_DETAILS

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_spras) = SY-LANGU.
 
 
 
 
DATA(ld_i_date) = SY-DATUM.
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!