3 variables connected by SAP exits

Dear All,
               I am using the Bex Query Designer to make a finance report.I am using three input variables , netduedate(op_keydt) ,clearing date(op_keyd3) and posting date(op_keyd2).But at the selection only netduedate is asked as input to user . netduedate(op_keydt) seems to be connected to clearing date(op_keyd3) and posting date(op_keyd2) by SAP exits. I am getting a satisfactory o/p in that I get this year's outstanding and overdue collection amounts.But now I am required to add another 2 columns showing LAST MONTH's outstanding and overdue.How do I get another 3 i/p variables of netduedate,clearing date and posting date which are connected by SAP exits or user exits in the same way so now the user gets current outstanding and overdue and last month's outstanding and overdue?
Regards,
Ratish

Hi,
are your variables restricting the key figures or filtering IObjs in the query?
You'll have to work with restricted key figures.
Your actual outstanding  and overdue will be restricted by your vars.
Add two more KeyFigs for last month overdue and outstanding and apply the same logic.
First try with offsetting the vars with -30 to see if it works.
You might also need to debug and see how SAP is filling these vars.
You can find the function modules in SE37: RSVAREXIT_<varnam>, in your case type RSVAREXIT_0P_KEYD* and press F4, you'll see all of them.
hope that helps...
Olivier.

