Application Development and Automation 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 only

Dictionary structure VBDKR

stefan_kolev4
Participant
0 Likes
1,721

Hi,

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

Thanks

10 REPLIES 10
Read only

Former Member
0 Likes
1,497

Hi,

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

santhosh

Read only

0 Likes
1,497

In runtime program I would like to retrieve data from structure VBDKR.

How can I do that ?

Read only

0 Likes
1,497

Hi,

We cant get data from structures. It doesnt carry any record.

Creat on internal table using this structure and then retrive datas from appropriate table.

Thanks.

Read only

0 Likes
1,497

Hi,

for that you have find out the user-exits in that program. User-exits are places where customers can write code or process data.

Santhosh

Read only

0 Likes
1,497

Hi,

I have a code in my program as follows:

SELECT SINGLE * FROM vbrk WHERE vbeln = vbdkr-vbeln.

Unfortunatelly it doesn't return any records.

Read only

0 Likes
1,497

> Hi,

> I have a code in my program as follows:

>

> SELECT SINGLE * FROM vbrk WHERE vbeln = vbdkr-vbeln. "what is this vbdkr.

>

What do u mean vbdkr-vbeln.

thanks.

Read only

0 Likes
1,497

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

Read only

Former Member
0 Likes
1,497

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

Read only

0 Likes
1,497

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

Read only

stefan_kolev4
Participant
0 Likes
1,497

Thanks for everybody!We solved the problem.