Reading ZES table - B2 cluster

Hello experts,
How to read table ZES from B2 cluster.
There is a function module used in standard program RPTBAL00, but that function module is not giving results for table ZES.
Please help.
Thanks,
Ashish Gupta

Hello,
Use FM HR_TIME_RESULTS_GET.
There are different tables. For ZES - Use GET_ZES.
Also note:
declare a internal table beofre using this FM.
Data: begin of lt_tbuff occurs 0.
           include structure pcl1.
data: sgart(2).
data: end of lt_buff.
Pass this empty table in get_tbuss (in tables section.)
Thanks!!

Similar Messages

  • How to read data from a CLUSTER STRUCTURE not cluster table.

    Hi,
    how to read data from a CLUSTER STRUCTURE not cluster table.
    regards,
    Usha.

    Hello,
    A structre doesnt contain data.. so u cannot read from it. U need to find out table of that structure and read data from it.
    Regards,
    Mansi.

  • Time Management... using ZES table...

    Hi experts!!
    I need help with this dates problem....
    I have to read the cluster B2, specifically ZES table, and I want to print the data for three differents weeks that I have in selection screen. When I see the information of the cluster in RPCLSTB2 I can see in table ZES the concept and the date but when I try to catch the date in the table ZES I only have the day...how can I reference to the program the date?
    I explain....
    Selection-Screen....
    Week1  (select options).........
    Week2...................
    Week3.........
    Now I need to go with one of the weeks to the cluster and catch the data that are between Week1 , Week2 and Week3, but when I access to this table I only have the day...no the month.... how can I do this?
    Thanks a lot!
    Regards,
    Rebeca

    Hey Rebeca,
              Just  look into below information.if this info usefull for u thats gr8.
    DATA: T_ZL TYPE PC2BF OCCURS 0 WITH HEADER LINE.
      data: begin of tgetbuff occurs 0,
          x(10),
      end of tgetbuff.
      CALL FUNCTION 'HR_TIME_RESULTS_GET'
           EXPORTING
             GET_PERNR     = PERNR
             GET_PABRJ     = YEAR
             GET_PABRP     = MONTH
            GET_CLTYP     = '1'
           TABLES
             GET_TBUFF     = TGETBUFF
             GET_ZL        = T_ZL
           EXCEPTIONS
             NO_PERIOD_SPECIFIED   = 1
             WRONG_CLUSTER_VERSION = 2
             NO_READ_AUTHORITY     = 3
             CLUSTER_ARCHIVED      = 4
             TECHNICAL_ERROR       = 5
             OTHERS                = 6.
    Regards,
    Lakshman.Annamaneni

  • How to Pull Data From CRT table PCL2 Cluster

    Hi,
    I want to show a Report, below is the Fields in the Report 
    <b>Descripton</b>----
    <b>Table Name</b>
    Total Current Month Salary----
    CRT table PCL2 cluster
    monthly member contribution-----CRT table PCL2 cluster
    Net difference in Pay----
    CRT table PCL2 cluster
    How to get the Data from the CRT table PCL2 cluster in BW
    is there any procedure to get the payroll data in BW?
    I think CRT table is a internal Table.
    any good idea's will be appricated...
    Thanks
    Priya

    Hi,
    check whether is it populating when u call
    Function Module  - PYX X_READ_PAYROLL_RESULT .
    If not Use this Marcro.
    RP-IMP-C2-IN.
    Call this macro and check EPF[ ].This marco will populate both RT and EPF.
    Check transaction - PC00_M40_ EPF
    Cheers,
    Manoj.

  • FMs not returning ZES table values

    Hi Experts,
    I am an ABAPer, so the solution to this may be very simple but not to me.
    while fetching cluster B2 data via various FMs the entries of ZES table aren't coming.
    I have used HR_FORMS_TIM_GET_B2_RESULTS and HR_TIME_RESULTS_IN_INTERVAL.
    While using the second FM I have observed it calls HR_TIME_RESULTS_GET and returns the ZES table data
    but they get deleted based on few conditions which are dependent on T549Q payroll periods (obtained from HR_PAYROLL_PERIODS_GET).
    So I need to know what configurational mistakes or time evaluations flaws lead to these kind of cases.
    Thanks in advance,
    Sourav

    Hi,
    I would suggest please ask Functional to check ZES table using PT66, does data is stored in ZES.
    As structure has ZES, it should be store based on time type config.
    Thanks,
    Ketul

  • Inforation on Pool tables and cluster tables required.

    I want to know about the pool tables and cluster tables like how to create them and how to look the tables associated with the given tables. Like for the table BSEG we have other tables linked BSID etc. I'm new to this concept please guide me.

    <b>Pooled Table:</b>
    A pooled table in R/3 has a many-to-one relationship with a table in the database (see Figures 3.1 and 3.2). For one table in the database, there are many tables in the R/3 Data Dictionary. The table in the database has a different name than the tables in the DDIC, it has a different number of fields, and the fields have different names as well. Pooled tables are an SAP proprietary construct.
    When you look at a pooled table in R/3, you see a description of a table. However, in the database, it is stored along with other pooled tables in a single table called a table pool. A table pool is a database table with a special structure that enables the data of many R/3 tables to be stored within it. It can only hold pooled tables.
    R/3 uses table pools to hold a large number (tens to thousands) of very small tables (about 10 to 100 rows each). Table pools reduce the amount of database resources needed when many small tables have to be open at the same time. SAP uses them for system data. You might create a table pool if you need to create hundreds of small tables that each hold only a few rows of data. To implement these small tables as pooled tables, you first create the definition of a table pool in R/3 to hold them all. When activated, an associated single table (the table pool) will be created in the database. You can then define pooled tables within R/3 and assign them all to your table pool.
    Pooled tables are primarily used by SAP to hold customizing data.
    <b>Cluster Table:</b>
    A cluster table is similar to a pooled table. It has a many-to-one relationship with a table in the database. Many cluster tables are stored in a single table in the database called a table cluster.
    A table cluster is similar to a table pool. It holds many tables within it. The tables it holds are all cluster tables.
    Like pooled tables, cluster tables are another proprietary SAP construct. They are used to hold data from a few (approximately 2 to 10) very large tables. They would be used when these tables have a part of their primary keys in common, and if the data in these tables are all accessed simultaneously.
    Table clusters contain fewer tables than table pools and, unlike table pools, the primary key of each table within the table cluster begins with the same field or fields. Rows from the cluster tables are combined into a single row in the table cluster. The rows are combined based on the part of the primary key they have in common. Thus, when a row is read from any one of the tables in the cluster, all related rows in all cluster tables are also retrieved, but only a single I/O is needed.
    A cluster is advantageous in the case where data is accessed from multiple tables simultaneously and those tables have at least one of their primary key fields in common. Cluster tables reduce the number of database reads and thereby improve performance.
    Restrictions on Pooled and Cluster Tables
    1. Pooled and cluster tables are usually used only by SAP and not used by customers, probably because of the proprietary format of these tables within the database and because of technical restrictions placed upon their use within ABAP/4 programs. On a pooled or cluster table:
    2. Secondary indexes cannot be created.
    3. You cannot use the ABAP/4 constructs select distinct or group by.
    4.You cannot use native SQL.
    5.You cannot specify field names after the order by clause. order by primary key is the only permitted variation.
    For creation of pooled /cluster table, have  a look at below link.
    http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
    For creation of table pool /cluster, have  a look at below link.
    http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
    Have a look at below link.
    http://www.sap-img.com/abap/the-different-types-of-sap-tables.htm
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Change log in HR (Table PCL4 Cluster LA)

    Hi @ all,
    when infotype logging is activated changes made in infotypes are logged into table PCL4 cluster LA.
    We have the following problem:
    HR masterdata is stored into our system from an external system via ALE. But the problem is that no change logs are written. But we absolutely need this information!!!
    Now I have coded a RFC function module which reads the log data from the external system. This also works fine. But how do I have to store the data into <b>our</b> PCL4(LA)???

    nope - I didn't try this because I don't know about the data which is needed to store the change log correct.
    Other question: I've found the function module "HR_INFOTYPE_LOG_CREATE" which seems to do what I want. But the problem is that there is no documentation available. The FM has four table parameters - does anyone how how to fill them? Has anyone used this FM? It is not used within standard programs - the "where used" function does not report any hits.
    Thx in advance

  • How to find which transparent tables compose cluster tableuFF1AKONV

    How to find which transparent tables compose cluster table&#65306;KONV

    Hi,
    Welcome to SDN.
    Try doing this ....
    1). Goto se12 and display the table BSEG
    2). Click on the Delivery & Maintenanace tab
    3). Double click on the Pool/Cluster field
    4). On the next screen do a where used list
    You will find all the related tables.
    Regards,
    Amit
    Reward all helpful replies.

  • Reading colour table form a 24bit Bmp....

    Im trying to load and display a 24bit bmp using IMAQ, but it only show a
    gray scale picture and I cant get it to load the colour table. IMAQ load
    file is set to load the colour table, and I wierd the coulour table to IMAQ
    windraw.
    The colour tabel cluster is empty, why?
    Regards Reine

    Hi Anna,
    Try the solution given in this link:
    [Read Dynamic Table|Re: Data in dynamic table not pass to webdynpro java;
    Hope this helps,
    Amit

  • Failed to read the table scslmthresh: error = 113

    I'm continously getting the above error (Failed to read the table scslmthresh: error = 113) on a new sun cluster 3.2 on two T5240s with a 2540 as their storage. I've searched for this error but I cannot find any information on it. Anyone know what this is??
    java[1935]: [ID 513556 daemon.warning] Failed to read the table scslmthresh: error = 113
    I do have the cluster telemetry services running and a few storage resources, but nothing big yet. This error happens about every 2 hours, but the timing is not exaclty consistent.
    thanks for any insight.

    I figured out that this error definitely has to do with reading/writing information to the telemetry resource/data service, so I removed mine completely and re-installed it using the clsetup (option 8, then option 2). That seems to have removed the error. I'm guessing a Java patch changed something that the telemetry service didn't like.

  • Regarding table pool/cluster

    Hi,
    can you please discribe me the the process by which we can find
    how many pool/cluster table is attached to perticuler table pool/cluster.
    thanks.

    hi jony ,
    try this
    DATA : BEGIN OF IT_TABLES OCCURS 0,
                  TABNAME LIKE DD02L-TABNAME,
                END OF IT_TABLES.
         SELECT  TABNAME
                        FROM  DD02L
                        INTO IT_TABLEs
                        WHERE SQLTAB EQ  <CLUSTER/POOL NAME>.
      Eg :
         SELECT  TABNAME
                        FROM  DD02L
                        INTO IT_TABLEs
                        WHERE SQLTAB EQ  'AABLG'.

  • Performance problems due to sequential read on tables WBCROSSGT and CROSS

    Hello all,
    got the SAPNW2004s Sneak Preview ABAP installed. Performance is quite ok. But with certain dictionary operations like creating new attributes for a class I experience exceptional long runtimes and timeout dumps. In SM50 I see a sequential read on table WBCROSSGT. In OSS I can't find anything applicable yet for this release  (SAP_BASIS 700, support level 5).
    Any suggestions appreciated.
    Simon

    Hello,
    i had exactly the same problem after upgrading from MS SQL 2005 to MS SQl 2008 R2.
    Our DEV system was almost completely exhausted and normal operation wasn't possible anymore.
    SAP Note 1479008 solved the issue, even it is only "released" for MaxDB.
    Cheers, Christoph

  • How can I get data in flat file from Pool table and cluster table ?

    Hi,
    I am working in one Achiving project. My requirement is to get data into flat file from Cluster table and pool table.
    Is there any tool avilable to download data into flat file from pool table and cluster table ?
    if table name given in the selection screen then data will be downloaded into flat file.
    waiting for quick response.
    Best Regards,
    Bansidhar

    Data cannot be retrived directly form the cluster table
    as the Cluster results are stored in Cluster Key say for example PCLkey
    and form that Key we need to fetch the data
    these clustes are not the part of PNP or PNPCE tables
    for ur info kindly check

  • Help to read a table with data source and convert time stamp

    Hi Gurus,
      I have a req and need to write a ABAP prog. As soon as i excute ABAP program it should ask me enter a data source name, then my ABAP prog has excute teh code, in ABAP code i have to read a table with this data source as key, sort time stamp from table and should display the data source and time stamp as output.
    As follows:
    Enter Data Source Name: 
    Then user enters : 2lis_11_vahdr
    Then out put should be "Data source  :"  10-15-2008.
    The time stamp format in table is 20,050,126,031,520 (YYYYMMDDhhmmss). I have to display as 05-26-2005. Any help would be apprciated.
    Thanks,
    Ram

    Hi Jayanthi Babu Peruri,
    I tried to extract YEAR, MONTH, DAY separately and using
    EDIT MASK written it.
    Definitely there will be some STANDARD CONVERSION ROUTINE will be there. But no idea about it.
    DATA : V_TS      TYPE TIMESTAMP,
           V_TS_T    TYPE CHAR16,
           V_YYYY    TYPE CHAR04,
           V_MM      TYPE CHAR02,
           V_DD      TYPE CHAR02.
    START-OF-SELECTION.
      GET TIME STAMP FIELD V_TS.
      V_TS_T = V_TS.
      CONDENSE V_TS_T.
      V_YYYY = V_TS_T.
      V_MM   = V_TS_T+4(2).
      V_DD   = V_TS_T+6(2).
      V_TS_T(2) = V_MM.
      V_TS_T+2(2) = V_DD.
      V_TS_T+4(4) = V_YYYY.
      SKIP 10.
      WRITE : /10 V_TS," USING EDIT MASK '____-__-________'.
              /10 V_YYYY,
              /10 V_MM,
              /10 V_DD,
              /10 V_TS_T USING EDIT MASK '__-__-__________'.
    If you want DATE alone, just declare the length of V_TS_T as 10.
    Regards,
    R.Nagarajan.
    We can -

  • Read-only table with a LOV on a VO's attribute

    Hi,
    I have a VO ('X') that is displayed as a read-only table. 'X' has an attribute called 'SubscriptionId'. The value of 'SubscriptionId' is a foreign key to another table called 'Subscription'. My 'Subscription' database table has a column named 'Description'.
    Example:
    'X' has an attribute 'SubscriptionId' = 14
    DB table 'Subscription' has a row that looks like this:
    14, "A subscription description" (where "A subscription description" is the 'Description' column)
    I set up a LOV for 'SubscriptionId' on my VO 'X', so that it should show the value of 'Description' from 'Subscription' instead of the 'SubscriptionId'.
    If I display my VO 'X' as a form, I can see my LOV (for 'Description').
    However, when I display my VO ('X') as a read-only table, it isn't adhering to the LOV I defined on my VO, and is instead showing the 'SubscriptionId'.
    What do I need to do differently on my table to show the 'Description' instead of the foreign key 'SubscriptionId'? I want it to be just an output text of the Description, not a choice list.
    Thanks,
    Joel

    Hi
    In simple way just set the ReadOnly property of choice list in the coloum = true
    for example
    <af:column sortProperty="EmpId" sortable="true"
    headerText="#{bindings.DocTransactionView1.hints.EmpId.label}"
    id="c2" align="center">
    <af:selectOneChoice value="#{row.bindings.EmpId.inputValue}"
    label="#{row.bindings.EmpId.label}"
    required="#{bindings.DocTransactionView1.hints.EmpId.mandatory}"
    shortDesc="#{bindings.DocTransactionView1.hints.EmpId.tooltip}"
    id="soc4" readOnly="true">
    <f:selectItems value="#{row.bindings.EmpId.items}" id="si3"/>
    </af:selectOneChoice>
    </af:column>

Maybe you are looking for

  • How can create a table in sap script?

    Hi, How to create a table in the sap script.i Have to use table in the main window with 11  rows and 3 columns. can any one send sample code. Any ideas?¿ THKS 4all.

  • Execute SQL Task - FOR XML PATH query error

    I have the following query SELECT pl.Id, pl.StartTime, pl.EndTime, pl.PackageName, pl.Computer, pl.Operator, CASE WHEN (CHARINDEX('stack trace', pl.ErrorDescription) > 0) Then     SUBSTRING(pl.ErrorDescription, 0, CHARINDEX('stack trace', pl.ErrorDes

  • How to display binary file saved in BLOB column in Discoverer PLUS /VIEWER

    HI, Friends, I tried to display the binary file saved in the database in BLOB column with the *.doc or *.xls fomats, but it seemed not work at all. I can display them in discoverer DESKTOP, but not the web version PLUS or VIEWER. MY Discoverer PLUS/V

  • Error in calling External Webservice (LodeStar)

    Hi, I am in the process of calling the External webservice of LodeStar. I am getting the error. I pasted the Input and error occured. Please Suggest me on this Thanks in Advance Input <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelop

  • I need instructio​ns for using features on my synaptics touchpad.

    Hi - my synaptics touchpad on my new computer does various things I don't understand.  If I could find a list of its functions and instructions somewhere, I could probably make it work and use it well. But didn't find that googling or on hp's site. T