cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Forms.

Former Member
0 Kudos

Hi all,

I have converted SAP Script to Smartform using migration.

After declaring all the variable in the SMARTFORM interface, when i try to check my form, I get error message stating <b>Statement concluding with "...FIELD" ended unexpectedly.</b>

Any specific reasons for this kind error message

And what are corrections that needs to be done.

Rgds,

Kaushal

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi,

When You do migration of Script to SMARTFORM:

Only the layout will be copied.

So, what ever the paragraph formats or character formats u r using u need to define them as a style.

And what ever u r displaying in SAPSCRIPT,

They shud be declared in IMPORT tab or Global definition( if you r writing the code in smartform itself).

Regards

Sandeep Reddy

Former Member
0 Kudos

Hi Sandeep,

Thanks for your quick response.

Could you pls let me know where I have to define these variables / tables.

1. In global Definations

or

2. Form Interface.

And onemorething I am getting error for ULINE also. pls clarify in detail, how to declare this..

Thanks in advance

Raghunath

Former Member
0 Kudos

Can you please suggest how you solved your errors in smartform migration. Thanks

email id: priyanka.reddy91@yahoo.com

Former Member
0 Kudos

Hi Priyanka,

I am also facing same problem. Hope you might be solved this issue. Could you pls explain how to resolve errors when we migrate SAP script to Samrtforms.

Thanks in advance

Raghunath

Former Member
0 Kudos

Hi

I think there is problem in FORM INTERFACE in GLOBAL settings.

In the sap script, which i have migrated to SMART FORM, some fields with ( Example &MSEG-LGORT&, &*EKKO-EKGRP& ) have been used.

But when i try to declare this in FORM INTERFACE then it gives error that this name is not allowed.

I am not sure whether I am correct as I am very new to SMARTFORMS.

Rgds

Kaushal

Former Member
0 Kudos

Hi Kaushal,

While migration, there will be a line break , period missing etc. Check the code line by line.

regards,

Chandra

Former Member
0 Kudos

The error should tell you which node has the problem, or if it is the Global Definitions.

Check this node for the errors that the others have suggested.

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Check for syntax in program lines.This will give you an idea about the error.

Former Member
0 Kudos

there must a period missing or some thing like that. check fr that..else paste the code here.

cheers,

santhosh