Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get to know the structures stored in a cluster table

Former Member
0 Kudos

Dear fellow developers,

this question is about Cluster Tables of the INDX-type which need to be read with

IMPORT/EXPORT FROM/TO ...

I need some advice concerning the question of how to find

out the definition of a structured field in such a cluster.

To be more precise:

By using the command

IMPORT DIRECTORY ...

I know that in the table/cluster

VARI

section

VB

there are two structured

fields the content of which I'm interested in for reading and writing purposes:

%_VARI40C

and

%_VARIVDAT

I already know the structure of the first one, but only because I found a Standard FM that reads it with an appropriately defined WA-structure, but I cannot find something similar to find out the structure definition for the other one (%_VARIVDAT). It can't be possible that this is so difficult to find out. There must be some better and easier way to find this out that I don't know yet...

Thanks in advance for your appreciated help

Andreas

1 ACCEPTED SOLUTION

FredericGirod
Active Contributor
0 Kudos

Hi Andreas,

I think you have nothing into SAP to find the structure of a cluster table.

The way I use, is to find a standard program that use this cluster, and I look in the ABAP code the structure used by SAP.

You just have to use the ST05, and use the option to see the code where the cluster has been readed.

Rgd

Frédéric

4 REPLIES 4

FredericGirod
Active Contributor
0 Kudos

Hi Andreas,

I think you have nothing into SAP to find the structure of a cluster table.

The way I use, is to find a standard program that use this cluster, and I look in the ABAP code the structure used by SAP.

You just have to use the ST05, and use the option to see the code where the cluster has been readed.

Rgd

Frédéric

0 Kudos

Hi Frédéric,

I was afraid that it is as you said...

At least I know now that there is no easy way that I

simply haven't seen during my research of the problem.

I rewarded points for this helpful answer.

Merci à vous, Monsieur

Andreas

0 Kudos

Hi Andreas,

I dont how much this helps you but I found a structure RSVARIVDAT. Take a look at the function module interface of RS_VARIANT_ATTR_SAVE.

Sri

Message was edited by: Srikanth Pinnamaneni

0 Kudos

Hi Srikanth,

that worked with the IMPORT command !

Thanks a lot !

Andreas