Skip to Content

Dictionary structure VBDKR

Hi,

Is it possible to get data from a structure called: VBDKR?

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 16, 2009 at 09:45 AM

    Hi,

    Dont have an idea whats the context but generally structures donot carry any data outside a runtime program.

    santhosh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Stefan Kolev

      hi

      Can u give more info regarding the problem you are facing in the code.

      Note:

      In regard to field selection,INTO option of the SELECT statement is required.

      regrads

      rajye

      Edited by: Rajeshwari padmanaban on Jan 16, 2009 12:10 PM

  • author's profile photo Former Member
    Former Member
    Posted on Jan 16, 2009 at 10:48 AM

    Hi

    Structure is simply a type definition. It is not associated with any data object. So you cannot get any data from VBDKR.

    If you want to use the same structure and enter data, declare a data object for that structure and use the data object.

    Eg:

    REPORT YTEST_16.

    DATA: ITAB LIKE VBDKR. * ITAB is a data object having same structure as VBDKR

    ITAB-VBELN = 'abc'.

    WRITE ITAB-VBELN.

    The output is: abc.

    Hope this helps 😊

    Regards,

    Jayanthi.K

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I agree with U Jayanthi

      Structure dont hold any data

      its just a structure which contains what are all the fields it contains but no data will be there

      if u want to pass data or retrieve data

      declare a data object and use that data object(internal table)

      regards

      Vikas C

  • Posted on Jan 19, 2009 at 08:32 AM

    Thanks for everybody!We solved the problem.

    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.