Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Help with smartforms

Former Member
0 Kudos

hi all!!!

i'm trying to print a fields called fkimg netwr and cmpre, but i have an error message:

reference field "aux_gs_t_f-fkimg" unknown on form.

i read two topics before and i did all that is specified there, but i couldn't display that field.

can anybody help me?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi jose,

declare the fields with reference to the data type or ddic field.I think u will not have problems.

like in global declaration

v_fkimg type fkimg or with respect to the field of the importing interface parameters.

thanks,

vamsi.

6 REPLIES 6

Former Member
0 Kudos

Hi jose,

declare the fields with reference to the data type or ddic field.I think u will not have problems.

like in global declaration

v_fkimg type fkimg or with respect to the field of the importing interface parameters.

thanks,

vamsi.

0 Kudos

hi vamshi:

thanks for respons, but i did that and i have a different problem only print 0.00, but in other blogs and answers say thar in the tab currency/quan fields a i have to defined each field but i don't have that tab could be other solution?

0 Kudos

Hi Jose,

I didnot get u r problem.you declare the fields and assign the value to it and test it.

if u dont want to print the 0.00 value then put a condition for the field while printing in if it is <> 0 in the conditions tab.

We can declare the qty and curr fields in the global declaration and use them(assign them) in the program where ever we want.

Thanks,

Vamsi.

0 Kudos

Hi Vamshi:

Yes i tested it, but i still have the problem, i can't print any of those fields. i have define my AUX_GS_T_F in the global definitions like this:

AUX_GS_T_F LIKE ZTFILE1

WA_FKIMG TYPE VBRP-VRKME

WA_NETWR TYPE VBRK-WAERK

WA_CMPRE TYPE VBRK-WAERK

I move the internal table called T_F to the GS_T_F in the smartforms, I could print the others fields but the curr/quan field I couldn't. In others blogs and questions said that i have to declare the field in a tab called curr/quan fields, but i don't have that tab.

other thing that i did was i declare in initialization

input parameters -


ouput parameters

AUX_GS_T_F-FKIMG WA_FKIMG

AUX_GS_T_F-NETWR WA_NETWR

AUX_GS_T_F-CMPRE WA_CMPRE

BUT I CAN'T PUT CODE, I HAVE THE R/3 V4.6C HELP ME!!!

0 Kudos

Jose,

Put a break-point in any program lines node and check whether the fields are populated or not.I think you are able to execute the form now.

Thanks,

Vamsi.

0 Kudos

Hi Vamshi:

i can't put a break-point because in the program-lines node doesn't let me put it. even thouth, i can't put code in the program lines node. you don't know why?