Skip to Content

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

Sapscript text element

Hi guys , Im copying a /E Text Elements I mean changing it from one main window to another I made the change in CALL FUNCTION 'WRITE_FORM' putting element = to new element name , and window = to new window , however I still dont see this new element text i still see the old one in main , do i have to active the text element somewhere else ??

Former Member
Former Member replied

Did you save and activate the SAPScript after changing it?

When you say you copied the text element to another window, did you remove it from MAIN as well?

Can you post the code block for the CALL FUNCTION? Just so we can confirm it's correct. Does the CALL FUNCTION for the element in window MAIN still exist?

Everything in the MAIN window is usually called from inside a loop. If you left the CALL FUNCTION in the same place it originally was it will potentially be called many times and may not pass the result you intended to the SAPScript. Try placing a breakpoint at the CALL FUNCTION and see what the values are each time it's called.

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