Reg: pernr and reguh table

hi guru's.
iam fetching bank details for employess from reguh and regup using the field pernr,since pernr is not a key field in reguh,it gets more time to fetch( around 45mins ).is there any method to make it fast?????very very urgent .....plz help.......
                      thanks in advance....
with regards,
balaji.s

Have you tried to look at the vendor(LIFNR) or payee number(EMPFG) . Does these numbers correlate with the personnel numbers?

Similar Messages

  • Which datasource has PAYR and REGUH tables

    Hi,
    Can anybody please tell me PAYR and REGUH tables are from which datasource.
    Thanks in advance for all your help.
    Points will be rewarded.

    Customer Enhancements of the Extraction Structure
    You can enhance the extraction structures for DataSources 0FI_GL_4, 0FI_AP_4, 0FI_AR_4, and OFI_TX_4 in the SAP R/3 system by creating user-defined include structures or using transaction RSA6. The following customer includes are supported:
    Application --- Accounts Payable
    DataSource --- 0FI_AP_4
    R/3 Table --- BSID / BSAD
    Include Structure --- CI_BSID
    · If all fields in the customer include structure are contained in the above-mentioned R/3 table, no further ABAP programming is required. In this case, the fields in the customer include structure are automatically supplied with data by the DataSource extractor.
    · If there are fields in the customer include structure that are not contained in the above-mentioned R/3 Table, these fields cant be filled using a function module created by the user. For more information see note 410799. Alternatively you can use the BW standard exits for extractor enhancements. Programs from the SAP standard are not modified by this customer interface.
    Please check out...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/af/16533bbb15b762e10000000a114084/content.htm

  • Reg : Cluster and pool tables

    Hi All,
    I think this has been asked previously.
    Have a doubt, i think this area is kind of opaque.
    This is the scenario, we have standard business suite systems now i am going to get the data into hana using SLT how do i handle cluster and pool tables. Do i bring in the declustered data?
    I am aware that we can get the data from these tables into BW on hana, not sure if that is correct.
    What are the best practice approach for these table classes.
    How have you implemented these kind of scenarios.
    Message was edited by: Tom Flanagan

    Hello,
    SLT Supports replication of non-Unicode to Unicode systems.
    Includes cluster / pool tables, etc. (writes into transparent tables in SAP HANA system).
    Regards,
    Subbu

  • Reg cluster and pooled tables

    hi experts..
    can u pls give the names of some cluster and pooled tables?
    regards
    Sellavel

    Hello,
    Pooled tables can be used to store control data (e.g. screen sequences, program parameters or temporary data). Several pooled tables can be combined to form a table pool. The table pool corresponds to a physical table on the database in which all the records of the allocated pooled tables are stored.
    A001
    A004
    A005
    A006
    A007
    A009
    A010
    A012
    A015
    A016
    A017
    A018
    A019
    A021
    A022
    Cluster tables contain continuous text, for example, documentation. Several cluster tables can be combined to form a table cluster. Several logical lines of different tables are combined to form a physical record in this table type. This permits object-by-object storage or object-by-object access. In order to combine tables in clusters, at least parts of the keys must agree. Several cluster tables are stored in one corresponding table on the database.
    AUAA
    AUAB
    AUAO
    AUAS
    AUAT
    AUAV
    AUAW
    AUAY
    BSEC
    BSED
    BSEG
    BSES
    BSET
    CDPOS
    Vasanth

  • Paymnet document not reflecting in REGUH and REGUP table

    Hi Expert,
    I have run f110 and payment is made to respective vendor,but the  payment document is only reflecting in PAYR table and not reflecting in REGUH and REGUP,tables
    can anybody explain me  reason for such kind of situattion
    Thanks in advance
    Regards
    Pankaj

    hi,
    Please check the logic implemented for down payment. Basically, the check printing will have two categories 1. Payment against invoice 2. Down Payments.
    In the first case we normally use F-58 transaction, when you process the transaction cheque will automatically get updated and tables PAYR, REGUH and REGUP will be updated.
    In case of down payment we use F-48 and then assign the chequq manually - during this process tables PAYR will be updated but not REGUH and REGUP. Hence we need to go BSEG table.
    Please check the logic implemented for down payment scenario for "Amount 
    regards,
    santhosh kaparthi

  • Duplicate entries in REGUH and REGUP table

    Dear All
    Whenever we make payment in SAP either through FBZ5 or APP or any other payment transactions, SAP updates 2 tables REGUH and REGUP tables.
    I believe SAP allows to make full payment for given invoice only once.
    We are seeing some duplicate entries in REGUH and REGUP table for the given Payment document and Invoice.
    Does anybody faced similar kind of issue
    Regards
    Madhan D

    I have been facing same kind of problem but in REGUP table, in Payment programe I have make cheque formart in smartform and made Z copy of payment program ZRFFOUS_C, I have also not find out the solution yet, it might be the issue of Z programe or SAP. I am using the ECC5.
    I have to control this issue during printing cheque and delete duplicate entry. but still REGUP table have the duplicate entry.
    if you find some solution please share with me
    Regards

  • Relation between REGUH table and Infotype 0015( PA0015table)

    Hi Experts,
    Can anyone provide some info. about use of REGUH table. Like when it is used/updated esp. in context of HR Payroll?
    Functionally,What is the relation between Infotype 0015 and REGUH?
    Thanks
    Achyut

    hi,
    REGUH table stores the amounts which are used for check printing and bank transfer for an Employee.
    this table is updated by running a program called 'pre-program DME'. once you update this table, then you can print checks/ perform bank transfer.
    so this table holds all the amounts even WT's amounts given in IT0015.
    hope i answered your question.
    if you have still queries, just revert back.
    regards,
    salman.

  • PERNR and UNAME Relation table

    Hi
       Could you please suggest a DB Table that holds PERNR and corresponding UNAME or BNAME. In simple I want Employee number and their Outlook Ids in a single table.
    Thanks

    Hi again,
    1. This table is for
      COMMUNICATIONS INFOTYPE
    2. communications data for a pernr
       can be various,
       eg. email, fax, pager,  credit card number.
    3. This field for distinguishing communication,
      is stored in SUBTY.
    4. The various values are :
    <b>0001     System user name (SY-UNAME)</b>
    0002     SAP2
    0003     Netpass
    0004     TSO1
    0005     Fax
    0006     Voice mail
    0010     E-mail
    0011     Credit card number(s)
    0020     First telephone number at work
    CELL     Cell Phone
    MAIL     E-Mail
    MPHN     Car phone/other mobile phone
    PAGR     Pager
    5. This kind of SUBTY field,
        is common and normal across
        all infotype tables in HR.
    6. The main purpose of SUBTY
       is for
       Further Sub-Grouping of information.
       (and its a part of primary key)
    regards,
    amit m.

  • Reg: Fact table and Dimension table in Data Warehousing -

    Hi Experts,
    I'm not exactly getting the difference between the criteria which decide how to create a Fact table and Dimension table.
    This link http://stackoverflow.com/questions/9362854/database-fact-table-and-dimension-table states :
    Fact table contains data that can be aggregate.
    Measures are aggregated data expressions (e. Sum of costs, Count of calls, ...)
    Dimension contains data that is use to generate groups and filters.
    This's fine but how does one decide which columns to consider for Fact table and which columns for Dimension table?
    Any help is much appreciated.
    Pardon me if this's not the correct place for this question. My first question in the new forum.
    Thanks and Regards,
    Ranit Biswas

    ranitB wrote:
    But my main doubt was - what is the criteria to differentiate between columns for Fact tables and Dimension tables? How can one decide upon the design?
    Columns of a fact table will often be 'scalar' attributes of the 'fact' data item. A dimension table will often be 'compound' attributes of a 'fact'.
    Consider employee information. The EMPLOYEE table can be a fact table. It might have scalar attribute columns such as: DATE_HIRED, STATUS, EMPLOYEE_ID, and so on.
    Other related information that can't be specified as a single attribute value would often be stored in a 'dimension' table: ADDRESS, PHONE_NUMBER.
    Each address requires several columns to define it: ADDRESS1, ADDRESS2, CITY, STATE, ZIP, COUNTRY. And an employee might have several addresses: WORK_ADDRESS, HOME_ADDRESS. That address info would be stored in a 'dimension' table and only the primary key value of the address record would be stored in the EMPLOYEE 'fact' table.
    Same with PHONE_NUMBER. Several columns are required to define a phone number and each employee might have several of them. The dimension tables are used to help 'normalize' the data in the employee 'fact' table.
    And that EMPLOYEE table might also be a DIMENSION table for other FACT tables. A DEVELOPER table might have an EMPLOYEE_ID column with a value that points to a 'dimension' row in the EMPLOYEE dimension table.

  • Reg value table and check table

    Hi Friends,
        I have defined a value table(ZVALTAB) for a domain and defined the relation ship between check table(ZCHKTAB) and dependent table(ZDEPTAB). Here value table and check table both are different. My problem is while I am entering the values into check table, it is not restricting the values to enter into check table even those values are not in value table. And while I am entering values into the dependent table through the menu option Utilities->Create entries then also foreign key is not working. But when I use the SM30 then the foreign key is working. So can any body explain me when this value table restrict the values and why the option Utilities->Create entries is not validating the foreign key relation ship.
    Sathish Reddy

    Hi,
      Value Table will just provide you the possible set of values.  It won't restrict u for the wrong entries.  Moreover whenever u enter entries thru Create entries no user interface is available.  The constraints whatever we give is not at all stored in the Data Dictionary.  Only the user interface which takes care all about this.  Hence it wont restrict you.  For this u have to create table maintenance generator for your table.  Then it will restrict the values against check table.
    Both Value table and Check table will provide u possible set of values.  But only the check table will restrict the values.
    Hope this will help u.

  • REG:Internal table and Database table

    Hi Xperts,
    Can you tell me /give me a sample code so as to
    Compare the data present in the database table and internal table.i.e
    Wheher the data in the db table matches with the data in the internal table
    Thanks.

    Hello,  
    First make sure that data is there in the internal table
    TABLES : Declare your table example MARA, VBAK etc
    TYPES: BEGIN OF ITAB1,
    Declare your fields here
    example
    v_mat(10) type c,
    v_code(5) type I,
    END OF ITAB1.
    IF NOT ITAB[] is INITIAL.
    LOOP AT
    END IF.
    To compare the data with DB tables, read the database table and copy into the internal table ITAB2
    Then compare the ITAB and ITAB1
    IF ITAB1[] = ITAB2[]
    END IF
    See these links for [Creating Internal Tables|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3660358411d1829f0000e829fbfe/content.htm]
    [Comparing Internal Tables|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3841358411d1829f0000e829fbfe/content.htm]
    See this for more about [Processing Internal Tables|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb36ae358411d1829f0000e829fbfe/content.htm]
    Declaring the internal table in ABAP objects
    [Thanks|http://chandranonline.blogspot.com/]
    [Chandran|http://chandranonline.blogspot.com/]

  • Infoset query logical database and transparent table

    Hi!
    We have an infoset with the data source logical database=PNP.
    We get some fields from the infotype 0768, P0768-PERNR, P0768-BEGDA, etc.
    Now we need add another table to make a join within infotype 0768 and table T5F99SE.
    For instance, in infotype 0768 I have one record with the fields PERNR and BEGDA and in the T5F99SE I have 3 records related to the unique record of infotype 0768, the fields of the table are PERNR, BEGDA, ACTDT and ADDAT .
    The fields values in the example can be:
    Infotype 0768: PERNR=00101800, BEGDA=20110401, DICOT=20, BACHE=1200
    Table T5F99SE:  record 1 PERNR=00101800, BEGDA=20110401, ACTDT=20110401, ADDAT=PB    E
                             record 2 PERNR=00101800, BEGDA=20110101, ACTDT=20110405, ADDAT=PC    E01
                             record 3 PERNR=00101800, BEGDA=20110401, ACTDT=20110409, ADDAT=PA    E
    The result we want get with infoset query is
    PERNR    BEGDA   DICOT  BACHE   ADDAT
    00101800 20110101 20        1200       PB    E
    00101800 20110101 20        1200       PC    E01
    00101800 20110101 20        1200       PA    E
    I would like to get the fields of the infotype and some fields of the table T5F99SE.
    Is possible do this action with ABAP modifying an infoset that already exists adding the fields of the transparent table?
    What should I do?
    Kind regards,
    Julian.

    My guess is that it would not be possible to include a transparent table into the LDBs PNP and PNPCE. Would need input from a technical expert there.
    However, instead of using the LDB, why don't you explore just using a direct table join? You may need to join PA0000, PA0001, PA0002 along with PA0768 and your other tables. An infoset can then be created on this table join.
    To go to the mode where you can create the table join, in your infoset transactions, choose 'Table join' instead of 'LDB'.

  • Mapping of    REGUP and REGUH  fields to the  structure FPAYP,FPAYH, FPAYHX

    Hi 
    We use  structure  FPAYP, FPAYH,  FPAYHX  in the DMEE  formats.   Now the  data in the payment run  can be seen in table REGUP  and REGUH.   All  the  payment  related  data    falls into the DMEE  generated xml file  thru  the  structure FPAYP,FPAYH, or  FPAYHX.
    My  question is  how can I  find out  which field   in  REGUP or  REGUH  is  mapped to  which  field in the  3   structures  used in DMEE.  Is there any sap  program.     I  tried  searching,  but  could not find in  sap library.
    Thanks for  your inputs.
    kamala

    Hi
    Sorry to  reply late.
    I am  doing  intermediary  bank in  international payments.
    I   need to get the intermediary bank  BIC  , clearing code   and   bank  name field data  in the DMEE format.  
    Please  tell me  which  structure and field  have  these  three  data elements.
    Thanks
    kamala

  • Query infotype and RT table

    Hi experts!!
    Is possible to do queries and get information from Infotypes and RT table in the same time.
    We would like to do a query with information from infotypes an RT table, we don't want do a query for the data from infotypes and another one to get data from de rt table (PC00_M99_CWTR).
    How is possible to do this kind os queries?
    Kind regards,
    Julian

    To check on how to use cl_hr_pay_access class, I would first try google and then the where used list button while reviewing said class in se24 tcode - example of use: RPCGR1K0
    DATA: pay_access TYPE REF TO cl_hr_pay_access.  "access of payroll result  
      CREATE OBJECT pay_access.                                                
      CALL METHOD pay_access->read_cluster_dir                                 
        EXPORTING                                                              
          pernr       = pernr                                                  
        IMPORTING                                                              
          cluster_dir = rgdir[]                                                
        EXCEPTIONS                                                             
          OTHERS      = 4.                                                     
      CALL METHOD pay_access->read_pa_result                                   
        EXPORTING                                                              
          pernr                         = p_pernr                              
          period                        = p_rgdir                              
          molga                         = '07'                                 
        IMPORTING                                                              
          payroll_result                = pay_result                           
        EXCEPTIONS                                                             
          no_authorization              = 1                                    
          read_error                    = 2                                    
          country_version_not_available = 3                                    
          OTHERS                        = 4.                                   
          CALL METHOD pay_access->read_pe_result                               
            EXPORTING                                                          
              pernr                         = p_pernr                          
              period                        = p_rgdir                          
              molga                         = '07'                             
            IMPORTING                                                          
              payroll_result                = pay_result_person                
            EXCEPTIONS                                                         
              no_authorization              = 1                                
              read_error                    = 2                                
              country_version_not_available = 3                                
              no_person_data                = 4                                
              OTHERS                        = 5.
    result will be held in pay_result_person->inter deep structure
    RT is inter-rt
    BT is inter-bt
    Or you can use function PYXX_READ_PAYROLL_RESULT - again - google or where used in se37 tcode. standard use in RPCDCI00
    * FORM GET_PAYRESULT                                                   *
    * read the internationl part of the payroll result from sequential     *
    * number I_SEQNR.                                                      *
    form get_payresult using i_seqnr         like pc261-seqnr
                    changing cs_payxx_result type pay99_international.
    field-symbols: <payxx_result> type pay99_international.
      call function 'PYXX_READ_PAYROLL_RESULT'
        exporting
          employeenumber                     = pernr-pernr
          sequencenumber                     = i_seqnr
        changing
          payroll_result                     = <pay_result>
        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.
      if sy-subrc <> 0.
        case sy-subrc.
          when 5.
            perform error using c_er_payauth i_seqnr space
                                space space c_yes.
          when others.
            perform error using c_er_readpay i_seqnr sy-subrc
                                space space c_yes.
        endcase.
      endif.
      assign component 'INTER' of structure <pay_result>
                               to <payxx_result>.
      cs_payxx_result = <payxx_result>.
    endform.     " GET_PAYRESULT
    Good luck.

  • Get pernr and provide

    Hi,
    In HR ABAP, can you tell me what exactly "Get pernr" and "provide...end provide" does ? (with an example if possible)
    I appreciate your input.
    Thanks in advance.

    hi
    good
    get pernr->
    TABLES: PERNR,
            PCL2.
      INCLUDE ZHR_PCL2_CU_DATA - Payroll results.                        *
    Data declarations for the IMPORT of database PCL2 for cluster RU.    *
    DATA: CD_NEXT_SEQ    TYPE I,               "Next available seq number
          CD_LAST_PAY    TYPE D.               "Last payroll run date
    DATA: BEGIN OF OCD_VERSION.
            INCLUDE STRUCTURE PC201.  "Technical Version
    *DATA:   molga  LIKE t001p-molga.    "country identifier
    DATA: END OF OCD_VERSION.
    DATA: BEGIN OF RGDIR OCCURS 100.
             INCLUDE STRUCTURE PC261.  "(For Export and Import of Payroll Res
    DATA: END OF RGDIR.
    Key for database PCL2 cluster RU
    DATA BEGIN OF RX_KEY.
           INCLUDE STRUCTURE PC200.  "Payroll Results Key
    DATA: END OF RX_KEY.
    country dependent
    DATA: BEGIN OF  RU-VERSION.
            INCLUDE STRUCTURE PC201.  "Technical Version
    DATA: END OF  RU-VERSION.
    DATA: BEGIN OF ORU_VERSION.
            INCLUDE STRUCTURE PC201.  "Technical Version
    DATA: END OF ORU_VERSION.
    Cumulated-result table
    DATA:  BEGIN OF CRT OCCURS 30.
             INCLUDE STRUCTURE PC22Y.  "Cumulated result table (USA)
    DATA:  END   OF CRT.
    GET PERNR.
      IMPORT CD_VERSION TO OCD_VERSION
                           CD_LAST_PAY
                           CD_NEXT_SEQ
                           RGDIR
             FROM DATABASE PCL2(CU) ID PERNR-PERNR.
      CHECK SY-SUBRC EQ 0.
    This is where you select the particular period you are searching for.  The
    selection will change based on what dates you are looking for.
      LOOP AT RGDIR WHERE FPPER EQ P_PERIOD
                    AND   INPER EQ P_PERIOD
                    AND ( RUNDT GT Z_RUNDT
                    OR  ( RUNDT EQ Z_RUNDT
                    AND   RUNTM GT Z_RUNTI ) )
                    AND   SRTZA =  'A'
                    AND   PAYTY =  ' '
                    AND   VOID  NE 'V'.
        CHECK SY-SUBRC = 0.
        MOVE PERNR-PERNR TO RX_KEY-PERNR.
        MOVE RGDIR-SEQNR TO RX_KEY-SEQNO.
       IMPORT RU-VERSION TO ORU-VERSION
              CRT
         FROM DATABASE PCL2(RU) ID RX_KEY.
         CHECK SY_SUBRC = 0.
       LOOP AT CRT.
         Process crt data.
       ENDLOOP.
      ENDLOOP. 
    thanks
    mrutyun

Maybe you are looking for

  • MDM assignments not working inside Tuples

    Hi Experts! How to use assignments both conditional/default inside a tuple in SAP MDM 7.1 SP 04. Please give a workaround example. Thanks in advance! Regards, Ravz

  • .mac encryption not compatible with popular AIM certificates

    I recently switched on encryption in iChat AV 3. I was happy to test it out with my family, who use .mac screen names in iChat. I was bummed, however, to go to work and use my AIM account to IM back to my home computer. My AIM account at work uses a

  • Lo-o-o-ng project in 3 iMovie projects.  How to combine?

    I'm editing a long trip I took, and have it in 3 different iMovie projects, 1 an hour and 22 min., 1 an hour 15 min., and 1 less than hour. Any way to combine these into one iMovie without having to learn FCP? As it is now, any audio added to these c

  • Budget Fails to Carryforward with Commitments (FMJ2)

    Hello, After ECC6.0 upgrade the Budget fails to carry forward with commitments through FMJ2, and the system checks for the availability in the new fiscal year. Please help! Thanks, Roman Atabekyan

  • Showing navigation attributes in the same column of a query

    Hi, I would like to know if there is a way to define a query such that TWO navigation attributes that reference the same underlying characteristic can be displayed in the SAME column rather than TWO separate columns. I will describe an example scenar