Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Variant configuration for Quotation

gunjan_singh
Explorer
0 Kudos

Hello Experts,

I am facing one issue while creating quotation from the program. The configuration of the quotation coming based on the some Full model number(field) popup( Custom popup ). while creating from the VA21, i get the characteristics and everything is working fine. but if i am creating quotation from program, i am not getting the configuration data. If i created the quotation through the VA21 tcode then the CUOBJ field get generated, but if i created through the program i am unable to generate the CUOBJ. i have debug the standard program, but the value of CUOBJ is coming different and it is different when it is getting stored in the table. i have call the BAPI "BAPI_QUOTATION_CREATEFROMDATA2". But i don't understand how to get the characteristics value in the variant configuration and how to pass the characteristics values in the BAPI.

Please help, it's urgent... Thank You..

3 REPLIES 3

raymond_giuseppi
Active Contributor

Read first some reference notes like 1417214 - BAPI SD as of Rel. ERP 605 (500): New functions for pricing (or 593246 - BAPI SD as of Rel.4.7: New functions for pricing for older versions) Feel free to read also reference notes provided in those notes (like difference between BAPI and dialog processing) and to use search tool for previous posts with the same requirement (you should find some references to FM VC_I_GET_CONFIGURATION and parameters QUOTATION_CFGS*)

0 Kudos

Hello Raymond,

I am using BAPI_QUOTATION_CREATEFORMATDATA2 for quotation creations. what table or what value i should pass in this bapi for configuration table?

Whenever you add any post, please do so under Comment and not under Answer, as you were not answering but only providing additional informations as required by the member. Meanwhile, I have converted your above post from Answer to Comment