cancel
Showing results for 
Search instead for 
Did you mean: 

System message 038 from work area SSFCOMPOSER does not exist

Former Member
0 Kudos

Hii All,

I have created a Smartform for a PO, by copying a standard Smartform. When i try to see the preivew of the PO by going to ME23N Screen, I get this error message, "System message 038 from work area SSFCOMPOSER does not exist ". The same form was working fine yesday but today it gives me a error message. Kindly Help me out in this regard.

Some people say its due to the smartstyle, but I have maintained standard Smartstyle itself.

Kindly help in this regard as early as possible. Thank you.

Best Regards,

Srikanth.

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member223537
Active Contributor
0 Kudos

Hi,

Please put a break-point on the FM & execute the transaction.

Check which line of code is raising the error message & paste the code in this thread.

I hope you have passed the Print Preview parameter in the FM as 'X'.

Best regards,

Prashant

Former Member
0 Kudos

Hi All,

I got this message while developing a smartform today. There are many reasons why this could happen but my problem was that I had modified the line type and the row connected with that line type had to be re-configured.

I had to REMOVE (or delete) the row and insert it back again then attach it to the new modified line type.

My program was only returning a subrc of 1 or formatting error. I was getting the system message before opening the form (and not in the print program).

Hope this helps,

Ciao,

Salil

former_member223537
Active Contributor
0 Kudos

Hi Venkata,

Goto Smartforms

Enter the Smartform Name

Execute

You will get the smartform FM... Execute

Fill in the mandatory import parameters & execute

Check what is the exception raised by the system.

Fix it accordingly

Best regards,

Prashant

Former Member
0 Kudos

Hi Prashanth,

I have done the same whatever you asked me.

Just execting the smartform a FM is getting created and then on execution the layout is cmg perfect.

But when i go to ME23N Screen, i am unable to view the print preview.

Plz help me on this.

Best regards,

Srikanth.

Former Member
0 Kudos

Hi Venkata srikanth,

Just Check whether the smartform which your calling is activated or not.

Regards,

Sravanthi

Former Member
0 Kudos

Hii All,

I have activated the form,

I have created a new smartstyle and checked.

I have put the break point and also checked.

Tried all Possible ways, but still it is not working. Please help me out in this regard.

Best Regards,

Srikanth.

Former Member
0 Kudos

copy the f.m name that is generated by ur po smartform...

goto se37..display that f.m..

in that find for IF SFSY-XDF = 'X' set the break-point there....

IF SFSY-XDF = 'X'.

ELSEIF SFSY-XDF2 = 'X'.

ELSE.

%FULLNAME-VARI = %VARIANT.

%VARIANT = SPACE.

IF %HEADER IS INITIAL.

IMPORT HEADER TO %HEADER

REFTAB TO %REFTAB

DOCSTRUC TO %DOCSTRUC

TABDEF TO %TABDEFS

FROM DATABASE STXFCONTR(SF) ID %FULLNAME.

if subrc is not 0 then the error is thrown....here the import data should work properly

IF SY-SUBRC <> 0.

CALL FUNCTION 'SSFRT_SET_ERROR_PARAMETERS'

EXPORTING I_FORM = 'ZSH_COMM_INVOICE'.

CALL FUNCTION 'SSFRT_WRITE_ERROR'

EXPORTING I_ERRNUMBER = SSF_ERR_NO_RUNTIME_OBJECT

I_MSGID = 'SSFCOMPOSER'----


>ur error is thrown here only

I_MSGNO = '002'

I_MSGV1 = 'ZSH_COMM_INVOICE'.

PERFORM %RAISE.

ENDIF.

SELECT SINGLE SDATE STIME FROM D010SINF

INTO (%HEADER-SDATE, %HEADER-STIME)

WHERE PROG = '/1BCDWB/SAPLSF00000193'

AND R3STATE = 'A'.

IF SY-SUBRC <> 0.

CLEAR: %HEADER-SDATE,

%HEADER-STIME.

ENDIF.

ENDIF.

LOOP AT %TABDEFS INTO %TABDEF.

CALL FUNCTION 'SSFCOMP_TABLE_DEFINITION'

EXPORTING CPI = %HEADER-CPI

LPI = %HEADER-LPI

CHANGING TABDEF = %TABDEF

EXCEPTIONS OTHERS = 1.

IF SY-SUBRC <> 0. PERFORM %RAISE. ENDIF.

ENDLOOP.

CALL FUNCTION 'SSFRT_SET_REFERENCES'

EXPORTING I_REFTAB = %REFTAB .

CALL FUNCTION 'SSFRT_SET_LANGUAGES'

EXPORTING I_CONTROL_PARAMETERS = CONTROL_PARAMETERS

I_MASTERLANGUAGE = 'E'

I_THRULANG = ' '

I_INSTALL_LANG = ' '

IMPORTING O_LANGUAGES = %LANGUAGES.

%HEADER-LANGU = %LANGUAGES-LANGU1.

%WEXIT = SPACE.

PERFORM %GLOBAL_CLEAR.

PERFORM %GLOBAL_INIT.

CLEAR %ARCTAB.

IF ARCHIVE_INDEX_TAB[] IS INITIAL.

APPEND ARCHIVE_INDEX TO %ARCTAB.

ELSE.

%ARCTAB = ARCHIVE_INDEX_TAB.

ENDIF.

CALL FUNCTION 'SSFCOMP_PROCESS_DOCUMENT'

EXPORTING HEADER = %HEADER

DOCSTRUC = %DOCSTRUC

STARTPAGE = CONTROL_PARAMETERS-STARTPAGE

ARCHIV_INDEX_TAB = %ARCTAB

MAIL_APPL_OBJECT = MAIL_APPL_OBJ

IMPORTING RESULT = %RESULT_PD

EXCEPTIONS OTHERS = 1.

IF SY-SUBRC <> 0. PERFORM %RAISE. ENDIF.

DOCUMENT_OUTPUT_INFO = %RESULT_PD.

ENDIF.

try to reactivate ur smartform (f.m module) and see....

Former Member
0 Kudos

Hii All....

Kindly help on this plz...

Best Regards,

Srikanth

Former Member
0 Kudos

Hi

Check the Smartform Generated FM is consistent with all the parameters in Form Interface. I mean the tables used, and everything...and check if the smartstyle you have given exist. Also, copy the smart style in to a Z smartstyle and assign it.

Vishwa.