cancel
Showing results for 
Search instead for 
Did you mean: 

About smart form driver program

Former Member
0 Kudos

Hello Everyone,

i have a problem in smart form driver program execution, while i am executing program, it is giving error like rs38l is unknown. so how i can fix this problem.......

My mail id is "talele.rahul@gmail.com"

Thanx & regards,

Rahul Talele

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi

once refer u r another post.

pease avoice duplicate post, close any one of these threads

Former Member
0 Kudos

Hi Rahul,

What u mentioned RS381 or RS38L. Correct statement is RS38L. Better to try after resign in into SAP.It will work.

Regards,

Kumar.

Former Member
0 Kudos

declare liek this in the data declaration

DATA : ponumber TYPE bapimepoheader-po_number,

formname TYPE tdsfname VALUE 'YFMM50010',

fm_name TYPE rs38l_fnam,

and then after u got all the data into the final internal table,

call the smart form as follows....

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = formname

IMPORTING

fm_name = fm_name

EXCEPTIONS

no_form = 1

no_function_module = 2

OTHERS = 3.

*with no dialog

ssfcresop-tddest = 'LP02'. "Spool: Output device

ssfcresop-tdimmed = 'X'. "Print Immediately (Print Parameters)

*SSFCRESOP-BCS_COMMIT = 'X'.

ssfcresop-tdarmod = 'X'. "Print: Archiving mode

  • Call Smartform

CALL FUNCTION fm_name

EXPORTING

  • ARCHIVE_INDEX =

  • ARCHIVE_INDEX_TAB =

  • ARCHIVE_PARAMETERS =

  • CONTROL_PARAMETERS =

  • MAIL_APPL_OBJ =

  • MAIL_RECIPIENT =

  • MAIL_SENDER =

  • OUTPUT_OPTIONS =

  • USER_SETTINGS = 'X'

goodsmvt_header = goodsmvt_header

poheader = poheader

IMPORTING

  • DOCUMENT_OUTPUT_INFO =

  • JOB_OUTPUT_INFO =

job_output_options = ssfcresop

TABLES

goodsmvt_items = goodsmvt_items

poitem = poitem

pocondheader = pocondheader

pocond = pocond

  • 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

can u please post the code wht u have done