Skip to Content
0
Former Member
Jun 13, 2007 at 08:09 AM

how to read data from abap memory (object)

135 Views

Hi everybody

we are working on planning tool and in order to configure the process we have different planing functions with user exits.

Now I need different parameters in the user exit (I use the Interfaces IF_RSPLFA_SRVTYPE_IMP_CHECK and IF_RSPLFA_SRVTYPE_IMP_EXEC) and I do not have them in the Parameters of the planning function as they are not used on the corresponding aggregation level, but they are for example selection parameters in the web template etc.

The good thing is that I have all the data I need in the ABAP Memory. It is exported somewhere in the SAP standard. How do I access this data?

The memory ID is RRS1_REPORT_VAR_BUFFER and so far I did not manage to IMPORT it. The data seems to be stored in a object and not as a string or a range-table, but different range tables in an object. So the memory looks like the following:

0: FF060201 01028000 31313030 00000000 | ÿ.......1100....

.....

3: 475F5448 585F5641 525F4255 46AD0F00 | G_THX_VAR_BUF-­..

...

d: 474C425F 30303031 20202020 20202020 | GLB_0001

...

f: BDBE0000 00880000 0001BC00 00008849 | ½¾........¼....I

10: 4551474C 42202020 20202020 20202020 | EQGLB

...

=> GLB_0001 is one of the Parameters I am interested in. And the value I guess is in a range table (sign,option,low - I EQ GLB), and in the same way more parameters I need follow.

How do I access this parameter values?

Thanks for any input you have on this!

Christophe