Urgent: Issue with variable exit

Hi All,
We are having a requirement where in we need to populate the value of calday as the first day of the month that the user selects in the variable. For that, this is what i did:
1. Created a variable for 0CALDAY as ZDAT1 and made it as "Processing Type --> SAP exit"
2. Then i went to transaction SMOD and went to the enhancement RSR00001
3. And then went to the exit EXIT_SAPLRRS0_001 and wrote the logic for the requirement,in the INCLUDE ZXRSRU01.
4. Activated the include and exit
However, after that when i executed the query i got an error saying that the Exit RSVAREXIT_ZDAT1 for variable ZDAT1 either does not exists or is inactive. For this reason I went to se37 and found that RSVAREXIT_ZDAT1 exit was inactive (I didnot manually create RSVAREXIT_ZDAT1, guess it was system created), so i put my piece of coding in it with the mandatory import and export parameters.However,  after that, the code was not getting called after the user enters the input, even if i put I_STEP =2. Can you please point out as to where i went wrong.
Best Regards,
Debashree.

Hi Debashree,
you should create the variable for processing type as 'customer exit' not SAP exit.
hope this helps.

Similar Messages

  • Issue with Event.EXITING in AIR 2.5

    I am facing an issue with the Exiting event in AIR when creating my application using Flash builder. The exiting event does not function on windows shutdown... howevere if I click the 'X' button to exit the app it works perfectly fine....is there a bug in the exiting event...
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           creationComplete="init()"
                           styleName="plain" width="100%" height="100%">
        <fx:Script>
            <![CDATA[
                import flash.events.Event;
                import mx.controls.Alert;
                protected function init():void
                    trace("handle exit");
                    NativeApplication.nativeApplication.addEventListener(Event.EXITING,handleExiting);
                public function handleExiting(e:Event):void
                        Alert.show("Exit!");
                        trace("Handle Exit!!");
                        var f:File = File.desktopDirectory;
                        f = f.resolvePath("air-exit-test.txt");
                        var stream:FileStream = new FileStream();
                        stream.open(f,FileMode.WRITE);
                        stream.writeUTFBytes(ta.text);
                        stream.close();
            ]]>
        </fx:Script>
        <s:Panel width="100%" height="100%" title="Exit Event on Shutdown">
            <s:HGroup width="95%" left="10" top="10">
                <s:Label text="Enter text to save upon shutdown:"/>
                <s:TextArea id="ta" height="200"/>
                <s:Label width="95%" verticalAlign="justify" color="#323232" horizontalCenter="0" bottom="20"
                         text="The Exiting event can now be handled upon the user shutting down the OS giving you a chance to handle any unsaved data in your application upon shutdown. If you run this code in an AIR application and shutdown your OS, it will still save the data that you have entered in Text Area to air-exit-test.txt in your Desktop directory."/>
            </s:HGroup>
        </s:Panel>
    </s:WindowedApplication>

    This bug has not been fixed as of AIR 2.7, I don't have a date/version I can give you when this will be addressed. 
    However, I would recommend adding a new bug to bugbase.adobe.com and include the sample project and a reference to our internal bug number.  The public bug will then be linked to our internal bug and you'll be able to see updates as the state and status are changed.  If you post back with the public bug URL, others effected can cast their votes and add notes as well.
    Thanks,
    Chris

  • Having issue with variable after upgrade in bi7.0

    Hi,
    I have issue with variable
    For example Plant info object has attributes country, company code, storage location
    etc.
    When I run the report. If I click on plant variable it is showing me the all the data for all country , compony code , storage location. I donot want this.
    I just want only plant input values on variable screen
    Thanks,
    Naman Shah

    Naman,
    What is your SP level ?
    Also the characteristics mentioned - are they compounding attributes ? if yes then tey will come in your variable entry.

  • Urgent issue with Intrastat

    Hi All, we  have  very  urgent issue  with  intrastat report ''VE01''.
    There  is  many documents  with error Log-''The statistical value of the document item is zero.''.
    The pricing  settings looks OK and its impossible  to
    correct  those  documents with error.
    Any Idee how I could  correct them for  them  to  get  the  green status?
    Points  will be added  if  helpful
    Thanks and regards
    Luis

    Hello Luis,
    please check the VBRP-BRTWR. If this fiels is zero then you get an entry in the incompletion log.
    the message could be also occur if the GRWR is zero.
    Please check your pricing setting.
    Hope this will help to solve the problem.
    I f you are satisfied with the answer, please don't forget to give Reward Points.
    regards
    Claudia

  • Urgent issue in user-exit

    hi friends,
    one urgent issue regarding user-exits;
    i have the requirement like this:
    if any one of these fields ZPBSTQTY2, ZPCSTQTY2, ZPBKTQTY2, ZPCKTQTY2 and ZPBFRQTY2 in table S505 is GT 0, then i need to pass a value 'X' to two flags present in that table.
    then i have to update it thru transaction VA01.
    Plz suggest some solution for this.
    Thanks
    Praveen

    SDAPO001 Activating Sourcing Subitem Quantity Propagation
    SDTRM001 Reschedule schedule lines without a new ATP check
    V45A0002 Predefine sold-to party in sales document
    V45A0003 Collector for customer function modulpool MV45A
    V45A0004 Copy packing proposal
    V45E0001 Update the purchase order from the sales order
    V45E0002 Data transfer in procurement elements (PRreq., assembly)
    V45L0001 SD component supplier processing (customer enhancements)
    V45P0001 SD customer function for cross-company code sales
    V45S0001 Update sales document from configuration
    V45S0003 MRP-relevance for incomplete configuration
    V45S0004 Effectivity type in sales order
    V45W0001 SD Service Management: Forward Contract Data to Item
    V46H0001 SD Customer functions for resource-related billing
    V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
    V45A0001 Determine alternative materials for product selection
    And also you can write your code in MV45AFZZ
    <b>Reward points</b>
    Regards

  • Issues With Variables

    First, let me send a thanks to PBrock and Cotton for their help with my last issue I had with a program. You guys helped tremendously!
    Now onto the latest issue with my code I compile this and get two error messages saying that the variables (again) and (exit) cannot be found. I have a sneaky suspicion that once I figure these two errors out that I'm going to get slammed with a bunch more but I do have my fingers crossed on this one.
    Here's the code
    //=====================================
    // OpSpecs5.java    Author: Michael Barry
    //=====================================
    import java.math.*;
    public class OpSpecs5
      //Random generator = new Random (50);
      private int num1, num2;
      public OpSpec5()
        num1 = (int) (Math.random()*50) +1;
        num2 = (int) (Math.random()*50) +1;
      public int ActionPerformed (String sign)
        if (sign equals(a))
          return num1 + num2;
        else if (sign equals(s))
          return num1-num2;
        else if (sign equals(d))
          return num1/num2;
        else (sign equals (p))
          return num1 * num2;
    }  And here is the other file:
    //=====================================
    // OpSpecs5.java    Author: Michael Barry
    //=====================================
    import java.math.*;
    public class OpSpecs5
      //Random generator = new Random (50);
      private int num1, num2;
      public OpSpec5()
        num1 = (int) (Math.random()*50) +1;
        num2 = (int) (Math.random()*50) +1;
      public int ActionPerformed (String sign)
        if (sign equals(a))
          return num1 + num2;
        else if (sign equals(s))
          return num1-num2;
        else if (sign equals(d))
          return num1/num2;
        else (sign equals (p))
          return num1 * num2;
      Thnx in advance!!!!!!!!!

    Sorry about that.
    Here they both are this time
    //===========================
    // ExampleMathOps5.java
    //=========================
    import javax.swing.JOptionPane;
    import java.util.*;
    import java.awt.*;
    import javax.swing.*;
    public class ExampleMathOps5
    public static void main(String[] args)
         ExampleMathOps5 MyOps;
         String numStr, result;
          int sum;
        int difference;
        int division;
        int product;
        int again;
        int exit;
        MyOps = new ExampleOpSpecs5 (); // Instantiation of OpSpecs5 file.
        do
                     sum = MyOps.ActionPerformed("a"); // "a" represents addition.
                     MyOps = JOptionPane.showInputDialog ("Enter your answer:"); // Prints sum of equation.
            sum = Integer.parseInt(numStr);
          result = "The correct answer is: " + ((num1+num2 == 0) ? "correct" : "incorrect"); 
          JOptionPane.ShowMessageDialog (null, result);
          again = JOptionPane.showConfirmDialog (null, "Try again?");
                     difference = MyOps.ActionPerformed("s"); // "s" represents subtraction.
                     MyOps = JOptionPane.showInputDialog ("Enter your answer:"); // Prints difference of equation.
                     difference = Integer.parseInt(numStr);
          result = "The correct answer is:" + ((num2-num1 == 0) ? "correct" : "incorrect");
          JOptionPane.showMessageDialog (null, result);
          again = JOptionPane.showConfirmDialog (null, "Try again?");
          division = MyOps.ActionPerformed("d"); // "d" represents division.
                     MyOps = JOptionPane.showInputDialog("Enter your answer:"); // Prints result of equation.
                     division = Integer.parseInt(numStr);
          result = "The correct answer is:" + ((num2/num1 == 0) ? "correct" : "incorrect");
          JOptionPane.showMessageDialog (null, result);
          again = JOptionPane.showConfirmDialog (null, "Try Again?");     
                     product = MyOps.ActionPerformed("p");  // "p" represents multiplication.
                     MyOps = JOptionPane.showInputDialog ("Enter your answer:"); // Prints product of equation.
            product = Integer.parseInt(numStr);
          result = "The correct answer is:" + ((num1*num2 == 0) ? "correct" : "incorrect");
          JOptionPane.showMessageDialog (null, result);
          again = JOptionPane.showConfirmDialog (null, "Try again?"); 
                    while (again == JOptionPane.YES_OPTION);
    }And here is the other file:
    //=====================================
    // ExampleOpSpecs5.java    Author:
    //=====================================
    import java.math.*;
    public class ExampleOpSpecs5
      //Random generator = new Random (50);
      private int num1, num2;
      public ExampleOpSpecs5()
        num1 = (int) (Math.random()*50) +1;
        num2 = (int) (Math.random()*50) +1;
      public int ActionPerformed (String sign)
        if (sign == "a")
          return num1 + num2;
        else if (sign == "s")
          return num1-num2;
        else if (sign == "d")
          return num1/num2;
        else if (sign == "p")
          return num1*num2;     
         else if (sign == null)
         return again;
      else
    return exit;
     

  • Issue with Variable Entry in BI 7.0

    Hi,
    I am having an issue with the variable entry in BI 7.0 Version. Here is a brief background.
    --- In BW 3.x, when we define a variable with <b>Single Value Option</b>, you can enter the value manually in the pop-up selection screen or select from the dropdown of possible values.
    ---But in 7.0 when i try to enter the value manually in the selection screen its opening the dropdown list, and is not giving me the option to enter a value manually. I am entering a valid single value in selection.
    Is this a bug or do i have to make any specific settings to correct my issue?

    When the selection screen pops up choose the KEY only function on the TOOLS on the top right corner of the screen. Then you will be able to enter the values manually.
    Hope this helps.

  • Issue with @variable('DOCNAME')

    I added a where clause using the BO designer that uses @variable ('DOCNAME') and it work perfect when running webi reports. But I also have some crystal reports that are using the universe and they suddenly stopped working. Does the variable 'DOCNAME' have an issue with cyrstal reports??
    Even if I just create an object that simply displays the @variable ('DOCNAME'), I still run into the same problem.
    I have another query that uses @variable ('BOUSER') and that one works fine on both webi and crystal reports.

    Nevermind, I may have found an answer. Based on what the article below states, it looks like the only variable that is supported in Crystal Reports is 'BOUSER'.
    [https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/20984c2b-17f1-2b10-1091-d18977f7cd8f|https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/20984c2b-17f1-2b10-1091-d18977f7cd8f]

  • Issue with user exit ZXPADU01 and ZXPADU02

    Hi,
    I am trying to change the existing record for the info type 0015 for an employee in Pa30 transaction.
    my requirement is i need old value and new value when i am changing the existing record in info type 0015.
    When i kept break point in user exit ZXPADU01 it is not triggering it is triggering only when we creating the record.
    i tried with user exit ZXPADU02 it is not working as per my requirement.
    My requirement is :whenever i am changing the existing record(modifying record) i need old value and new value.
    Anybody can suggest me how to fix this issue.
    Thanks,
    Maheedhar

    Dear Maheedhar,
    The best way to achieve this requirement is to use the PAI user exit ZXPADU02 import parameter PSAVE. The PSAVE parameter contains the PBO original / initial record, before any changes take place.
    The INNNN parameter contains the current PAI record as usual, in order to be used for customer check and new values. Thus, you've got both the old and the new record in place, and you can make your comparison according to the business requirements:

  • URGENT: issues with jump to targets

    Hey Guys,
    We have recently updated our BW system from 3.1c to 7.0. And now I am having problems with some of my queries. The major problem is for some of the queries I have jumps to other reports and when I try to execute these jumps I get an error saying "Variable I_CALDAY is incorrectly defined ". I have this issue with few queries all in one infoprovider.
    Guys, Any help in regard will be highly appreciated.
    Thanks and Regards,
    Meher

    Problem solved:
    We had to check the box which says "ready for input". This solved the issue as of now.

  • Powershell Issue with Variable and Equal Signs

    I should have been using $line.grade, but your syntax worked so thanks!

    I've been running a powershell script to create active directory accounts at our school from a csv file. I'm needing to have users placed in a specific OU based on what grade level they are in, which is a field in the csv file and I have passed into the description field in AD. To keep from writing a bunch of if statements, I thought I might could pass the description variable into my organizational unit path, but I'm having syntax issues.Here is the specific line I have issues with.Powershell'ou' = "OU=$line.description, OU=LESStudents,OU=LES,DC=school,DC=k12,DC=state,DC=us"I've tried the single quote, double quotes, escaping the equal sign and some other methods I've seen online, but haven't quite gotten it right. It just isn't recognizing OU=$line.description as a variable.
    Disclaimer - I'm not a programmer and most of this was built...
    This topic first appeared in the Spiceworks Community

  • Audio sync issues with variable frame rates as well as .ts files

    I'm using Premiere Pro CS6 and CC, in Windows 8.
    I bought an AverMedia Live Gamer HD card to capture 1080p footage with, and the the videos it produces work perfectly during playback. No sync issues whatsoever. I'm saving them as MP4 at 30fps.
    The problem is when I import them into Premiere Pro, the audio loses sync at certain points. After a bit of digging, I've discovered that the videos have a variable frame rate, which Premiere Pro does not support. I don't know why, considering competing products that are significantly cheaper can handle them with a problem, but oh well. The capture card can also save videos in .TS format, which produces a constant frame rate, however when I import them into Premire Pro the sync is immediately off by a second or more. I assume this is for an entirely different reason. Again, they play back normally without a problem. Upon emailing AverMedia, I was told this was Adobe's problem and there was nothing they could do about it.
    What I'm wondering is if there is any sort of realistic solution to this as of now. Is there any way that Premiere can work properly with files that have a variable frame rate? If not, is this being worked on?
    Or maybe there's a way to get the .TS files back in sync, that way the variable frame rate issue doesn't matter anyway.
    Converting the files is not a long term solution. I'm working with hours and hours of HD video, and it would take way too much time to do this.
    Manually resyncing the audio is also not a solution. Again, this would just be way too much wasted time with each project.
    The only solution I see as of now is to switch to Sony Vegas until this problem is resolved in Premiere, if it ever is. I'm really hoping there is some other way, so if anyone has an idea as to how to fix this, I'd really appreciate it.
    Thank you.
    tl/dr:
    Is there any way to get around Premiere Pro not working with variable framerates? My .TS files are also out of sync, is there any way to fix that? Without converting or manually resyncing.

    >If not, is this being worked on?
    Discussed many times before... never a "yes" answer to your question... tell Adobe what YOU want at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    If enough people make a request, Adobe MAY add the feature (I don't work for Adobe, so no guarantee of anything)

  • Issue with Variable Personalisation in Bex Report

    Hi Gurus,
    I'm facing a typical problem with Variable presonalisation in the Report.
    I've executed a BEX Report and filtered data on some characteristics and used SAVE AS Button on the Portal to save the resultset. When I'm trying to use the variants, again say after  2 or 3 days i couldn't find updated data for particular variants upon using the same variants rather its refelecting the old data. Further more when I execute the report and try filtering on the same criteria altogether, I'm able to see updated result set.
    Is there any setting to be enabled when we personalise variants or variants are dependent on the data or the date on which they are created. Not sure why the reports are behaving this way. Or Do I need to create variants time and again.
    Any pointers would be of great help.
    Regard,
    Yaseen

    Hello,
    In the BEx report, when you get the variable selection screen there input your selection and at the bottom you have the option of saving them as a variant.
    Now in future when you run the report simply use this variant and execute the report. It should work fine.
    Also remember date selection can be tricky. If you input todays date in the variant, it wil consider the same date in further references. So do a check on that too.
    Regards,
    Shashank

  • Issue with Variable on 0FISCPER

    Hi,
    I am using a single value/ mandatory variable on 0FISCPER in my queries. It has been working fine till now but when i click on the drill down of that variable in the selection screen, it gives me a 500 INTERNAL SERVER ERROR (java.lang.NullPointerException). IF i enter a value manually without clicking on the drop down, it is working fine and the query is getting executed. How can i resolve this problem.
    Thanks
    Rashmi.

    Hi,
    Search in SDN, I don't think that is problem with Variable..
    http://help.sap.com/saphelp_nw04s/helpdata/en/7b/f89f3f12e1eb0ce10000000a114084/frameset.htm
    File Sender java.lang.NullPointerException
    Re: File Sender java.lang.NullPointerException
    500 Internal server error
    Thanks
    Reddy

  • URGENT: Issue with hierarchy level keys and report drill down

    Hi,
    BASIC STRUCTURE:
    I have created a subject area with 3 facts (FACT_A, FACT_B, FACT_C) and 4 dimesnions (TIME_DIM,DIM_2,DIM_3,DIM_4). Each fact table also has additional aggregate tables aggregated along levels of the time dimension. Also our timw dimension has aggregated dimension tables like TIME_DIM_WEEK, TIME_DIM_MONTH, TIME_DIM_QUARTER and TIME_DIm_YEAR.
    GOAL:
    All 3 facts have the same measures M_1 and M_2 in them but may not have data for the same dimension values selected.
    For example
    For month JAN 2000 FACT_A.M1=100$ and no data exists for JAN 2000 in FACT_B and FACT_C. Then in the report
    for JAN2000 it should show FACT_A.M1= $100, FACT_B.M1 = 0 and FACT_C.M1 =0. In this case I should be able to drill down to the lowest level.
    ISSUE:
    The time dimension TIME_DIM has the following levels - Total -> Year -> Quarter -> Month -> Week -> Day
    However I am having an issue with drill down in the reports whenever I pull metrics from more than 1 fact at a time. I have defined the level keys but not sure if I need to do anything in addition since I am using aggregates.
    I have to fix this issue quickly. Please help me.

    Alastair,
    All the fact tables have aggregated facts as sources.
    I have checked the levels set for each of the sources to the time dimesnion table in BMM and they look okay. So the Time dim table in BMM has 4 source tables
    Time_Day (level set to day, table key is "day"),
    Time_month (level set to month, table key is "Fiscal_Month_Code"),
    Time_Quarter(level set to quarter, table key is "Fiscal_Quarter_Code") and
    Time_Year(level set to year, table key is :Fiscal_Year_Code").
    Note: No time week aggregate added as logical source.
    Again the time dim hierarchy based off of this table has levels: Total -> Year ->quarter -> Month -> week -> day
    The levels keys set for each level are
    Year -> Primary key is Year_Name (YYYY)(Checked as chronological key) and another key is Year_Num (YYYY)(Checked as chronological key)
    Quarter->Primary Key is Quarter_Name (YYYY Qn), another key is Quarter_Number (Format n where n can assum values 1,2,3,4). Both keys are set as chronological keys
    Month -> Primary key is Month_Name (MON YYYY), another key is Month_Num (Format n where n can assume values from 1 to 12) Both keys are set as chronological keys
    Week -> Primary Key is week name (YYYY Wk nn, where nn can have values from 1 to 53), another key is week num (nn, where nn can have values from 1 to 53)
    Day -> primary key set to day (date format)
    Issue1: When I try to drill to lower levels it throws out an error saying report cannot find any data because filters may be too restrictive even though I see data at higher level
    For ex: If I drill down to Year: 2010 and Qtr: 2010 Q2 and M1:$100 when I click on Qtr to drll to month level it throws me the error
    Issue2: when I add year and qtr colums to the report I see data as below which is incorrect
    Year_Name Qtr_Name data:FACTA_M1 Data: FactB_M1
    2009 2009 Q1 $10 $5
    2009 2009 Q2 $20 $80
    2009 2009 Q3 $20
    2009 2009 Q4 $30
    2010 2010 Q1 $100
    2010 Q2 $101
    2010 Q3 $102 $230
    2010 Q4 $103
    2011 Q1 $10
    In the above example year_name is not showing up for 2010 Q2 and after. However if I change the primary key for level 'Quarter' by having key consist of year name and quarter name instead of just quarter name the issue doesnt occur and drill down works great. The only issue is when I drill from qtr it first shows year name and quarter name instead of showing the next level which would be month name.
    Sorry about the long message but I thought you might notice something in how I have set up the keys.
    Thanks

Maybe you are looking for

  • Can't Seem to Get My Photos Into Organizer

    I am feeling dumber than a clock!  I am new to PSE and have version 10.  My photos are organized by year and within a year by dates and events.  I cannot seem to bring those pictures into the Organizer. I have succeeded in bringing a single photo int

  • Can I delete photos app and start again? How?

    Ok, I've been really daft and did not ever know that there was a photo trash can in iPhoto. So for years in iPhoto I've been deleting or rather just removing photos and not thinking much of it. Just did my mac updates and notice I now have Photo. Ope

  • Missing 13 GB from HD - nothing accounts for it

    I have a G4 Mac Mini running Mac OS X Leopard with a 40 GB internal drive. The Finder says I have 2.5 GB available. When I use the command line and manually have it calculate the size of every folder on the root of the drive (using the "du" command),

  • WLS 10.3 SNMP v3: SnmpSecurityCoderException: UNKNOWN_USER_NAME

    Hi, I'm in the midst of configuring SNMP v3 traps on WebLogic Server 10.3 using decentralized agent model (one SNMP agent per server). I have done the following as per documentation: 1) Created SNMP agent with all the correct configuration for v3 (in

  • Patchnames for external Synths?

    Hello music enthusiasts! I'm a longtime Cubase user and just had a look at Logic Express 7. The most annoying thing for me in Cubase was the fact that I had to type all the patch names of all my hardware synths into a text file (Cubase prior to SX) a