cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Sales Order Output trigger after Overall status is Complete

Former Member
0 Kudos

Hello Friends,

We have a requirement where in , we want to trigger the Sales Order Ouput once the overall status is completed.

Basically , the print program should trigger only when Overall status of Sales Order is Complete.

Can anyone suggest any way to achieve this requirement ?

Thanks in advance.

Julie.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi ,

Create the Routine in VOFM with the code VBUK-GBSTK=C, this will check for the Sales order status as complete or not.

And assign this Routine to the Output determination procedure against the Output type.

Now create the sales order and check whether the output triggered automatically once the Sales order status is completed

thanks,

santosh

Former Member
0 Kudos

Hi,

For this we have to go for ABAP development/a "Z" program.

This program/conditions will be maintained at the smart form level.

This has to be triggered only when the over all status is complete.

This thing we have to check in table "VBUK".

Pass your order number into "VBELN" and check for the field "GBSTK".If it is "C" then only it should be triggered.

We have to write a small line before this triggering program or condition is to be maintained in smart form if you are using it.Contact your ABAPer.

Regards,

Krishna.

ajitsingh6
Active Contributor
0 Kudos

Dear

Need to take help of ur ABAP Consultant as he will make a programme with Z and you will ned to let him know about ur exact need.

Regards

Ajit

Former Member
0 Kudos

HI there,

In the requirement routine for that O/p type, put a condition to check i teh status is CLS. If yes, then it will trigger the O/p.

Regards,

Sivanand