06-07-2012 9:20 AM
I have a requirement routine in which i check a condition and set sy-subrc accordingly.
Is there any way by which i can call my subroutine which is attached to the output type in nace based on sy-subrc value?
I don't want to write any explicit statment in my output control routine to call my subroutine..
06-07-2012 2:10 PM
sorry I couldn't understand your question.
if your question is to trigger the output based on the requirement routine,
you can attach the req routine in NACE -> Application -> procedures -> select your output determination procedure -> control.
there you can place your req routine to the condition type.
Regards,
Venkat
06-07-2012 2:43 PM
Hi venkat,
I have done that but my subroutine(FORM) attached to the output type is not getting triggered after my requirement routine is triggered.
Do you have any idea why my FORM is not getting triggered?
06-07-2012 2:48 PM
Hi venkat,
I just checked actually the problem is my FORM is not getting called even when i remove the requirement routine attached to it.
Do you have any idea why my output type is not getting called when i do picking of outbound delivery and save it in vl02n ?
Regards,
Vishal
06-07-2012 2:53 PM
Hi Visha,
Check if you have maintained the condition record for the access sequence attached to the output type.
If not, mainatin the same.
Regards,
Venkat
06-07-2012 2:15 PM
Hi,
There is no relation between VOFM routines and Output types. VOFM routines will work Document creation or Updation. After completing create or Update then Output type will be created. Same condition which have used in routines, you can use externally by driver programs.
06-07-2012 2:26 PM
Hi Ravi,
In VOFM we can create our own requirement routine for output control.
VOFM - > Requirements -> output control.
The routine created in VOFM will be used in the NACE output config requirements .
VOFM is not used just for creation/updation documents its more than that.
Regards,
Venkat
06-07-2012 2:48 PM
Hi venkat,
I just checked actually the problem is my FORM is not getting called even when i remove the requirement routine attached to it.
Do you have any idea why my output type is not getting called when i do picking of outbound delivery and save it in vl02n ?
Regards,
Vishal
06-07-2012 4:00 PM
Hi Vishal,
Did you check if routine is active ? Did you run the report RV80HGEN ?
Regards,
Manuel H.