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

WWI: Condition output is not working properly

Dear all,

I have an issue in the below WWI code. Here I am using the STACK module as a Flag to use it later for checking the existence of BR01.

The strange behavior, I noticed here in this code is that

* If the condition satisfies (i.e. 02EHS_SNVKO = BR01"), then output is --> "TEST - POSITIVE for BR01" and it executes the code "<01GESTRSUBID(M:C14N_SYMBOL_STACK_PUSH> " -- This is fine

* If the condition not satisfied, then output is --> "TEST - NEGATIVE for BR01" and it is ALSO EXECUTING the code "<01GESTRSUBID(M:C14N_SYMBOL_STACK_PUSH> " -- This is not fine. It should not execute this module code

So for both the condition, STACK flag is ON. This is an issue.

***************

Important information is that, it works fine in "Report from Template", but issue is only in "Create Template"


***************

Any idea, what could be the problem in this code ? Please advise your expert opinion.

Thanking you !

Kind Regards,

Prem Karthick

WWI code.png (5.7 kB)
Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Posted on Jan 20, 2016 at 09:09 PM

    Dear Prem

    please explain:

    Should "but issue is only in "Create Template"" not read "but issue is only in "Create Report"?

    The SAP system reaction must be the same using"create report from template" or "create report".

    I am not sure about your nesting. I have the feeling: you should not start with starting the "stack new" outside the "if" condition. If the "false" is correct you do not need the stack (but honestly: I never used

    the "stack" one; anything needed was done using other WWI options.

    May be check:

    Standard WWI processing methods (WWI)

    The "stack" topic is not discussed often here

    C.B.

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 28, 2016 at 06:34 AM

    Dear Prem

    ayn progress here? Could you solve the isse? If so: how did you achieve solution and can you share solution here?

    C.B.

    Add comment
    10|10000 characters needed characters exceeded