Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8076

Can we execute WRITE before PARAMETER???

$
0
0

Hi Experts,

 

I am new to SAP and I m trying to execute following code.

 

WRITE: '1.ABC',/,'2.XYZ',/. 

PARAMETERS p_a TYPE i OBLIGATORY. 

CASE p_a.  

WHEN 1. WRITE 'ABC'.  

WHEN 2. WRITE 'XYZ'.  

WHEN OTHERS. WRITE 'Wrong Selection'.

ENDCASE.


I want to display the Menu before the user give input. Is there any way to execute WRITE before the PARAMETER get executed.


Thanx in Advance..




Viewing all articles
Browse latest Browse all 8076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>