SAP BBP_PDH_DB_DIRECT_UPDATE Function Module for Ist-Werte/Mengen fortschreiben









BBP_PDH_DB_DIRECT_UPDATE is a standard bbp pdh db direct update SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Ist-Werte/Mengen fortschreiben 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 bbp pdh db direct update FM, simply by entering the name BBP_PDH_DB_DIRECT_UPDATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: BBP_PDH
Program Name: SAPLBBP_PDH
Main Program: SAPLBBP_PDH
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function BBP_PDH_DB_DIRECT_UPDATE 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 'BBP_PDH_DB_DIRECT_UPDATE'"Ist-Werte/Mengen fortschreiben
EXPORTING
* IV_HEADER_GUID = "GUID eines CRM-Order-Objekts
* IV_QUOT_DEAD_TIME = "Uhrzeit der Abgabefrist für das Angebot
* IV_FINAL_ENTRY = "Enderfassungs-Kennzeichen (Waren/Leistungen)
* IV_FINAL_INV = "Kennzeichen Enderfassung
* IV_PURCHTEAM = "Kennzeichen Team Shopping cart.
* IV_VERSION_NO = "Versionsnummer
* IV_EXT_VERSION_NO = "Externe Versionsnummer
* IV_CHANGE_LOCK = "Änderungssperre ('X': Änderungen nicht erlaubt)
* IV_ITEM_GUID_SOURCING = "Guid der Position für die das Sourcingflag geändert werden soll
* IV_SOURCE_REL_IND = "Kennzeichen, ob der Beleg Sourcing-Relevant ist
* IV_ROOT_IND = "ist Wurzel einer Hierarchie
* IV_BW_TRANSFERRED = "Beleg wurde beim Delta-Request direkt ins BW übertragen
* IV_QUOT_DEAD = "Abgabefrist für das Angebot

TABLES
* IT_ACTVAL = "Ist-Werte und Mengen
* IT_ACTVAL_LIMIT = "Ist-Werte und Mengen für Limits
* IT_REFUPDATE_DATA = "Daten aus Referenzen zu Einkaufswagenpositionen
* IT_REFUPDATE_IND = "Indikatoren aus Referenzen zu Einkaufswagenpositionen
* IT_ITEM_GUID_SOURCING = "Tabelle von GUIDs
* IT_ITEM_GUIDS = "Tabelle von GUIDs
* IT_ACTVAL_HEADER = "Ist-Werte und Mengen
* IT_AUC_ITM = "Bid Invitation/Bid-Specific Item Data
.



IMPORTING Parameters details for BBP_PDH_DB_DIRECT_UPDATE

IV_HEADER_GUID - GUID eines CRM-Order-Objekts

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

IV_QUOT_DEAD_TIME - Uhrzeit der Abgabefrist für das Angebot

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

IV_FINAL_ENTRY - Enderfassungs-Kennzeichen (Waren/Leistungen)

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

IV_FINAL_INV - Kennzeichen Enderfassung

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

IV_PURCHTEAM - Kennzeichen Team Shopping cart.

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

IV_VERSION_NO - Versionsnummer

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

IV_EXT_VERSION_NO - Externe Versionsnummer

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

IV_CHANGE_LOCK - Änderungssperre ('X': Änderungen nicht erlaubt)

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

IV_ITEM_GUID_SOURCING - Guid der Position für die das Sourcingflag geändert werden soll

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

IV_SOURCE_REL_IND - Kennzeichen, ob der Beleg Sourcing-Relevant ist

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

IV_ROOT_IND - ist Wurzel einer Hierarchie

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

IV_BW_TRANSFERRED - Beleg wurde beim Delta-Request direkt ins BW übertragen

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

IV_QUOT_DEAD - Abgabefrist für das Angebot

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

TABLES Parameters details for BBP_PDH_DB_DIRECT_UPDATE

IT_ACTVAL - Ist-Werte und Mengen

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

IT_ACTVAL_LIMIT - Ist-Werte und Mengen für Limits

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

IT_REFUPDATE_DATA - Daten aus Referenzen zu Einkaufswagenpositionen

Data type: BBPS_SC_REFUPDATE_DATA
Optional: Yes
Call by Reference: Yes

IT_REFUPDATE_IND - Indikatoren aus Referenzen zu Einkaufswagenpositionen

Data type: BBPS_SC_REFUPDATE_IND
Optional: Yes
Call by Reference: Yes

IT_ITEM_GUID_SOURCING - Tabelle von GUIDs

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

