Include character value variable processed by customer exit in the report

I have defined a character value variable' processed by 'customer exit'. i am troubleshooting a problem so I need to see the value of this variable. Is there a way to display this variable in the report. If so, what section, rows or columns? And how to configure?
Thanks,
Sharon

Hi,
You can add directly the variable, in BEx Analyzer 7.0 you can add variables in the Excel Cell that you would.
Steps:
- Select the Excel Cell
- In the BEx Design Toolbox, select Insert text
- When you are in Design Mode - click over the text element
- Go to Constants tab and select the Custom Exit Variable
- Save the workwook
Regards,
Dani

Similar Messages

  • Text Variables processing as Customer Exit

    I have posted a similar problem but didnt get any response. Would appreciate if i get some kind of advice in this. I need to display header as Jan FY2007, Feb FY2007 and so on in my report. I want to use same text variable inorder to acheive this as i have a big number of colums displaying fiscal periods for all nearly 4-5 fiscal years. Replacement path doesnt apply as the"Label" option returns the short text. So i guess i need to write a customer exit inorder to fetch the medium text  description from 0FISPER table. I need some kind of help with ABAP code.
    Points will be awarded for any kind of helpful solution.

    Thanks Anil. Yes i am using BI 7.0 I thought of doing that. But as of now the BEx settings for 0FISCPER is Key and still it picks the Short text when i choose the replacament path with Label option. Do you still think if i change the Bex settings as Medium text it should solve the issue? And also please clarify after changing to Medium text do i still need to opt for Label replacement option to achieve my requirement?
    I will try to figure that out and will definitely assign points for your fruitful advice.
    Thanks.

  • BEx Variable I_Step 2, Custom Exit, IF Condition fail for "var ready Inp"

    Hi all,
    could someone please help with the following issue.
    Variable definition is as followed.
    processing type = Customer Exit
    in the Details Tab I chose "Multiple Singles"
    and variable as "Optional"
    and "Variable is ready for Input".
    objective is, once the user enter fiscperiod like 004.2011, in the customer exit, using my own logic I would need to derive some set of periods and send back to query.
    In code, I am doing a check of I_STEP =2, then do the loop on the i_t_var_range, then capture the "LOW" value, then use my own logic to derive my own fiscperiods, then append the e_t_range, then Endif.
    when I debug, control is going to IF condition, but I see that I_step contained "1" not 2 as expected, that's where the condition is failing, and control is skipping the whole block of the code inside the If condition.
    this is giving me an impression that, the definition of the variable has some problem.
    Any Insights are greatly appreciated.

    I guess you need to use 2 variable.
    Var1 will store the value of user entered fiscal year period and then. this is normal Variable and is ready for Input".
    Var2 to will read that value of Var1 -
    then you write your logic -
    to populate Var2 correctly.
    And use Var2 in your query.
    Note : Var2 is not ready for input, and its exit variable
    Regards,
    Vinod

  • Node variable in query - Processing type customer exit?

    We are on NW 2004S. I created a hierarchy for an info-object along with several nodes and child nodes.
    I also created a node variable in a query for this info-object. I have the following questions with regards to using node variables in a query.
    1) Can I use a node variable with processing type 'Customer Exit". My objective is to set the value of the node variable in the user exit.
    2) If answer to first question is "Yes", how would I code the node value in the user-exit - Example code or some pointers to that effect.
    I really appreciate your thoughts on this issue.
    Thanks,
    Sanjay

    Hi Sanjay,
    As far as I'm aware this hasn't changed in NW2004s, (in any case it still works), so:
    1)Yes you can, no difference with other type variables.
    2)In userexit EXIT_SAPLRRS0_001 (include ZXRSRU01).
    There's different options depending on at which stage you want to change it:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/frameset.htm
    If you do a forum search on above technical names I think you'll find plenty of coding samples, but if you want something more specific, I'd be happy to help you out.
    Regards,
    Pieter

  • Search instring value of Variable in customer exit of bex report

    Hello experts-
    I have a situation where I need to search the records based on value  of a variable input in selection screen of bex report and according to that i need to show the results in report.
    Ex- if we have a material characteristics on selection screen,or material number has 10 digits(eg 1234567809). so the user will only type 2-3 digit(i.e 12) on selection screen, In this case I want only those records to be displyed, for which material has these 2 digits in it .
    Eg would be:
    1234567809,
    3451267809,
    9807654312.
    Could you please suggest ABAP logic for the above. Properties of variable and how many variable we have to create.
    Regards,
    Yatendra

    Hello Vineet,
    we have tried putting  ' * ' i n place of '=' in drop down screen.
    we have also tried customer exit code, please check below.
       WHEN 'ZSEARCH'.
         data: lv_string type string.
         data: wa_test type ZTEST_TOOLING.
    if I_STEP = 2.
         LOOP AT i_t_var_range INTO loc_var_range
                   WHERE vnam = 'ZTSEARCH'.
              CONCATENATE '' loc_var_range-low '' INTO L_S_RANGE-LOW.
              L_S_RANGE-SIGN = 'I'.
              L_S_RANGE-OPT = 'CP'.
              APPEND L_S_RANGE TO E_T_RANGE.
         ENDLOOP.
      endif.
    In  this code we have created two variables 1st 'ZSEARCH' which is type of 'customer exit' , and the second one 'ZTSEARCH' type of "user entry/ default value" .
    As we need the value provided by user in  ZTSEARCH (user entry), we loop at  i_t_var_range where vnam = 'ZTSEARCH'.
    But i_t_var_range doesn't contain  ZTSEARCH variable.
    Can you please suggest in customer exit code as well as in selection option.
    Thanks
    yatendra

  • Formula date variable ,which is processing by 'Customer exit' with ready in

    Hi ,
    I need to create 1 variable which takes date from user and do some calculation.irrespective of any date char.
    so I have created Formula date variable ,which is processing by 'Customer exit' with ready input .
    But when selection screen pop up date formula variable comes with the format yyyymmdd.
    but i need dd.mm.yyyy. i have checked my profile and it is dd.mm.yyyy.
    Waitin for reply

    Hi Babu
    Did you get the answer to the query....if yes please drop me a mail on this as I have the same requirement and thanks in advance...
    my id   [email protected]
    REgards
    Amit

  • Using a dummy variable in a  customer exit

    I currently have a report that uses 0calmonth = Current Month (SAP Exit)
    Now, this works fine when running for the month, but if a user wants to see the last completed month I'd need to setup a separate report that says
    0calmonth = last month.
    These reports are broadcasted automatically by e-mail, this is why I don't want to specify the actual requested month n the variable, I'd need to change my settings all the time.
    I have a whole bunch of reports setup that way and I don't want to duplicate them all, what I had in mind was to use a dummy variable in which the user enters a value CMTD or LMTD.  These values would then be used in a customer exit of the kind:
    IF CMTD set as current month
    else if LMTD set as last month
    I have no problem with that last part, but how do I create that dummy variable and is there anyway (without adding an infoobject in my cube) to have it include in the F4 menu the two option CMTD and LMTD (which are really meaningless abbreviations...)
    Thanks all for your help.
    Eric
    Message was edited by:
            Eric Blondin

    OK, this was actually easy, I used a text variable to feed in CMTD or LMTD.  Any way to have the two values available as options?  Text variables don't provide a selection box...

  • How to display text variable of type customer exit

    Hi to all,
    I have created a query in query designer which display sales value according to plant.
    There i have also used a variable which will take input from user and restricted on 0CALDAY.
    I have also created 2 text variable to display the text for sales based on input in variable.
    I need when user enter the 01.02.2010 - 31.12.2010 value in variable , text variable should display SALES FROM 01.02.2010 TO 31.12.2010
    i knew how to do that by using text variable of processing type customer exit.
    But display of text variable is like SALES FROM 01022010 TO  31122010  ,
    But i need that SALES  01.02.2010 TO 31.12.2010
    i shall be thankfull to you for this.
    Regards
    Pavneet Rana
    Edited by: pavneet rana on Dec 22, 2010 7:46 AM
    Edited by: pavneet rana on Dec 22, 2010 8:03 AM

    Hi,
    Give Description on Sales Amount  as SALES FROM &ZVAR_YEAR1& TO &ZVAR_YEAR2&.
    ZVAR_YEAR1 & ZVAR_YEAR2 are the two text variables. These two variables should NOT be input enabled.
    In the Exit - under I_STEP = 2, write the below code.
    WHEN 'ZVAR_YEAR1'.
      DATA:   l_s_range       TYPE rs_s_range,
                   loc_var_range TYPE rrs0_s_var_range.
      READ TABLE i_t_var_range INTO loc_var_range WITH KEY vnam = 'ZVAR_INPUT_CALDAY'.
      l_s_range-sign = 'I'.
      l_s_range-opt  = 'EQ'.
      l_s_range-low  = loc_var_range-low.
      APPEND l_s_range to e_t_range.
    WHEN 'ZVAR_YEAR2'.
      DATA:   l_s_range       TYPE rs_s_range,
                   loc_var_range TYPE rrs0_s_var_range.
      READ TABLE i_t_var_range INTO loc_var_range WITH KEY vnam = 'ZVAR_INPUT_CALDAY'.
      l_s_range-sign = 'I'.
      l_s_range-opt  = 'EQ'.
      l_s_range-low  = loc_var_range-high.
      APPEND l_s_range to e_t_range.

  • Text Variable replace with Customer Exit Variable

    Dear Experts,
    I created a text variable based on replacementh path (instead of customer exit). The reference characteristic is same that as my customer exit Variable and replace it by Key.
    I want to replace it with already Existing Customer Exit Variable but it is not displaying in the List Box even though existing variable option is mandatory.
    Can any one Suggest me the answer for this.
    Regards
    Supraja.K

    I do not think you can select Customer Exit variable, if you see the type is selected to Char Value Variables and it is not editable.
    It would be suggested to go for Customer Exit procesing type for your text variable.
    Cheers,
    Neel.

  • Need clarification on BEX variable usage in customer exit.

    hi,
    i am an ABAP guy,i dont have any idea about BW,But here i got one problem,
    1)Variable has been craeted in BEX Report (processed by Customer exit).
    2)i am trying to write ABAP code in CMOD customer exit(ZXRSRU01),but when i am calling BEX variable it is not taking it is giving error(it should defined by data statment)so how to call the bex varible in Customer exit,if any body have sample code or any idea kindly let me know.

    Hi and welcome to SDN!
    there are a lot of examples and clarifications in these forums. For instance:
    Re: steps for a customer exit.
    Re: Regarding the Code for the Customer Exit
    Best regards,
    Eugene

  • Variable Offset for Customer Exit??

    Hi,
    is it possible to have a variable offset for customer exit time variables?
    E.g. I have a variable current month but can I also create a one-year offset of that?
    In our system that doesn't work (but also the current month variable doesn't work...)
    thanks
    Sabine

    Hi,
    As it is mentioned by Mr.Voodi,it definately works.
    You only has given the answer for your problem .i.e you need to make sure the Customer exit variable is working proper.So take a look on the code used for it.
    With rgds,
    Anil Kumar Sharma .P

  • 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

  • Populating text variable of type Customer Exit dynamically

    Hi,
    I have a report with 3 columns as following.
    "Current period", "Previous period" and "Previous period - 1".
    The text variable name is "ZQTR_TXT".
    My input variable name is "ZALLOC_PRD".
    If I enter 200709 as input, I want to see column headings as
    2007Q3    2007Q2    2007Q1.
    but I am getting 2007Q3 for all 3 columns though I use variable offset to -1 and -2 for other columns.
    Could you please throw some light here as I got stuck with this issue quite a long time? I am using BI 7.0 Query Designer.
    Thanks in advance,
    Hanuma

    There is another variable "ZCUST_QTD" where "ZQTD_TXT" variable is restricted by offsets.
    Input variable is "ZALLOC_PRD" ex: 200709
    I have written Customer exit for the following.
    when 'ZCUST_QTD'.
    ZCUST_QTD will be low 200707 high 200709.
    when 'ZQTD_TXT'.
    "ZQTD_TXT" is 2007Q3.
    But I want "ZQTD_TXT" to be dynamic and different for 3 columns.
    Thanks for your reply.
    Thanks,
    Hanuma

  • 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

  • Diff in customer balance in the report S_ALR_87012172 & fbl5n

    Dear Experts,
    I have a problem where I am getting difference in customer balance in the report S_ALR_87012172 & fbl5n. I have completed f.07 for the required year, but the problem still exists for some customers.
    Kindly help.
    regards

    Hello,
    Refer SAP Note
    Note 716640 - Balance display: Drilldown: Total of open items <> balance
    Note 323813 - FV60/FB60: document created without secondary index
    Note 327139 - Balance display FI: drilldown perfrmnce for balncs
    Regards,
    Ravi

