(http://w
ww.sap.c
Products
om/) (https://www.sap.com/products.html)
Industries (https://www.sap.com/industries.html)
Support Support (https://www.sap.com/support.html)
Community (https://www.sap.com/community.html)
Developer Partner
(https://www.sap.com/developer.html) Partner (https://www.sap.com/partner.html)
About (https://www.sap.com/corporate/en.html)
Home (https://www.sap.com) / Community (https://www.sap.com/community.html) / Archives (/) / Discussions + Actions
Archive (/discussions) / ABAP Development (/discussions/space/abap)
Hi All,
I have created a dynamic table in driver program and filled the data.
Kindly assist.
Regards,
https://archive.sap.com/discussions/thread/3704669 1/5
3/19/2018 Dynamic table in smartforms?
Aj...
(https://people.sap.com/ajaykumar.vangari)
Correct Answer
(https://people.sap.com/rajkumarnarasimman)
Hi Ajay,
Dynamic internal table, we can use in driver program, We can move the internal table value from
driver program to smartform in the following way.
Convert the Dynamic internal table to static internal table. Create the structure in SE11, use the same
https://archive.sap.com/discussions/thread/3704669 2/5
3/19/2018 Dynamic table in smartforms?
structure in both driver program and smartform and move the values to smartform.
IF <fs_value> IS ASSIGNED.
WA_FINAL-BWART = <FS_value>.
ENDIF.
"Clear WA
CLEAR WA_FINAL.
ENDLOOP.
I hope at the end, in both the cases, we are suppose to mention the structure field name in table text-
field as shown in above screenshot. I recommend to create the structure and convert dynamic internal
table to static internal table using the above code.
Regards
Rajkumar Narasimman
1
View this answer in context (/discussions/message/15784103#15784103)
tps://answers.sap.com/questions/ask.html?primaryTagId=833755570260738661924709785639136)
1 replies
Correct Answer
https://archive.sap.com/discussions/thread/3704669 3/5
3/19/2018 Dynamic table in smartforms?
(https://people.sap.com/rajkumarnarasimman)
https://archive.sap.com/discussions/thread/3704669 4/5
3/19/2018 Dynamic table in smartforms?
IF <fs_value> IS ASSIGNED.
WA_FINAL-BWART = <FS_value>.
ENDIF.
"Clear WA
CLEAR WA_FINAL.
ENDLOOP.
Regards
Rajkumar Narasimman
https://archive.sap.com/discussions/thread/3704669 5/5