cancel
Showing results for 
Search instead for 
Did you mean: 

Output not displaying in SAP Script

Former Member
0 Kudos

Hi,

I am working on SAP script and not able to display the data in output.

When I make debugging it is giving for WRITE_FORM sy-subrc VALUE as 1.

what are all things I have to take care in driver program and sap script form as well.

I am new to sap scripts.

Thanks...

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

Please check whether all the text elements are maintained in Main window.

Please check below link. Hope this will help u.

http://help.sap.com/erp2005_ehp_04/helpdata/EN/d6/0db37e494511d182b70000e829fbfe/frameset.htm

If you get any error please post it which can be helpful to resolve this issue.

Regards,

Chandra Kavali

Former Member
0 Kudos

HI,

Please go through below link.

http://help.sap.com/saphelp_nw70/helpdata/en/d6/0dba41494511d182b70000e829fbfe/content.htm

Hope this will help you.

Regards,

Aswini

Former Member
0 Kudos

Hi,

Debug the script form and check it particular element is triggering or not

Let me if any concerns...

Former Member
0 Kudos

hi,

once u check , wether ur putting the CLOSE_FORM or not

Former Member
0 Kudos

Hi

Please send the write_form code

CALL FUNCTION 'WRITE_FORM'
       EXPORTING
*       ELEMENT                        = 'T3'
         FUNCTION                       = 'SET'
         TYPE                           = 'BODY'
         WINDOW                         = 'POHEADER'
*   IMPORTING
*     PENDING_LINES                  =
       EXCEPTIONS
         ELEMENT                        = 1
         FUNCTION                       = 2
         TYPE                           = 3
         UNOPENED                       = 4
         UNSTARTED                      = 5
         WINDOW                         = 6
         BAD_PAGEFORMAT_FOR_PRINT       = 7
         SPOOL_ERROR                    = 8
         CODEPAGE                       = 9
         OTHERS                         = 10
                .
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.