‎2007 May 09 11:23 PM
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
‎2007 May 09 11:25 PM
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
‎2007 May 09 11:25 PM
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
‎2007 May 09 11:32 PM