on 09-14-2009 1:14 PM
Hi Experts,
I'm trying to display fields value in a smartform.
I defined a table as Import Parameter (Interface). I create a Text-Element and try to print a field value from the table.
Drag&Drop isn't working so I click on "Insert Fields" and give the field name like this:
&TABLE_NAME-FIELD&
The system displays the field with gray background. I use the local check, it's ok.
But when I save or activate the smartform, system displays the field as a normal Text, without gray background and and I can't print the field value, I just see the field name !
Any idea?
Regards,
David
Hi David,
Is your text element in a LOOP or Table node? You would typically need to define a work area for the table and it would be the name of the work area you would use in the text element.
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys,
sorry it's not a Table but a Structure in the Import Interface, so I don't have to use a Loop...
I have the same problem with SAP Forms (from SAP Best Practices). When go into an existing node which contain a Text Element and Field, when I activate it, the grey background disappear and I can't print the field value.
Regards,
David.
Hi Experts,
I am suffering from the same behaviour of smartforms: after insertion of a field, it is lost after save or activate. None of the tipps from above have solved this problem at my site.
I am studying smartforms in NetWeaver Trial system NSP with 7.31 version.
Any new idea?
Thanks and Regards,
Heiner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
I am facing the identical issue.
Can you pls provide me the solution for this.
Regards,
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just before printing the value , that is before the text element put a break point and see whether value is there or not. Fields name should come in gray background, other wise it will not print the field value. Once check the field name .
Regards,
Rajitha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
just put a break point before printing & check whether expected value is coming in the varaible... i guess all the Internal tables should be declared under Tables tab in Form Interface..
Rgds,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
It should be inside loop if you want to print the data of any field of the table..
In the Top of the node you create table... in that specify the table which you want to process and the work area..
then use that work area and fieldname combination to display values...
Table should contain data to display it...
&WORKAREA_NAME-FIELD&
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
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.