IT_ITEM_GUIDS - Tabelle von GUIDs

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

IT_ACTVAL_HEADER - Ist-Werte und Mengen

Data type: BBP_PDS_ACTVAL
Optional: Yes
Call by Reference: Yes

IT_AUC_ITM - Bid Invitation/Bid-Specific Item Data

Data type: BBP_PDISB
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for BBP_PDH_DB_DIRECT_UPDATE 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:
lt_it_actval  TYPE STANDARD TABLE OF BBP_PDS_ACTVAL, "   
lv_iv_header_guid  TYPE CRMT_OBJECT_GUID, "   
lv_iv_quot_dead_time  TYPE BBP_QUOT_DEAD_TIME, "   
lv_iv_final_entry  TYPE BBP_FINAL_ENTRY, "   
lv_iv_final_inv  TYPE BBP_FINAL, "   
lv_iv_purchteam  TYPE BBP_PURCHTEAM, "   
lv_iv_version_no  TYPE BBP_VERSION_NO, "   
lt_it_actval_limit  TYPE STANDARD TABLE OF BBP_PDS_ACTVAL, "   
lt_it_refupdate_data  TYPE STANDARD TABLE OF BBPS_SC_REFUPDATE_DATA, "   
lv_iv_ext_version_no  TYPE BBP_VERSION_NO, "   
lv_iv_change_lock  TYPE BBP_CHANGE_LOCK, "   
lt_it_refupdate_ind  TYPE STANDARD TABLE OF BBPS_SC_REFUPDATE_IND, "   
lt_it_item_guid_sourcing  TYPE STANDARD TABLE OF BBP_GUID_TAB, "   
lv_iv_item_guid_sourcing  TYPE CRMD_ORDERADM_I-GUID, "   
lt_it_item_guids  TYPE STANDARD TABLE OF BBP_GUID_TAB, "   
lv_iv_source_rel_ind  TYPE BBP_PDIGP-SOURCE_REL_IND, "   
lv_iv_root_ind  TYPE BBP_ROOT_IND, "   
lt_it_actval_header  TYPE STANDARD TABLE OF BBP_PDS_ACTVAL, "   
lt_it_auc_itm  TYPE STANDARD TABLE OF BBP_PDISB, "   
lv_iv_bw_transferred  TYPE BBP_TRANSFERRED_TO_BW, "   
lv_iv_quot_dead  TYPE BBP_ANGAB. "   

  CALL FUNCTION 'BBP_PDH_DB_DIRECT_UPDATE'  "Ist-Werte/Mengen fortschreiben
    EXPORTING
         IV_HEADER_GUID = lv_iv_header_guid
         IV_QUOT_DEAD_TIME = lv_iv_quot_dead_time
         IV_FINAL_ENTRY = lv_iv_final_entry
         IV_FINAL_INV = lv_iv_final_inv
         IV_PURCHTEAM = lv_iv_purchteam
         IV_VERSION_NO = lv_iv_version_no
         IV_EXT_VERSION_NO = lv_iv_ext_version_no
         IV_CHANGE_LOCK = lv_iv_change_lock
         IV_ITEM_GUID_SOURCING = lv_iv_item_guid_sourcing
         IV_SOURCE_REL_IND = lv_iv_source_rel_ind
         IV_ROOT_IND = lv_iv_root_ind
         IV_BW_TRANSFERRED = lv_iv_bw_transferred
         IV_QUOT_DEAD = lv_iv_quot_dead
    TABLES
         IT_ACTVAL = lt_it_actval
         IT_ACTVAL_LIMIT = lt_it_actval_limit
         IT_REFUPDATE_DATA = lt_it_refupdate_data
         IT_REFUPDATE_IND = lt_it_refupdate_ind
         IT_ITEM_GUID_SOURCING = lt_it_item_guid_sourcing
         IT_ITEM_GUIDS = lt_it_item_guids
         IT_ACTVAL_HEADER = lt_it_actval_header
         IT_AUC_ITM = lt_it_auc_itm
. " BBP_PDH_DB_DIRECT_UPDATE




ABAP code using 7.40 inline data declarations to call FM BBP_PDH_DB_DIRECT_UPDATE

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single GUID FROM CRMD_ORDERADM_I INTO @DATA(ld_iv_item_guid_sourcing).
 
 
"SELECT single SOURCE_REL_IND FROM BBP_PDIGP INTO @DATA(ld_iv_source_rel_ind).
 
 
 
 
 
 


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!