Difference between macros..? urguent can any one plz..?

1) Rp-read-infotype pernr-pernr 0041 p0041 pn-begda
pn-endda.
2) rp_provide_from_last p0041 space pn-begda pn-endda.
what is the difference between the two macros..?
plz reply as soon as u can friends..?
regards
satish.v

Hi Satish,
Not sure though...
You use rp_provide when you use a PNP logical database for your selection using GET PERNR statement. Here the rp_provide is in a loop and takes the employee number of the current loop pass and reads the record for the same.
In case of rp-read-infotype, you can provide the employee number to read the exact record you need.
Hope it helps..
Lokesh

Similar Messages

  • Can any one plz send me a screenshots of LDB

    Can any one plz send me a screenshots of LDB

    Hi
    Goto SE36 Tcode and press f4 and see the related LDB and its components like Selections, Structures, Database program etc
    see the doc
    A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.
    LDB offers an easy-to-use selection screens. You can modify the pre-generated selection screen to your needs. It offers check functions to check whether user input is complete, correct, and plausible. It offers reasonable data selections. It contains central authorization checks for data base accesses. Enhancements such as improved performance immediately apply to all report programs that use the logical database.
    Less coding s required to retrieve data compared to normal internel tables.
    Tables used LDB are in hierarchial structure.
    Mainly we used LDBs in HR Abap Programming.
    Where all tables are highly inter related so LDBs can optimize the performance there.
    Check this Document. All abt LDB's
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc
    GO THROUGH LINKS -
    http://www.sap-basis-abap.com/saptab.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    Re: **LDB**
    www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html
    www.sap-img.com/abap/abap-interview-question.htm
    www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm
    Gothru the blog which provides info on LDB's:
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Doubt in macros can any one plz..

    hai friends
    i knwo three macros in abap-hr..
    RP_PROVIDE_FROM_LAST P0000 SPACE PN-BEGDA PN-ENDDA. 
    RP_PROVIDE_FROM_frst P0000 SPACE PN-BEGDA PN-ENDDA. 
    rp_read_all_time_ity pn-begda pn-enda.
    can any one tell me any other FM'sa use in the hr abap-programming..?plz

    Hi satish,
    Funtion modules in HR start with RP* or HR* so you can search for them in the funtion builder SE37
    Most frequently used Fuction Modules in HR:
    HR_READ_INFOTYPE - To Read an Infotype
    RP_GET_HIRE_DATE
    HR_INFOTYPE_OPERATION
    Regards,
    Archana.
    Edited by: Archana Karukonda on Dec 17, 2007 2:25 PM

  • Difference b/w dates.can any one gve me conde argruntly plz..

    i have oen problem.. in o/p selection screen we have ..2 parameters: there we will gve the dates...and we need to print the dates of saturday and sunday..in those date ranges..
    ex:p1 =  24.08.2007
         p2 = 30.06.2007
    o/p = 19 sunday
    18 saturday
    12 sunday
    11 saturaday....like this..

    HI,
    Check the FM <b>CATSXT_GET_HOLIDAYS</b>.
    Try this Program,
    DATA : HOLIDAY TYPE CATSXT_ISCAL_DAY_ITAB,
           HOLI LIKE LINE OF HOLIDAY.
    CALL FUNCTION 'CATSXT_GET_HOLIDAYS'
      EXPORTING
        IM_PERSONNEL_NUMBER       = 00000000
        IM_BEGIN_DATE             = '20070801'
        IM_END_DATE               = sy-datum
        IM_GET_WEEKEND_DAYS       = 'X'
    IMPORTING
        EX_HOLIDAYS               = HOLIDAY.
    LOOP AT HOLIDAY INTO HOLI.
    CALL FUNCTION 'DATE_TO_DAY'
      EXPORTING
        DATE          = HOLI-DATE
    IMPORTING
        WEEKDAY       = WEEKDAY.
    WRITE : / HOLI-DATE,WEEKDAY.
    ENDLOOP.            
    Regards,
    Padmam.

  • Can any one tell me the difference between VK11 and MR21

    Hi Folks,
    I have changed price of a material using VK12.
    When I go to the transaction MR21, it is still showing the old price.
    Can any one help what is the difference between VK11 and MR21.
    And i which scenarios these two were used?
    Thanks in Advance
    Gopi Krishna

    Hii,
    VK11: This is price master record to determine the sale price or discounts or freight or taxes which we going to charge to the final customer.  Through this transaction we will determine the price automatically either in sales or billing document.  These transaction is only applicable for sales & distribution module for determining the pricing for customers.
    The price determined through this we use in revenue realisation.
    MR21: Through this trnsaction Finance or Cost users upload the cost of the material.  The cost is
    Standard Cost or Moving average cost.
    Cost= Raw Material CostProcessing Cost(product process cost )Overheads(employee salaries)
    This cost is maintained at each material master in accounting view either standard cost or moving average cost.
    These cost is determined for every material movement within the company.
    Example: Production, transfer posting, goods issue- system post the quantity and at the same time system create an inventory entry i.e accounting entry for the transaction.  In this accounting entries, system consider the values from material master for generating accounting entry.
    If you upload production for 10 MT of material A and in material master if kept the cost of the material as 1000 then the accounting entry in production time as
                  Finish Goods Dr          10000
                            To Cost of Production Cr        10000
    These cost also determined sales transaction through VPRS condition type.
    Rewards if it helps
    Regards
    Goutham

  • Can any one tell me difference between 2 dates in days

    hi guys,
    can any one tell me the difference between 2 dates in days
    for eg: input  20.12.2006 and 06.11.2006 will be 34.
    thanks in advance for you answers
    Regards,
    Anil kumar P

    Hi Anil,
    Check this code for u r requirement
    REPORT ZDATEDIFF.
    DATA: EDAYS LIKE VTBBEWE-ATAGE,
    EMONTHS LIKE VTBBEWE-ATAGE,
    EYEARS LIKE VTBBEWE-ATAGE.
    PARAMETERS: FROMDATE LIKE VTBBEWE-DBERVON,
    TODATE LIKE VTBBEWE-DBERBIS DEFAULT SY-DATUM.
    call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
    exporting
    i_date_from = FROMDATE
    i_date_to = TODATE
    I_FLG_SEPARATE = ' '
    IMPORTING
    E_DAYS = EDAYS
    E_MONTHS = EMONTHS
    E_YEARS = EYEARS.
    WRITE:/ 'Difference in Days ', EDAYS.
    WRITE:/ 'Difference in Months ', EMONTHS.
    WRITE:/ 'Difference in Years ', EYEARS.
    INITIALIZATION.
    FROMDATE = SY-DATUM - 60.

  • Can any one tell me the difference between third party sales & intercompany

    Hai
    can any one tell me the difference between third party sales & intercompany billing
    reg

    Hi,
    In THIRD PARTY, Goods are sent to customer from the Vendor and no Delivery happens from Company Plant
    In THIRD PARTY, We will Pay to the Vendor and Bills Customer.
    In THIRD PARTY, the PR will be generated automatically from the Sales order
    In INTERCOMPANY Process, Goods are sent to customer from the Supplying Company code  to which an order was placed from the Ordering Company code
    In INTERCOMPANY,, Plant of the supplying company code will be assigned to the Ordering Sales Organisation
    In INTERCOMPANY , We Bills the customer and settles to the SUPPLY COMPANY CODE
    We will use two Pricing procedures, One Normal pricing and other is INTERCOMPANY pricing procedure.
    These are the Major differences.
    Please check these and revert back if you need more details
    regards,
    santosh

  • Can any one give the difference

    can any one give the difference
    between normal java class and java bean
    Is every java bean is a java class

    A java bean is a class (always)
    A class does not have to be a java bean:
    For a bean you need to have a no argument constructor
    follow any of the other java bean guidelines/requirements...
    http://java.sun.com/developer/onlineTraining/Beans/index.html

  • Hi, plz can any one help me that is there any way to locate or find the stolen ipon nano???

    hi, plz can any one help me that is there any way to locate or find the stolen ipon nano???

    Other than physically looking for it, no. It does not have WiFi.

  • Can any one explain me the relation between BDC and reports events?

    hi experts.....
    can any one explain me the relation between BDC and reports events? we are using report events in BDC programmes why?\
    Is reports events occurs in each and every concept in ABAP i.e creating custom idocs, smart forms, sap scripts, dialog programmes, module pool technics?
    thanks in advance

    The forums are expert forums. So the first thing I would do is change your name.
    It's like entering a grand prix in a car with a "Student Driver" sign.
    Rob

  • Can any one tell me how to make a join in between RESB & VBAP Table

    Hi.
    can any one tell me how to make a join in between RESB & VBAP Table. Please do the needful.

    u have Sales order number and sales order item number in RESB table..
    KDAUF   Sales Order Number
    KDPOS   Item Number in Sales Order

  • Can any one tell me how to talk between two controller.....

    Hi,
    Can any one tell me how to talk between two controller.....
    Help will be awarded.
    Regards,
    Gurprit Bhatia

    Hi Gurpit,
    If you want to share data between 2 controllers then you can simply do that by providing a data link between the controllers in your data modeler.
    If you want to use some methods of one controller in another then you can do it using
    wdThis.wdget<controller name>().<method name>();
    If your question is something different than this then please elaborate your requirement.
    Regards,
    Murtuza

  • Can any one send procedure for integration between XI and Geographic inform

    can any one send procedure for integration between XI and Geographic information System(GIS).
    Please clarify ASAP..
    Thanks

    Hi,
    Please see the below links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d53af8ca-0801-0010-08b0-dce9e02130a8
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d53af8ca-0801-0010-08b0-dce9e02130a8
    GIS VS XI
    Regards
    Chilla..
    Points rewarded if it is usefull..<i></i>

  • I'M modifing std module pool for sales order plz can any one help me

    hi
    i'M modifing std module pool for sales order plz can any one help me
    i'm introucing some fileds in  sales order header level additional data2 screen
    i want it for only to doc conditio i shld i proceed

    can anyone help me

  • My itunes is not detecting my ipad air can any one help me plz

    ever since i updated my itunes its not rdetecting my ipad can any one help me with this problem plz

    Hello prachandkhanal,
    Thanks for using Apple Support Communities.
    If it does not appear under Devices in iTunes after you connect it to your PC try this article. 
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    Have a nice day,
    Mario

Maybe you are looking for

  • Convert char to ascii code and vice versa

    HI Is there any function module to convert char to ascii code and vice versa. Thanks in advance

  • MIME Version in Mail Adapter

    Hi, I'm trying to figure out what version of MIME XI uses when I send an htmlb email. I'm also wondering if I can change the MIME version. Here is the XI payload xml file generated: <?xml version="1.0" encoding="UTF-8"?> <ns:Mail xmlns:ns="http://sap

  • Print to Video w/HVR-25 not working

    I'm having no luck getting an HDV project to "print to video." Output is set to 1080i60 in Settings, Device Control is Sony Firewire. I am able to capture and control deck but can't output back to tape. Have confirmed that deck is receiving video by

  • WCS Customize guest acount printouts

    Hi I trying to customize the print out of the user and password for a guest acount but i cant find the rigth files to edit. What i like to do is to remove the pic and change fonts to match a smal printer Any hints ? Regards Mikael Mattsson

  • How to make a some object or picture got to a color

    hi i am VERY new at adobe flash an i am trying to get a layer or a symbol or something (im not sure what the objects in flash are called) to go to a given color does anyone know how to do this? im trying to track motion from a webcam feed with a pers