cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Form Problem

Former Member
0 Kudos

Hi All,

I am executing a report which calls a smart form .

This report is executing on one server but it is not executing on another server.

When I am executing the report on the server, it shows a message which says

Incorrect memory access has been detected , Note 704358

Does anybody know what the problem is.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

first thing

r u callong the smatform from

 CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname           = fp_c_formname
    IMPORTING
      fm_name            = fp_v_fm_name
    EXCEPTIONS
      no_form            = 1
      no_function_module = 2
      OTHERS             = 3.
  IF sy-subrc <> 0.
    MESSAGE e107 WITH fp_c_formname.
  ENDIF.

<b>then</b>

CALL FUNCTION FP_V_FM_NAME

EXPORTING

ARCHIVE_INDEX = TOA_DARA

ARCHIVE_PARAMETERS = ARC_PARAMS

CONTROL_PARAMETERS = FP_ST_CONTROL_PARAMETERS

this or not...

i'll looke for info... once u chek that

please go through this once...

Number 704358

Version 0001

Processor

Processing Status New

Implement. Status Cannot be implemented

Language EN

Short Text Error in FORMAT_TEXTLINES with ITF graphics

Component BC-SRV-SCR SAPscript

________________________________________________________________________

Long Text

Symptom

A GUI crash may occur after you implement note 679716 if you use ITF graphics.

Other terms

SAPscript, FORMAT_TEXTLINES, ITF, position 132, graphic, GUI crash

<b>Reason and Prerequisites

You have implemented the corrections in note 679716 and the relevant Support Packages.

SolutionImplement the attached corrections.</b>

________________________________________________________________________

Valid Releases

SAP Basis component

610

46C

46B

46D

620

640

________________________________________________________________________

Links to Support Packages

Software Component Release Package Name

________________________________________________________________________

SAP Basis component

46B SAPKB46B56

46C SAPKB46C47

46D SAPKB46D36

610 SAPKB61039

620 SAPKB62038

640 SAPKB64001

________________________________________________________________________

SAP

Message was edited by:

Naresh Reddy

Former Member
0 Kudos

my code is like this,

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING formname = 'ZEXC_CT1'

  • variant = ' '

  • direct_call = ' '

IMPORTING fm_name = lf_fm_name

EXCEPTIONS no_form = 1

no_function_module = 2.

v_docno = s_docno-low.

CALL FUNCTION lf_fm_name

EXPORTING

  • V_DATE = V_DATE

v_docno = v_docno

tables

T_ZEXC_REC = it_ZEXC_REC

EXCEPTIONS

FORMATTING_ERROR = 1

INTERNAL_ERROR = 2

SEND_ERROR = 3

USER_CANCELED = 4

OTHERS = 5

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Former Member
0 Kudos

hi manik,

by observin the notes... there could be problem in GRAPHICS... iam not sure

r u calling this FM FORMAT_TEXTLINES any where?

Message was edited by:

Naresh Reddy

Former Member
0 Kudos

HI Everybody,

I have debugged the program and found out that it is raising an exception while executing the function module of the smart form in the following location

WHEN '02'.

MESSAGE ID L_ERROR-MSGID

TYPE L_ERROR-MSGTY

NUMBER L_ERROR-MSGNO

WITH L_ERROR-MSGV1 L_ERROR-MSGV2

L_ERROR-MSGV3 L_ERROR-MSGV4

RAISING FORMATTING_ERROR.

the details of the error are as follows,

message id = SSFCOMPOSER

message type = E

message no = 610

L_ERROR-MSGV1 = ZEXCISE1

L_ERROR-MSGV2 = TEXT

L_ERROR-MSGV3 = ST

here ZEXCISE1 is the include text i used in the smartform and TEXT is the text object name ,ST is the text id.

Please suggest what may be the problem.

Former Member
0 Kudos

Hi,

It means that the Include text which you are trying to print does not exist.

Please check the existence of the text.

Regards

Subramanian

Former Member
0 Kudos

Hi ,

I checked the include text , it is not there , i tried to copy the include text from the other client from the options available in the menu bar, but it is showing message text ZEXCISE1 ID ST language E not found.

Please suggest what can be the reason.

Former Member
0 Kudos

HI Manik,

Create a text using SO10.

Regards

Subramanian

Former Member
0 Kudos

create the Standard Text in So10...with the name...

then Don't forget to<b> tick the checkbox</b> in smartform whter u have includer the Standard tex...for this textmodule...in general attributes-->No error if notext exits(always tick this )... even if system doesn't find the text.. it wont give an error message..

Always remember...wheu r transportin smartform to another systemm.. make sure u r transportin STYLE, ALL THE TEXT(STANDARD TEXTS OR TEXT MODULES) ur using in ur smartforms

Answers (0)