Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Reference field unknown in the form

Hi,

I_SUEKPO is the structure defined for the smartform under global data.

when the report program linked with the form is executed.It's going print page,when i click on print preview button.It's throwing an error message

"Referencef field I_SUEKPO-MENGE unknwn in form".

Former Member
Former Member replied

>

> I have MENGE and NETPR which should have ref table and ref field and the same is mentioned and the issue got resolved.

> Now in my form am displaying PO number in one window which will use I_SUEKPO-EBELN where I_SUEKPO is the internal table used my the form.

> I have main area in the screen where i display PO number once again,quatity,Price,etc

> there is one more window where i display the total quatity for the given given PO number using ZTOTAL variable which will total I_SUEKPO-MENGE after loop.

> Total is also not getting displayed.

> Is only the text which can be displayed in the windows,can't i display variable there.

>

> Edited by: suneetha on Dec 12, 2008 10:41 AM

In the main area, where you are displaying quantity,price etc...are you using a table there?? If you are using a table there, then make use of the Calculations Tab in the table.

In this tab, give Operation as Total, Field Name: the field for which you want to give total, target field name:give the variable you have for total, Time as After the Loop.

Now, in the footer of the table create a text element and give the variable which holds the table and then in the attributes of the footer,select if you want to print it at page break or at end of table.

This will take care of the total.

Vishwa.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question