on 03-23-2007 9:09 AM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can u please post the code wht u have done
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.