2008 Jan 02 6:21 AM
Hi every body,
i want to use field symbols in my program.
I have 32 database tables i cant those many internal tables
i have to get the records from database and check whether they are correct or not. so for this scenerio i have to use field symbols and the structure must be created dynamically...
how to do that..
thanking u.
with regards,
giri.
2008 Jan 02 6:33 AM
Hi, Giri,
You can use the following FM to create the structure dynamically for the table.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = table_name
CHANGING
ct_fieldcat = it_fcat
EXCEPTIONS
OTHERS = 1.
with regards'
Mahesh
Hi every body,
i want to use field symbols in my program.
I have 32 database tables i cant those many internal tables
i have to get the records from database and check whether they are correct or not. so for this scenerio i have to use field symbols and the structure must be created dynamically...
how to do that..
thanking u.
with regards,
giri.
2008 Jan 02 6:33 AM
Hi, Giri,
You can use the following FM to create the structure dynamically for the table.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = table_name
CHANGING
ct_fieldcat = it_fcat
EXCEPTIONS
OTHERS = 1.
with regards'
Mahesh
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |