how to create local variables?
hi im new using ecatt,
i need to declare a local variable then used with some abap commands and then use it in the TCD.
any general tips?
how to create local vars?
You can create the local variable as show below in the parameter section :
V_LOGTEXT Log text V
Here type V is variable type.
Also please remember that the parameter of type I (IMPORT) and E (EXPORT) cannot be used in the ABAP... ENDABAP section of the eCATT script. Only parameter of type V (VARIABLE) is visible in the ABAP ... ENDABAP.
So what you can do is assign the import or export parameter to a local variable and use it in the ABAP ... ENDABAP section.
Hope i have answered your question.
Thanks and Best regards,