cancel
Showing results for 
Search instead for 
Did you mean: 

Output Type to be processed only after certain condition..

sandymohan_1551
Explorer
0 Kudos
225

I have an output type configured from PO and from allocation STO.

When I create PO, the output is triggered. (I have scheduled a batch job to process the output type every 2 hours)

After allocation when my STO is created the output type is triggered and processed immediately.

Now, when my PO output is processed before the allocation STO it fails (which is correct)

But I want my PO output to stay in "yellow" untill my STO output is processed.

Accepted Solutions (0)

Answers (2)

Answers (2)

DominikTylczyn
Active Contributor

Hello sandymohan.1551

One solution is to modify the output processing program for POs. Frist it should check if the corresponding STO output is processed yet. If so, PO output processing can continue. Otherwise, PO output processing should return status 3, meaning that the output is not processed yet, i.e. yellow status.

Best regards

Dominik Tylczynski

sandymohan_1551
Explorer
0 Kudos

Thanks Dominik.

I will check with my ABAPer on this.

Neeraj_Jain
Active Contributor

Hello sandymohan.1551,

Functionally this functionality not feasible.

Please connect with your ABAP Consultant to check the feasibility of an enhancement on it. In the enhancement you can try that when the PO is created the allocation STO is created immediately to overcome this issue.

Regards,

Neeraj Jain

sandymohan_1551
Explorer
0 Kudos

Thanks for your response.

The business does not create STO immediately after PO creation.

Hence, I require to stop my output type processing until my STO output is processed.