Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC trigger during Post good issue

Former Member
0 Kudos

Hi All,

We need to retrict output type to trigger that is responsible for idoc trigger during PGI . In our scenerio when picking quantity is zero in delivery and then if we do PGI then idoc should not be trigger. If picking quantity is not zero then idoc shoudl trigger during PGI.

Could you please sugest how can i restrict my output type to trigger if picking quanity is zero during PGI.

Thanks

Mohit Khandelwal

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Use the Requirement routine in VOFM (Menu Option : Requirements -> Output Control). Assign this output routine to the output type in transaction code NACE (NACE -> Select application V2 -> Click on Procedure button -> Select the Output Procedure ->

Click on control -> Against the output type enter the requirement routine number created in VOFM).

To stop the Output type from executing pass sy-subrc = 4 in the routine. Refer to requirement routine 35 which is similar to your requirement.

Regards

Vinod

Edited by: Vinod Kumar on Jun 9, 2010 12:49 PM

3 REPLIES 3

Former Member
0 Kudos

Hi,

Use the Requirement routine in VOFM (Menu Option : Requirements -> Output Control). Assign this output routine to the output type in transaction code NACE (NACE -> Select application V2 -> Click on Procedure button -> Select the Output Procedure ->

Click on control -> Against the output type enter the requirement routine number created in VOFM).

To stop the Output type from executing pass sy-subrc = 4 in the routine. Refer to requirement routine 35 which is similar to your requirement.

Regards

Vinod

Edited by: Vinod Kumar on Jun 9, 2010 12:49 PM

0 Kudos

Hi Vinod,

Thanks for your help. Actually my client also want to retrict output type to trigger when sum of delivery quantity is zero.

Could you please sugest any rouitne.

Thanks

Mohit Khandelwal

0 Kudos

Hi,

There is no standard routine available for this requirement. You can refer to the routine mentioned in my earlier post to create a new routine and assign to the output type.

Regards

Vinod