How to get inper and fpper without seqnr in SAP ABAP HR

Hi,
I'm writing a program to read payroll results from a flat file and need to upload into a ZTABLE i.e., custom table with RT structure. The file does not have seqnr or inper or fpper. Can you please tell me how to get the inper and fpper without seqnr? Is there anyway we can do that?
Thanks in advance!

Hi Abby,
This flat file you are receiving the pay info from....how can you tell which pay periiod it is drawing data from?  The INPER-In Pay Period and FPPER-For Pay Period tell you what pay period is involved.  For example, an employee turned in some of his hours worked late.  The pay this week includes pay for this week plus pay for last week.  So pay in Period 37/2009 (INPER)  includes some pay from period 36/2009 (FPPER).  Thus, you would need to have these differentiated by the sequence number.  If you did not know that, you just have a lump sum earning from the flat file with no way to differentiate. 
You did not say you were using SAP Payroll, but if you are, suggest you use some of the standard reports - such as Wage Type Reporter or Payroll Reconciliation Report.  If you are creating your own ABAP Program, use the payroll function modules such as pyxx_read_payroll_result.  These all look at the payroll clusters and extract the data in a readable format. 
Paul

Similar Messages

  • How to get the size of uploaded file in sap ABAP MODULE POOL PROGRAMMING

    Hello,
    I am using a fucntion module GUI UPLOAD to upload a file from pc to SAP .
    I want to upload the details of the file.
    i.e TYPE NAME AND SIZE of the file.
    I am unable to do so.
    Help me.
    Gaur Mayank

    Perhaps you could count this by yourself...
    You could approach the correct size by calculating the number of bytes contained in each rows of your table.
    For this you will first need to upload the file to a table of string, so that each field separator is counted.
    something like:
    DATA: lt_data TYPE STANDARD TABLE OF string,
          l_len TYPE i.
    FIELD-SYMBOLS <data> TYPE string.
    "... gui_upload to lt_data              
    DESCRIBE TABLE lt_data LINES l_len.
    l_len = ( l_len - 1 ) * 2.        "Count 2 bytes at end of each line for CRLF
    LOOP AT lt_data ASSIGNING <data>. "Add length of each line
        l_len = l_len + strlen( <data> ).
    ENDLOOP.
    WRITE: l_len.
    This for a single-byte codepage of course... you can use charlen in order to have the length of one char on your system, here I'm asuming it is 1.
    Kr,
    Manu.

  • I accidentally deleted all my apps and music. I can re-download the music but don't know how to get the apps back without buying them again. Any thoughts?

    I accidentally deleted all my apps and music. I can re-download the music but don't know how to get the apps back without buying them again. Any thoughts?

    Just follow this:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • My daughter forgot her password, any suggestions of how to get around the password without deleting everything she has on it?

    She has never synced her ipod touch to iTunes, any suggestions of how to get around the password without deleting everything she has on the device?  Apple support recommended recovery mode, but doesn't that erase everything on the ipod?

    You are out of luck but a Date Recovery company may be able to help if the iPod does not have iOS 8.
    If there is an iCloud backup you can restore from that.
    You can redownload most iTunes purchases by:        
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How to get query execution time without running...?

    Hi ,
    I had one requirement .... as follows ......
    i had 3 sql statements . I need to execute only one sql which execution time is very less.
    Can any one help me , how to get query execution time without running that query and without using explain plan..?
    Thanks,
    Rajesh

    Kim Berg Hansen wrote:
    But you have ruled out explain plan for some reason, so I cannot help you.OP might get some answers if query was executed before - but since restart. Check V$SQL dynamic performance view for SQL_TEXT = your query. Then ROUND(ELAPSED_TIME / EXECUTIONS / 1000000) will give you average elapsed time.
    SY.
    Edited by: Solomon Yakobson on Apr 3, 2012 8:44 AM

  • How to get gui_download and gui_upload with popup filename?

    how to get gui_download and gui_upload with popup filename?

    Here is a short example.
    report zrich_0003 .
    data: ifiletab type filetable.
    data: xfiletab like line of ifiletab.
    data: xstring type string.
    data: rc type i.
    data: itab type table of string.
    data: xtab type string.
    start-of-selection.
      call method cl_gui_frontend_services=>file_open_dialog
        changing
          file_table              = ifiletab
          rc                      = rc.
      read table ifiletab into xfiletab index 1.
      xstring = xfiletab-filename.
      check not xstring is initial.
      call method cl_gui_frontend_services=>gui_upload
        exporting
          filename                = xstring
      changing
        data_tab                = itab.
      loop at itab into xtab.
        write:/ xtab.
      endloop.
    Regards,
    Rich Heilman

  • How to get nodes and its attributes of an XML file usiong DOM parsing?

    how to get nodes and its attributes of an XML file usiong DOM parsing?
    i am new to XML parsing.......
    Thanking you........

    import org.w3c.dom.Document;
    import org.w3c.dom.*;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.DocumentBuilder;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;      ...
    //Setup the document
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
         DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
         Document doc = docBuilder.parse (new File("MY_XML_FILE.xml"));
    //get elemets by name
         String elementValue = doc.getElementsByTagName("MY_ELEMENT").item(0).getTextContent();
    //This method can return multiple nodes, in this instance I get item(0) , first nodeRead the api for other methods of getting data.

  • How to get vendor and company code based on logistic invoice document

    how to get vendor and company code based on logistic invoice document in abap/4?

    Hello Kumar
    When you call BAPI_INCOMINGINVOICE_GETDETAIL using
    INVOICENUMBER = <number of invoice>
    FISCALYEAR = <fiscal year>
    the returned HEADERDATA contains what you are looking for:
    HEADERDATA-COMP_CODE
    HEADERDATA-DIFF_INF
    Regards
      Uwe

  • How to get tools and other bars back in view after deleting show-bar?

    How to get tools and other bars back in view after deleting show-bar?

    Hello Jouko.
    You can go into View > Toolbars and select the ones you want to see. If you can't see the menu bar you can simply tab ALT on your keyboard (I think F10 works too) to show it.

  • How to get max and min salary in a table

    How to get max and min salary in a table

    SQL> select max(sal),min(sal) from emp;
      MAX(SAL)   MIN(SAL)
          5512        800
    SQL>

  • How to get instrument and plug in files to logic8?

    How to get instrument and plug in files to logic8?
    I lost mine in a hard drive crash.
    I cant use my DVD jam pack
    This is my spec
      Modellnamn:          iMac
      Modellidentifierare:          iMac8,1
      Processornamn:          Intel Core 2 Duo
      Processorhastighet:          2,4 GHz
      Antal processorer:          1
      Totalt antal kärnor:          2
      L2-cache:          6 MB
      Minne:          3 GB
      Busshastighet:          1,07 GHz
      Boot ROM-version:          IM81.00C1.B00
      SMC-version (system):          1.29f1
    iMac, OS X Mountain Lion (10.8.2)

    I think you want to get the latitude and longitude information of client accessing the web application. In the web application you cannot directly get the client location information as the nature of the web application is different from windows applications.
    I advise you to develop a Silverlight component and in that Silverlight component use geolocation classes to get client location. Please refer this article for getting data in Silverlight http://www.c-sharpcorner.com/UploadFile/82b980/getting-geo-location-of-user-in-silverlight/
    And once you get the location information you can send that data back to ASP.net webpage or call any javascript method as shown here http://ovaismehboob.wordpress.com/2013/06/22/bridging-data-between-asp-net-and-silverlight/
    Hope this helps!
    Ovais Mehboob Ahmed Khan http://ovaismehboob.wordpress.com

  • Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

    Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

    Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

  • Anyone.know.how.to.get.spacebar.and.delete.button.to.work??

    anyone.know.how.to.get.spacebar.and.delete.button.to.work??

    I think you are asking this in the wrong forum.  This is for TBD issues.

  • On runtime, how to get EventDispatchThread and clear EventQueue?

    On runtime, how to get EventDispatchThread and clear EventQueue?
    My programer throws following exception on runtime, I want to get EventDispatchThread to stop event dispatch and clear EventQueue on runtime.
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
         at javax.swing.plaf.basic.BasicTableUI$Handler.repaintLeadCell(BasicTableUI.java:721)
         at javax.swing.plaf.basic.BasicTableUI$Handler.focusGained(BasicTableUI.java:735)
         at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:162)
         at java.awt.Component.processFocusEvent(Component.java:5354)
         at java.awt.Component.processEvent(Component.java:5221)
         at java.awt.Container.processEvent(Container.java:1961)
         at java.awt.Component.dispatchEventImpl(Component.java:3933)
         at java.awt.Container.dispatchEventImpl(Container.java:2019)
         at java.awt.Component.dispatchEvent(Component.java:3781)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:827)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:478)
         at java.awt.Component.dispatchEventImpl(Component.java:3819)
         at java.awt.Container.dispatchEventImpl(Container.java:2019)
         at java.awt.Component.dispatchEvent(Component.java:3781)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • How Adobe gets DATE and its format?

    Hello,
    I am getting current (todays) date by using below JS in some flds, and by using below FormCalc for some flds into my_form,
    JS:
    var currentTime = new Date()
    Form Calc:
    $.rawValue = num2date(date(), DateFmt(MM/DD/YYYY))
    But, i dont have much idea that how adobe is getting this date? For my company this is the very first form, hence they are asking me how adobe gets date and its format whether,
    1) From local IP/Interner provider address's date, format?
    2) or user PC/laptop's LOCAL settings date, format? if so, for example, if Germany user (Laptop settings) has a DD.MM.YYYY configured, if this user comes to US on a busines trip and if that user opens the form, then how the date looks like for this user? as per user laptop settings DD.MM.YYYY or local internat provider date format MM//DD//YYYY?
    Thank you

    Hi,
    the date() function returns the number of days since 01.01.1900 for the local date of the current system (related to the system clock of the OS).
    If you travel from Germany to the US but don't update your date/time settings, then it returns the same date in the US as in Germany.
    You can check the behavior by changing your local date/time setting or the timezones.

