Rp_provide_from_last   regarding doubts

Dear All,
                I am using rp_provide_from_last to fetch a record from the  infotype.
I am getting only the last record  from the infotype by  i need all the record between the valid date range.
my date range is      01.04.2005  to 31.03.2006.
empno    begda               endda
01          01.04.2005       30.10.2005
01          01.11.2005       30.12.2005
<b>01          01.01.2006       30.02.2006</b>
I am getting the last record but i need all the three record what macro i should use.
with regards,
Prince Elvis

You can use the Provide statement which is specifically meant for this purpose in this fashion:
PROVIDE * FROM p0001 BETWEEN r_begda AND r_endda.
Do your processing here
For example
  WRITE / p0001-pernr, p0001-plans.
ENDPROVIDE.
Note: Here you dont need to check for pernr because in the LDB, only one PERNR data is available in each pass of the GET PERNR event. So we dont need to bother abt that at all.
Please dont forget to award points if this helped.

Similar Messages

  • Regarding doubts in my Speck (Urgent)

    Hi Experts,
    <b>My Selection screen is like this
    product hierarchy:
    material:
    Price group:
    Bill-to-Party:
    Period of analyse : Month :</b>
    The following are the outputs fields in Excel sheet:
    <b>Material code, Mat description, Free goods code, Invoice quantity, Invoice Net Value,  percentage diff, Invoice qty for previous yr, Invoice value for previous yr, cost of free goods, total cost of free goods</b>
    Free goods are defined in SAP using transaction <b>VBN1</b>.
    Could you please help me with the tables involved.
    Kindly help.
    Thanking you
    Regards
    Naveen

    Hi,
    Go back to the person who wrote the specification and ask them - only they will know exactly what they want.
    Gareth.

  • Regarding Doubt in Query

    Hi Friends,
    I have a doubt in Oracle Query.
    Query
    SELECT ID FROM LIST;
    ResultSet
    1
    2
    3
    4
    5
    789
    In the above query the result will in seperate rows, bu i want it as
    1,2,3,4,5.............,789.
    Can anyone help me to write a query for this type of output.
    Thanks,
    Dick....

    with t as(select 1 col1 from dual
    union select 2 from dual
    union select 3 from dual
    union select 4 from dual
    union select 5 from dual
    union select 6 from dual)
    select   ltrim(max(sys_connect_by_path(to_char(col1),',')),',') col1
    from (select col1,
           row_number() over(order by col1) r1,
           row_number() over(order by col1)-1 r2
          from t)
    start with r1 = 1
    connect by prior r1=r2;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Regarding doubt in JCO Connection

    Hai,
         I am doing jco connection in jsp page. its getting executed with out any errors. i have give the detaisl below whci is working fine but where i have to mention the url of "bsp page" ie (http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci1154530,00.html) . Please go through the code below so that by establishing the following connection it should (ie take username and password automatically) straightly go that url mentioned. 
    client = JCO.createClient( "020",  // SAP client "balal",   // userid
    "143bala",  // password "EN",        // language
    "sealerp.sealconsult.com", // host name "00" );      // system number
    <%@ page import="com.sap.mw.jco.*" %>
    <html>
    <head>
    </head>
    <body >
    <form name="form1">
    <%
    //String paramView = request.getParameter("h1")==null?"":request.getParameter("h1");
    //if(paramView.equals("view"))
        JCO.Client client = null;
    JCO.Repository mRepository;
    try {
      // Print the version of the underlying JCO library
    // out.println("\n\nVersion of the JCO-library:\n" +
    \n" +      JCO.getMiddlewareVersion());
      // Create a client connection to a dedicated R/3 system
      client = JCO.createClient( "020",       // SAP client
                         "balal",   // userid
                         "143bala",     // password
                         "EN",        // language
                         "sealerp.sealconsult.com", // host name
                         "00" );      // system number
      // Open the connection
      client.connect();
    mRepository = new JCO.Repository("seal",client);
      // Get the attributes of the connection and print them
      JCO.Attributes attributes = client.getAttributes();
      out.println("Connection attributes:\n" +"----
    \n" + attributes);
      // All done
      out.println("\n\nCongratulations! It worked.");
    catch (Exception ex) {
      out.println("Caught an exception: \n" + ex);
    finally {
        // do not forget to close the client connection
        if (client != null) client.disconnect();
    %>
    </form>
    </body>
    </html>
    Please help me in getting solution.
    Thanks in Advance.
    Thanks & Regards,
    Giridhar.

    Hai,
    sorry i have mentioned wrong bsp url. please check this url.
    http://sealerp.sealconsult.com:8080/sap/bc/bsp/sap/zbsp_primv/project.htm
    the above the bsp page url to be viewed.
    Please help me.
    Thanks in Advance.
    Thanks & Regards,
    Giridhar.

  • Regarding Doubt of oracle upgrade and oracle migration

    Hello,
    What is the diffrence between oracle upgrade and oracle migration, duirng any one of this is oracle going to touch oracle database and its data?
    Regards,
    V.Singh

    Singh wrote:
    Oracle migration means most likely from non-oracle database to migrate to oracle DB or lower hardware platform to higher/advance hardware platformI would say so. Note Oracle was also confused about word "+migrate+" since it was used till 9i to open the database in a special mode to upgrade the database itself. Nowadays, on 10g+, the command became "+upgrade+".
    In oracle upgrade we are updating oracle's new software version (9i to 10g) or patchset (102.0.2 to 102.0.4), once software is updated we giving command statup upgrade , during this phase some scripts are updating data so i belive it is updating oracle realted views,data dictionary,functions,triggers etc etc , instead of touching oracle data.Yes, upgrade script modify Oracle data and objects dictionary, but do not modify user's data and objects (if we expect a recompile of invalide objects as recommanded by the latest step of an upgrade).
    Nicolas.

  • Regarding doubt in Report

    Hi All,
    In Datamodel query ..
    I need to eliminate one or two tables based on some conditon ..
    In lexical parameter.. we can write conditon .. wht abt tables?
    Kindly let me know how can we achieve the above funcitonality.
    Thanks
    Ali

    user633508 wrote:
    In lexical parameter.. we can write conditon .. wht abt tables?Hi Ali,
    Yes, you can use lexicals anywhere in the query model.
    Just like when you set up the where clause variable, you will have to have a valid default from clause in order for it to validate properly. Also, you have to make sure that the fields in the select clause are all available at runtime too.
    For example, if you have set up a user parameter 'from_clause' and set the default value (like you did for your from clause parameter), you would set the runtime value in the before-report trigger based on whatever input parameter you are using.
    Create a user parameter called from_clause and set it's default value to 'from table1 t'. Then in the before-report trigger place:
    If :parameter.inparm = 1 Then
       :parameter.from_clause := 'From table1 t';
    Else
       :parameter.from_clause := 'From table2 t';
    End If;Then, in your data model, you would use the parameter in the same way as you did with the where clause parameter.
    Select
       t.field1,
       t.field2
    &from_clause
    &where_clauseIf the same fields are not available in both tables, you will have to do the same thing with your Select clause and build it on the fly too.
    Good luck,
    - James
    Edited by: James M on Sep 17, 2010 7:54 AM
    added "parameter." to the If statement.

  • REGARDING DOUBT IN NOKIA ASHA 310

    SIR I PURCHASED A NOKIA ASHA 310 MODEL , I WANT TO USE ONE SIM FOR ALL PURPOSE I.E FOR OUTGOING , INCOMING ,MMS , SMS AND GPRS, EDGE AND ANOTHER SIM  ONLY FOR INCOMING SMS . I WANT TO PERFORM THIS ACTIONS BY USING SETTINGS IN PHONE. IS IT POSSIBLE OR NOT . PLEASE ANSWER ME AS EARLY AS POSSIBLE 

    as your device is a dual-SIM device, i would presume that yes you can do that. basically for the first SIM, make sure that your MMS is activated and so is your data connection, and for the second one (with a different network carrier), that your MMS / data plan is deactivated.

  • Regarding doubts in installers

    Hi Nic,
    Should i use Peopletools8.51(32-bit) and oracle 11g client(32-bit) for the installation of peoplesoft enterprise with oracle 11.2.0.1(64-bit) on windows 2008 R2-64-bit.

    There is only one Peoplesoft installer, take the one given for the Peopletools version you are choosing.
    The database should be running on 64bits wordsize librairies on W2k8 64bit, but Peoplesoft needs the 32bit client whatever the wordsize of Windows OS.
    Nicolas.

  • SOS : Bean not found in 'findByName'

    Blank
    Hi Rob,
    thankx for the fast reply and the detailed explanations.
    it's gettings things cleared for me..
    let me explain the way I have understood your explanation.
    I have an EJB (entity bean) called T_Exception. Suppose, this uses few classes in the jar file frwUtil.jar
    So, do you mean to say that I should have a manifest file with the EJB Jar of T_Exception saying "Class-Path: frwUtil.jar" ?
    And this frwUtil.jar should be a part of the .ear where I have T_Exception?
    I have another EJB (session bean) T_ASM which uses T_Exception and also the classes in frwUtil.jar
    So, do you mean to say that I should have a manifest file with the EJB Jar of T_ASM saying something like
    "Class-Path: T_Exception.jar frwUtil.jar" or it just have to be "Class-Path: T_Exception.jar" ?
    And this T_Exception.jar or frwUtil.jar doesn't have to be a part of this .ear file it the previous .ear file is already deployed, right?
    Please correct me if am wrong.
    In short, you are telling me that a support class or jar file which is deployed as part of an .ear file into an application server will be available for another EJB / class file in another .ear file which is also deployed after that. Am I right? I am getting confused in these areas.
    Another doubt is about the significance of manifest files.
    Is it something like one manifest file per a package / folder or something?
    Can I have more than one manifest file for the same package? doesn't sounds logical but just to know
    where and all manifest file comes into play? am not sure abt this..
    Is there some good tutorial available to learn more about this? if yes, please let me know!
    Like you said, setting the $CLASSPATH is definitely a bad practice. We are going to aviod that once this starts working. Thanks for your suggestion.
    regarding dOubt 3 -
    For your reference, below is the erorr that I got -
    javax.ejb.ObjectNotFoundException: Bean not found in 'findByName'.
    at com.tech.framework.propertyEJB.PropertyEJB_kzue3c__WebLogic_CMP_RDBMS.ejbFindByName(PropertyEJB_kzue3c__WebLogic_CMP_RDBMS.java:2001)
    at java.lang.reflect.Method.invoke(Native Method)
    the deployment of the bean goes without an error.
    and it doesn't look like a Finder exception also, right?
    and that's where am confused.
    the same bean is working without any problems like this in 2 - 3 application server instances.
    For the same reason, I don't think that there's a prob with the EJB QL used.
    But now we are trying to remotely deploy the EJBs and deployment doesnt give an error too.
    But the very first call to this bean is giving this error only in this set up.
    and we are struggling with this since the past few days.. trying out all possibilities..
    no luck so far.. .:(
    Thankx again.. in advance..
    "Rob Woollen" <[email protected]> wrote in message news:[email protected]...
    ibmMQ wrote:
    Hi Folks..
    sorry but these doubts are probably cause am a new bie..
    dOubt No 2:
    can I put all the support classes / jar files into the server the way I
    deploy a bean?Yes, make a Jar (or jars) that have the support classes. Package them within
    the EAR file and include a Class-Path entry in the manifest of any component
    that uses these classes.
    Here's an example: http://learnweblogic.com/updates/webauction.zip
    Do not put the classes in the $CLASSPATH. You will not be able to redeploy
    them if they are there.
    mean to ask, can I make a .war or .ear file with all these support jar files
    and ca I uplaod to the application server so that when I deploy a bean, it
    will have these necessary dependency classes ready in the server? As of now,
    I set the classpath in the startweblogic.cmd file which requires a server
    restart every now and then I add something to the server classpath.
    dOubt No 3:
    when do I get Bean not found in 'findByName'?
    I am rather confused with this error!
    We'd need some more info here. Are you sure that your EJB-QL is correct?
    -- Rob
    thankx in advance
    mNs
    [att1.html]
    [Blank Bkgrd.gif]

    BlankIs it possible that a corresponding object is not found for this findByName call and hence it throws this?
    because we tried accessing the same bean from an ordinary java client and it works!!!
    but I thought if it's not finding an Object to return for a given key, it throws FinderException!
    am more confused now, I guess..
    mNs
    "ibmMQ" <[email protected]> wrote in message news:[email protected]...
    Hi Rob,
    thankx for the fast reply and the detailed explanations.
    it's gettings things cleared for me..
    let me explain the way I have understood your explanation.
    I have an EJB (entity bean) called T_Exception. Suppose, this uses few classes in the jar file frwUtil.jar
    So, do you mean to say that I should have a manifest file with the EJB Jar of T_Exception saying "Class-Path: frwUtil.jar" ?
    And this frwUtil.jar should be a part of the .ear where I have T_Exception?
    I have another EJB (session bean) T_ASM which uses T_Exception and also the classes in frwUtil.jar
    So, do you mean to say that I should have a manifest file with the EJB Jar of T_ASM saying something like
    "Class-Path: T_Exception.jar frwUtil.jar" or it just have to be "Class-Path: T_Exception.jar" ?
    And this T_Exception.jar or frwUtil.jar doesn't have to be a part of this .ear file it the previous .ear file is already deployed, right?
    Please correct me if am wrong.
    In short, you are telling me that a support class or jar file which is deployed as part of an .ear file into an application server will be available for another EJB / class file in another .ear file which is also deployed after that. Am I right? I am getting confused in these areas.
    Another doubt is about the significance of manifest files.
    Is it something like one manifest file per a package / folder or something?
    Can I have more than one manifest file for the same package? doesn't sounds logical but just to know
    where and all manifest file comes into play? am not sure abt this..
    Is there some good tutorial available to learn more about this? if yes, please let me know!
    Like you said, setting the $CLASSPATH is definitely a bad practice. We are going to aviod that once this starts working. Thanks for your suggestion.
    regarding dOubt 3 -
    For your reference, below is the erorr that I got -
    javax.ejb.ObjectNotFoundException: Bean not found in 'findByName'.
    at com.tech.framework.propertyEJB.PropertyEJB_kzue3c__WebLogic_CMP_RDBMS.ejbFindByName(PropertyEJB_kzue3c__WebLogic_CMP_RDBMS.java:2001)
    at java.lang.reflect.Method.invoke(Native Method)
    the deployment of the bean goes without an error.
    and it doesn't look like a Finder exception also, right?
    and that's where am confused.
    the same bean is working without any problems like this in 2 - 3 application server instances.
    For the same reason, I don't think that there's a prob with the EJB QL used.
    But now we are trying to remotely deploy the EJBs and deployment doesnt give an error too.
    But the very first call to this bean is giving this error only in this set up.
    and we are struggling with this since the past few days.. trying out all possibilities..
    no luck so far.. .:(
    Thankx again.. in advance..
    "Rob Woollen" <[email protected]> wrote in message news:[email protected]...
    > ibmMQ wrote:
    >
    > > Hi Folks..
    > >
    > > sorry but these doubts are probably cause am a new bie..
    > >
    > > dOubt No 2:
    > > can I put all the support classes / jar files into the server the way I
    > > deploy a bean?
    >
    > Yes, make a Jar (or jars) that have the support classes. Package them within
    > the EAR file and include a Class-Path entry in the manifest of any component
    > that uses these classes.
    >
    > Here's an example: http://learnweblogic.com/updates/webauction.zip
    >
    > Do not put the classes in the $CLASSPATH. You will not be able to redeploy
    > them if they are there.
    >
    > >
    > > mean to ask, can I make a .war or .ear file with all these support jar files
    > > and ca I uplaod to the application server so that when I deploy a bean, it
    > > will have these necessary dependency classes ready in the server? As of now,
    > > I set the classpath in the startweblogic.cmd file which requires a server
    > > restart every now and then I add something to the server classpath.
    > >
    > > dOubt No 3:
    > > when do I get Bean not found in 'findByName'?
    > > I am rather confused with this error!
    > >
    >
    > We'd need some more info here. Are you sure that your EJB-QL is correct?
    >
    > -- Rob
    >
    >
    >
    > >
    > > thankx in advance
    > > mNs
    >
    [att1.html]
    [Blank Bkgrd.gif]

  • Issue a report by SCCM2012, but distribution was applied by WSUS

    Guys, need some help regarding doubts below: 
    I have a server environment, where a team manage the application of microsoft patches through WSUS own. However I need to know if it is possible or if there is any way to issue a report of installed using the Configuration Manager SCCM 2012 updates, without
    being distributed by SCCM itself? 
    Sure of attention, I'm waiting.
    hugs!
    VagnerOliveira

    >
    a report of installed  
    If you want to know what updates are installed, that can be inventoried in general through the Win32_QFE class.
    However, that doesn't give you the compliance view that I assume you really want (what updates are needed but are not installed).  For that, you need Software Update Management compliance views which don't get data when clients are pointed at WSUS.
    It is possible to temporarily turn off the Group Policy that points devices to WSUS and instead let ConfigMgr 'manage' the updates so that you get the compliance data. I've done this before to show WSUS teams the benefit of using Software Update Management
    instead to get higher compliance with more flexibility especially with maintenance windows.
    I hope that helps,
    Nash
    Nash Pherson, Senior Systems Consultant
    Now Micro -
    My Blog Posts
    If you found a bug or want the product to work differently,
    share your feedback.
    <-- If this post was helpful, please click the up arrow or propose as answer.

  • Costing run in PP

    Dear all,
    I am new to costing run,by using previous forum from the expert of kumar and rupesh i have studied the costing run process
    From my understanding
    1) For  FG/SFG materials with quantity structure  to be maintained in material master.
    2) Relevant BOM and routing should be maintained for FG/SFGmaterials.
    3) In work center proper cost center and activity type to be maintained
    4 )what are the activity type is maintaining in work center for that price to be determined in KP26 for valid time period.
    5) By using CK11N running the standard cost estimate and save
    6)By  using ck24 marking and release the price of the material.
    7)Now checking in material master costing view 2 planned prices values has updated.
    In above points kindly please correct me if i am wrong.
    Regarding doubts
    For example;1)I am maintaining fixed prices as 102 in material master,what will be in COGM & COGS cost value?(if cost lot size 1 & 100)
                          2)What will the price value in costing 2 view once after marking & releasing the price in ck24?
                          3)I have mainatined labour price in kp26 but tha cost values its coming as zero?
    Kindly please let me clarify on this
    Regards
    Rajasekaran

    Dear Muralidhar,
    The flow path for Costing Run is
    SAP Menu
    - Production
    - Product Cost Planning
    - Material costing
    - Costing Run - CK40N
    Or else
    SAP Menu
    - Production
    - Product Cost Planning
    - Material costing
    - Cost Estimate with Quantity Structure
    - CK11N - Create.
    I hope your question is answered.
    If satisfied rewards suitable points and close the thread as asnwered.
    Regards
    Mangalraj.S

  • Small Doubt Regarding SY-MANDT

    Hi All,
         SELECT changenr FROM cdhdr CLIENT SPECIFIED INTO CORRESPONDING FIELDS OF TABLE it_cdhdr
                                             WHERE mandant = syst-mandt
                                             AND   objectclas = 'MATERIAL'
                                             AND   objectid   = wa_matl-matnr
                                             AND   tcode      = 'MM02'.
         I have written the select stament as shown above.
         In this i have a doubt like adding a field sy-mandt  in the where condition will increase the Efficiency of program or not.
    regards,
    raghu.

    Hi..
    No doubt the efficency would be affected but from business point of view there will many  things that need to be checked as in:
    If you are viewing data from CDHDR and CDPOS which is client specific then you are not viewing complete data.
    These tables give us and document changes made to a particular object in SAP but if anything is cross client like company code(lets assume) then changes to it wont be visible in all the clients..
    so there can be some key information you can miss out while working on some of the objects.
    else in this case its good to make query cross client.
    regards
    vishal

  • Doubt regarding facebook integration for windows phone 8.1 silverlight app?

    Hi,
    I am developing a windows phone 8.1 silverlight application . For my application I integrated the facebook login. For this facebook integration I used the login with facebook app method.
    My doubt is after getting the app id from the dev center , I updated the appid at developers.facebook.com , wmmanifest.xml (In extensions protocol (msft-appid without dashes)) . Or do I need to change the product id in the place holder also , I tried to
    change the productid also but I am getting error like some signature is wrong try with different signature. I am confused how to do it .
    Any help,
    Thanks...
    Suresh.M

    Hi Suresh,
    According to your description, I assume you want to complete facebook configuration in windows phone silverlight app. Please refer to the following link to see how.
    http://facebooksdk.net/docs/phone/config/.
    You can find code sample from
    https://github.com/facebook-csharp-sdk/facebook-winclient-sdk/tree/master/Samples.
    Facebook API is third-party library and it is our of our support range. You can post questions on here.
    https://github.com/facebook-csharp-sdk/facebook-winclient-sdk/issues.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • Doubts regarding db connection with encrypted password usage in sandbox

    Hi All,
    We have setup the db connection using configuration file. The configuration file contains db connection information including the encrypted password.
    Below are my doubts:
    1. If we are going to import the ETL project in zip file directly into the sandbox can we run the graphs directly or we need to check how the password which is encrypted in configuration file will be decoded.
    2. Can we directly modify the configuration file for db connection like db connection,user name and password. Suppose I want the graphs to run in some other database which is not specified in configuartion fiel .Can I directly update that?
    3.Is it possible to change the encrypted password in the configuration file in the sandbox. Is it that we need to create the project in Integrator Designer, change the password using the Integrator Designer, and then copy the encrypted password into the configuration file in sandbox, or the Endeca provides a functionality to allow user to directly change the password in the sandbox on the Integrator server.
    Can someone please let me know their comments on above.
    Thanks in Advance.
    Regards,
    Amrit

    can someone please help me on this issue

  • Doubt regarding SHDB transaction

    Hi All,   
                I have a doubt regarding the Process Tab in the application tool bar of SHDB transaction. What is the use of the following check boxes?
    1)       Default Size
    2)       Cont.after commit
    3)      not a batch input session
    4)      END: Not a Batch Input session
    5)      Simulate Background mode

    Hi,
    Basically these are the properties for CALL TRANSACTION using. You need not worry about these unless you really need those.
    1) Default Size: it will set the Default screen size for CALL TRANSACTION USING...
    2) Cont.after commit : it will set indicator that CALL TRANSACTION USING... is not completed by COMMIT. after commit also the process will continue
    3) not a batch input session: sets indicator that present session is not batch input
    4) END: Not a Batch Input session
    5) Simulate Background mode : session will be run in foreground. but similar to back grpund
    you can see the documentation by placing the cursor on these and click f1.

