2008 Feb 20 10:17 AM
hi
can any body tell is there possible to write code in the scripts.not in the driver program in the script itself.
hi
can any body tell is there possible to write code in the scripts.not in the driver program in the script itself.
2008 Feb 20 10:39 AM
Hi,
No you cannot do coding in SAP Scripts. You can create subroutines and call these subroutines in program. You can declare variables using define satatement.
Thanks,
Shravan G.
2008 Feb 20 10:43 AM
hi,
no there is no way to write code in script the only option is
calling perform in the script and writting code in form and end form in driver prg
2008 Feb 20 10:56 AM
hi,
it is not possible to put a code inside the sap script.
you can use the subroutines.
e.gSyntax:
/: PERFORM <form> IN PROGRAM <prog>
/: USING &INVAR1&
/: USING &INVAR2&
......
/: ENDPERFORM
. pass the variables and do what ever calculations u want ok.
regards.
pradeep
2008 Feb 20 11:25 AM
2008 Feb 20 11:06 AM
hi,
no u can not write code in script.
but ucan use performs
and conditonal statements
like if....endif.
check.
2008 Feb 20 11:25 AM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |