BBP_CREATE_PO_FROM_QUOT 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_CREATE_PO_FROM_QUOT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BBP_BID_INV
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BBP_CREATE_PO_FROM_QUOT' "Create Purchase Order from RFx Response
EXPORTING
is_header = " bbps_bid_ui_header Kopfstruktur Ausschreibung
* iv_process_type_po = " bbp_proc_type Geschäftsvorgangsart
* iv_local = SPACE " xfeld Create Local PO?
iv_user = " syuname R/3-System, Anmeldename des Benutzers
CHANGING
ct_messages = " bbpt_messages Tabellentyp für Fehlermeldungen
. " BBP_CREATE_PO_FROM_QUOT
The ABAP code below is a full code listing to execute function module BBP_CREATE_PO_FROM_QUOT 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_ct_messages) = 'Check type of data required'.
DATA(ld_is_header) = 'Check type of data required'.
DATA(ld_iv_process_type_po) = 'Check type of data required'.
DATA(ld_iv_local) = 'Check type of data required'.
DATA(ld_iv_user) = 'some text here'. . CALL FUNCTION 'BBP_CREATE_PO_FROM_QUOT' EXPORTING is_header = ld_is_header * iv_process_type_po = ld_iv_process_type_po * iv_local = ld_iv_local iv_user = ld_iv_user CHANGING ct_messages = ld_ct_messages . " BBP_CREATE_PO_FROM_QUOT
IF SY-SUBRC EQ 0. "All OK ENDIF.
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_ct_messages | TYPE BBPT_MESSAGES , |
| ld_is_header | TYPE BBPS_BID_UI_HEADER , |
| ld_iv_process_type_po | TYPE BBP_PROC_TYPE , |
| ld_iv_local | TYPE XFELD , |
| ld_iv_user | TYPE SYUNAME . |
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_CREATE_PO_FROM_QUOT or its description.
BBP_CREATE_PO_FROM_QUOT - Create Purchase Order from RFx Response BBP_CREATE_PCO_BUFFER - Buffer for all_pco_get BBP_CREATE_ORGANIZATION - SAP-GP. Anlegen Bieter/Lieferant/Einkaufende-Firma BBP_CREATE_LOGON_URL - FM to create logon URL for EBP BBP_CREATE_FRAGMENTS - BBP_CREATE_CONTRACT_FROM_BID - Create Contract from RFx Response