on 12-08-2007 11:57 AM
HI ABAPers
in smart forms i have created a form for purchase order
in SE38 i declare like
DATA: v_fnam type rs38l_fnam.
and how to call the v_fnam
program is running but out put is not coming can any tell me in detail ......
with coding and some examples.
hiii
DATA: <Internal tabname >TYPE <DB table>
DATA: LF_FM_NAME TYPE RS38L_FNAM.
DATA: LF_FORMNAME TYPE TDSFNAME.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING FORMNAME = LF_FORMNAME
variant = ' '
direct_call = ' '
IMPORTING FM_NAME = LF_FM_NAME
EXCEPTIONS NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
error handling
CF_RETCODE = SY-SUBRC.
ENDIF.
call smartform
CALL FUNCTION LF_FM_NAME
EXPORTING
IS_DLV_DELNOTE = <Internal table>
IS_NAST = NAST
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
reward points if useful
regards
Jaipal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.