cancel
Showing results for 
Search instead for 
Did you mean: 

How to close old sales order which are open due to wrong schedule line configuration

Former Member
0 Kudos

One of the schedule line which has delivery relevance indicator marked was used in credit memo request and debit memo request process. Which has resulted in sales order being processed status though complete billing has been done .

Now as part of future solution , new schedule line would be created without delivery relevance , but how do we fix the old document which are already billed and still in "Being processed (Status - B) " . Do we have any standard SAP report or program to correct these documents to mark it for completion ?

Former Member

Hi ,

Adding a rejection code or deleting line item is not possible as billing is already completed for those line items. When tried for both the options it did not gave desired results ( marking item as completed).

Jelena
Active Contributor

OP clearly said billing is already done. How could item deletion or reason for rejection possibly work in such situation?

Accepted Solutions (0)

Answers (2)

Answers (2)

Lakshmipathi
Active Contributor
One of the schedule line which has delivery relevance indicator marked was used in credit memo request and debit memo request process. 

You have not indicated clearly whether billing document was generated or not. Also, do you mean to say, for the same line item, both debit memo request and credit memo request were generated? Literally confusing statement !!!!

Also on your query,

but how do we fix the old document which are already billed and still in "Being processed (Status - B) 

before giving suggestion to your above query, did you check whether that line item is in editable mode or non-editable mode? Surprised that you could not find the standard report SDVBUK00 through which you can change the status

Jelena
Active Contributor
0 Kudos

OP said "complete billing has been done". Otherwise I guess simple rejection reason would've worked.

Yep, that's the report I was thinking of, thanks!

Former Member
0 Kudos

Hi ,

Same schedule line category "XX" is used in both credit memo and debit memo process .

Once complete billing is done , order status is still in "B " status . We checked out the standard report "SDVBUK00" but it is not updating the status of the order to "C" even if we run the report post configuration corrections. So was looking for any standard program or report where schedule line configuration is changed and historical document status would be updated based on current configurations.

Jelena
Active Contributor
0 Kudos

If overall status is B then there are other statuses that are also open (A or B). Have you checked what those are?

SDVBUK00 is the report that re-determines status and updates it. If it doesn't work for you then I can only guess there might be more to it than you're telling us.

Not sure SCN members could offer any more information here. Do more research in your system, look again in the SAP notes and contact SAP support, if necessary.

Jelena
Active Contributor

Have you tried search? I'm pretty sure similar question has already been asked on SCN before.

Check if there is some status correction report in SAP notes. In the worst case, you could just write a custom program to fix the status. Because it just wasn't configured correctly, I doubt any standard transaction will work. You simply need to correct the status (VBUK/VBUP).

Former Member
0 Kudos

Hi ,

I could not find any OSS note pertaining to this situation . Custom code is last resort and wanted to know if there are any standard program to correct this issue.