Which Syntax is best to read an infotype using PNPCE LDB ?

Hi experts,
Which syntax is best to read an infotype when we use PNPCE LDB.
Thanks.
reddy

Hi Iredy,
if you need to read an infotype records of the particular employee, you can use Macro RP-READ-INFOTYPE (Parameters: PERNR, INFTY, BEGDA, ENDDA)
Macro definition you can find in table TRMAC.
For RP-READ-INFOTYPE is definition as follows:
RP-READ-INFOTYPE     001     ****************************************
RP-READ-INFOTYPE     002     * RP-READ-INFOTYPE                     *
RP-READ-INFOTYPE     003     ****************************************
RP-READ-INFOTYPE     004     * PARAMETERS:                          *
RP-READ-INFOTYPE     005     *   PERNR      REQUESTED PERSONALNUMBER*
RP-READ-INFOTYPE     006     *   INFTY      REQUESTED INFOTYPNUMBER *
RP-READ-INFOTYPE     007     *   INFTY-TABLE OUTPUT-TABLE LIKE PNNNN*
RP-READ-INFOTYPE     008     *   BEGDA      REQUESTED INTERVAL-BEGIN*
RP-READ-INFOTYPE     009     *   ENDDA      REQUESTED INTERVAL-END  *
RP-READ-INFOTYPE     010     ****************************************
RP-READ-INFOTYPE     011     *SET DEBUGGING INTERRUPT ON            *
RP-READ-INFOTYPE     012     PERFORM READ-INFOTYPE(SAPDBPNP)        *
RP-READ-INFOTYPE     013     TABLES &3                      *
RP-READ-INFOTYPE     014     USING  &1 '&2' &4 &5
RP-READ-INFOTYPE     015     *SET DEBUGGING INTERRUPT OFF           *
It means that the macro is performing read-infotype which is defined in  include DBPNPF03 of the SAPDBPNP.

