‎2006 Aug 07 7:02 PM
Hi all,
when ever i try to display the value for workarea in smart form,
i get an error saying that field has no defined value.
Please let me know is any trick that iam missing
‎2006 Aug 07 7:03 PM
‎2006 Aug 07 7:03 PM
‎2006 Aug 07 7:06 PM
hi ksjol,
In the Table Node..
u have a tab i.e Data tab...
there
<b>check the operand and give
itab into wa.</b>
hope this helps,
do reward if it helps,
priya.
‎2006 Aug 07 7:12 PM
Kajol,
its a just warning message
go further n activate the form
u will get the form output
one way to eliminate this message is
check the variables in input n output n output parameters
u know even though u declare the variable in global definations u should define those varaibles in input n output parameters if u write any code in that specific window
if u find it useful mark the points
Regards,
Naveen
‎2006 Aug 07 7:28 PM
Kajol,
I am not sure if you type in the fields manually, but its always better to drag drop the fields from the field list on the left side. If the field list is not visible, you can click on the FIELD list button on the toolbar and then drag and drop the fields.
Regards,
Ravi
Note :Please mark all the helpful answers
‎2006 Aug 07 8:08 PM
Hi ravi and all,
q1)In the fields i see only the internal table and not the fields connected to internal table as i need to display only few fields of internal table.
q2)i have a loop and with in that loop i have another loop under which i have a text.
for first record in the main loop,the text should be triggered three times and output should be written 3 times for some reason i am getting only the last output .
when i executed the code i mean similar loops in se38 i am getting 3 records writtem in the output for the first record.
Pls do let me know if iam wrong anywhere
thanks
‎2006 Aug 07 8:11 PM
In the field list you should be able to see the work area separately and when you expand that you should be able to see the individual fields.
Also, in your loop of the internal table make sure you are using the work area you have created.
Regards,
Ravi
‎2006 Aug 07 8:30 PM
Hi Ravi,
loop at itab1 into wa_itab1.
loop at itab into wa_itab where
matnr = wa_itab1-matnr
do i need to declare standard table because
i have declared internal table in smart form as
itab like table of marc.
in the program lines i used marc as input so i gives me an error saying field marc is unknown