06-28-2007 9:35 AM
hi,
In initial screen i have 5 push buttons.
CREATE, CHANGE DISPLAY, EXPIRE, DELETE.
the requirement is i want transaction code for each and every push button, individually
where should i write the code, and where to assign the transaction.
please help.
kirthi.
06-28-2007 9:37 AM
Hi,
Go to the Se 80 transaction and select u r program give the function code for each puch button and assign the each button to call one transaction .
Regards,
Nandha
Reward if it helps
06-28-2007 9:37 AM
Hi,
Go to the Se 80 transaction and select u r program give the function code for each puch button and assign the each button to call one transaction .
Regards,
Nandha
Reward if it helps
06-28-2007 12:59 PM
Hi
assign Fcode for each and every button.
In PAI module of the screen you can call the transactions.
case sy-ucomm.
when 'CREA'.
call transaction 'TRX for creation'.
when 'CHAN'.
call transaction 'TRX for change'.
etc.
You can't assign a transaction for the push button. What you can do is on pressing the button, capture the Fcode in PAI, then call the corresponding transaction.
with regards,
Vamsi
06-28-2007 1:06 PM
Hi,
If you set the funtion code as '<b>VA01</b>' and function type as "<b>Transaction</b>"
for your push button,then it will directly call VA01 transaction when u press that button.no need to write the code.
06-28-2007 9:45 PM
You can create one specifc module in PAI in SE51, when you double click on that module, it will create a block in SE38 program. You can write the related logic by comparing with SY-UCOMM field.
regards
Dj
reward for all useful answers
06-29-2007 10:18 AM
Hi,
Assign function code for all the push buttons.
Capture the function codes in the PAI module as:
ok_code = sy-ucomm.
case ok_code.
when 'CREATE'.
call transaction 'CREATE_SOMETHING'.
when 'CHANGE'.
call transaction 'CHANGE_SOMETHING'.
endcase.
like that you can assign transactions to push buttons.
Regards,
Renjith Michael.