Skip to Content
avatar image
Former Member

BEx Variables Problem

Hello,

I want to process a customer exit variable wherein I can call both I_step =1 and I_step2 .

In istep1,i will set default values for the variable and in istep2 I will derive the value from another variables input.

Problem is when I run the Query,it only takes the default value set by istep 1. Istep2 is not being executed at all.

I have tried writing both isteps in different cases in CMOD but no change.

My Variables is Not ready for input and Customer exit.

Any Suggestions on this. Need a workaround urgently.

Regards,

Aditya

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 17, 2017 at 04:54 AM

    Hi,
    I'm not sure it's been a long time since I've been using queries.
    But I would say i_step 1 is not necessary for a not Input ready variable. A Default value is not needed because the variable is nevere be shown to the user.
    So you can do everthing in the i_step 2.
    May be the variable handling skip i_step 2 if the variable already been handeld in i_step 1?
    But I'm not 100% sure. Try to handle the variable only in i_step 2.
    If you sure the variable is set to not-Input-ready and part of the query and would not be handled in i_step 2 it's sounds like an error.
    In that case I would open an incident.
    Torsten

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for the reply torsten.

      The variable is not ready for Input but we want both i.e a default value when query selections appear and then a dynamic value when a query runs.

      So to achieve this, we wrote istep1 for default value and istep2 for dynamic value.

      The problem is we are using this variable for currency translation in Planning Function in Integrated planning. So unless we give a default value to this Variable, it throws an error saying Variable has to be restricted to Single Value.

      But our code in cmod,executes istep1 only.

      Is it that only one istep is executed for a variable?

  • Sep 18, 2017 at 12:24 AM

    Hi,

    Can you please post here your code so we can check if there is any code issue?

    Regards,

    Loed

    Add comment
    10|10000 characters needed characters exceeded