on 07-24-2007 1:55 AM
How to add some logic to retrieve the extra fields o display in script without modifying the driver program
and i want to know what is the exact difference between script and smartform
Thanks&Regards
Pradeep Reddy M
Goto the window where you want to retrieve extra fields for displaying on scripts.
/: PERFORM GET_VALUES IN PROGRAM FI_INCLUDE
/:USING &<field name>& <b> "Existing field in SAPscript</b>
/:CHANGING &<field name1& <b> "This is the extra field</b>
/:ENDPERFORM
Then create subroutine pool program(include, ex, inculde name ,FI_INCLUDE) and you have to write the code.
FORM GET_VALUES tables int_cond structure itcsy
outt_cond structure itcsy.
data : value(20), value1(20). "do your own declarations
Read int_cond table index 1.
value = int_cond-value.
value1 = value1 + value.
Read outt_cond table index 1.
outt_cond-value = value1.
Modify outt_cond index 1.
ENDFORM.
Regards,
Sairam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can call subroutine from SAPscript and display the values in the forms without modifying the driver prograzm, it looks similar to program logic.
Regards,
Sairam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
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.