Problem in the variable customer exit in the query jump target

Hi developers,
we have problem because we have created a variable time on 0CALDAY who is mapped in the cube of the stock with posting date.We launch the query for example with range 01/8/2005 31/8/2005 and the resul is OK.
Then we jump on the other query where the users wish see the result of the posting date for the period 01/8/2005 31/8/2005 For resolved this problem we have created a variable customer exit for the characteristic 0Postingdate and have inserted the code in user exit variable:
WHEN 'ZV_CEREG'.
    IF i_step = 2.
      LOOP AT i_t_var_range INTO loc_var_range
             WHERE vnam = 'Z_DAT_AN'.
        CLEAR l_s_range.
        CLEAR datastock.
        l_s_range-low  = loc_var_range-low.
        l_s_range-high = loc_var_range-high.
        l_s_range-sign = loc_var_range-sign.
        l_s_range-opt  = loc_var_range-opt.
        APPEND l_s_range TO e_t_range.
        EXIT.
      ENDLOOP.
    ENDIF.
When we effectued the jump the our objective is transfer the date inserted by user in the variable  of the query sender 'Z_DAT_AN' to the variable of the query receveir 'ZV_CEREG'.
This step it does not work correctly, this why are different query?
You can help me for resolved this problem!!
Thanks Domenico

Hi,
I think, this approach does not work. Because customer exit will be finished before displaying the result set of 1st report. So the assignment to VAR2 from VAR1 does not execute then after.
I hope, In RSBBS,after assigning receiver, in the assignment details,select 'Variable' for 'Type' of 'infoobject' 0calday.And select '0Postingdate' for 'fieldname' and select 'selection options' for selection type.
Take help.sap.com help for further information.
With rgds,
Anil Kumar Sharma. P
Message was edited by: Anil Kumar Sharma

