Beruflich Dokumente
Kultur Dokumente
flow in the Purchase Requistion. Ideally the price in the PR tab comes from the Material Master.
Please let me know how can this be achived ? Is there any user-exit.
Answer
The Price that needs to be transferred can be picked from the internal table XKOMV from the
field KSCHL. Identify the condition type used to transfer the Price. It will be transferred into the
field EBAN-PREIS Main Program - SAPMV45A. Tell your abaper this logic.
Can any one hw can we make a customer master or Material master. like T-ats01, T-ATS05, S-
50A02 ETC.. Where as in number range only numeric date available, and how could we
configure the number range in the account group or Material type to enter such a customer name
or Material name. Please ..???
Answer
You can use the exit on SAPMF02D. A code needs to be enhanced in the
EXIT_SAPMF02D_001 function using T-Code SE37 Or you can use Business event transaction
(FIBF) that you could use: Try BERE transaction, exdecute and try event 1320. Hope it helps
Terms of payment appear in Company Code Data & sales Area Data. What is the impact of each? why is
it not populated automatically, once it is maintained at either field?
Terms of payment from company code data is for reporting purpose & it is from sales area data that it
flows to sales order.
It is a standard feature of SAP that it is not populated automatically if maintained at either of the field,
but it is a must in sales area data & can be skipped in company code data.
Create Customer Quotation
(BAPI_QUOTATION_CREATEFROMDATA2) with BAPI
Extension
By Amit Shetwal, Mahindra Satyam
Our client had a requirement to create customer quotation using BAPI function module
BAPI_QUOTATION_CREATEFROMDATA2 with reference to Container process by using custom dialog
program .
This BAPI is mapped with standard SAP Transaction VA21. The client requirement is to map all
standards quotation fields and need to add 4 customize fields Plug in Date(DATS) , Plugin
Time(TIMS) , Plug out Date(DATS), Plug out time (TIMS) which are added at line item level by creating
extra tab Additional data B.
Standard quotation field we can easily mapped using BAPI but as per requirement we need to do
extension of BAPI BAPI_QUOTATION_CREATEFROMDATA2 for 4 customize fields.
3. Because the BAPIs work with checkboxes, you must also define a customize structure
(ZZDATES_TIMES1X) checkbox for the customer structure. It should be structured like this:
4. Define these customer structures in the structures VBAPKOZ und VBAPKOZX using INCLUDE or
APPEND.
5. Add the customer structures to the BAPE_VBAP and BAPE_VBAPX BAPI structures using the
APPEND technique.
6. Adjust the following structures for customer enhancements to table VBAP:
a) VBAPKOZ
b) VBAPKOZX
c) BAPE_VBAP
d) BAPE_VBAPX
7. Generally, the data should be added to the BAPI interface in the internal communication structures
(VBAKKOM, and so on). There, you can process the data in the SD tables (VBAK, and so on).
8. If the EXTENSIONIN parameter contains customer data, you must complete at least the key fields in
the relevant standard parameters.
9. Added logic for BAPI extension in customized dialog program as below
Value Proposition to Customer : We can create customer quotation using BAPI and additional we can
extend standard Customer Quotation Create BAPI for the additional customized fields as per customer’s
requirement.
Our client has requirement to create Sales Order using BAPI function module BAPI
BAPI_SALESORDER_CREATEFROMDAT2 with reference to Container process by using customized
dialog program .
This BAPI is mapped with standard SAP Transaction VA01. The client requirement is to map all
standards sales order fields and need to add 4 customize fields Plug in Date(DATS) , Plugin
Time(TIMS) , Plug out Date(DATS), Plug out time (TIMS) which are added at line item level by creating
extra tab Additional data B.
Repeat all steps for BAPI Extension used in Create Customer Quotation as above.
The same steps for extending sales order, can be done as we have done it for create quotation
BAPI.