RP_PROIVDE_FROM_LAST

hi friends,
What is the proper use of RP_PROIVDE_FROM_LAST.
thanks,
SK

Hi,
i have a query:
INFOTYPES: 0000, 0001, 0002.
START-OF-SELECTION.
GET PERNR .
PROVIDE * FROM P0000 BETWEEN PN-BEGDA AND PN-ENDDA WHERE P0000-STAT2 = '3' and p0000-endda = '99991231' .
*SELECT * FROM PA0000 INTO TABLE ITAB WHERE ITAB-STAT2 = '3'.
      PROVIDE PERNR ENAME BTRTL FROM P0001 BETWEEN PN-BEGDA AND PN-ENDDA
                                WHERE P0001-PERNR = P0000-PERNR.
             PROVIDE * FROM P0002 BETWEEN PN-BEGDA AND PN-ENDDA WHERE P0002-PERNR = P0001-PERNR.
            WRITE: /3 P0001-PERNR,
                   28 P0001-ENAME,
                   66 P0001-BTRTL,
                   85 P0002-GBDAT.
ENDPROVIDE.
     ENDPROVIDE.
            ENDPROVIDE.
END-OF-SELECTION.
this query is not working.
i wanna alist of only active employee thats whi i have used STAT = '3'.
I m waiting
sk

Similar Messages

  • Rp_provide_from_last

    hi friends,
    What is the proper use of RP_PROIVDE_FROM_LAST.
    thanks,
    SK

    Hi
    The RP_PROVIDE_FROM_LAST macro retrieves the last valid data record in the data selection period.
    The parameters for RP_PROVIDE_FROM_LAST are: infotype, subtype, start date, and end date. If you do not want to specify a particular subtype, enter SPACE.
    You can process not only the last valid data record in the data selection period, but also the first valid data record using the RP_PROVIDE_FROM_FRST macro.
    Regards Lokesh

Maybe you are looking for

  • Dynamic cnn parameters in DB Adapter

    Hi, I want to have my databse cnn name, connectionstring, userName, pwd in DBAdapter dynamic....i want them to be set through some properties file. I was following a process in which i have a File adapter with read operation which reads the file and

  • Connecting/Linking MS Access 97 to Oracle Discoverer 4.1

    Can someone help me connect/link ms access to Discoverer I want to run reports from ms access via Discoverer. Instructions in simple step by step please.

  • Reinstall muse - how?

    How do you reinstall Muse if it says it is already installed in the creative cloud manager? I noticed there were two versions indicated in 'Revo Uninstaller Pro' - version 5 and version 6. So, I uninstalled both figuring it would be simple to reinsta

  • RMAN-08137: WARNING: archived log not deleted as it is still needed

    I am trying to delete archive logs older than 7 days in streams environment. 1) we dont have a standby database 2) checkpoint_retention_time = 7 Please help me with this. Regards, Mike

  • Urgent : Loading WRL and X3D with embedded textures

    Hey, I am creating a program to load buildings in .wrl format with texture references into a Java applet. I am experiencing one major problem in that I cannot even load a building. I am using the xj3d loaders to do so, and have tried converting the W