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

problem in Billing document posting

Former Member
0 Likes
478

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...

2 REPLIES 2
Read only

Former Member
0 Likes
412

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***********

Read only

0 Likes
412

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.