on 08-08-2007 9:29 AM
how to reading the data from the database in smartforms?
can we create text emelemts in smartforms? how to use that in smartforms?
Regards,
pandu.
If you want to fetch data from table, try to right click on the page you want to display the new fields and select program lines.. here you can write all your code, (similarly what you write in SE38 editor)
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
In global declarations in tab types or global data declare the structure or internal table required to hold the data .
Fetch the data as follows :
Then you can write a query in the initialization tab to fetch the data from the database into the structure or internal table .
Or
Right click on main window or text box -> create->flow logic->program lines
In the input parameter and output parameter write the name of the structure or internal table that should contain the data .
then write the query in the editor below .
now the structure or internal table or the structure will contain the fetched data.
That u can use .
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pandu,
Yes u can create texxt elements in sf's
by declaring the internal tables in a global definitions and you can write select statements
Reward points for all helpful answers
Reagds,
Kiran.M
Message was edited by:
KIRAN KUMAR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
in the smartforms you have to option to write
the program lines
in that you can write the abap coding
for that you have to declare the internal table in the global declarations
or form interface -- tables tab.
and
for text elements
create a window
and right clik on it
and create --> text
and here you can display the data what ever you want
reward points if helpful,
thanks & regards,
venkatesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.