Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Element & Window loading sequence in Script

CALL FUNCTION 'WRITE_FORM'

EXPORTING

window = 'CHECK'

element = '540'

EXCEPTIONS

window = 1

element = 2.

Can any one tell me what is the purpose of element,is it have any unique feature and also what is the order driver pgm will load window in form.

I think first always main window load then remain window as per albaphetical order..

if we want to change ordre then we have to write code in write form in drive pgm as we want that time also first will main window always..

anyway if any doc is supporting this,it will helpful me..

Thanks

Kumar

Tags:
Former Member
Former Member replied

Hi

I believe you are a little confused.

SO10 is trx to create the standard text, not text element.

The std text is like a sapscript, but it can be inserted into a sapscript.

The text element are in the windows, so they are a part of the sapscript and so they are created in SE71 while creating the sapscript.

For example:

By SO10, you create the std text ZMY_TEXT

By SE71, you create you sapscript ZMY_PRINT and in the window MY_WINDOW you can insert that text:

/: INCLUDE ZMY_TEXT OBJECT TEXT ID ST

You can also insert the std text in a text element of the window

/E ELEMENT1

/: INCLUDE ZMY_TEXT OBJECT TEXT ID ST

Max

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question