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

How to store data in Structure

Former Member
0 Likes
1,692

Hi All,

i have one doubt.

How to store the data in structes.

i mean in customer master creation (XD01) process we are giving customer account group name.

Where it'll store that field data.

because that filed is RF02D-KTOKD.But it is structure noo.

Please clarify my doubt.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
997

Hi,

RF02D-KTOKD is a Customer Account Group .. which is available in the table KNA1.

Reward Points if it is Useful.

THanks,

Manjunath MS

Hi All,

i have one doubt.

How to store the data in structes.

i mean in customer master creation (XD01) process we are giving customer account group name.

Where it'll store that field data.

because that filed is RF02D-KTOKD.But it is structure noo.

Please clarify my doubt.

4 REPLIES 4
Read only

Former Member
0 Likes
997

hi,

Structure does not store any data..

you need to create a table of same structure to store data in runtime..

double click on the RF02D-KTOKD ans see. for sure it will be a internal table.

rewards if useful,

regards,

nazeer

Read only

0 Likes
997

Yes Shaik,

i know that one.

But i am asking about XD01 application.

In that application we should give group name, this value where it will store.

because that field come from structure...no Database tables having this structure also. where data will store.

Read only

Former Member
0 Likes
998

Hi,

RF02D-KTOKD is a Customer Account Group .. which is available in the table KNA1.

Reward Points if it is Useful.

THanks,

Manjunath MS

Read only

Former Member
0 Likes
997

Hi,

There is no way to store data in structure. Structure just hold the structure of table in current case. And is used for screen fields.

In XD01, the screen field <i><b>RF02D-KTOKD</b></i>, is a part of structure. The actual values for this field are picked from database table <i><b>T077X</b></i>.

The dropdown values which appear in to this field are dynamically generated via programming using the following code -

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
     EXPORTING
          RETFIELD  = DYNPRO_FIELD
          VALUE_ORG = 'S'
     TABLES
          VALUE_TAB = KEY_VALUE_PAIRS
     EXCEPTIONS
          OTHERS    = 0.

Where<i><b> DYNPRO_FIELD = RF02D-KTOKD</b></i> & the table <i><b>KEY_VALUE_PAIRS</b></i> contains values from database table <i><b>T077X</b></i>.

Hope this helps you.

PS If the answer solves your query, plz close the thread by rewarding each reply & marking it Solved.

Regards