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

sap script

Former Member
0 Likes
390

Hi,

How can we call sap script in ALV

plz help me

3 REPLIES 3
Read only

Former Member
0 Likes
367

Hi

You can't call a SAP script from the ALV report

You can call a script program in a driver program without any output display using the function module OPEN_FORM

by passing the script form Name.

If you want keep a button on the output and in the interactive part, i.e when pressed that button, submit the report which calls the script.

Reward points if useful

Regards

Anji

Message was edited by:

Anji Reddy Vangala

Read only

0 Likes
367

Hi.

First, add a button to your ALV report (with a user command associated to it if you're not using function REUSE_ALV_GRID_DISPLAY. if you are is a direct parameter of the function).

Then, in the coding of the user action, you can put the print program of the sapscript, or SMARTFORM !

Best regards.

Valter Oliveira.

Read only

0 Likes
367

Hi Anji,

I am not getting you

Can you give me one sample programme