Similar Messages

  • InfoSet in BW 3.x - shows variable calendar day (SAP Exit)

    Hi,
    I have created a infoset using a Left Outer Join and when I run the report it shows a variable called Calendar Day (SAP Exit). The infoset is not using any temporal joins or time dependency.
    i am not too sure why the vairable is automatically showing in the report. Note this is a 3.x infoset.
    Thanks,
    Leo

    Yes, i havent added it to the report. I actually created a brand new report with two fields in it (no variables) and the calendar day vairable is still shown.

  • How to look at sap exit

    hi gurus
    how can i read a sapexit for a standard variable created by sap. i need to replicate that same code and modify it and make my own user exit for a custom variable.
    thanks

    Hi Adnan,
    SAP exit variables will be filled with function modules and their name starts with RSVAREXIT. So u can go to SE37, and use RSVAREXIT* and press F4 to get input help. Select one of your interest to see the code.
    Regards, Uday
    Assign points for helpful answers and get one point for yourself.

  • SAP-Exit option not available in Query Designer

    Hi,
    I'm trying to create a variable in BEx Query Designer that is processed by a SAP-Exit . But I don't have the option "SAP-Exit" in the drop down menu for processing type (from SAP-Help: In the variables editor, choose the processing type SAP Exit from the General tab page.).
    Am I missing any rights? Any ideas where the problem might be or is this just not possible at all and I have to use a customer exit?
    Regards,
    Alexander

    Hi, I think I didn't explain my problem right:
    I'm trying to use a variable in BEx Query Designer created by SAP that will be processed by a SAP-Exit. How can I add a SAP variable in BEx? I thought I have to create an own variable and assign "SAP-Exit" as processing type . But obviously this is wrong as I don't have the option for processing type "SAP-Exit". Any ideas?
    Thanks,
    Alex

  • Current Workday SAP EXIT variable not aligned with correct work days

    Hello,
    I am trying to use the Current Workday variable within a report so that the data will only be refreshed when the calendar day is Monday - Friday. Users look at this report every day, but when they get the report on Monday we would like for the date to be restricted to the previous Friday, and then switch back to Monday's date when they view the report on Tuesday. In order to do this we have placed the Current Workday variable from the Calendar Date characteristic with an offset of negative 1, but it is showing Sunday's date when they look at the report on Monday.
    My questions are:
    -Does this variable use the factory calendar that can define the work days?
    -If so, which Factory calendar does it use? I have gone to the Tcode SCAL but I can see there are many different factory calendars and I have no idea which calendar this variable pertains to. I have also transferred the global settings for the factory calendar from the source system, and I see no change within the variable.
    -How can I see the program name behind this SAP Exit variable? My thinking is that I could at least look at the code to see if perhaps I can find out the factory calendar ID the variable refers to from there.
    Any help on this would be greatly appreciated! Until this is fixed I have to manually adjust this report every Monday and Tuesday morning!! Not ideal.

    Hi Kelly,
    I am not sure whether this can be done by an SAP Exit variable.
    But you may try this using a Customer exit variable by using the Function module DATE_COMPUTE_DAY.
    The function module "DATE_COMPUTE_DAY" will return the day by 1 to 7 when you input date.
    Monday : System will return value = 1
    Tuesday : System will return value = 2
    Wednesday : System will return value = 3
    Thursday : System will return value = 4
    Friday : System will return value = 5
    Saturday : System will return value = 6
    Sunday : System will return value = 7
    So input sy-datum to this FM and find the number of day. If it is Monday, the number will be 1.
    If output is 1, then offset date by -3 to that of Friday, else offset by -1 to previous day.
    Hope this helps,
    Regards,
    Hari

  • How to look at sap exit  for bex variable

    hi gurus
    how can i read a sapexit for a standard variable created by sap. i need to replicate that same code and modify it and make my own user exit for a custom variable.
    thanks

    hi Adnan,
    sap variable exit is process with function module RSVAREXIT[variable name],
    e.g you want to see code for 0date, run SE37, RSVAREXIT0DATE and display.
    hope this helps.

  • To use a Sap Exit variable in a diferent infoobject of the same type

    Hi gurus,
      I have the Sap Exit standard variable 0P_KEYDT in the infoobject Posting Date (0PSTG_DATE), and i need use this variable with the Document Date (0DOC_DATE), but i don´t have it in the infoobject. Both infoobjects are referenced by 0DATE.
    Are there some way to copy the variable from one infoobject to other, or i need make my own exit?
    Thanks in advance and regards.

    If both of them are the same type means they are referring to 0DATE, then you should be able to access the standard variable defined. What you need to do is, delete the variable  and recreate it, but when you recreate the variable don't refer to a characteristic 0PSTG_DATE but refer to date object so that it will be available to all date types.
    I will tell you the side effect of doing this, changing the standard definition is always risky because if someone install the object again, then the change you made will be overwritten and hard to know what happened.
    thanks.
    Wond

  • How to find out the customer exit and sap exit variables created provider?

    Hi all,
    How to identify what are all the customer exit and sap exit variables are been created for an info provider. is there any tables which allow us to find out.
    thanxs
    haritha

    Hello haritha,
           SAP Exit and Customer Exit variables are created for  Characteristics and not for individual InfoProviders.
    So whenever the characteristic is used in the InfoProvider, by selection the appropriate variable the exit can be called.
    So the same Exit can be in one or more InfoProviders.
    Hope it helps.
    Thanks,
    Chandran

  • Standard SAP EXIT on Text Variables

    Hello Experts,
    I am working on Customer Aging Analysis. first of all I want to use standard SAP Queries and want to have a look on standard SAP EXIT created on variables.i have opened the query no 0FIAR_C03_Q0005. here it shows me one text variable 0P_KEYD2. now i want to see that SAP EXIT created on the variable of Posting Date.
    I went to SE37. i entered the Function Module EXIT_SAPLRRS0_001. but i didn't get standard SAP EXIT given by SAP.
    Can anyone tell me from where i can activate or Get the standard SAP EXIT ?
    Regards,
    Komik Shah

    Hi Mansi,
    Thanks for your reply.
    now if i want to add that SAP EXIT in EXIT_SAPLRRS0_001, then can i add it ? or do i have to directly use RSVAREXIT_0P_KEYD2 ??
    All standard SAP EXIT will work the same way you  mentioned ?? means goto SE37 --> type Variable Name --> get that exit.
    Regards,
    Komik Shah

  • Variable required for 0DOC_DATE, same as the SAP exit variable 0P_KEYDT

    Hi Gurus,
    I am currently trying to create a query based upon the InfoProvider -  FIAP: Line Item (0FIAP_C03).
    For the Characteristic Net Due Date (0NETDUEDATE) there is a SAP exit variable called Key Due Date (0P_KEYDT).
    I need to replicate this variable for 0DOC_DATE, which is what I need to use in this query.
    I do not have any knowledge of ABAP therefore could you please advise;
    1) Whether this variable can be replicated for 0DOC_DATE so that it defaults to system date - 1 day
    2) What steps I need to take to create this variable
    3) What is the exact ABAP code that I will need to do this.
    If there is a variable that already exists for 0DOC_DATE that acts in the same way as 0P_KEYDT then please let me know.
    Thanks
    Nate

    Hello,
    1&3) goto CMOD - create e.g. ZBWVARS. Add RSR00001enhancement. Modify ZXRSRU01 include.
    You need developer key to do that.
    CASE i_vnam.
    WHEN 'ZDOC_DATE,'.
        IF i_step EQ '2'.
          CLEAR l_s_range.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          l_s_range-low = sy-datum - 1.
          APPEND l_s_range TO e_t_range.
        ENDIF.
    ENDCASE.
    2) In Query Designer create customer-exit variable ZDOC_DATE.
    BR
    Ondrej

  • Webi  Bypassing BEx Authorization Variable with SAP Exit

    BEx query has Hierarchy Node Variable with Authorization as processing type. Its set as User Input ready
    When the Webi report is refreshed, the LoVs appear as per the Authorization. However, if user doesn't select any value (pushes from right to left in variable screen) he gets NOT_AUTHORIZED error. Which is not intended, it should check the authorization in the background via SAP exit and populate the result. This is how it runs inBEx query.
    However, in Webi it's giving NOT_AUTHORIZED error? This is how the product is designed to work or is it a bug.
    I see several forum threads and SAP KBAs/notes but they are not answering my question. Could anyone please help.
    I am ready to provide more details on this error.
    Thanks,
    Tilak

    Hi,
    this is how authorization variable would work in any of the clients and not just Web Intelligence.
    You created an authorization variable which is configured as "read for input", so the user is getting prompted.
    So In Web Intelligence the LoV shows up.
    if the user does not select a value, then you are not sending a value, so you basically asking for all data and you are not allowed to see all data and therefore you are getting the message "no authorization".
    if you are making authorization variables as ready for input then the user needs to select the proper values - regardless of the BI tool.
    if you want the authorization to be check in the background then the authorization variable should be configured to not have ready for input.
    regards
    Ingo Hilgefort

  • SAP EXIT Variable 0FYEAR is not working for Fiscal Year(OFISCYEAR)

    Dear SDN,
    I have created Simple Query.
    ROWS
    Company code(0COMP_CODE)
    Fiscal Year(0FISCYEAR)
    Columns
    Total Debit postings(0DEBIT)
    Total Credit posting(0CREDIT)
    Filters
    Companycode(Variable Selection option)
    Fiscal year(Varialbe SAPEXIT 0FYEAR)
    Fiscal Year Variant(K4)
    After executing the query in the variable screen only company code is displayed.
    SAP EXIT FISCAL YEAR VARIALBE(0FYEAR) IS NOT WORKING.....
    Is there any setting or activation is required to use SAP EXITS?
    Waiting for Solution......
    Thanks & Regards,
    Praveen.K

    Hi
    In this case you will have to use a Customer Exit (which is Ready for Input) Variable which gets Current Fiscal Year as a Default Value.
    In order to do that - you will need to create a Customer Exit Variable which is Ready for Input. The Variable will have to be assigned with Current Fiscal Year under I_STEP 1 (this refers to the coding of the Customer Exit in T-code: CMOD)
    If you need any help with the coding - don't hesitate to ask.
    Yaniv

  • Using SAP Exit Variable twice on the same report

    Hello all,
    I need to use the same variable -Current Calendar Day (SAP Exit)- to filter against 2 characteristics on the same report.
    Unfortunately it's not possible, here the error:
    " Variable 0DAT is used in both (structure) element 11T4741S4XTWZUAJ9IQ6DUDE1, and element AZLK9YCS4XGJ940MRPMLXMDS9 for various characteristics (ZCBBIDATE, ZCBPHTDT). This is not permitted as the characteristic is required for the F4 value help structure."
    May you please suggest me a way to do it ? Thanks in advance.

    Hi
    As the 0DAT varaible check the other standard varaible which provides the same function in business content.
    Or create a varaible with Customer exit and use it.
    In CMOD write the code in like this
    WHEN 'ZDAT'
    L_ZDAT = Sy-datum.
    L_S_RANGE-low = L_ZDAT.
    and follow the other codes as you define for other varaibles.
    REgards
    M.A

  • Behaviour of SAP-exit feeded variables in variants of Broadcaster

    Hi folks,
    We would like to use the SAP exit feeded variable 0CMONTH (reference charateristic: 0CALMONTH) for broadcasting functionalities, based on a query.
    0CMONTH itself has SAP-default setting under details' property "Variable is Ready for Input", flag active set.
    If we select such query for broadcasting functions, creating some variants with characteristic variable 0CMONTH, how would these variants behave after the current month will change, changing to the next month?
    Example for 0CMONTH:
    Now: July 2008, 07.2008
    Next month: August 2008, 08.2008
    Would the initial created and saved broadcaster variants also change the month-setting as it would do in the BEx area?
    Or must the user change these variants each month again?
    Any reply is much appreciated.
    Regards
    Chäsitzer

    Thanks a lot Uday,
    now my enquiry changes a bit:
    How does the Broadcaster and its designed variants behave in the case of non SAP-exit variables with property setting "Variable is Ready for Input", flag active set?
    Thanks for any replies.
    Chäsitzer
    Edited by: Chäsitzer on Jul 23, 2008 9:37 AM

  • U201CDisplay not allowedu201D for SAP Exit variables

    Hi All
    I collected some SAP Exit variables under a transport request and moved them to the BI DEV system from sand box systemu2026u2026u2026 when we are trying to use these objects in BIDEV in the query designer the variables are displaying as u201CDISPLAY NOT ALLOWEDu201D for all queries where ever these variables are used and we are not able to use them for drag and drop in the query designer
    I searched forum and find one similar thread but no answer
    Please help on this
    Thanks in advance

    Same here. Do you know how you resolved this issue?

