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

urgent about bapi_quotation_cretefromdata

Former Member
0 Likes
456

Hi Abap Guru,

I have created program to create quotation using bapi function module

bapi_quotation_createfromdata.

its working fine but after that in the same program i want to display

customer number,quote number,material,quote price .

I have written query to get this value from table vbak,vbap and konv according to

document value i am getting from bapi.

BUT when i put this code into my bapi program i am not getting any data.

but this query independenly works fine.

if i put breakpoint before this query then it will work fine .but i exceute without breakpoint then it is not working.

I think it is something with database update....

please help me out

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
429

Hi,

1)

After the BAPI call give COMMIT WORK AND WAIT..

OR

Call the FM BAPI_TRANSACTION_COMMIT by passing WAIT = 'X'

2)

Then do the select..

Thanks,

Naren

2 REPLIES 2
Read only

Former Member
0 Likes
430

Hi,

1)

After the BAPI call give COMMIT WORK AND WAIT..

OR

Call the FM BAPI_TRANSACTION_COMMIT by passing WAIT = 'X'

2)

Then do the select..

Thanks,

Naren

Read only

Former Member
0 Likes
429

Thanks for your reply,,,,

my problem is solved...