Similar Messages

  • Which is the best headphone/earphone to be used wi...

    Hi Guys,
    Please suggest which would be the best headphone/earphone to be used with nokia pureview 808.
    i am basically concerned with the sound quality of the headphone.
    i want to hear each and  every detail of the song played by the music player.
    Will klipsch s4i ii/s4A ii would be compatible with 808 pureview? Kindly suggest the other options also.

    which is the best data structure to be used in Thread
    pool to store the thread instances? and why ?
    I have seen lots of people using Queue....Why do you ask? You do know that there are thread pool classes in Java 5?
    Kaj

  • Reading Payroll Results using PNPCE

    Hi All,
    As far as reading infotypes/master data is concerned, I am comfortable using "PNPCE" instead of logical database "PNP".
    Can any one tell me how can I read payroll results using "PNPCE". Since Get payroll event is not available in pnpce.

    Hi khalid,
    1. U want the remuneration (monthly salary )
    2. U won't get it DIRECTLY from any table.
    (Its stored in cluster format)
    3. Use this logic and FM.
    DATA: myseqnr LIKE hrpy_rgdir-seqnr.
    DATA : mypy TYPE payin_result.
    DATA : myrt LIKE TABLE OF pc207 WITH HEADER LINE.
    SELECT SINGLE seqnr FROM hrpy_rgdir
    INTO myseqnr
    WHERE pernr = mypernr
    AND fpper = '200409'
    AND srtza = 'A'.
    IF sy-subrc = 0.
    CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
    EXPORTING
    clusterid = 'IN'
    employeenumber = mypernr
    sequencenumber = myseqnr
    CHANGING
    payroll_result = mypy
    EXCEPTIONS
    illegal_isocode_or_clusterid = 1
    error_generating_import = 2
    import_mismatch_error = 3
    subpool_dir_full = 4
    no_read_authority = 5
    no_record_found = 6
    versions_do_not_match = 7
    error_reading_archive = 8
    error_reading_relid = 9
    OTHERS = 10.
    myrt[] = mypy-inter-rt.
    READ TABLE myrt WITH KEY lgart = '1899'.
    4. the internal table myrt
    will contain what u require.
    regards,
    amit m.

  • Which is the best wi-fi channel to use if I'm getting interference

    According to my network settings, the current wi-fi channel is 802.11g. In the past I have had no trouble with wi-fi transmissions in the house but recently I have been having trouble with the wi-fi connection between my computer and my Apple TV. The picture and sound on my computer screen is sometimes 'delayed' on the TV and/or the TV screen becomes grossly pixelated and then often just freezes. I have searched the internet for possible reasons for this and wonder whether my problems are related to my neighbour just having had a baby (apparently baby monitors can be a cause of wi-fi interference). If a device such as a baby monitor is causing my recent and ongoing wi-fi problems, what can I do to fix this? I have read somewhere that changing the wi-fi channel to 802.11n might improve things (5GHz?) but I am not game to manually re-set my Airport Express just on the offchance that things might improve because I am worried that I might do something wrong and completely muck up my wireless set-up. Has anyone similar problems and can anyone give me some advice as to what I should do?

    According to my network settings, the current wi-fi channel is 802.11g.
    Wi-Fi operates on two different radio bands: 2.4 & 5 GHz. Around these two bands are several radio modes: 802.11a, 802.11b, 802.11g, 802.11n, & the latest, 802.11ac. These modes operate on one band or the other with the exception of 801.11n which can operate on either. Finally, each band has a set number of frequencies (radio channels) that can be used. Which channels are dependent on where you live. In the US, the 2.4 GHz band uses channels 1-11. For the 5 GHz band, there are two segments of channels and your AirPort Express can access four channels in each of these segments: 36, 40, 44, 48, & 149, 153, 157, 161
    With that said, currently the 5 GHz band is less "crowded" than the 2.4 GHz band ... and thus, less chance of issues with Wi-Fi interference. If your current radio mode is set to 802.11g then it is operating on the 2.4 GHz band. Changing to 802.11n may help as it, again, can operate on either. The important thing to take from this is that the higher frequency band has more difficulty traveling over longer distance and through objects like walls ... so you are pretty much limited to either a single room or to the immediatly adjacent rooms when using this band.
    There are a number of things to try:
    Determine if there is other forms of Wi-Fi interference in the area. If they are caused by other Wi-Fi operating nearby you will want to change the radio mode's channel to be at least 3-5 channels away from the other Wi-Fi that has the strongest signal. To determine if other Wi-Fis are nearby you can use utilities like iStumbler, or AirRadar to find them, and then, radio channel on your network to reduce the interference. If switching channels resolves the problem you don't need to go on to the next option.
    Switch the radio mode from 802.11g to 802.11n. Which exact radio mode you will want to use will depend on two things: 1) Will you still need to support non-802.11n wireless clients, and 2) Which exact model of the AirPort Express that you have. If you can provide both of these, I can offer a recommendation on what radio mode to try.

  • How to retrieve time data from infotypes 2001 and 2002 when we use PNPCE

    Hello Everyone,
       I am new in using PNPCE ldb.In the requirement i have to retrieve time data from infotypes 2001 and 2002 between the begda and endda.I tried using the macro RP-READ-ALL-TIME-ITY to retrieve data.But its not supporting.Can some body help me in doing this.
    THanks in Advance..
    Regards,
    Chinni.

    Hi
       Try the following code:
    REPORT  ZHRTM41.
    nodes peras.
    Tables: PERNR.
    Infotypes: 2001.
    start-of-selection.
    get peras.
    rp_read_all_time_ity pn-begda pn-endda.
    end-of-selection.
    loop at p2001.
    write:/ p2001-abwtg,p2001-stdaz.
    endloop.
        It worked for me when using PNPCE. let me know if you have any problem
    Thanks,
    V.Nagaraju

  • Which is theb best way to read a file of 5-10 mb

    Hi,
    I need to read a flatfile of 5-10 mb and simultaneously insert into database .
    Reading through FileInputStream or FileReader?
    Which is the best approach to do this keeping in considerataion performance and memory management.
    Please help .Its is an urgent task to be done.
    Thanks,
    kazim
    Message was edited by:
    kazimh

    I always use the following example.. mayb that would help you as well
    File fid = new File(fileName);
    if (fid.exists())
            fr = new FileReader(fid);
            br = new BufferedReader(fr);
             while((txtstr= br.readLine()) != null)
    }

  • Hi anyone. Can I buy an SD card reader for my old Powerbook G4, OSX, 10.4.11 and it's only USB. I've never needed one previously but I now need to update the firmware on my camera. Can I get one, if so which one's best? Many thanks.

    Hi anyone.
    Can I buy an SD card reader for my old Powerbook G4, OSX, 10.4.11 and it's only USB.
    I've never needed one previously but I now need to update the firmware on my camera.
    Can I get one, if so which one's best? Many thanks.

    Hello,
    If it is a PowerBook G4 with a PC Card slot, you have two possibilities. You could buy a USB card reader for SD, or a PC Card adapter (such as SanDisk's 6-in-1adapter). Please note that you are or may be limited to plain SD (that is, not SDHC) unless otherwise noted. For a USB reader, make sure that it has Mac support. BTW, is an SD card absolutely necessary for the firmware update; is there not a way of updating via cable? If you post back with the camera model, someone may be able to provide additional information.
    Jan

  • Which combination has best flavour M.Tech+SAP ABAP/BI Or else MBA+SAP ?

    Hello forks,
    I shall be thankful if anyone can assist with me the below point --
    Which combination has best flavour M.Tech+SAP ABAP/BI Or else MBA+SAP ?
    Regards,
    Tejas Oza.
    <<Moderator Message: Look at Rahul's answer below. Thread Locked.>>
    Message was edited by: kishan P

    Hi Tejas,
    please understand one thing every technology requires its domain knowledge, when you are looking for abap side i don't think M.Tech will serve any purpose for it (yes it will gives you an exposure that you have masters degree), because being in sap abap primarly  requires basic coding skills, understanding its syntax and semantics, so being a B.Tech is enough.
    When it comes to MBA + SAP, yes being an MBA you will be recognised as a domain knowledgable person in industry sector and hence you will get more exposure in it, so the option of MBA + SAP functional side is justificabe, but when it comes to choose a better option in between two, no one can decide it for you , because you know yourself better than anybody else, we just provide the information regarding anything, but its you who can judge yourself better.
    So if you are crazy towards innovation, and coding is your passion you can opt for abap side, but if you don't like coding go to MBA + SAP functional side.

  • WHERE vs JOIN    which is the best

    dear all
    I learned to make join between emp table and dept table using the where clause.
    Example :
    select e.ename,d.dname
    from emp e, dept d
    where e.deptno = d.deptno;
    One of my friends told me that join using where clause is not good in performance, instead one has to use join clause
    example
    select e.ename,d,dname
    from emp e join dept d on (e.deptno = d.deptno);
    I just want to know which one is best in performance ?
    Please I need your advice

    If you want to find a difference, using WHERE is the traditional, classical Oracle syntax. Uning JOIN is ANSI SQL99 syntax, introduced in Oracle RDBMS 9iRel1.
    Now let's play MythBusters. The optimizer will interpret both syntaxes (Traditional, and ANSI SQL99) exactly the same. If you use the classical AUTOTRACE you will realize both syntaxes produce the same execution plan and both of them will use the same amount of resources, as shown below.
    SQL> set autotrace traceonly
    SQL> select e.ename,d.dname
    2 from emp e, dept d
    3 where e.deptno = d.deptno;
    14 rows selected.
    Execution Plan
    0 SELECT STATEMENT Optimizer=CHOOSE
    1 0 MERGE JOIN
    2 1 SORT (JOIN)
    3 2 TABLE ACCESS (FULL) OF 'DEPT'
    4 1 SORT (JOIN)
    5 4 TABLE ACCESS (FULL) OF 'EMP'
    Statistics
    0 recursive calls
    0 db block gets
    36 consistent gets
    0 physical reads
    0 redo size
    655 bytes sent via SQL*Net to client
    503 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    2 sorts (memory)
    0 sorts (disk)
    14 rows processed
    SQL> select e.ename,d.dname
    2 from emp e join dept d on (e.deptno = d.deptno);
    14 rows selected.
    Execution Plan
    0 SELECT STATEMENT Optimizer=CHOOSE
    1 0 MERGE JOIN
    2 1 SORT (JOIN)
    3 2 TABLE ACCESS (FULL) OF 'DEPT'
    4 1 SORT (JOIN)
    5 4 TABLE ACCESS (FULL) OF 'EMP'
    Statistics
    0 recursive calls
    0 db block gets
    36 consistent gets
    0 physical reads
    0 redo size
    655 bytes sent via SQL*Net to client
    503 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    2 sorts (memory)
    0 sorts (disk)
    14 rows processed
    Conclusion, if you want to improve performance consider using indexes, generate statistics on your segments, use an analytical approach. There are so many other ways to improve performance.

  • Which OS, Version, Best Setup on like-new 2008 MBP for non-HD archival DV?

    MacBook Pro 15"
    (Early 2008)
    2.4 GHz Core 2 Duo
    4GB RAM
    720GB 7200rpm Hard Drive (original 360GB 5400rpm drive also available)
    OS 10.6.8
    (6GB RAM possible but additional $100+ for 4GB module needed now for software upgrades)
        I first and last used Final Cut Pro 2-3 in film school on a Titanium PowerBook (500MHz!) during the OS9/X transition.  Next, was an Aluminum PowerBook (1.67Ghz) but because of life changes, I did little editing other than occasionally in iMovie.  Then as an early adopter of iPhone/Pad, I rarely used my AlPB other than for back up, writing, and occasional simple editing.
        Now I'm finally entering the early MacIntel age with a pristine "early 2008" MacBook Pro bought for $250 from an elderly original-owner couple who used it only at home for email and iPhoto.  Though at the end of its supported life, it's practically new with a known history of light graphics usage (no video or gaming rendering ever) delivered in the original box with original battery (only 46 cycles!), discs, manual, like-new charger, and no sign of wear.  The original internal wrapper was even saved and put back on the device!  Furthermore, because the wife was a photo enthusiast, the Apple Store swapped out her internal hard drive for a Western Digital 720GB 7200rpm drive and the husband just gave me the original 360GB drive!
        I want to do several things with this "new" device.  I've done a lot of research but the world has changed since FCP 3 and the G4 processor and I'm overwhelmed with all the possibilities.  I need guidance and have always appreciated the wisdom and generosity of the gurus here. I thank you all in advance!
    iCloud integration: I'd like it since I'm an iPhone/Pad user.  I could upgrade to Mountain Lion but Mavericks, under the best of conditions, is doable on my device and may give me improved CPU and battery performance.  I realize this is best left for the OSX forums.  HOWEVER...
    Final Cut Pro: I want to also return to editing in FCP an unfinished documentary using primarily archival film and video converted to non-HD DV.  This may greatly impact how I set up my drives and the decision as to which OS is best.  So, this should probably be my initial decision.
    Hard Drive:  First and foremost, I should probably swap the drives and place the 7200rpm drive into an enclosure (Firewire or is that stone-age?) for FCP media, correct?
    OS:  With Mavericks, I must use FCPX which is beyond my current non-HD needs and will most likely strain my system resources.  However, the new simplified interface is appealing and I've read some users are running it on "early 2008" MBPs.  If an earlier OS is better suited, then which one?  And also...
    FCP Version:  Which is most stable given my model?  And which is best for non-HD needs?  What about FCExpress?  I want to explore more possibilities than what's available in iMovie and would appreciate the simpler interface found in FCE and FCPX, especially since I haven't used any Final Cut since FCP 3 but will gladly embrace what's best.  I want to relearn the program and hope to continue using it for other projects.
    Partitioned drive:  Finally, what about partitioning my drive, one for daily life running Mavericks or other OS, the other solely dedicated to an optimized OS/FCP for non-HD editing?  Even at 360 GB it should be doable if I keep it lean and the bulk of storage externally (I ran FCP 3 adequately on a partitioned 40GB drive back in the day).  How much space should I dedicate to an FCP partition?
        Finances are tight and I'll need to upgrade Office, other apps (I know there's Rosetta in Snow Leopard but must weigh that with iCloud integration; decsions, decisions!) and probably locate an older copy of FCP on EBay or elsewhere which could be expensive.  I must wait a bit before swapping in a 4GB RAM module and possibly upgrading to an SSD.  Meanwhile, I'd like to experience this like-new MacBook Pro now, both as it was during its heyday and with what's still possible today.  It seems doable and I appreciate any and all suggestions.
    Thank you all and have a great day!
    Evalyn
    PS: I realize my FCP3 files are probably useless and plan to reimport everything into a new project.  And sorry for the lack of paragraph spacing.  Can't get it formatted right on the iPad!

    CyberFinch wrote:
    FCP Version:  Which is most stable given my model?  And which is best for non-HD needs?  What about FCExpress?  I want to explore more possibilities than what's available in iMovie and would appreciate the simpler interface found in FCE and FCPX, especially since I haven't used any Final Cut since FCP 3 but will gladly embrace what's best.  I want to relearn the program and hope to continue using it for other projects.
    Just to note that there is much more commonality between FCP3 and FCP7 and/or FCE than with the early version and FCP X. IMO, learning FCP X is worth the effort, but it will require some effort since it is so different than traditional NLE's. You could "get by" with FCE for many types of projects and you should be able to find a copy on eBay or Amazon  for a few hundred dollars. However, you will not be able to open a FCP project of any version with it.  Also, I don;t think I would agree that  its UI is simple; it's essentially the same as FCP.
    As for partitioning, some people advise against editing from drives that have been partitioned. I use a partition on one machine and I've not had any problems, so I think it is an option.
    As you can see from the replies you've received so far, you have  reasonable choices. Good luck.
    Russ

  • I have a external Hard drive of 1TB. I want to transfer HD movies to it from my MAC but it can only take 4 gb at a time, now i have to format it which is the best format in this situation NTFS or exFAT, as i use windows part ion as well??

    I have a external Hard drive of 1TB. I want to transfer HD movies to it from my MAC but it can only take 4 gb at a time, now i have to format it which is the best format in this situation NTFS or exFAT, as i use windows part ion as well?? plzz help
    Merry Christmas

    Repartition and format the drive for a Mac:
    Drive Preparation
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.

  • How do I upload to Facebook in High Resolution using my iPhone. Do I need an app? Which ones are best for the job? (I know how to do it on a PC :) )

    How do I upload photos to Facebook in High Resolution using my iPhone. Do I need an app? Which ones are best for the job? (I know how to do it on a PC )

    100pat wrote:
    Thanks, I can do it fine from my Windows desktop PC, I just want to know how to do it from an iPhone4
    Like I said before ask facebook or look at their support site to see if that is even a feature.

  • Which Is The Best Free Video Converter Software?

    Which is the best FREE software for encrypting dvd's for Ipod and which is the best FREE software for converting encrypted dvd videos to my Ipod, or is there out a FREE software that can do both thing?
      Windows XP Pro  

    Try this software:
    Firefox or IE7.
    Go to these forums.
    Search these forums.
    This question is asked 1000 times a month. So try a search , honest it works. (Google has a few thousand answers as well).
    Note DVD's are already encrypted, so you will be looking to decrypt them, then convert to MP4 for iPod..

  • Avast, clamXAV and MacScan - which is the best of these OSX AV scanners?

    Avast, clamXAV and MacScan - which is the best of these OSX anti-virus scanners?
    Does anyone have experience of all three?

    Ermmm. I think you'll not find anyone here that's got experience of one, let alone all three.
    My thoughts on anti-virus for the Mac, is that it can be more hassle than it is worth, given the nature of OSX. Don't get me wrong, it's not like I think the OS is invulnerable, but other than the one lone mock video codec trojan that was out a few years ago, there really isn't much of a need for anti-virus.
    Yet.
    The best web security right now for general browsing is Firefox with NoScript and AdBlock Plus and have it set to delete the cache and cookies after each session.
    Beyond that, the commonest things vexing Mac OS right now, are 'social engineered' trojans or virii, that the user installs themselves.
    If you stick to legitimate download sites, (c-net, versiontracker) you will be fine.
    Deb.

  • I want to relocate my iTunes library on a NAS drive and stream to apple tv2 and DLNA tbs around the house is this possible and if so which is the best NAS drive to buy???

    I want to relocate my iTunes library on a NAS drive and stream to apple tv2 and DLNA tbs around the house is this possible and if so which is the best NAS drive to buy???

    ged2001 wrote:
    I want to relocate my iTunes library on a NAS drive and stream to apple tv2 and DLNA TV's around the house is this possible and if so which is the best NAS drive to buy???
    i don't have any experience with DLNA TV's but i recently moved my iTunes library to a NAS. streaming content to airport express remote speakers and TV2 works great. however, i have all my gear hardwired to my time capsule (except the airport express) so i'm not sure how well streaming e.g. HD movies to TV over wifi works.
    i have a Synology DiskStation 411j and am very happy with it.

Maybe you are looking for

  • IPAD restores applications but not data or files associated with applications

    1) Today Itunes prompted me to update the OS on the IPAD. 2) It warned me to back up IPAD before I did.  I did 3) I updated software. 4) It returned with an error saying it could not install software and I must restore to facotry settings 5) I resoto

  • PDF Transparent logo from MS Word

    I have a client whom we have designed a logo for. They want to import this logo into MS Word as an image with a transparent background and then use it in various documents, exporting from word as PDF documents. We have supplied the logo in a number o

  • To Include Infotype 0185 - PAN No. in PE51 - question especially to HR Abap

    Dear All, My client wants PAN no to be included in the payslip which is created via transaction PE51 (for creation of HR related forms). I brought the respective table P0185 and its fields ICTYP and ICNUM via the PE51_checktab, but the problems is th

  • ISE reports. Need report for Authorization Profiles

    in ISE 1.1.1 pack 2 how do I run a report that will give me all authorizations with the blackhole_wireless_access for the past 2 months? TIA Scott

  • Remove package from Distribution Point

    I have been fighting with an OS deployment for the last day. The log was showing it was unable to find the package p0100001 which was my boot image. I eventually got it working as I failed to configure my boundary correctly. But it got me wondering..