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: 

SAP script element not called

Former Member
0 Kudos

Hi friends,

Window contains - elements -800, 801, 802

I am calling an element 800 in a window which is called from print program (checked in debugging) followed by 801 but in form it is not called (does not display the hard code values i have shown).

it halts at element 800 on pressing F5 (on other elements also ).

It executes main window first followed by all other elements.

But after executing main it executes only element 801 but not 800.

Regards,

GURU

4 REPLIES 4

Former Member
0 Kudos

Hi

The form text elements are executed as per the Std program calls to WRITE_FORM

If you have not changed the Program or Script then it should call the text elements in the correct form as required to give correct output.

Check the Write_form elements in Driver program, how the Text elements are called and see in the form.

After checking , you comment the unwanted Text elements, if needed.

<b>Reward points for useful Answers</b>

Regards

Anji

Clemenss
Active Contributor
0 Kudos

Hi GURU,

"I am calling an element 800 in a window" - you can only call a text element from a driver program. SAPScript will process only one element per window automatically, thats's the so-called DEFAULT element. Everything in a window text appearing before the first explicit(/E) element definition is the default element.

If your program does not call 801 but you want to appear it after 800, then remove the 801 element definition and make it part of 800.

Regards,

Clemens

Former Member
0 Kudos

Problem not yet solved.

Regards,

GURU

Clemenss
Active Contributor
0 Kudos

give more info: application, driver program, scenario

Regards,

Clemens