cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms formatting error 604: field does not exist in form

Former Member
0 Kudos

Am new to Smartforms. Am trying to link a Standard text to Samrtform. The Standard text (ST) is an appointment letter created by me. The letter has fields such as:

&P0001-ENAME&

When I run/test the smartform then I get the following error:

formatting error 604: Field P0001-ENAME does not exist in form.

Do I need to link this feild to the form somewhere?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Declare in the global defination :

p0001 type table of p0001.

With Regard

Nikunj Shah

Former Member
0 Kudos

Thanks guys. Have done the setting as mentioned by you guys.

But the value of the field is being displayed as 00000000.

How can I parameterise the second variable i.e. PERNR because otherwise smatrform will display details for which Personnel Number?

My Standard text (ST) letter is as follows:

Appointment letter for:

&P0001-ENAME&

&P0001-PERNR&.

This appointment letter is being generated starting today July29th,2008.

Regards

HR

former_member181995
Active Contributor
0 Kudos

have you decleare P0001 in smartform global parameter?

Amit.

Former Member
0 Kudos

Thanks Amit but on which tab? When I select Global definitions option, I see a lot of tabs such as:

Global data/Types/FieldSymbols etc.

And I need to declare the infotype P0001 or the field also i.e. P0001-ENAME.

Former Member
0 Kudos

basically if you want to paas the P0001 infotype to the smartform then u need to declare it in the import section of the form interface.

eg

P0001 TYPE p0001

otherwise if u r passing only the ename then

eg

ename TYPE enam...

it depends what other fields u want display for p0001.

if its only enam then u need to pass it to the smartform.

but since the standard text is using p0001-ename

then its best u pass the structure p0001.

declare it in form interface->import