on 04-04-2007 2:11 PM
Hi,
Can any one help me to include code in Form Routines in Global Settings in SMARTFORM with example.
Pooja
hi
it is same link normal abap program only..
one thing u have to remember here is u have to give all the varaiblesand ITAB names in INPUT and OUTPUT parameters of ITNAILIZATIONS tab
<b>calling the form in Initialization tab..</b>
* Get details for condition values.
PERFORM GET_INVOICE_CONDITION_VALUES USING IT_KOMV
IT_KOMVD
V_LAND1
IS_BIL_INVOICE-HD_GEN
CHANGING WA_INVOICE.
<b>difinatonin FORM routines tab</b>
FORM GET_INVOICE_CONDITION_VALUES
USING FP_IT_KOMV TYPE TY_IT_KOMV_T
FP_IT_KOMVD TYPE TY_IT_KOMVD_T
FP_V_LAND1 TYPE LAND1
FP_GS_HD_GEN TYPE LBBIL_HD_GEN
CHANGING FP_WA_INVOICE TYPE TY_INVOICE.
DATA: L_WA_KOMV TYPE KOMV,
L_WA_KOMVD TYPE KOMVD.
FORM GET_INVOICE_CONDITION_VALUES
USING FP_IT_KOMV TYPE TY_IT_KOMV_T
FP_IT_KOMVD TYPE TY_IT_KOMVD_T
FP_V_LAND1 TYPE LAND1
FP_GS_HD_GEN TYPE LBBIL_HD_GEN
CHANGING FP_WA_INVOICE TYPE TY_INVOICE.
DATA: L_WA_KOMV TYPE KOMV,
L_WA_KOMVD TYPE KOMVD.
xxxxxx
xxxxxx
xxxxx
ENDFORM. "GET_INVOICE_CONDITION_VALUES
Please Close this thread.. when u r problem is solved. Reward all Helpful answers
Regards
Naresh Reddy K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Pooja
under form routines you can write form endform only.
and you can call this subroutine inside any of the program lines.
hope this gives you an idea how to use it.
Please reward points if its helpful.
Regards
Zarina .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.