Similar Messages

  • How to debug i_step=0 Bex Variable (Customer Exit)

    Hi all,
    can anyone please help me regarding following problem:
    I have a variable (customer exit) in a query. This is for hierarchy authorization.
    This variable is mentioned in my analysis authorization (Infoobject 0COSTCENTER).
    Now i want to debug the coding when execute the query in TA RSRT.
    But when i set a break-point. The i_step starts with 1. I want to debug
    the coding when the i_step is 0 !!!! Any idea?
    Best regards,
    Frank

    Here a break solution:
    only for develop system-
    you can set this code at start of the include:
    DATA: flag TYPE c.
    WHILE flag IS INITIAL.
    ENDWHILE.
    let start the query, then go to SM50 and take in debugging the process in loop. (Programe/mode-program-debugging).
    Pay attention leave the code immediately after that.

  • RSBBS - create a variable customer exit based on initial selection

    Dear all,
    I am using RSBBS (RRI) to jump from one query specific cell to another query. The destination query gets the parameters from the selected cell. In order to achieve this, the only thing we have done was to insert the relevant characteristics as Free Characteristics on the destination query (no variables were required).
    Now, I need to add a new variable on my destination query. This variable should be a customer exist based on one of the paramenters that the destination query gets from the original query. How do I get this value to use it in the variable customer exit???
    Thanks in advance

    Thanks for your reply,
    I got it in a different but not tottally different way from wthat you suggested.
    I have created a variable () (ready for imput) for my characteristic. However, on transaction RSBBS, when defining the target query, I went to "Assigment Details" option and for my characteristic, I have changed the type form "generically" to "variable" and choosed the field name of the variable ().
    In this way the target report gets the original report definition for this characteristic as a variable that I can then use on my costumer exit.
    I have tryed and worked...brilliant!

  • How to get the offset value in the Bex customer exit?

    Hello Friends,
    I have defined an offset on a variable in the query definition.
    I wish to capture this offset value  in the Bex variable customer exit .
    Does anyone how to get this??
    Thanks,
    Gautam

    I dont think you can capture the offset applied value in a exit as the value is dependent on the variable itself and nothing to capture the result after the offset has been applied.
    why dont you capture the variable value itself and apply the logic to do an offset in the customer exit?

  • Facing problem in integrating my custom jsp with the workflow engine

    Hi,
    I am using Jdeveloper 11.1.1.6.0 for BPM 11g implementation on my Application.I have Weblogic Server 10.3 Installed and configured the domain. Also the server is up and running.
    I am trying to create workflow and wants to integrate it with my custom jsp but i am facing problem in integrating my custom jsp with the workflow engine.Can you please answer the following questions:
    1)how to link BPM human task with my custom jsp (Requester jsp).
    2)how my custom jsp data(Requester data) will be stored in workflow engine and how the same data will be visible to the next custom jsp(Reviewer jsp).
    This is urgent .Any early reply will be great help.
    Thanks in advance.
    Edited by: 990133 on Mar 24, 2013 5:31 AM

    you forgot to add the usage dependency in the DC metadata section in your DC, you have to add the XSS~utils and fpm as a used DC's as part of your DC, try to add those, if you already done that, so check where missed the adding of used webdynpro components in any of the VAC's or FC's,
    Cheer,
    Appa

  • Function module / way to know Activated customer exits in the system

    Dear all,
    How to know Function module / way to know Activated customer exits in the system.
    Regards,
    Purshoth

    Hi Purshoth, There is a table MODATTR In which you will get all the Customer Exits where Status = 'A'.
    for enhancements You can refer to table ENHHEADER table with version A and EnhName = z* or the name space which you use.
    Thank You,
    Regards,
    Swaroop Patri

  • Custom taglib access the variable of jsp in the tag class

    Hi guys:
    I have a question about taglib.the scenario below
    there are a set of tag,they all need to access a variable that declare in the jsp.yes ,I can use the approach like this,
    first I declare a variable
    <%!String variable="test";%>
    then pass the value
    <myTag:hello att="<%=variable%>"/>,but I think that's stupid,because all tags access the same variable.why not get the variable in tag class?
    for example
    public int doStartTag() {
    String variable=;//get the variable at here
    I mean,I want to get the variable's value in my tag class directly without passing parameter in the jsp via attribute of tag ?
    can I do like this?if yes,how can I?
    thanks advance!

    Hi,
    Review pageContext, TagSupport from the JSP and Tag Extensions API. You can put the variable into any of the four scopes and retrieve it using the pageContext object.

  • Text Variable(Customer Exit) displays variable name instead of its value.

    Hi Gurus,
    My requirement is to display the year(from variable) as the field name i.e Year end salary 2009.
    I was using the fields name as hardcoded values like 2009 but as per my requirement i need to display it from the variable.
    I tried using Text Variable using customer exit, but I'm getting variable name(zvariable) instead of value(2009).
    Please help me out, many thanks in advance.
    Regards,
    Ankur

    Hi,
    Actually I tried to create a Text Variable with Replacement Path.
    But here the problem is that we have a Characteristic Variable (Customer Exit) which is not listing in the selection box of Replacement Path.
    Hence we tried to create another Text Variable (Customer Exit) and refering to the same Customer Exit code.
    Regards,
    Ankur

  • No Query Result After Using Hierarchy Node Variable (Customer Exit)

    Hi
    I have problem at my query. It doesn't show anything in BEx but when i check the data in BW using tcode LISTCUBE i can display the data.
    This problem happen when i change the restrictions for one of characteristic in filter value.
    The characteristic is custom Infoobject (ZCPARTNER), which like Infoobject Partner Unit.
    Previously I set the restriction with constant value, example : A500,A700,A710,A720,A730,A740 and it worked before.
    But when I change it using hierarchy node variable (customer exit), this problem is arise.
    Here is my code at ZXRSRU01
      WHEN 'ZHIEPART'. --> hierarchy node variable
       BREAK-POINT.
        IF i_step = 2.
        Read from ZZCONSGR information
          LOOP AT i_t_var_range INTO loc_var_range
             WHERE vnam = 'ZZCONSGR' OR vnam = 'ZOCONSGR'. --> read input value from consolidation group variable
            CLEAR l_s_range.
            CLEAR l_s_range-low.
            IF loc_var_range-low EQ '000000000000030000'
               OR loc_var_range-low EQ '000000000000010130'.
              l_s_range-low = 'MEZBUNITMDI'.
              l_s_range-high = '0HIER_NODE'.
            ELSEIF loc_var_range-low EQ '000000000000040000'
               OR loc_var_range-low EQ '000000000000010160'.
              l_s_range-low = 'MEZBUNITMPI'.
              l_s_range-high = '0HIER_NODE'.
            ENDIF.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
        ENDIF.
    Here the hierarchy in BW system:
    XXX Cons Unit Hierarchy Set; InfoObject ; Node Name
    - XXX Cons Unit Hierarchy Set; 0HIER_NODE; ZBUNITALL
      - XXX DownStream ... ; OHIER_NODE; MEZBUNITMDI
         - ME/A730; 0CS_UNIT; MEA730
         - ME/A740; 0CS_UNIT; MEA740
      - XXX Power ; OHIER_NODE; MEZBUNITMPI
        - ME A800 - A808; OHIER_NODE; MEZBUNITMPI
        - PT Mitra xxx; 0CS_UNIT;  MEA820
    Anyone can help my problem? Thank you
    Regards,
    Satria B Tandyono

    Hi Satria,
    Instead of following code ---
    CLEAR l_s_range-low.
    IF loc_var_range-low EQ '000000000000030000'
    OR loc_var_range-low EQ '000000000000010130'.
    l_s_range-low = 'MEZBUNITMDI'.
    l_s_range-high = '0HIER_NODE'.
    ELSEIF loc_var_range-low EQ '000000000000040000'
    OR loc_var_range-low EQ '000000000000010160'.
    l_s_range-low = 'MEZBUNITMPI'.
    l_s_range-high = '0HIER_NODE'.
    ENDIF.
    try this ---
    IF loc_var_range-low EQ '000000000000030000'
    OR loc_var_range-low EQ '000000000000010130'.
    l_s_range-low = 'MEZBUNITMDI'.
    ELSEIF loc_var_range-low EQ '000000000000040000'
    OR loc_var_range-low EQ '000000000000010160'.
    l_s_range-low = 'MEZBUNITMPI'.
    ENDIF.
    Note : whenver the option is EQ, the system takes only low value.

  • Do we write variable customer exits for virtual key figures in Bex?

    Hi all,
    Am I thinking the right here " We write variable customer exits in CMOD for virtual key figures in BEx " or am I totally wrong. If thats the case where do we write it.
    Thanks,
    JB

    Nevermind

  • I just want to share my experience or rather terrible experience with apple service.....I am soooo disappointed with the apple customer service at the local store in Tampa......every time they give u an appointment and make people wait for hours......ther

    I am soooo disappointed with the apple customer service at the local store in Tampa......every time they give u an appointment and make people wait for hours......there was some cosmetic problems with the screen of my Mac book pro....they replaced it but the computer would not turn on....and btw when I went to pick up my computer the representative handover my computer to another guy without checking his id who was there to pick up his phone.......then I had to take it back second time this time they messed up my iWork...I took it back but they couldn't retrieve my history of purchase of iWork...and then when I installed the iWork at home...none of the applications is working.... .I will have to take is back fourth time.....I loved apple products but may be not anymore.......

    Other than what Shotist007's remarks (which solves nothing) your experience is not common. First I would speak to the store manager to get things rectified for you. If that doesn't work out then I would contact AppleCare and speak to a customer service representative and complain via that venue.

  • How can i insert the variable value in MS ACCES Query

    i am creating one Query (query1) in MS ACCESS ( like we creaate Tables, Forms and Reports in MS ACCESS ) in this Query i have given 2 constent value in BETWEEN CLAUSE , after that i Created a CROSS QUERY which is based on the privious Query (query1).
    Now i want to insert the variable value using JSP and HTML in to Query(query1).
    Doing this i want to execute the Query (query1) with variable perameters and
    wants to get the risponce form CROSS QUERY.
    In this matter how can i insert the value in Query(query1) using JDBC and JSP.

    The query is
    Select ZMSGMAP.GROUP_CODE as 'group', ZMSDSTATE.STATE_DESC as 'state', ZMSTRN.YRMON, sum(ZMSTRN.CMAQTY) as 'qty' from ZMSDSTATE,ZMSGMAP,ZMSTRN Where ZMSTRN.STATE=ZMSDSTATE.STATE and ZMSTRN.PLANT=ZMSGMAP.PLANT_CODE and ZMSTRN.YRMON between "+p1+" and "+p2+" Group by ZMDGMAP.GROUP_CODE, ZMSDSTATE.STSTE_DESC, ZMSTRN.YRMONUsing this query i m trying to display the risult but the YRMON is displaying in a single column, i want to display it ia seperat columns. here p1 and p2 is YRMON(it is the yer month like 200102), for this solution i have created Cross table Query which is based on uper Query (query1) and design it column wise Display, it is givng the right display, but the problem is this i m not getting the technique throw which i can insert the variable values in to the query1 (which is designed in MS ACCESS).
    u can contact me on [email protected] for more details.

  • Exclude in variable customer exit

    Hello,
    Can you help me solve problem with exclude in variable customer exit? I have z-table with name of variable and values. Primary I need save multiple values with exclude. I was tried this code:
    if i_step eq 2.
    select * from zbwsd_01 into table i_t_var
         where vname = i_vnam.
    l_subrc = sy-subrc.
    else.
    l_subrc = 4.
    endif.
    if l_subrc = 0.
      loop at i_t_var.
        CLEAR L_S_RANGE.
        L_S_RANGE-LOW  = i_t_var-value.
        L_S_RANGE-SIGN = 'E'.
        L_S_RANGE-OPT  = 'EQ'.
        APPEND L_S_RANGE TO E_T_RANGE.
      endloop.
    else.
    I have NW2004s. Have you some idea?
    Thanks a lot
    Jiri

    Exclude is ok, if I use variable type Selection option. For type Multiple value this is not valid

  • BEx Variables - Customer Exit - Find Max and Min of two values

    Hi Experts, I have two ID's at any given time in my InfoProvider. I'm trying to create two user exit variable on this ID. One should return the max of the two and the other should return only available one (i.e. the Min). The variable should not prompt the user for any value. Any time the variable is used in the report. max should the max of the two ID's and the Min should show the lower of the two values.
    I would appreciate if somebody could provide the code that I can use.

    you could use below:
    Variable for Max
    SELECT MAX ( ID Field )
    FROM <Source>
    INTO <wa_id>.
    Variable for Min
    SELECT MIN ( ID Field )
    FROM <Source>
    INTO <wa_id>.

  • How to add customize message on the variable selection screen in the query

    Hi all,
    Can we add an customise message on the variable selection screen in the query? If yes please let me know how it can be achevied?
    Thanks,
    Rani

    Hi Rani,
    I faced a similar issue (for what I understand your request is).
    My requirement for the Variable Screen was to do:
       1) place a link to a ppt file
       2) remove buttons "Save", "Save As...), "Delete"... the standard buttons come when running the Query or WebTempl
    We were using a Web Templ for BI7.0
    I struggled trying to find out how to do it. My conclusions are:
    - WAD, not sure we can accomplish it using a Web Template but i did not "play" a lot with the Web_Template Properties in order to know
    - XHTML, I was told in my post HTML modification was the way, but I have close to nil background in HTML and couold not find the way of accessing the Variable Entry screen
    For instance, I had to remove similar buttons and change some font size from a link on the Web Template (WAD), which was pretty straight forward. In WAD the buttons come with its own icon and to increase the Font size for that link we used XHTML (<font size="2" >). But the heck of the variable screen...well, i just did not get trhough to it to modify it in any way.
    Good luck,
    Definetly in a Query I would say that no.
    alex
    PS: If anyone had a better insight, please feel free to share it.

Maybe you are looking for

  • Number of frames in the cockpit-

    Hellow everyone, I created 4 frames under a logic view in my cockpit, when presenting the cockpit   6 boxes of frames are presented ( 2 are empty ). Can I present only 4 frames under a logic view? Thanks

  • I just updated itunes and now itunes wont open

    i just updated itunes and now it wont open????

  • Tree control and drop target data

    Hi I can't seem to find an answer to my problem anywhere. Is it possible to read the data from the node over which an item is dragged and accept or reject a drop if for example the node data has attribute droppable? Attached is the ArrayCollection us

  • Organizational Unit Hierarchy

    Hello Team, I am working for a Banking project.I would like to know the hierarchy datasource for the 0ORGUNIT (Org Structur) maintained in the Transactional banking system. I am using the copy of the infocube 0TB_C01 where 0ORGUNIT is also there.This

  • KP06 : BAPI_COSTACTPLN_POSTPRIMCOST problem

    Hi, I am using BAPI "BAPI_COSTACTPLN_POSTPRIMCOST"  to uploaded Plan fixed cost & actual fixed cost. Now i am passing value in BAPI as Ex: Plan fixed cost period 1 = 10.       Plan fixed cost period 2 = 10. &   Plan variable cost period 1 = 10. final