‎2005 Sep 07 8:35 AM
Hi ,
Can anyone tell me how I can get the SAPScript name
in the subroutine in a ABAP program which is called by the SAPScript ?
Thanks in advance.
Best regards,
Sandip.
Ph: +44 121 683 2814.
‎2005 Sep 07 8:37 AM
Dear Sandip,
Goto table TNAPR there you can find SAP Script and corresponding ABAP program and subroutine.
Regards,
Vikas Madaan
‎2005 Sep 07 8:49 AM
Hi Vikas,
Thanks for the reply,but my problem is as follows :
"There is a Z-program having a subroutine that is being called by several SAPScript forms.So in the routine I need to write the code which will get the name of the FORM which is currently calling the subroutine."
Can you help me with this ?
Sandip.
‎2005 Sep 07 9:30 AM
Hi,
Why don't you transfer the form name in the PERFORM stmt in the sapscript ? I mean that you can have a parameter in your subroutine, that can be use as a form name.
Svetlin