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: 

Is there any relation between vofm output control routine and output type in nace?

Former Member
0 Kudos

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..

8 REPLIES 8

Former Member
0 Kudos

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

0 Kudos

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?

0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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

Former Member
0 Kudos

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

manuelhildemaro_ramossanc
Active Participant
0 Kudos

Hi Vishal,

Did you check if routine is active ? Did you run the report RV80HGEN ?

Regards,

Manuel H.