cancel
Showing results for 
Search instead for 
Did you mean: 

Reference field WA_ZEXIM-ZLGWPS unknown in form.

Jagadish_ac
Explorer
0 Kudos
1,531

Hai Experts

In smart form i am getting following error

Actually i have created Y table structure in SE 11 data i am passing and importing in Smartform

WA_ZEXIM-ZLGWPS is a qunitity field i have given reference to MSEG and MEINS

ZLGWPS	ZGWPS	QUAN	MSEG	MEINS	Gross Weight Per Shipper

I am getting following erroe please help me to resolve.

Reference field WA_ZEXIM-ZLGWPS unknown in form.

Message no. SSFCOMPOSER601

Regards

Jagadish

Accepted Solutions (1)

Accepted Solutions (1)

arul_murugan
Active Participant
0 Kudos

Hi

For quantity and currency field You need to use the referrence field both in Y table and the global definitions -> currency/quatity fields of the smart forms

Thanks

Arul

Jagadish_ac
Explorer
0 Kudos

Hai Arul

I used in Y table same Structure i used defin work area and Internal table it YCOOSARS

Mt table structure is as follow

BUKRS	BUKRS	CHAR	4	0	Company Code
VBELN	VBELN	CHAR	10	0	Sales and Distribution Document Number
FKDAT	FKDAT	DATS	8	0	Billing date for billing index and printout
POSNR	POSNR	NUMC	6	0	Item number of the SD document
ZSHIP	KUNNR	CHAR	10	0	Customer Number 1
ZSNAME	NAME1_GP	CHAR	35	0	Name 1
ZSORT	ORT01_GP	CHAR	35	0	City
ZSTRAS	AD_STRSPP1	CHAR	40	0	Street 2
ZSTREET3	AD_STRSPP2	CHAR	40	0	Street 3
ZSPSTL	PSTLZ	CHAR	10	0	Postal Code
ZSLAND1	LAND1_GP	CHAR	3	0	Country Key
ZVESSEL	ZVESSEL	CHAR	50	0	Vessel Name
ZBLNO1	ZBLNO	CHAR	10	0	Bill Of Ladding Number
ZBLDAT1	ZBLDAT	DATS	8	0	Bill of Ladding Date
ZLGWPS	ZGWPS	QUAN	15	3	Gross Weight Per Shipper

Here qty field is ZLGWPS i maintained refrence field in SE11.

Same YCOOSARS is used declare work area and internal table.

Jagadish_ac
Explorer
0 Kudos

Thank You arul

My Problem is solved

arul_murugan
Active Participant
0 Kudos

Hi,

If you are mentioned the reference field for ZLGWPS in the Y table and you are using the same field in the smartforms, its required to mention the reference field . See the below code in smart forms

YCOOSARS is the internal table in smart forms and WA_YCOOSARS is the workarea for the Y table in smart forms.

Go to the Global definitions-> global data tab in smart forms

X2 type (reference field name)

go to global definitions->Currency/quantity fields tab in smart forms

Field name Reference field Data type

wa_YCOOSARS-ZLGWPS x2 QUAN

Rewards if it is useful

Thanks

Arul

Answers (0)