‎2007 Feb 21 5:59 AM
Hi All,
My requirement is to update the Quotations using BAPI,
i found one BAPI "BAPI_QUOTATION_CREATEFROMDATA2" to update the Quotations, but my problem is i have to update some Zfields at both Header level and Item Level, how i have to update these fields, can i copy this BAPI to ZBAPI or can i use EXTENSIONIN tables option, if i use this one please let me know how to fill this tab for both Header level and Item level?
thanks in Advance
Thanks & regards,
Sreedhar
‎2007 Feb 21 6:07 AM
Hi,
You need to use the EXTENSIONIN structure to extend the BAPI, You need to add the same z fields to this structure which you have in the Transactions. we have a good documentaion about this BAPI extension with an example, just see the documentation, you will get how to extend this one ..
http://help.sap.com/saphelp_nw04/helpdata/en/c3/40999d8b8911d396b70004ac96334b/content.htm
Regards
Sudheer
‎2007 Feb 21 6:22 AM
Hi,
There is a field called STRUCTURE in EXTENSIONIN
Pass the name of the STructure(HEADER or ITEM) to this field and pass the corresponding values to VALUEPART1,2,34 etc and append the records.
The exact posting should be done by a BADI Implementation. you have to search using the Keyword CL_EXITHANDLER in SAPMV45A program to know the correct BADI name.
Hope this helps.
Regards,
Anji
‎2007 Feb 21 7:12 AM
Hi Anji,
BADI is required to implement the Extension logic? i found the BADI but what i have to do in this BADI, since i dont have any IDEA on BADI