Retrieving absence quota data from payroll

Hi,
is there a way of fetching ABWKONTI data from payroll schema without using wages in the ZL table?
I need to access infty 2006 from payroll schema.
Thanks
Tom
I

Hi
I am not having the SAP rite now , but u can find some FM using texts bapi
                 quota
                  Detail
                 List
U will fine one FM , wherein just pass the pernr
it will give u all quota records hold by him/her .
If the selection has to be made specific pass in other parameters accordingly .
Hope this helps .
regards.

Similar Messages

  • Retrieving data from Payroll clusters u0085

    Hi ,
             Can any one help me , How to retrieve data from payroll clusters , For example take payus_result (structure ) and I want to retrieve data from PC208 and PC209  .  Can any one give step by step process how to do this?
      I am working with HR – ABAP. Mostly working with Payrolls. So I want to know this. Plz help me in this ASAP.
    Thanks & Regards,
    K Venkata Suresh

    Hello,
    you have to read the cluster like this.
    Tables : pcl1, pcl2.
    temp.variable to hold the payroll period
    DATA : g_f_pper  LIKE pc261-fpper .
    DATA : g_f_seqnr LIKE pc261-seqnr.
    Cluster Definition.
    INCLUDE rpc2cd00.          "Cluster CD Data-Definition
    INCLUDE rpppxd00.          "Data-Definition Puffer PCL1/PCL2
    INCLUDE rpppxd10.          "Common Part Puffer PCL1/PCL2
    INCLUDE rpppxm00 .
    INCLUDE rpc2rx02 .
    INCLUDE rpc2rx39 .
    INCLUDE rpc2ca00 .
    INCLUDE rpc2rdd1 .
    INCLUDE rpc2rx29 .
    INCLUDE hdepaymacro .
    Get the payroll period
      CLEAR : g_f_pper.
      CONCATENATE pn-begda0(4) pn-begda4(2) INTO g_f_pper .
    fill the keys for the CU cluster
      cd-key-pernr = pernr-pernr.
    import from the cluster CU
      CLEAR: rgdir, g_f_seqnr.
      REFRESH rgdir.
      rp-imp-c2-cd.
      IF rp-imp-cd-subrc = 0 .
        IF NOT rgdir[] IS INITIAL.
          SORT rgdir BY fpbeg DESCENDING.
          LOOP AT rgdir WHERE fpper EQ g_f_pper
                       AND   srtza EQ 'A'.  " Active          g_f_seqnr = rgdir-seqnr.
          ENDLOOP.
        ENDIF.
      ENDIF.
    fill the RX key and then import the cluster
      rx-key-pernr =  pernr-pernr .
      CLEAR : rx-key-seqno.
      UNPACK g_f_seqnr TO rx-key-seqno .
      CLEAR rt.
      REFRESH rt.
      rp-imp-c2-rd.
      IF rp-imp-rd-subrc = 0.
       LOOP AT rt WHERE lgart = '9230'. RT " Result table
    move the values here
       Endloop.
    ENDIF.
    Reward if helps.
    Thanks,
    Krishnakumar

  • HOW to retrieve PURCHASE ORDER DATA from archieve file and print a report

    Dear all
    1) I have retrieve purchase order data from archived files.
    2)  print purchase order data and created pdf file.
    VIJ.............
    Moderator message - Please ask a specific question - post locked
    Edited by: Rob Burbank on Apr 28, 2009 12:00 PM

    Dear all
    1) I have retrieve purchase order data from archived files.
    2)  print purchase order data and created pdf file.
    VIJ.............
    Moderator message - Please ask a specific question - post locked
    Edited by: Rob Burbank on Apr 28, 2009 12:00 PM

  • The logic board on my MacBook Pro has failed. How do I retrieve all my data from the hard drive?

    The logic board on my MacBook Pro has failed. How do I retrieve all my data from the hard drive?

    Remove the drive and put it in an external enclosure. Backup the drive completely. Repartition and format the drive. Replace the drive into the computer. Take the computer in for the logicboard replacement.

  • To retrieve the Maximum Date from the record

    Hi All,
    I am using the bleow query to retrieve the max date from the record list:
    select w.wr_no,w.customer_id,w.place_id, w.entry_Date, max(app.appointment_date) as appointment_date
    from work_request w , wr_appointment app
    where w.wr_no=app.wr_no
    and w.customer_id = '020167001'
    and w.place_id = '1151667'
    group by w.wr_no, w.customer_id,w.place_id, w.entry_Date;
    However i am getting the as many as three rows even after using the max function. The max date comes as the last record out the three rows retrieved.
    Thanks,
    Mark

    Mark Andrew wrote:
    And for Sven for the above customer id and place id, i receive the below result:
    WR_NO CUSTOMER_ID PLACE_ID ENTRY_DATE APPOINTMENT_DATE
    1306782233 020167001 1151667 26/07/2010 29/07/2010
    1387090103 020167001 1151667 26/02/2010 16/03/2010
    1393896673 020167001 1151667 23/01/2011 25/01/2011
    After using the rank function i will be receiving:
    WR_NO CUSTOMER_ID PLACE_ID ENTRY_DATE APPOINTMENT_DATE RK
    1393896673 020167001 1151667 23/01/2011 25/01/2011 1Now I get it.
    In fact you want to group only on the customer (and place_id?) and get all the information from the line with the last appointment date.
    Analytic functions such as RANK or ROW_NUMBER are good for this.
    The select can look like this.
    select * from (
       select w.wr_no,w.customer_id,w.place_id, w.entry_Date, app.appointment_date,
             row_number() over (partition by w.customer_id, w.place_id order by  app.appointment_date desc,  w.wr_no desc) rn
       from work_request w , wr_appointment app
      where w.wr_no=app.wr_no
      --and w.customer_id = '020167001'
      --and w.place_id = '1151667'
    where rn = 1
    ;In fact I think you can do the same operation in EXCEL directly.
    FIrst you need to sort the data by customer (asc), place (asc) and appointment date (desc).
    Then add a column in excel that give you the line where you have a new customer id.
    Assuming this new column is column H and the customerid is in column A then the function in Cell H2 would look like this.
    A function like ("=A2=A1"). Copy this formular to all the other H cells.
    Then add a auto filter on it and only select all the rows where the result is FALSE.
    Same logic as in SQL, but done in Excel.

  • Retrieve specific range data from oracle table

    Hi, Dear friends,
    I want to retrieve all the data from oracle table and then save them to mysql table using JDBC ResultSet. The problem is that some oracle table is too big, if I retrieve all of them to memory at a once time using excuteQuery, the program will become no response out of memory limitation. So my question is if I can retrieve just specific range data once a time. I can¡¯t find this function through JDBC API. Also, I don¡¯t want to use the specific sql sentence, for example ¡°select ¡ from¡ where someid>¡ and someid<¡¡±, because there are many different tables, I want to transfer them automatically. So I can¡¯t construct such sql sentence in advance. Does anyone know if oracle JDBC driver provide such kind of function or does there any other way?
    Any suggestion will be greatly appreciated!
    Sammy

    Dear Justin,
    thank you so much for your prompt reply!
    as your suggestion, I do check the performance while my program is running, after the program become nearly no response, I found the memory usage is nearly 100%, while disk usage and process usage is pretty low. that's the reason why I guess maybe the memory limitation, but the strange thing is that no any error reported by JBuilder, it just nearly no response and don't transfer any data any more. my os is windows xp, the version of JBuilder is 7. my main memory is 768M. just as you said, the total 6,000 records in not very large, just no more than 400K. another strange thing is that why my program works well when there is little data records in the table.
    the big picture of my program is first I retrieve oracle table metadata, according to this information, I construct DDL sql words and then create the corresponding table in mysql database. this part works well. in order to save your time, I will not paste the code here. then there is a method to transfer oracle data to mysql table, whenever creating the mysql table, then I will call this method to transfer datat to it. the following is the code of this method, I am very sorry to take your time. please read it when you are available.
    thank you very much!!
    Sammy
    //transfer data from oracle to mysql!!!
    private static void transferData(Connection oracleConn, Connection mysqlConn, String oracleTableName, String oracleSchemaName) throws SQLException{
    Statement oracleStmt=oracleConn.createStatement();
    Statement mysqlStmt=mysqlConn.createStatement();
    // sending sql to oracle to retrieve data
    String thisTableName=oracleTableName;
    String oracleSQL="SELECT * FROM ".concat(thisTableName);
    ResultSet oracleRS = oracleStmt.executeQuery(oracleSQL);
    String sql="";
    if (oracleRS.next()) {
    ResultSetMetaData rsmd = oracleRS.getMetaData();
    int colCount = rsmd.getColumnCount();
    do {
    String sqlBodyPart="";
    String sqlValuePart="";
    System.out.println("the number of column is "+colCount);
    for (int i = 1; i <= colCount; i++) {
    String columnValue = oracleRS.getString(i);
    boolean b = oracleRS.wasNull();
    String columnName =rsmd.getColumnName(i);
    System.out.println("the value of column " + i + "is " + columnValue);
    //construc the sql body part and value part
    sqlBodyPart=sqlBodyPart.concat(" ").concat(columnName).concat(",");
    if(b){ //if the value of the column i is null
    sqlValuePart=sqlValuePart.concat(" null").concat(",");
    }else{
    sqlValuePart=sqlValuePart.concat(" '").concat(columnValue).concat("',");
    //get rid of the last comma in sqlBodyPart and sqlValuePart
    if(!sqlBodyPart.equalsIgnoreCase("")) sqlBodyPart=sqlBodyPart.substring(0,sqlBodyPart.length()-1);
    if(!sqlValuePart.equalsIgnoreCase("")) sqlValuePart=sqlValuePart.substring(0,sqlValuePart.length()-1);
    //construct the sql sentence!!!
    sql="INSERT INTO ".concat(thisTableName).concat(" (").concat(sqlBodyPart).concat(") ").concat(" VALUES(").concat(sqlValuePart).concat(")");
    System.out.println("the sql words for this column is");
    System.out.println(sql);
    System.out.println(" ");
    if(mysqlStmt!=null){
    int rows = mysqlStmt.executeUpdate(sql);
    } else{
    System.out.println("can't connect with mysql server");
    System.exit(1);
    while (oracleRS.next());
    } else {
    System.out.println("There are no data in the table...");
    }//end of method data transfer!
    //end of method data transfer!

  • Retrieving Chrome Library data from Time Machine?

    How can I Retrieve Chrome Library data from Time Machine? It seems no Library data has been backed up.  Any ideas why not and How I can get the hidden library to be backed up in the future and have access to it in Time Machine?

    We might help you better if you possibly knew what you were talking about. OS X only hides the user's /Home/Library/ folder. Only the Chrome developers know where they would be hiding a Chrome library, if there is such an animal.
    If you want to find the /Home/Library/ folder:
    Exposing the /Home/Library/ Folder
    Pick one of the following methods:
    A. This method will make the folder visible permanently. Open the Terminal application in your Utilities folder and paste the following at the command prompt:
    chflags nohidden ~/Library
    Press RETURN.
    B. Click on the Desktop, press the OPTION (⌥) button, select Library from the Finder's Go menu.
    C. Select Go To Folder from the Finder's Go menu. Paste the following in the path field:
    ~/Library
    Press the Go button.

  • HT201263 I would like retrieve all my data from my IPhone 4S after I lost all my data! Please help! ? Thank You.

    I would like retrieve all my data from my IPhone 4S after I lost all my data due constant Apple logo on! After I restored this phone I lost all my contacts, text messages, pictures, videos..!!! The question I have is if I never backed up to iCloud and iTunes is there any way I can retrieve all my data that was before restoring this iPhone 4S. Please help! ? I greatly appreciated !!!

    If you never synced your phone to your computer and your contacts were not synced to iCloud or another cloud-based service, everything is gone. You will have to start fro scratch.
    ~Lyssa

  • Absence Quota Accruals  from days to hrs

    Hi Guys,
    I need to change the Absence Quota Accruals process in SAP ERP ECC 6.0 system from Accruing time in days to hours. All necessary configuration changes are to be made in the development system (including Time and Payroll Schema changes for absence quota accrual, year-end transfer of unused balance and payout) and upon approval be transported and tested to the Quality Assurance system and Production. All past historic/archive transactions and records must be changed and reflect the absence quotas in hours.
    Pls. let me know the steps for doing the same.
    Tnx
    SKR

    Go to the table V_T556A and change days to hours for your quota.
    Ccheck the deduction rule attached to the absence(which is related to quota) and change the units to hours.
    You may have to run the time evaluation in  the update  mode from the retro date (past date).But I wouldn't suggest you to run the time eval from the past date untill it is tested regurously in the QA system,because retroing may cause some issues.

  • Migrating Absence quota data to SAP

    I am working on a SAP-HR project, which has completed the UAT phase. We are preparing for the u201CGo Liveu201D phase.  As  part of the legacy data migration, we need to migrate the leave balances. Only one absence quota (u201CEarned Leave (EL)) is applicable for all the employees. As per the requirement, the quota generation should be done on 1 Jan of every year, based on the employee attendance days during the previous year. What is the transaction data required by SAP system for uploading into SAP? As per my understanding, the quota balance as on the u201CGo Liveu201D date for every personnel number should be made available in the Excel  file format. Am I right?
    Also, I do not know how much about BDC or LSMW, the data migration tools used for downloading/uploading data from/to SAP.  I will try to learn these tools & then come with queries if any. However, at this point, I would like to know which tool is ideal for my scenario above. Is it BDC or LSMW? (so that I can learn that tool first).  The customer has about 700 employees on rolls.
    -Shambhvi

    Hi,
    This req you can do in three different way's
    1. LSMW
    2 .BDC
    3. By using the function module HR_INFOTYPE_OPERATION
    Differences between LSMW and BDC
    Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a
    typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is not bi-directional.
    BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form
    of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The
    transaction is then started using this internal table as the input and executed in the background.
    In Call Transaction, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling.
    It can also be used for real-time interfaces and custom error handling & logging features. Whereas in Batch Input Sessions, the ABAP
    program creates a session with all the transactional data, and this session can be viewed, scheduled and processed (using
    Transaction SM35) at a later time. The latter technique has a built-in error processing mechanism too.
    Batch Input (BI) programs still use the classical BDC approach but doesnt require an ABAP program to be written to format the
    BDCDATA. The user has to format the data using predefined structures and store it in a flat file. The BI program then reads this and
    invokes the transaction mentioned in the header record of the file.
    Direct Input (DI) programs work exactly similar to BI programs. But the only difference is, instead of processing screens they validate
    fields and directly load the data into tables using standard function modules. For this reason, DI programs are much faster (RMDATIND - Material Master DI program works at least 5 times faster) than the BDC counterpart and so ideally suited for loading large volume data. DI programs are
    not available for all application areas.
    LSMW is an encapsulated data transfer tool. It can provide the same functionality as BDC infact much more but when coming to techinical perspective most the parameters are encapulated. To listout some of the differences :
    LSMW is basicaly designed for a fuctional consultant who do not do much coding but need to explore the fuctionality while BDC is designed for a technical consultant.
    LSMW offers different techinque for migrating data: Direct input ,BAPI,Idoc,Batch input recording. While bdc basically uses recording.
    LSMW mapping is done by SAP while in BDC we have to do it explicitly .
    LSMW is basically for standard SAP application while bdc basically for customized application.
    Coding can be done flexibly in BDC when compared to LSMW
    Any issues reply back
    Regards,
    Siva

  • How to retrieve all the data from a BLOB using view-generated accessor

    I am using JDeveveloper 10g v. 10.1.3 and am storing an image in a database as a blob object and need to retrieve all of the data to get the entire image and store it in an ImageIcon. The code I have works partially in that it retrieves the correct data, but only gets a piece of it, leaving me with a partial image.
    AppModuleImpl am;
    ImageVwViewImpl vo;
    am = (AppModuleImpl)panelBinding.getDataControl().getDataProvider();
    vo = (ImageVwViewImpl)am.findViewObject("ImageVwView");
    ImageVwViewRowImpl ivo = (ImageVwViewRowImpl)vo.getCurrentRow();
    ImageIcon icon = new ImageIcon(ivo.getImage().getBytes(1, (int)ivo.getImage().getBufferSize()));
    jULabel1.setIcon(icon);I either need to know how to use a stream to get the data out (from BlobDomain method getBinaryStream()), or how to get the other chunks of data separately.
    edit: I know the problem is that getBufferSize() returns an int which is too small to hold all the data, but need to know what to use instead. Thanks!

    This is the code I'm using now. Same problem :(
    AppModuleImpl am;
            ImageVwViewImpl vo;
            am = (AppModuleImpl)panelBinding.getDataControl().getDataProvider();
            vo = (ImageVwViewImpl)am.findViewObject("ImageVwView");
            ImageVwViewRowImpl ivo = (ImageVwViewRowImpl)vo.getCurrentRow();  
            ImageIcon icon = new ImageIcon(ivo.getImage().toByteArray());
            jULabel1.setIcon(icon);

  • How do I retrieve all my data from a slow restore process?

    Recently I traded my iPad mini in for a new one because the old one broke, and I was trying to update my new iPad with the data from my last iCloud backup on my old device. Most of the data has been restored onto my new device, but I am still missing numerous photos from my old device that were backed up. My iPad has been connected to wifi for three days now, and every time I open my photos app, I still get the "Downloading..." message at the bottom of the screen, along with numerous blank photos. How can I speed up the restore process to retrieve those photos faster? Or what else can I do to get those photos back?

    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf, page 159

  • Hyperion Financial Reporting: Retrieve Multi-rows Data From Another Grid

    Hi Geniuses,
    Not sure if this is the right place to ask questions about HFR...
    I have two grids: main and supporting. I was trying to retrieve data from supporting grid, where there are 10 children rows in report derived from one row in HFR. I intended to show all the 10 children rows in the report. I tried "Grid[X].row[X]" to retrieve the data and <<MemberName>> to retrieve the project name, but only one row showed up in the main report with the first line project name (supporting grid) and data of sum of the total 10 rows (supporting grid).
    Any good ideas?
    Thanks a bunch.

    999833 wrote:
    Thank you, Celvin. It worked.
    One further question: the cell that contains data and contains text strings only pulls up the "pointer". Is there anyway to translate the pointer to the correct date/text?
    I really appreciate your help.I really didn't get you mean by translating pointer?
    Are you trying to show date and text from a planning cube?
    Regards
    Celvin
    http://www.orahyplabs.com
    Please mark the responses as helpful/correct if applicable

  • Retrieving MDM catalog data from SRM

    Currently we have a requirement to pull MDM catalog data from SRM with supplier product number as input.
    We have a remote function call which has input fields u2018Catalog idu2019 and u2018Catalog itemu2019 to retrieve the catalog details from MDM.
    However we could not able to find the relation ( say database table) between the supplier product number and catalog id/catalog item in SRM.
    Is there any other RFC/APIu2019s to meet this requirement or to find relation between supplier product number and catalog id/catalog item in SRM itself?
    Kindly provide your suggestions and throw light on how to progress on this requirement.
    Thanks.
    Regards
    K Arasu

    Hi,
    The field NEW_ITEM-MANUFACTMAT[n] is used to capture manufacturer part number/supplier part number and is mapped as such automatically in the SRM BO coding.
    Regards,
    Jason

  • Retrieving of PA data from OM infotype

    Hi
    can any one tell me how to retrive PA data from OM Infotype
    i need sample code for the following example
    i am having position text in HRP1000-STEXT where Where OBJID = PA0001-PLANS
    can any one help for this example how to link the both and to retrive the data
    regards
    sachin

    Since you have the Position Text, now you need to know the Pernr (Personnel Number) holding that position....
    First get the Position Object ID from the Position Text as
        SELECT OBJID BEGDA ENDDA FROM HRP1000
        WHERE OTYPE = 'S'
        AND       STEXT = <text for position>.
    With the Position Object ID, there are two ways of getting the Pernr...
    1) SELECT PERNR
        FROM PA0001
        WHERE BEGDA LE <HRP1000-BEGDA>
        AND      ENDDA GE <HRP1000-ENDDA>
        AND      PLANS  EQ <HRP1000-OBJID>.
    2) SELECT SOBID
        FROM HRP1001
        WHERE OTYPE = 'S'
        AND      OBJID = <HRP1000-OBJID>
        AND      BEGDA LE <HRP1000-BEGDA>
        AND      ENDDA GE <HRP1000-ENDDA>
        AND      SUBTY = 'A008'
        AND      SCLAS = 'P'.
    You have the PERNR now, this is the Key field of all PA Infotypes, (all PA Tables)... May select on PA Tables with this PERNR..
    Hope this answers your question... Reward if helpful...

Maybe you are looking for

  • How to insert null in C++ Class library

    I am using oo4o Class library. I am inserting arrays into the database This is my code (it is simplified): // C++ Code OStartup(); oRes = m_o_Session.Open(); // m_o_Session is OSession // oRes is oresult oRes = m_o_db.Open(m_o_Session,sSource,sUser,s

  • ITunes Credit Card charged without getting purchase

    Apple was charging my friend's mother credit card without getting that purchase. What can she do?

  • Touch sensitive keys stopped working on Equium P300

    Hi all, my touch sensitive media keys have stopped working, they no longer illuminate, or work at all, could anyone help me out. My laptop is still in warranty, do I need to ring them, or is there a short fix?

  • Syncing with outlook

    This is an often asked question, but something for which I have yet to see a satisfactory answer.  I am running Windows XP Professional.  I also have Outlook 2003 on my desktop.  I do not use Microsoft Exchange Server.  I have an iPod Nano, an iPad 2

  • SAP shuts down when loggin on with many add-ons if logged on by main screen

    We have 3 custom designed add-ons at the site, where 2 of them are set to start automatically and 1 mandatory. It was all ok with 2 add-ons , however with the 3rd the issues started to happen. Listed below is the issue and the way to replicate. 1.