09-14-2005 2:48 AM
Hi all,
Having strange problem when attempting to use that BAPI. Online test through SE37 is OK, the order created but when I try to see it through VA03, system gives me error message 'SD Document 697 is not in the database or has been archived'.
Another anomaly is when trying to put the BAPI in my program with same contents, another error message coming : 'Sales document was not changed'.
Would you pls help me on these matter?
Many thanks ya
Alia
Alia.
09-14-2005 2:57 AM
u have to have to use commit work(ABAP4_COMMIT_WORK) after running this BAPI_SALESORDER_CREATEFROMDAT2 in se37
go to se37
from menu
function modules->test->test sequence
enter BAPI_SALESORDER_CREATEFROMDAT2 in 1st line and
ABAP4_COMMIT_WORK in 2nd line then execute & see the result
regards
gv
Message was edited by: Venkat
09-14-2005 2:57 AM
u have to have to use commit work(ABAP4_COMMIT_WORK) after running this BAPI_SALESORDER_CREATEFROMDAT2 in se37
go to se37
from menu
function modules->test->test sequence
enter BAPI_SALESORDER_CREATEFROMDAT2 in 1st line and
ABAP4_COMMIT_WORK in 2nd line then execute & see the result
regards
gv
Message was edited by: Venkat
09-14-2005 3:01 AM
Hi I did it, using BAPI_TRANSACTION_COMMIT after executing the BAPI CREATEFROMDAT2, but still cant display the order.
alia
09-14-2005 3:03 AM
did u do in this way
from menu...
function modules->test->test sequence
if u execute in separate window it will not work..
or
did u switch-on the test flag...TESTRUN in import parameters
regards
gv
Message was edited by: Venkat
09-14-2005 3:12 AM
Hello Venkat.
I did your instruction, but still cant see the order.
Alia
09-14-2005 3:15 AM
Hi Venkat.
Im sorry, my mistake, forgot one step to go back and run the second step. Now I can see the order.
Huge thanks ya.
Alia