on 03-31-2008 9:36 AM
Hi all.
Can we use structure to get data in Smartform?
I need to create Subcon form. My MM consultant said some data I need to pull from structure.
And from structure, I need to link to its table.
The problem is, I dont know how to link structure and table and how to pull the data.
Can anyone help me regarding this scenario.
Thanks in advance.
az
Hi ,
We cant get the data from the strucutures, your MM consultant has given it as the reference, Pleas try to find the database field corresponding to that structure field,
One way is please check the value table of the field, it might be usefull
Reward if Usefull
Karthick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
to add to my above create a table in smart form goto main area and create a text then in that write &wa_itab-empno&. here empno is an example it is a field to be retrieved from the database table
regards,
sreelakshmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
create a structure and then include the structure in table by using .include.
in smartforms
goto form inter face doble click select tables and declare itab type zemp_det
goto global definitions doble click select global data and declare wa_itab like zemp_det
create a progarm and write the following code.
DATA: itab LIKE zemp_det OCCURS 0 WITH HEADER LINE.
CALL FUNCTION '/1BCDWB/SF00000093'
.
here 1BCDWB/SF00000093 is the fm generated by the smart form then after calling fm assign
TABLES
itab = itab
regards,
sreelakshmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.