cancel
Showing results for 
Search instead for 
Did you mean: 

Anything missed to set the contract status to Complete?

former_member674271
Contributor
0 Kudos

Dear SAP gurus,

I'm new to SD module. I created a sales order with fully referenced to a contract, i.e. sales qty is the same to contract qty. I checked the completion rule of the contract item category is "C - Item is completed after the target qty is fully referenced". Doesn't it means once the contract was fully referenced, the contract status will be complete? And I even made all the subsequent documents for the sales order like delivery order, picking, packing, post goods issue, billing and payment, but the overall status of contract status is still "Being processed" with delivery status "Not delivered" and reference status "Fully referenced". Anything I missed to set the contract complete please?

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

gilmarluiz_puntel
Active Participant
0 Kudos

Hi Walter!

Did you try to check the customizing 'Copying Control: Sales Document to Sales Document'?

By the customizing, you need to check the field Update document flow.

Look at the field documentation:

Completion rule for quotation / contract:

Dependencies

If you want the system to apply the completion rule, you must first select the Update document flow field in document flow control in SD Customizing using the following menu path: Sales and Distribution --> Sales --> Maintain copy control for sales documents --> Copy control: Sales document to sales document (at item level).

Try and tell us if its working fine.

Really hope that this solve your problem.

Regards.

Former Member
0 Kudos

Hi Walter,

If the completion rules for contract in config looks fine. Then check your user-exits.

I faced same issue. In all the contracts, only 1% contracts not updating document flow and status properly. Then I debug the user exits, we are adding values to cvbap internal table for contracts. After creating contract we are not clearing. If the user in same session creating orders either bapi or manually then document flow and status is not updating in reference document(contract). After creating contract, I am clearing cvbap our issue is resloved.

Always reference document status depends on the document flow. You can execute SDVBUK00 is program to update reference documents status.

When creating order, debug below program to analyse the issue

VBFA_FUELLEN --->Here VBFA-plmin(document flow) value assigned based on comlletion rules.

RV_XVBFA_MAINTAIN--doc. flow

RV_XVBUP_MAINTAIN---> reference document satus update

Answers (1)

Answers (1)

former_member183879
Active Contributor
0 Kudos

Hi Walter,

You can also check the completion rule and status for the sales order. May be there is something missing in the sales order for the completion rule and the delivery status. Because of that the status is not Complete in contract. Otherwise the configuration you have done is complete in all aspects. Please check the status of the documents in the transaction chain.

Ensure that you are checking for all the items, and not just the header details.

former_member674271
Contributor
0 Kudos

Dear SNavaneetha Krishnan,

I checked the status of contract and sales order as below:

Contract:

Quantiy: 6 PCS

Completion rule for item category: "Item is completed after the target qty is fully referenced"

header: overall status "Being processed", reference status "Fully referenced", delivery status "Not delivered"

item: overall status "Being processed", reference status "Fully referenced", delivery status "Not delivered"

Sales order:

Quantity: 6 PCS

Completion rule for item category: "Not relevant for completion"

header: overall status "Completed", delivery status "Fully delivered"

item: overall status "Completed", delivery status "Fully delivered"

former_member674271
Contributor
0 Kudos

Could anybody experienced before advice please?