2007 May 22 10:31 AM
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.
2007 May 22 10:52 AM
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.
2007 May 22 10:36 AM
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
2007 May 22 10:46 AM
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.
2007 May 22 10:52 AM
Hi,
RF02D-KTOKD is a Customer Account Group .. which is available in the table KNA1.
Reward Points if it is Useful.
THanks,
Manjunath MS
2007 May 22 11:28 AM
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