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

Quotation line item creation

Former Member
0 Likes
1,807

Hi,

I am trying to add new line item in quotation using BAPI_CUSTOMERQUOTATION_CHANGE in SE37 tcode.

i am passing quote number, line item update flag as I, item number 30, material number, quantity, and set the check boxes for these 3 fields as X in item check box table.

i did not get any error messages but it does not create any new line item.

i believe i am missing some key fields to insert in those tables.

can any one tell me which fields must pass to BAPI to create quotation or change quotaion?

Giri

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
1,522

u need to call bapi_transaction_cmmit after calling ur qutation bapi.. which is possible in a program...

Hi,

I am trying to add new line item in quotation using BAPI_CUSTOMERQUOTATION_CHANGE in SE37 tcode.

i am passing quote number, line item update flag as I, item number 30, material number, quantity, and set the check boxes for these 3 fields as X in item check box table.

i did not get any error messages but it does not create any new line item.

i believe i am missing some key fields to insert in those tables.

can any one tell me which fields must pass to BAPI to create quotation or change quotaion?

Giri

7 REPLIES 7
Read only

amit_khare
Active Contributor
0 Likes
1,522

You will not able to update table by excuting the BAPI from SE37. Write a report and execute it.

Regards,

Amit

Read only

former_member156446
Active Contributor
0 Likes
1,523

u need to call bapi_transaction_cmmit after calling ur qutation bapi.. which is possible in a program...

Read only

0 Likes
1,522

is there any BAPI to get quotation details available?

i did not find any... is there FM's available for this?

Read only

0 Likes
1,522

It is not really necessary to create a report for this. You can create a test sequence of function modules. First call you BAPI next, call BAPI_TRANSACTION_COMMIT.

Read only

0 Likes
1,522

Use this one -

BAPI_QUOTATION_GETDETAILBOS

Just pass the sales document number to it.

Regards,

Amit

Read only

0 Likes
1,522

HI Giri,

check BAPISDORDER_GETDETAILEDLIST

in import parameters provide 'X' for desired details like header, item,.........

in tables provide sales document number.

Regards

Syed

Read only

Former Member
0 Likes
1,522

hi this is correct as said by micky for this use the bapi..

BAPI_TRANSACTION_COMMIT it is sufficient..

regards,

venkat .