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

Call Selection Screen in Include.

Former Member
0 Likes
388

Hi SAP Gurus,

I am working with a user exit in VL01N, the requirement is as follows;

In the include i need to take the input(KUNNR) from the user , for that i have used call selection screen . But, it has not worked saying that "with in form ruotines and function modules , the selection screen statement is not allowed". How can i fetch the user input,

Please help.

Thanks and Regards,

Pavan.

2 REPLIES 2
Read only

Former Member
0 Likes
360

Hi Pavan,

you cannot call a selection screen in Function modules.

Can you just post the name of the user exit you are using?

You have to check, by giving the input in the transaction & in debug mode you need to see what values are getting populated, based on these values you can decide the processing logic of the program.

I suggest just debug the transaction & see while approaching to your user exit, what values are getting populated.

Regards

Abhii

Read only

0 Likes
360

Hi,

The exit i am using is V50PSTAT.

Thanks and Regards,

Pavan.