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 to get a value for a structure table field

Former Member
0 Kudos

hi experts!!!

structure dont have any values right?but in some std pgm i saw a value for the structure field.

can anyone pl tel me how to get a value from the structure.

Actualy i got an requirement in FICO module.that is after

executing fb03 tcode it will display some details.

from that i want take the details of description.it is refers bseg_alv table(but it is structure)

tel me excellent ideas plz.Thanks in advance!!!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Structure will hold values during runtime (dynamically).

I guess u can directly refer to / assign the structure values to populate values to ur internal table.

<REMOVED BY MODERATOR>

Regards,

Ramya

Edited by: Alvaro Tejada Galindo on Apr 8, 2008 1:46 PM

5 REPLIES 5

Former Member
0 Kudos

Hi Dear,

The best way is to run SQL Trace using t.code st05.

Goto st05> activate trace with filter > enter user name and transaction name and click on enter.

Run your tcode and then come bact to st05 and deactivate the trace and then click on display trace. You will find all the data base tables used by transaction.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Apr 8, 2008 1:46 PM

Former Member
0 Kudos

Hi,

Structure will hold values during runtime (dynamically).

I guess u can directly refer to / assign the structure values to populate values to ur internal table.

<REMOVED BY MODERATOR>

Regards,

Ramya

Edited by: Alvaro Tejada Galindo on Apr 8, 2008 1:46 PM

former_member181995
Active Contributor
0 Kudos

Hi Ranganayahi,

You gave answer yourself!!

You are right some std programs will have a value witch come from structure but what happens in background structure holds only one value one time and its not contain any value at database level.

even you also refer your internal table with reference of some structure it means data hold in form of that structure but it doesn't contain any data at database.

and if more you can follow the way as suggested to get data base table via ST05.

Hope not its clear.

<REMOVED BY MODERATOR>

Amit.

Edited by: Alvaro Tejada Galindo on Apr 8, 2008 1:47 PM

Former Member

hi generally all the structure fields will get the data from the value tables...check this example ....

go to transaction -


>se11 give the name ADRC_STRUC in the data type > choose display->click on the data element of a field>REGIOGROUP->click on the domain REGIOGROUP->it will show the domain->choose value range tab--> then u will find the value table--> click on the value table -


> then the value of the field will be displayed in the table..

regards,

venkat.

Former Member
0 Kudos

Hi,

Actually structure contains 'COMBINATION OF FIELDS FROM SEVERAL TABLES'.

Structure contains components that u cannot execute.so if u want to see the value of that particular field go to t.code 'se84'

there u select ABAP DICTIONARY->FIELDS->TABLE FIELDS.

In right side u will give the field name and then execute..it display the tables..there u can go and watch the value.

In t.code fb03 if u want to c the description..put the cursor in that field and click F1.it displays one window there u select 'technical information'.it displays the field name and table name...then go to that table name and see the values..

I hope it helps.....

Thank u,

Manjula devi.D