on 2008 May 12 7:40 PM
hi,
itcsy is a structure.
when u want to fetch additional data to pritn in u r layout with out changing the standard driver program
then we have to use this structure through suroutine pool program.
syntax is
FORM<FORM>TABLES IN_TAB STRUCTURE ITCSY
OUT-TAB STRUCTURE ITCSY.
.......
ENDFORM.
HERE IN_TAB IS INTERNAL TABLE
and one more example is
The structure ITCSY contains field name and field value.
The system does not execute the PERFORM command within
SAPscript replace modules, such as TEXT_SYMBOL_REPLACE or TEXT_INCLUDE_REPLACE.
The replace modules can only replace symbol values or
resolve include texts, but not interpret SAPscript control commands.
Syntax in a form window:
/: PERFORM <form> IN PROGRAM <prog>
/: USING &INVAR1&
/: USING &INVAR2&
......
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
......
/: ENDPERFORM
plz reward me if helpful...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
This is one simple example to understand
to call a subroutine from scripts we use perform in scrits text elements.
Syntax :
/: Perform <form-name> in program <program name>
/: using &in_var1&
/: changing &out_var1&
/: endperform
in se38
Form <form_name> tables itab itscy otab itcsy
Structure of itcsy
it has two fields name of the program symbol and value (text symbol value)
u can check it in se11 by typing itcsy.
Thanks
Pathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ITCSY is a structure which is used in scripts for defining the external subroutines.
in form you have code like this:
/: PERFORM sub1 in program <prog.name>
in se38,prog type S:
FORM sub1 tables in_tab type ITCSY
out_tab type ITCSY.
ENDFORM.
Regards,
Dara.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.