‎2006 Dec 15 11:59 AM
Hi Friends,
I am posting the biilicg doc in back ground using BAPI FM 'BAPI_ACC_DOCUMENT_POST' using FB01 transaction when release to accounting button pressed in VF02 transaction.
I am doing this in the USER-EXIT:EXIT_SAPLV60B_004.
my problem is it is posting the billing doc without release of billing doc to accounting,that means there are some errors occuring during release to acoount validations and they are happening after the USER-EXIT :EXIT_SAPLV60B_004.
so could you please suggest me friends how to stop the posting until there is no errors in validations ASAP.
thanks® regards
Sudha...
‎2006 Dec 15 2:33 PM
Hello,
Did you checked in your code
if VBRK-RFBSK ne space - this is Status for transfer to accounting. Let me know if u dont understand me?
*********Poorna***********
‎2006 Dec 18 6:41 AM
Thanks poorna,
i got the answer i am using 'BAPI_TRANSACTION_COMMIT' after i called the BAPI FM so i took it out that.
And your answer also i tried and it is working great.
thanks
sudha.