Skip to Content
author's profile photo Former Member
Former Member

VF04 & Ouput Control Routine

Hi All,

I have a output control routine for Billing. This routine is assigned to Z output type.

Business scenario:

1) Allow output for billing docs when the preceding doc sales order reason is "118:New Contract" .

The routine works fine for VF01 & VF02.

The same routine does not work for VF04. I checked from debug and the validation is working fine.

*Based on the validation i have SY-SUBRC = 0 (success) or SY-SUBRC = 4(failure).

Still the output is not being triggered.*

Appreciate if anyone has come up with this scenario and how it was handled.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 30, 2010 at 06:16 PM

    Check the output determination log (available in VF03) for the documents in question.

    Also post the code that you have in the output requirement routine. Once I saw someone using STATIC variables and memory, which was not cleaned up in the batch run (such as VF04), so it caused unexpected results.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.