on 12-14-2008 8:56 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkata srikanth,
Just Check whether the smartform which your calling is activated or not.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hii All....
Kindly help on this plz...
Best Regards,
Srikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.