Skip to Content
author's profile photo Former Member
Former Member

Print program is not recognizing the window text element

Hi ,

I have added one Element into window FOOTER and this element is calling from print program with FM WRITE_FORM. but this FM returned sy-subrc = 1.

EXample code

<u>SAP FORM :</u>

/E MESSAGE

testing the print message

<u>Print program</u>:

CALL FUNCTION 'WRITE_FORM'

EXPORTING

ELEMENT = 'MESSAGE'

WINDOW = 'FOOTER'

EXCEPTIONS

ELEMENT = 1

FUNCTION = 2.

here this FM returned sy-subrc = 1

Please assist the solution for above isssue

Thanks

Sudarsana Reddy

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 07, 2007 at 12:28 PM

    Hi

    Have you activated the sapscript?

    IF you have several versions for different languages, are you sure you have inseterd the new text element in the FOOTER of all versions?

    Max

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.