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

How to use the function EXEC_SQLCMD_MSQ in Excel?

Former Member
0 Likes
726

Hi Friends,

can anyone explain how to use use this function EXEC_SQLCMD_MSQ in Excel to get the result.

I have written excel macro to use this function, statement like "Select * from t001" but the function doesn't reply any value.

My objective is to pass the (any, generalised)

sql statment to this function and get the result in Excel file.

Please give the solution for this.

Thanks

Shankar

3 REPLIES 3
Read only

Former Member
0 Likes
631

Hello Shanker,

The Fm EXEC_SQLCMD_MSQ is used in report RSMSQ020.

U can do the same in ur report.

If useful reward the points.

Regards,

Vasanth

Read only

0 Likes
631

Hi vasanth,

But i didnt find out the report RSMSQ020.

please help me.

Shankar

Read only

Former Member
0 Likes
631

hI,

Does the parameters have correct type specified?

Also check the return value of sy-subrc.