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: 

Read data from container

Former Member
0 Kudos

HI ,

I build container in TR secatt how i can read the data that i put in other program,

There is Fm or method ?

Regards

1 ACCEPTED SOLUTION

uwe_schieferstein
Active Contributor
0 Kudos

Hello Michael

If you want to read a test data container (which container do you mean?) then you can use static method

CL_APL_ECATT_TEST_DATA=>READ_VARIANTS_FOR_OBJECT.


IM_OBJ_TYPE                       ECTD
IM_NAME                           ZBC_CUSTOMER_ILNNR
IM_LANGU                          EN

The class for reading system containers is CL_APL_ECATT_SYSTEM_DATA.

Regards

Uwe

3 REPLIES 3

uwe_schieferstein
Active Contributor
0 Kudos

Hello Michael

If you want to read a test data container (which container do you mean?) then you can use static method

CL_APL_ECATT_TEST_DATA=>READ_VARIANTS_FOR_OBJECT.


IM_OBJ_TYPE                       ECTD
IM_NAME                           ZBC_CUSTOMER_ILNNR
IM_LANGU                          EN

The class for reading system containers is CL_APL_ECATT_SYSTEM_DATA.

Regards

Uwe

0 Kudos

HI Uwe,

Where i put the variant name?

Thanks

0 Kudos

Hello Michael

The method returns all variants. I do not think there is a method available for reading a single variant.

Regards

Uwe