Maybe you are looking for

  • I need a PPT for user how to run reports with perfomance

    Hai BW guys... For our end-users we need one slide that gives them some hints/tips on how they should run the reports for best performance (e.g. extract as few records as possible). I know there is some SAP material in relation to this on sdn.sap.com

  • Scan string for computer user name

    Good morning NI Forums, I need direction on a file path scan. I'm trying to get to the user name on any system, primarily XP or 7. I'd like to compare the user name from the "Get System Directory" VI with a constant user name.This way I can pass that

  • Audio Level Change to and from progr

    When I get into even a simple program that i made that didnt go full screen my media player music (WMP ) quieted even though there is now visable change in any audio, also and most importantly is when I load up WC3 or WoW my volume gets lowered on th

  • 4th Annual Oracle Financial Services & Insurance Forum | February 21 | New

    Date/Time/Location:Thursday, February 21, 2013 8:00 am-5:30 pm New York Marriott Marquis 1535 Broadway New York, NY 10036 Evite: [Promotional Link|http://www.oracle.com/us/dm/123674-nafm12010276mpp015-se-1875369.html] URL: www.oracle.com/goto/OracleF

  • Air for Android no video playback controls

    Hi there I'm using Flash Professional CS5.5 I'm currently developing a Android app, I've imported a video clip using the import video wizard. I've tested it by publisihng it to my Android device, the video clip plays fine but there are no play/pause