cancel
Showing results for 
Search instead for 
Did you mean: 

data is not getting displayed in my form

Former Member
0 Kudos

hi,

i have declared variable to hold amount in that as v_amt type konv-kwert in my program and in form interface in import parameters i gave it the same as v_amt type konv-kwert..............and in text i gave the variable v_amt.............

but it is not getting displayed................

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

Give like this &V_AMT(C)&. If it is not displaying any value in output it is better to call program lines node before displaying the value and move the amount value into one Character type field then display the character type field in Text node.

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Have you declared input and output parameters in program line?

Former Member
0 Kudos

yes i declared

Former Member
0 Kudos

Hi!

on the application toolbar on the top a icon is there for Field list on/off.

click on it.

below left hand side field names will be displayed.

now from the import parameter drag that parameter and drop it in the text boc where you are to display it.

try this way.....it can work.....sometimes there is problem when u don't drag and drop the fields from the list box in the text nodes.

Regards.

Former Member
0 Kudos

Hi,

Even though u assigned v_amt type konv-kbetr u should again read it it in the Program lines before u display the Text in the Smartform and declae the v_amt field in both th input and output fields .

Read table it_konv....

if sy-subrc = 0.

v_amt = konv-kbetr.

endif.

Write this in the Program lines of the Smartform.

Now go to the options Filed list on/off button and drag and drop the field V_AMT in the Text.

Regards,

Vijaya Lakshmi.T

Former Member
0 Kudos

Hi,

Look at the call of function module of the smartform in the printprogram.

Is the parameter used there.

Gr., Frank

Former Member
0 Kudos

yes i used the parameter in calling fm

Former Member
0 Kudos

if you make in smartform a new folder. with 1 textfield. In textfield your parameter. Is it shown then.

If still nothing.

Program logic for the textfield with in it statement Break sy-uname.

Then check value parameter.

Gr., Frank

Former Member
0 Kudos

in program lines i m getting the value but it is not getting displayed in the output

Former Member
0 Kudos

In textfield is standing &v_amt& ?

put some text around it.

Like aaaaaa&v_amt&bbbbbbb

check output

Former Member
0 Kudos

text is coming but the value in the variable is not coming

Former Member
0 Kudos

Was the output like ' aaaaaabbbbbbb'

Next text:

Give in Program logic V-amt a value:

like

V_amt = '10'.

do not forget declare it als output variable in program logic.

and print it again as aaaaaa&v_amt&bbbbbbb

Former Member
0 Kudos

even then it is not coming only the text is coming the value is not coming

Former Member
0 Kudos

Put the variable in your text field, but this time with a drag and drop from your fieldlist.

It seems you are prijnting a nonexisting variable.

If you print an empty variable you get space between the text.

if you print a non existing variable you get no space between the text.

so in your put text aaaaaaaaaaaaaa.

and with drag and drop from the fieldlist put it between the 'a'-s

Former Member
0 Kudos

i did that but it is not giving an value in display...........whereas in program lines the variable is getting filled

Former Member
0 Kudos

My last try to get somethiing printed

Declare new variable in smartform (same type as V_AMT)

In program logic before textfield.

declare input and ouptut parameters (V_AMT and your new variable)

in logic: newvariable = V_AMT.

Print in your textfield your new variable.

Gr., Frank.