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: 

Error in SAPScript

Former Member
0 Kudos

Hi,

I have developed a custom sapscript. Its running fine via tcode FBL5N.

After the form is displayed when we are presing back we are getting a warning that :

IN FORM ZABC IN MAIN WINDOW TEST ELEMENT 510 IS MISSING.

No such text element was initially made by me. But after getting this warning, I have  inserted a line (/E 510) in sapscript main window.

But still the warning log is being shown.

Please let me know how I can get rid of this.

Thanks in advance.

Regards,

Elena

1 ACCEPTED SOLUTION

0 Kudos

Hi,

Call your text elements in the script.

Ex: /E   510and in the next line just give a command line i.e. '/:'

regards ,

Mahesh

7 REPLIES 7

0 Kudos

Hi,

Call your text elements in the script.

Ex: /E   510and in the next line just give a command line i.e. '/:'

regards ,

Mahesh

Former Member
0 Kudos

Hi Elena

I think your driver program calls that text element (510), so if it's a standard program it's right what you've done, if it's a custom one you can delete that call in the program.

You should check if there are several versions (because it was translated in other languages) of your sapscript, perhaps you've insert the text element only in a version, and this version is not called by the program

Max

0 Kudos

Hi Max,

Its a standard driver program from which I have copied and made the custom program. But nowhere in my code I have that text element.

Again my inserting that line in sapscript didnt help

Regards,

Elena

0 Kudos

Hi ,

have you inserted 😕 line next to element?

0 Kudos

Hi

Probably it needs to insert a dummy line, try to insert /*

Max

VenkatRamesh_V
Active Contributor
0 Kudos

Hi Elena,

Replace the Customized script to standard Script and check it,

Regards,

Venkat.

0 Kudos

Just add something after the element itself. The Element is valid if at least one line is showing up.

I do that with a very small line.

Pharagraph with a height of 1PT (For example XX)

I should look in the end like that:

/E 510

XX &space&

~Florian

BTW: For such question here is a own space available