Application Development and Automation 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: 
Read only

CALL FUNCTION 'BAPI_QUOTATION_CREATEFROMDATA2'

Former Member
0 Likes
888

Hi,

when I am using this function CALL FUNCTION 'BAPI_QUOTATION_CREATEFROMDATA2', this is giving error message that insufficient parameters.

Can I get some sample code where this function is used with necessary data.

Please suggest me how to solve this...

thanking you............

krishna

1 REPLY 1
Read only

Former Member
0 Likes
319

Hi

Please try passing the values as below and check if it works for you.

QUOTATION_HEADER_IN & QUOTATION_HEADER_INX:
   Document Type
   Sales Organization
   Distribution Channel
   Division
   Requested Delivery Date

QUOTATION_ITEMS & QUOTATION_ITEMSX
   Material
   Target Qty

QUOTATION_PARTNERS
   Partner Role - Sold To Party
   Partner Number - Customer Number

QUOTATION_SCHEDULES_IN & QUOTATION_SCHEDULES_INX
   Requested Delivery Date
   Requested Quantity

I guess above parameters should be enough to create a quotation, can improvise from here basing on your requirement.

Hope the above info helps you.

Kind Regards

Eswar