Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Getting SAPScript form name in calling program ??

Former Member
0 Likes
551

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.

3 REPLIES 3
Read only

Former Member
0 Likes
451

Dear Sandip,

Goto table TNAPR there you can find SAP Script and corresponding ABAP program and subroutine.

Regards,

Vikas Madaan

Read only

0 Likes
451

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.

Read only

0 Likes
451

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