06-09-2010 8:11 AM
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
06-09-2010 8:18 AM
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
06-09-2010 8:18 AM
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
06-10-2010 5:24 AM
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
06-10-2010 5:50 AM
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