cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent : - WRITE_FORM & sy-subrc eq 8

abapdeveloper20
Contributor
0 Kudos

Hi Experts,

While using WRITE_FORM for SAP SCRIPT

call function 'WRITE_FORM'
         exporting
              element = 'DESTI'
              window  = 'DEST'
         exceptions
              window  = 6
              others  = 8.

This FM is giving me Sy-subrc value 8.

What really the value of sy-subrc eq 8 refers.???

Any inputs on this will be rewarded.

Rgds ~ Lakshmiraj

Accepted Solutions (0)

Answers (1)

Answers (1)

abapdeveloper20
Contributor
0 Kudos

Any help???

Former Member
0 Kudos

The erros looks like Spool error or Graphical Form Painter not supported for this frontend.

You can check the FM WRITE_FORM in SE37. There you can see this.

Reward points if useful

Bhavin P Shah

Former Member
0 Kudos

Hi,

the error is SPOOL_ERROR-->Error at Transfer to Spool

Regards

Sandipan

abapdeveloper20
Contributor
0 Kudos

Hi,

How to Solve the SPOOL ERROR????

Pls help

Former Member
0 Kudos

Hi,

Hi,

In Write Form try to pass FUNCTION and TYPE also


 CALL FUNCTION 'WRITE_FORM'
      EXPORTING
        element  = 'DESTI'
        function = 'SET'
        type     = 'BODY'
        window   = 'DEST'.
    IF sy-subrc  0.
 
    ENDIF.
 

In Open Form ALso do Some Modification


CALL FUNCTION 'OPEN_FORM'
EXPORTING
*APPLICATION = 'TX' 
*ARCHIVE_INDEX = 
*ARCHIVE_PARAMS = 
device = 'PRINTER'
dialog = 'X'

Regards

Sandipan

abapdeveloper20
Contributor
0 Kudos

Hi,

Thanks a lot for your idea..

but when i'm trying that option it is giving me error as

WRITE_FORM is invalid, START_FORM is missing

Pls help now.