on 05-28-2007 5:51 AM
Hi All,
I'm trying to add code to BADI BBP_CREATE_BE_PO_NEW to create R/3 PO with Partner Function WL - (GS) Goods Supplier - OSS Note 668178 BAPI_PO_CREATE does not support any other Partner functions. We are having trouble with this.
In R/3 SE37 BAPI_PO_CREATE with Test data works fine.
Any suggestions? What is best way to debug BBP_CREATE_BE_PO_NEW?
regards Adam
Message was edited by:
We are using SRM Server 5.5 (SP8) in Classic Mode, linking to R/3 4.6C.
Hi,
What is your exact reqiuiremnt??The BADI "BBP_CREATE_BE_PO_NEW " is used to modify any data before the PO is created in R/3.
The BADi is called before the BAPi call through which the PO is created.To debug you can put an external breakpoint in the BADI.
BR,
Disha.
Pls reward points for useful answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Our requirement is to create an R/3 PO with Partner Function for 'WL' - 'GS' (Goods Supplier) created.
We will have a custom value in our Catalog callout, which will be the GS Partner value in R/3, as our POs for this supplier are faxed to the GS - Partner fax number (which are many - branches), not the VN (Vendor) or PI (Invoice).
This GS value is passed to BADI "BBP_CREATE_BE_PO_NEW" when the Shopping cart is being bassed to R/3.
Is is possible in this BADI to call BAPI_PO_CREATE1 instead of BAPI_PO_CREATE? Our R/3 4.6C is up to the relevant support pack that has BAPI_PO_CREATE1.
regards Adam
Hi,
They have provided a soln for reassignemnt of keys in note 668178.Have a look at the foll notes also for this problem:
197958 - BAPIs for purchase orders - Missing functions
582221 FAQ: BAPIs for purchase orders
577398 Enjoy PO BAPIs in SAP R/3 Release 4.6B
499626 FAQ: BAPIs in the service
491835 BAPI_PO_CREATE1 / CHANGE -> Implementation of texts
450993 POITEM Structure for Interchange with BAPI_PO_CHANGE
450492 BAPI_PO_CREATE: Split valuation (BWTAR) now available
439110 Enjoy PO BAPI: Conditions
428621 EnjoySAP purchase order BAPIs - price det. & cond. change
419838 BAPI_PO_... : Foreign trade data (import/export)
418683 BAPI_PO_CREATE1: Item numbers external/internal
399791 Enjoy-BAPI_PO...: Condition values are not transferred
375886 BAPI: Error analysis for BAPIs in purchasing
374860 BAPI_PO_CREATE1: Item numbers incorrect
373190 BAPI_PO_GETDETAIL: Not available functions
372976 BAPI_PO_CREATE1 not yet released officially
354771 Enjoy BAPI: Holding of purchase orders
319682 BAPI_PO_CREATE: PReq overwrites interface data
317877 Enjoy BAPI: profitability segment
180172 BAPI_PO_CREATE: Transfer of an address number
158607 BAPI_PO_CREATE does not transfer additional data
153489 No texts for purch.orders genertd by BAPI_PO_CREATE
What is the SRM version ???Based on the SRM version teh corresponding BAPI is called.
BR,
Disha.
Pls reward points for useful answers.
Hi,
Thanks, I have looked at a majority of these OSS Notes in service.sap.com already. We are using SRM Server 5.5, SP8, Classic scenario to R/3 4.6C.
Client uses OA Partner function in R/3 for Branch fax number. OA is not supported in BAPI_PO_CREATE (OSS note 668178).
Would like to know if I am able to in BBP_CREATE_BE_PO_NEW 'trick' the system to call BAPI_PO_CREATE1(only for 4/7+) in R/3 4.6C, even though my settings say my backend is 4.6?
regards Adam
In <b>B46C_PO_CREATE</b>, there is no reference to BBPS_BADI_PO_CREATE component <b>BBPT_BADI_PO_PARTNER</b> - could this be added to this function module for it to successfully pass to R/3??
regards Adam
call customer function
IF sv_badi_active = 'X'.
CALL METHOD exit->fill_po_interface
EXPORTING
logical_system = logical_system
CHANGING
po_items = po_items_exit[]
po_items_add_data = po_item_add_data[]
po_item_schedules = po_item_schedules[]
po_item_account = po_item_account_assignment[]
po_item_text = po_item_text[]
po_limits = po_limits[]
po_contract_limits = po_contract_limits[]
po_services = po_services_exit[]
po_srv_account = po_srv_accass_values[]
po_srv_texts = po_services_text[]
po_header = po_header
po_header_add_data = po_header_add_data
po_address = po_address
po_deliveryaddress = poaddrdelivery[]
header_add_data_relevant = header_add_data_relevant
is_cuf_header = cuf_header
it_cuf_item = cuf_item[]
it_cuf_acc = cuf_acc[]
ct_attach_be = lt_attach_be[]
cv_attach_be_doc_type = lv_attach_be_doc_type
cv_attach_be_storage_cat = lv_attach_be_storage_cat
cv_attach_transfer_active = lv_attach_transfer_active
cv_attach_use_url = lv_attach_use_url.
ENDIF.
end customer function
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.