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

how to get a value for a structure table field

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!!!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 08, 2008 at 01:15 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 08, 2008 at 01:11 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 08, 2008 at 01:23 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 08, 2008 at 01:35 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 08, 2008 at 03:08 PM

    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

    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.