Repair Wrong Sales Quotation Status

How to repair wrong quotation status?

One of our user reported an issue with their sales quotation stating that the open status was incorrect. 

A quick check on the quotation document provided by user proved that they were right.

Next, a search for OSS notes helps to find this notes to repair the status.

Note 67742 - SD: Document status and incompletion

Symptom: 

For some reason, such as subsequent changes in Customizing, the status, document flow or incompletion log of existing SD documents do not match.

Solution:

Report SDVBUK00, which is attached to this note, updates the document status, document flow and the statuses for the incompletion log according to the currently valid status. Use Transaction SE38 to start the program, enter the required document numbers and remove the 'Test run without update' flag so that changes are saved in the database.

Caution: SDVBUK00 is supposed to be used for the correction of individual documents only (and must not be regularly planned for the batch)!!!!

Repairs Steps:

After executing the program SDVBUK00, I notice you can only execute it by the Sales Quotation number only.

So, I make used of VA25N and list out the open sales quotation by specific parameters.

VA25N - List of Quotations

Then copy and paste the list of Sales Quotation into program SDVBUK00 and then run it by about 1000 records at a time.  As I do not know which records the status was wrong, so it makes sense to execute all the open Sales Quotation for repairs.

That is it.  After the user recheck their open Sales Quotations and was satisfied, ticket was closed.
 

Further Quotation Questions

What is the outbound process code for quotation?

Tcode - WE64 here you can find all the process codes, message type and function module assigned to that process code.

Process code for Quotation - SD12

Check the Process Code ME12 for Outbound (Quotation)

Else Check T.Code : WE41 for Outbound Process codes.
 

What are the tcodes for quotation?

Quotation tcodes are:

VA21 Create Quotation

VA22 Change Quotation

VA23 Display Quotation

VA25 Quotations List

VA26 Collective Processing for Quotations
 

Which table I can get Quotation data?

T code : SE16 -> enter VBAK or VBAP table > Enter AUART field with sales document type.

Sales document type could be your IN/QT/OR/CS/RO.

VBAK - Sales document header table

VBAP - Sales document item table

VBEP - Sales document schedule line table

LIKP - Delivery document

LIPS - Delivery document item table

VBRK - Billing document header table

VBRP - Billing document item table

VBUP - Document item status table.

SAP SD Tips

See Also
Set Default Text While Creating Sales Quotation

Get help for your SAP SD problems
SAP SD Forums - Do you have a SAP SD Question?

SAP Sales and Distribution Books
SAP SD Books  - Certification, Interview Questions and Configuration

Delivery Hints
SAP Logistics Execution

SAP Sales and Distribution Tips
SAP SD Discussion Forum and Sales/Distribution Tips

Main Index
SAP ERP Modules, Basis, ABAP and Other IMG Stuff

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.