Maybe you are looking for

  • Shudule manager SCMA MONTH END YERA END CONFIGURATION STEPS

    Hi al Can u pls send me the configuration steps for month end and year end activities by using shudule manager regards Venkataswamy [email protected]

  • Allowing duplication of invoices

    Hi system allows me to create an invoice document for the second time with the same PO reference. 1 Double invoice check box is activated in vendor master 2 Check for dupliacation of invoices is activated in incoming invoice of LIV. Please find the s

  • GL_BC_PACKETS의 Data생성시점에 대해서

    제품 : FIN_GL 작성날짜 : 2003-05-14 GL_BC_PACKETS의 Data생성시점에 대해서 ===================================== PURPOSE GL_BC_PACKETS table에 row가 생성되는 것에 대해 예제로 설명한다. Example a. Invoice입력 : distribution line이 100원인 송장 입력. b. Invoice승인 : Reserve Funds module이 GL_BC_

  • Caf~eu~gp not in repository

    Dear all, I'm trying to access GP through " Netweaver Administrator->Availability and Performance Management->Process Monitoring->Guided Procedure". But I got error message which says *" Guided Procedures JMX provider is stopped in the target system.

  • Can't catch exception in form from server

    The Block is built on procedure. Use code in procedure of the blocking: SELECT id INTO temp FROM tab WHERE id = n_var --variable FOR UPDATE NOWAIT; EXCEPTION WHEN OTHERS THEN RAISE_APPLICATION_ERROR(-20001, 'ERROR'); Open two copies of form. In one f