How to check to numbers at a time using check keyword

Hi All ,
I want to use check statement in my report logic where i want to pass only 2 values. at a time..
ex:
start-of-selection.
get pernr.
Check p0001-persg = '5300' or check p0001-persg = '5600'.->Getting error here
end-of-selection.
Could please any one guide better..
Regards
sas

Try this.
TABLES: PERNR.
INFOTYPES: 0001.
start-of-selection.
get pernr.
end-of-selection.
    PROVIDE * FROM P0001 BETWEEN PN-BEGDA AND PN-ENDDA
    where p0001-persg = '5300' or p0001-persg = '5600' .
    WRITE:  / P0001-PERNR,
              P0001-SUBTY,
              P0001-BEGDA,
              P0001-ENDDA,
              p0001-persg.
    ENDPROVIDE.

Similar Messages

  • How to run  multi reports at a time using button

    dear all
    i have a button on form, that call a report abc.rep. when i press the button report is displayed. now i want to show another view of that report when i press button second time. but it doesn't appear. when i close the first report that it gets run.
    how can i run same report multiple time using this button.
    regards.
    Asif iqbal
    Software Engineer
    (Karachi, Pakistan).

    HI
    Call you report using this code then you can run more then 1 report at the same time
    declare
    AppID PLS_INTEGER;
    begin
    AppID := DDE.App_Begin('RWRUN60 module=d:\reports\LEDGER_NEW.Rep userid='||:global.the_username||'/'||:global.the_password||'@'||:global.the_Connect||' maximize=yes user_id='||:global.the_username||' user_password='||:global.the_password||' user_connect='||:global.the_connect, DDE.App_Mode_Maximized);
    end;
    Rizwan
    www.rizwanshafiq.blogspot.com

  • How can I change the file download time using Adobe Send? Adobe SendNow had a lot more options.

    How can I change the file download time using Adobe Send? Adobe SendNow had a lot more options.I don't see nay with Adobe Send.

    There isn't a feature in Adobe Send for setting and end-date for a file's availability. At any time, you can Unshare the file, however.

  • TS4268 how to change apple id on face time using macbook air

    how to change apple id on face time using macbook air

    coolguy1981 wrote:
    How can u format the hard drive since I am using the MBA. Formatting will delete also the recovery space and how to start with new installation? This is not going to work.
    No, that's not true. This is one of the 'benefits' of Lion (if you want to see it that way). The OS is on a separate partition and you can reinstall the OS without another physical drive.
    What you do is reboot the computer while holding down the 'option' key. From the list of disks that show up (you can release the 'option' key now), choose 'Recovery HD'.
    When you get to what looks like a Desktop, choose 'Reinstall OS X Lion'.  Shortly after this, you will get asked for your Apple ID. Put your own Apple ID in the box and everything should proceed smoothly from there.

  • How to dynamically validate users at run time using connection pools ?

    Hi Folks
    We are facing a peculiar situation . We have established connection to our
    oracle 8i database using Oracle Thin driver using conenction pooling at the weblogic
    server . We set up connection pools at the console to set up connections to thge
    oracle 8i database. However the user name and password is always static when
    we create the connection pool at the console .
    How do i dynamically validate other users using the same connection pool ??
    Eg - The connection pool at design time in the console uses user A and password
    - passA . Now at run time lets say I prompt the user for a login screen and want
    to trap the user id and apssword parameters entered by the user and use it with
    the connection pool created earlier . I tried using the below code snippet :-
    Properties props = new Properties();
    props.put("connectionPoolID", "Oracle_Thin_Driver_Pool");
    props.put("user" , userId );
    props.put("password",userPass);
    myDriver = (Driver) Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    conn = myDriver.connect("jdbc:weblogic:pool", props);
    But always it connects to the database using the userid and password set in the
    console while creating the connection pool . So how i get the connection pool
    to validate my current userid and password entered through the login screen ??
    Thanks in advance
    Keith

    Hey Bob.
    So I assume you're -completely- working with built executables?  You're not going to work in the editor environment to modify your projects at all?
    If this is the case, then having a generic deployment phase at the beginning of the executable (with a "setting up hardware for your app" splash screen) isn't a bad idea -
    Check the binary on the target, ensure it matches the binary you have on the host machine (in case you ever decide to update).
    If they don't match, FTP the new file down to replace the old one.
    FTP the ni-rt.ini file, ensure the startup exe is enabled and is pointing to the correct location.  
    If it's not enabled or not pointing to the correct startup file, modify the .INI file and FTP back to the target.
    If you had to update the INI file, ask target to reboot itself.  Wait 30 seconds, and wait for target to become available again.
    Connect to the target. If you cannot connect, reboot target.  If the target comes back and you still cannot connect to the app, notify user.
    That's almost exactly how we handle installation and deployment via MAX.  
    The big assumption here is that the built executables were all built with the same version of LabVIEW Real-Time.  If not, you'd need a system replication step in there to make sure the proper version of LabVIEW is on the target before launching the built .rtexe.  
    -Danny

  • How to get the system date and time using java

    hi,
    I want system date in my out put. how to access system date. can v use utill packaegs (or) sql. which one is the best to get.
    Thanks & Regards,
    Kenny.

    import java.util.Date;
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    public class MyClass {
    public void setTimeStamp() {
    int hour, minute, second, time = 0;
    Date dt=new Date();
    System.out.println(dt.getDate());
    System.out.println(dt.getMonth());
    System.out.println(dt.getYear());
    Calendar cal = new GregorianCalendar();
    hour = cal.get(Calendar.HOUR_OF_DAY);
    minute = cal.get(Calendar.MINUTE);
    second = + cal.get(Calendar.SECOND);
    System.out.println (hour + ":" + minute + ":" + second);
    public static void main (String args[]){
    MyClass app = new MyClass();
    app.setTimeStamp();
    }

  • How to save groups-tabs for next time use?

    I make some groups-tab by function of sites , like Email-group, News –group. If close FF beta 9, and option of startup is “show a blank page ” or “show my home page”, these groups were not be saved. If startup is “show my windows and tabs from last time”, all tabs of all groups will be opened, but they are own group.
    There is some options, when I startup FF, only show groups, so I can choose which page in particular group I want open?

    As you are using the new firefox 4 beta you may be interested in what is now a new default feature:
    * see [[What is Panorama?]]
    Many of the bookmark & home features are also the same or very similar to the previous version firefox 3.6. You can set a number of tabs to open as the home page, or you can set firefox to open with the previously open tabs.
    * see [[How to set the home page]]
    You may also save tabs in folder groups, if for instance you save those on the bookmarks toolbar, each would give you the option to open individual tabs from that folder or the whole folder. (You are permitted to nest folders, in several levels if it helps )
    See also
    * [[Bookmark folders]]
    * [[Bookmarks]] & [[Bookmarks toolbar]]
    Remember you have the choice to create and name folders as you like, and to a large extent put the folders wherever is convenient for the way you would like to work.
    Note one difference between the versions is that the bookmarks Library
    *Bookmarks -> Organise bookmarks
    *has now become Bookmarks -> Show all bookmarks

  • How to generate random numbers in a range using random class?

    I know how to use Math.random for this, but how would I generate random numbers using the random class?
    Say I want a number between 40 and 50, inclusive--how would I do this?
    What i have in mind is:
    int randomNumber = random.nextInt(max) + min;
    where max is 50 and min is 40. Is this correct?

    Fredddir_Java wrote:
    I know how to use Math.random for this, but how would I generate random numbers using the random class?
    Say I want a number between 40 and 50, inclusive--how would I do this?
    What i have in mind is:
    int randomNumber = random.nextInt(max) + min;
    where max is 50 and min is 40. Is this correct?What happened when you generated a couple hundred numbers that way? Did you get all the ints in the range you wanted?

  • How do I get the difference in time using 2 ttl pulses

    Hi everyone,   I have a question using the delay time.  What I need to find the time interval between 2 incoming TTL pulses and fire the output TTL pulse precisely the same time interval after the second TTL pulse.  I have been using Labview 7.1 with real time module and FPGA module (I think 1.0 because I can not find wait for rising edge vi).  I am using NI 7830R card.  The length of each TTL pulse is about 1-5 microsec.  Second pulse comes in at about 1 millisec after the first one.  So I need to fire aboyut 1 millisec after the second incoming TTL pulse.  Because of the non constant TTL pulse length, I would like to reference at rising edge of incoming ttl pulses.  Can anyone give me a help on this?
    Thank you very much.
    Hideya 

    Hi Hideya,
    As is the case with many programming questions, there are several ways to go about solving this one.  The solution I have in mind is to poll the digital input line for a transition from low to high.  The simplest way to do this would be to use a loop with a shift register to store the previous digital input value.  When the current digital input value is greater than the previous value, you can get the tick count (microsecond resolution sounds like it would be sufficient).  You can then do that sequence of operations a second time.  The difference between these two tick counts can be used as the input to the wait (microsecond) function.  After that you can send your digital output pulse.
    Best regards,
    David H.
    Systems Engineer
    National Instruments

  • With dynamic CreateViewObject How To "Navigate N rows at a time using DataTags" fails

    I have worked with the example on this link:
    http://otn.oracle.com/docs/products/jdev/howtos/jsp/traverse_n.ht
    ml
    It works fine in case I am using the View Object created in the
    Package as the example is using.
    However, this sample does not navigate; through record as
    expected and keep displaying same records, when I create dynamic
    view using CreateViewObject tag like this:
    <jbo:CreateViewObject appid="TravelPkgModule" name="test">
    select vc_comp_code,vc_voucher_no from hd_travel_voucher
    </jbo:CreateViewObject
    Help me in navigating with dynamic view objects.

    moreover,
    suppose total records in a set are = 100
    and range size = 10
    on first click on next set, records from 1 to 10 are displayed.
    on second click on next set, records from 11 to 20 are displayed.
    on third or N'th click on next set, records from 11 to 20 are
    displayed and not from 21 onwards are displayed.
    Code attached.
    <%@ page errorPage="errorpage.jsp"
    contentType="text/html;charset=WINDOWS-1252"
    import="java.util.*,java.text.*" %>
    <%@ page contentType="text/html;charset=WINDOWS-1252"%>
    <HTML>
    <BODY>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule
    configname="TravelPkg.TravelPkgModule.TravelPkgModuleLocal"
    id="TravelPkgModule" username="ebiz" password="ebiz" />
    <jbo:DataSource id="Qvoucher" appid="TravelPkgModule"
    viewobject="HdTravelVoucherView" rangesize="2">
    </jbo:DataSource>
    <%
    %>
    Next Set
    Previous Set
    <table border="1">
    <%
    oracle.jbo.RowSet rs = Qvoucher.getRowSet(); // see if we have
    a navigation command
    if(request.getParameter("nav") != null)
         String sNavigation = request.getParameter("nav");
    if(sNavigation.equalsIgnoreCase("nextset"))
         %>kiran = <%     
         rs.scrollRange(rs.getRangeSize());
    else
         rs.scrollRange(-rs.getRangeSize());
    oracle.jbo.Row rows[] = rs.getAllRowsInRange();
    for(int i = 0; i < rows.length; i++)
         rs.setCurrentRow(rows);%>
         <tr><td>
         <jbo:ShowValue datasource="Qvoucher"
    dataitem="VcEmpCode"></jbo:ShowValue></td>
         <td><jbo:ShowValue datasource="Qvoucher"
    dataitem="VcVoucherNo"></jbo:ShowValue></td>
    <% }%>
    LENGHT = <%=rows.length%>
    </table></BODY></HTML>
    <jbo:ReleasePageResources releasemode="Reserved" />

  • How to create widget Dynamically at run time using action script

    i have created  widget's in my application . but in the main page i want only selected widgets to be displayed..
    lets say i have 3 categories of users for which i've created 3 widget groups i.e. search , update , report. with in these groups i have number of widgets. if user belongs to searchUser category only search widget group has to be displayed in my main page, if user belongs to updateUser group i want to display search and update widget group in my main page and so  on..
    thanx

    Assuming these widgets are always on your main page, you could bind the visible parameter of the widget to variable, and then set that variable depending on the users group.  So you could mark your groups search =1, update =2, report =3.  Have a Bindable variable that you can set corrisponding to the group of the current user
    [Bindable]private var groupLevel:int;
    then in your search widget tag, set the visible parameter like so visible={(groupLevel>=1)?true:false}
    user widget would be visible={(groupLevel>=2)?true:false}
    and report widget visible={(groupLevel==3)?true:false}
    that should allow the widget so appear for the appropriate group.

  • How to update Location numbers of customers using BAPI_CUSTOMERCRM_CHANGE

    Hi everyone,
    I would like to ask how to update location numbers 1 and 2 and check digit using this bapi,
    BAPI_CUSTOMERCRM_CHANGE and what are the significance of the following parameters.
    CALL FUNCTION 'BAPI_CUSTOMERCRM_CHANGE'
      EXPORTING
        I_UPLOAD_ID             =
        I_DESTIN                =
        I_SFA_REL               =
        I_KEYWORD_IN            =
        I_CUSTOMER              =
        I_ADDRESS               =
        I_ADRCHANGE             =
        I_SALESORG              =
        I_TAXDATA               =
      I_BANKCHANGE            =
        I_TRANS_MODE            =
      I_ORIGIN                =
      I_CUSTCHANGE            =
      I_SALESCHANGE           =
    IMPORTING
      E_STATUS                =
      TABLES
        TI_STDTEL               =
        TI_STDFAX               =
        TI_STDTTX               =
        TI_STDTLX               =
        TI_STDMAIL              =
      TI_BANK                 =
      TI_LOADING_POINTS       =
        TI_ROLES                =
      TI_BANKCHANGE           =
      TI_ROLECHANGE           =
        TI_EXTENSION            =
        TI_SFA_KEYS             =
    Thanks for helping!
    Regards
    Jay Ags
    Moderator Message: Welcome to SCN. But please search for SAP Documentation and/or sample codes.
    Edited by: kishan P on Apr 6, 2011 12:09 PM

    I was facing the exact same issue and just figured out the solution: the issuing storage location is only accepted if the supplying plant is passed at the same time (in the header structure). That solved the issue for me!

  • How to find the last update date time and user of record field peoplecode

    how to find the last update date time record field peoplecode?
    Thank you.

    One can check the last update date time using the following query
    SELECT LASTUPDDTTM FROM PSPCMPROG WHERE OBJECTVALUE1 LIKE 'RECNAME' AND OBJECTVALUE2 LIKE 'FIELDNAME'

  • How to adjust audio duration/speed over time?

    I watched a video on how to adjust video duration/speed over time, using time remapping and keyframes, but it does not seem to affect audio for some reason. Is there a way to adjust the speed/duration of audio over time like you can with video?

    Oh you need to do it in AE? That's... kinda.. unneeded but okay. Thanks!

  • How to generate all forms at a time in designer using form generator?

    Hi All,
    I am using designer 9.0.4.6 .
    I am having so many forms in the module ....
    So how can I generate all forms at time using form generator ?
    Thank you
    sai

    There is a batch generate option inside the menu of the Design Editor. You can't batch generate by selecting all your forms and choose generate, this will only generate one of the selected forms.
    Regards,
    Mark

Maybe you are looking for

  • F.05 PRINT

    Hello Gurus! When we try to print report generated by the foreign currency revaluation program (F.05), for gl account at the end of page 2 does not appear and the report display the subtotal correctly on screen, but does not print out, the subtotal i

  • Ps touch doesnt work

    In my ps touch app is a Facebook Window and i cannot close it!!??

  • Problem diplay brusting parameters on excel file

    in 11g obi publisher, brusting the report in excel format. but does not display the runtime parameters on excel output file? Edited by: 839392 on Oct 5, 2012 2:42 AM

  • OC4J "classpath+properties" issue

    Hi, Is any fix available for the OC4J classpath+properties issue? It can't find *.properties files even if it is in the classpath. It's not convenient to jar properties files and edit the manifest.mf file in orion.jar every time you want to add new f

  • Rc.conf with complex networks

    I have just added wireless access to my home network server, and it works great. I already had a wired network, so I have used a bridge to bring them together. Now the wireless network and the wired network provide an internet gateway through dnsmasq