Onclick of button goto script / smartform program
I have made a module pool progam for sales order data entry in which i have 2 buttons say 'A' and 'B'.
Onclick of the button 'A' i want to go to the sales order in script which i have already created &
Onclick of the button 'B' i want to go to the sales order in smartform that is also created.
Basically i want to call 2 of my own progams onclick of button.
Is there a way to do that. Please help me out.
Mytri R replied
as per my understanding of question, i suggest You to create the t-codes for those two driver programs of script and form.
Then in PAI event write:
IF btn clicked = 'A'
call transaction <tcode_script>
elseif btn clicked = 'B'
call transaction <tcode_smartform>
Hope this can solve ur problem.