Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error in smartform calling in a report

Moved from General to Form Printing. Please take care to post in the correct forum.

Hi All,

I'm working on standard Smartform 'EBPP_DEBIT_CREDIT_MEMO'(biller Notification) calling in a report.In report smartform generating function module successfully(/1BCDWB/SF00000095).

problem accuring while calling the generating function module.

if anything wrong please help me.

The coding is:

Data : fm_name TYPE rs38l_fnam.

Data:L_URI type AD_URI.

START-OF-SELECTION.

L_URI = '11223'.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = 'EBPP_DEBIT_CREDIT_MEMO'

  • VARIANT = ' '

  • DIRECT_CALL = ' '

IMPORTING

FM_NAME = fm_name

EXCEPTIONS

NO_FORM = 1

NO_FUNCTION_MODULE = 2

OTHERS = 3

.

IF sy-subrc <> 0.

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

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

ENDIF.

call function fm_name

Exporting

L_URI = L_URI

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.

Edited by: Matt on Apr 23, 2009 11:25 AM

Former Member
Former Member replied

ur code is wrkg perfect on my system.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question