Maybe you are looking for

  • Impossibile caricare le informazioni del database (Unable to load datab...)

    I built a report with a table of which I have only defined the structure of the fields in a file. Ttx. from the website build and fill a dataset then step how ReportDocument's DataSource. This works fine on development machine. when I deploy on produ

  • LR resets custom white balance on import

    Hey guys, So I photograph my aquarium under blue lights as it brings out the intense colour of the corals more. I set a custom white balance with a card and everything on the camera screen looks fantastic. Once imported, LR resets the white balance a

  • Fade an image to allow for text

    Hi, I could use some help here.  I am using Elements 6.0.  I want to fade my image to white on the right side of the image.  That way I can add text there in the plain white space.  I've seen several ways to do this, but none seem to work on 6.0.  Ca

  • After Effects error: Zero denominator in relation multiplication

    Hey guys, I don't know what now to do. I got this error ago 30 minutes. Render doesn't work. If i press ctrl(strg) + M, then is comming this error. I want only render, this file. I'm using Windows 7 - 4 GB RAM, AMD Processor and ATI(AMD) Grahpic card

  • Apache2 Syntax Errors

    Hi There, i'm having an Apache2 startup problem. When i try to start Apache2 it gives out the following errors: # /etc/init.d/apache2 start Starting httpd2 (worker) httpd2-worker: Syntax error on line 177 of /etc/apache2/httpd.conf: Syntax error on l