Skip to Content
author's profile photo Former Member
Former Member

Doubt in Cluster table

Hi Experts,

Can You plz tell How to import/read data from cluster table? Plz give me the syntaxes also..

Thanx in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 09:48 AM

    use read statement i don't think in cluster table there is any restruction for read and select u can use open sql but not join in cluster table .

    Database table defined in the ABAP Dictionary, whose version on the database is not only assigned to one table defined in the ABAP Dictionary. Several cluster tables are assigned to a table cluster in the database. The intersection of the key fields of the cluster tables forms the primary key of the table cluster. The other columns of the cluster tables are stored in compressed form in a single column VARDATA of the table cluster. <b>You can access cluster tables only via Open SQL, and only without using joins.</b>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 09:58 AM

    If U want to read PCL2(for payroll results)

    U need to pass these values .. Pernr and seq. no (this U get it from FM

    CU_READ_RGDIR)

    rx-key-pernr = i_pernr-pernr.

    UNPACK rgdir-seqnr TO rx-key-seqno.

    rp-imp-c2-ru.

    After this U have a no. of structures filled in like rt , crt , bt , wpbp , tcrt ...

    U can loop thru them and get the results ..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.