SAP BBP_XML_QUOTTEMPL_CONVERT Function Module for Convert Bid Data









BBP_XML_QUOTTEMPL_CONVERT is a standard bbp xml quottempl convert SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Convert Bid Data 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 xml quottempl convert FM, simply by entering the name BBP_XML_QUOTTEMPL_CONVERT into the relevant SAP transaction such as SE37 or SE38.

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



Function BBP_XML_QUOTTEMPL_CONVERT 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_XML_QUOTTEMPL_CONVERT'"Convert Bid Data
EXPORTING
HEADER_QUOT = "Schnittstelle Kopf-Daten Angebot GetDetail-Fall
USERNAME = "R/3-System, Anmeldename des Benutzers

IMPORTING
HEADER_XML_QUOT = "XML relevante Kopf-Daten Angebot
DELIVERY_ADDRESS = "BAPI Übergabestruktur für Adressen
BIDDER_ADDRESS = "BAPI Übergabestruktur für Adressen
CONTACT_ADDRESS = "BAPI Übergabestruktur für Adressen
RECIPIENT_ADDRESS = "Rückgabestruktur für Adresse

TABLES
* I_QUOT_ITEM = "Position Ausschreibung (GetDetail)
* E_HDR_LONGTEXT = "Bapi Struktur fuer Langtext
* RETURN = "Returnparameter
* I_QUOT_PARTNER = "Geschäftspartner
* I_QUOT_LONGTEXT = "Langtexte zum Procurement Document
* I_QUOTTEMPL_ATT = "Attachments
* I_QUOT_STATUS = "Einzelstatus
* E_QUOT_XML_ITEM = "Schnittstelle Positions-Daten für Angebote
* E_QUOT_HDR_ATT = "Struktur für Attachements beim Angebotstemplatedown-/upload
* E_QUOT_ITM_ATT = "Struktur für Attachements beim Angebotstemplatedown-/upload
* E_ITM_LONGTEXT = "Bapi Struktur fuer Langtext
.



IMPORTING Parameters details for BBP_XML_QUOTTEMPL_CONVERT

HEADER_QUOT - Schnittstelle Kopf-Daten Angebot GetDetail-Fall

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

USERNAME - R/3-System, Anmeldename des Benutzers

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

EXPORTING Parameters details for BBP_XML_QUOTTEMPL_CONVERT

HEADER_XML_QUOT - XML relevante Kopf-Daten Angebot

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

DELIVERY_ADDRESS - BAPI Übergabestruktur für Adressen

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

BIDDER_ADDRESS - BAPI Übergabestruktur für Adressen

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

CONTACT_ADDRESS - BAPI Übergabestruktur für Adressen

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

RECIPIENT_ADDRESS - Rückgabestruktur für Adresse

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

TABLES Parameters details for BBP_XML_QUOTTEMPL_CONVERT

I_QUOT_ITEM - Position Ausschreibung (GetDetail)

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

E_HDR_LONGTEXT - Bapi Struktur fuer Langtext

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

RETURN - Returnparameter

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

I_QUOT_PARTNER - Geschäftspartner

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

I_QUOT_LONGTEXT - Langtexte zum Procurement Document

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

I_QUOTTEMPL_ATT - Attachments

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

I_QUOT_STATUS - Einzelstatus

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

E_QUOT_XML_ITEM - Schnittstelle Positions-Daten für Angebote

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

E_QUOT_HDR_ATT - Struktur für Attachements beim Angebotstemplatedown-/upload

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

E_QUOT_ITM_ATT - Struktur für Attachements beim Angebotstemplatedown-/upload

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

E_ITM_LONGTEXT - Bapi Struktur fuer Langtext

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

Copy and paste ABAP code example for BBP_XML_QUOTTEMPL_CONVERT 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_header_quot  TYPE BAPI_BID_HEADER_D, "   
lt_i_quot_item  TYPE STANDARD TABLE OF BAPI_BID_ITEM_D, "   
lv_header_xml_quot  TYPE BBP_XML_QUOTTEMPLHDR, "   
lt_e_hdr_longtext  TYPE STANDARD TABLE OF BAPI_TEXT_I, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_username  TYPE SY-UNAME, "   
lt_i_quot_partner  TYPE STANDARD TABLE OF BAPI_BUP_D, "   
lv_delivery_address  TYPE BBP_PDS_PARTNER, "   
lv_bidder_address  TYPE BBP_PDS_PARTNER, "   
lt_i_quot_longtext  TYPE STANDARD TABLE OF BAPI_TEXT_I, "   
lv_contact_address  TYPE BBP_PDS_PARTNER, "   
lt_i_quottempl_att  TYPE STANDARD TABLE OF BAPI_ATT_D, "   
lt_i_quot_status  TYPE STANDARD TABLE OF BAPI_BBP_STATUS, "   
lv_recipient_address  TYPE BBP_PDS_PARTNER, "   
lt_e_quot_xml_item  TYPE STANDARD TABLE OF BBP_XML_QUOTTEMPLITM, "   
lt_e_quot_hdr_att  TYPE STANDARD TABLE OF BBP_XML_QUOTTEMPLATT, "   
lt_e_quot_itm_att  TYPE STANDARD TABLE OF BBP_XML_QUOTTEMPLATT, "   
lt_e_itm_longtext  TYPE STANDARD TABLE OF BAPI_TEXT_I. "   

  CALL FUNCTION 'BBP_XML_QUOTTEMPL_CONVERT'  "Convert Bid Data
    EXPORTING
         HEADER_QUOT = lv_header_quot
         USERNAME = lv_username
    IMPORTING
         HEADER_XML_QUOT = lv_header_xml_quot
         DELIVERY_ADDRESS = lv_delivery_address
         BIDDER_ADDRESS = lv_bidder_address
         CONTACT_ADDRESS = lv_contact_address
         RECIPIENT_ADDRESS = lv_recipient_address
    TABLES
         I_QUOT_ITEM = lt_i_quot_item
         E_HDR_LONGTEXT = lt_e_hdr_longtext
         RETURN = lt_return
         I_QUOT_PARTNER = lt_i_quot_partner
         I_QUOT_LONGTEXT = lt_i_quot_longtext
         I_QUOTTEMPL_ATT = lt_i_quottempl_att
         I_QUOT_STATUS = lt_i_quot_status
         E_QUOT_XML_ITEM = lt_e_quot_xml_item
         E_QUOT_HDR_ATT = lt_e_quot_hdr_att
         E_QUOT_ITM_ATT = lt_e_quot_itm_att
         E_ITM_LONGTEXT = lt_e_itm_longtext
. " BBP_XML_QUOTTEMPL_CONVERT




ABAP code using 7.40 inline data declarations to call FM BBP_XML_QUOTTEMPL_CONVERT

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 UNAME FROM SY INTO @DATA(ld_username).
 
 
 
 
 
 
 
 
 
 
 
 
 


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!