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

data dictionary strecture

Former Member
0 Likes
974

hi sdn,

i created a structure in data dictionary with some fields of vbrp table.

now i want declare that structure in my prog and retrieve data from that structure, how can i proceed please tell me!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
764

tables: <structure name>

same as selecting standard table

using select statements

4 REPLIES 4
Read only

Former Member
0 Likes
765

tables: <structure name>

same as selecting standard table

using select statements

Read only

b_deterd2
Active Contributor
0 Likes
764

*declaration

data: ls_str type <<your structure>>.

*data

select * from <table> into ls_str where...

Bert

Read only

Former Member
0 Likes
764

data my_structure type my_z_structure.

It was an structure or a table?

Structures don't keep any data, so there's nothing you can retrieve

Read only

Former Member
0 Likes
764

Just to add one thing to Bert's response:

*declaration

data: ls_str type <<your structure>>.

*data

*select * from <table> into ls_str where...

select * from <table> into corresponding fields of ls_str where...

Regards

Greg Kern