on 11-11-2013 12:23 PM
Dear Experts,
I have a scenario where in I am creating the sale orders through " BAPI_SALESORDER_CREATEFROMDAT2 ". when I am Billing the sales order, Invoice is getting generated but Accounting document is not generating.
When I open the sales order in change mode and manually save the sales order and do the billing system is generating the billing document and accounting document is also getting generated automatically in the background.
When I debugged for the problem, xvbrk-rfbsk is " blank " for the auto created sales order for which I am carrying out the billing activity. Where as xvbrk-rfbsk = "C " for the sales order for which I am manually saving the sales order in change mode.
I Request experts to please help me in fixing the problem as the system will be creating more than 2000 sales orders on daily basis and I cannot manually visit each and every sales orders and save it.
I checked the forum but could not find any relevant discussions, but any how found something nearer to my requirement in this thread http://scn.sap.com/message/14451486
Thanks in Advance,
Regards,
Saher Mohammed.
Hi MD,
kindly highlight the Biz process.
Like 1 SO>>1 Del>>1 Billing or doing the collective run.
If it is 1 to 1 scenario then field xvbrk-rfbsk must be "C ".
And if it is collective run then delivery GM status has to updated to "C".
kindly correct your BAPI program accordingly.
regards
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Vikram,
It is a Sales Order to Billing Scenario and the billing is collective billing using transaction Code: VF04.
But my problem is be it single order to bill or multiple sales order to bill, I have to manually go and save the sale orders then only accounting document is getting generated. Otherwise it is throwing an error with message number VF050.
If at all I want to enhance, what is the correct spot.
Thanks,
Saher Mohammed.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.