Maybe you are looking for

  • Big Mini Trouble with DVD and Front Row

    Set-Up I am trying to use my mac mini as a media centre connected to a 42" sharp aquos 1080HD, for sound i use a 5.1 bose speaker set-up, which is irrelevant to my problem, but the mac interfaces with a yamaha rxv661B 7.1 channel digital home theatre

  • My MacBook Pro doesn't like monitors.

    This is post #2 on the matter. My last question that I posted on this topic looks to have been deleted. I'm having an issue, well, a few issues, with my Late 2008 MBP 2.53Ghz, 4GB Ram, 320GB HD. Its a stock configuration with the only thing having be

  • Webutil_file_transfer.Client_To_DB_with_progress bean not found

    Hi, I am transfering a csv file from the client to the DB and all was working fine, I have not loaded anything new onto my PC though administration may have. When I attempt to run the procedure that loads the file I now get the error:- "oracle.forms.

  • OC4J : Log4JLogger does not implement Log

    Hi All, I would like to have some information regarding the "does not implement Log" problem which occurs when I deploy my ear application. I use OC4J 10.1.3.0 version and when I try to deploy my ear by having "search-local-classes-first" option as "

  • How to download previously purchased CS6 to new computer

    I purchased CS6 for design and web in 2012 on the web and want to download it on my new computer. I went to www.adobe.com/go/getserial and put in my serial number, but it was denied. Please help. Thanks!