‎2007 Feb 21 4:43 AM
Hi,
I copied the program RAABGA_ALV01 for the transaction S_ALR_87012052 into Z program and created Z transaction. When I press the button 'ASSETS' on the application tool bar in the Z transaction, it is not functioning. Whereas it works in standard transaction. I didn't modify anything in the Z program (Of course I'll do it later).
I tried to debug the program..and found that there are no entries for the Z program in the table 'TRSTI'.
Can any one guide me.
Regards,
Nagendra Prasad.J
‎2007 Feb 21 4:46 AM
Hi,
Have you copied all the dependent objects from the standard one?
Probably you might have missed the GUI STATUS.
Regards
Subramanian
‎2007 Feb 21 4:48 AM
Hi,
While copying make sure u r copying all by pressing the copy button in the se38 screen.
If u r doing copy paste it wont work.
U have to go to screen and then screen painter and do teh modification.
Instead delete the copied program, as a fresh copy the program again select all and copy. Rename the Includes.
‎2007 Feb 21 4:49 AM
I copied all the dependent objects as well, like GUI Status etc....
‎2007 Feb 21 4:51 AM
Goto SE80 and compare the screens for the two reports, u can go to the screen painter ad check both the screens.
‎2007 Feb 21 4:51 AM
Also activate the PF-STATUS
goto SE51
give the Z program name an give the status and checkout if the STATUS is activated
chk out if there is an ASSET button in PF-STATUS
and put a break point and checkout the user command
Message was edited by:
Chandrasekhar Jagarlamudi
‎2007 Feb 21 4:50 AM
Hi,
when you copy a report the it wont activate the menu painter you have to activate the same.
click on set pf-status and check whether it is activated or not
if not activate the same.
Regards
Shiva
‎2007 Feb 21 4:51 AM
It is activated and all other functionalities on the application tool bar r working except for 'ASSETS' button.
‎2007 Feb 21 5:34 AM
Go to the debuggin mode after pressing ASSETS and check y this is failing.
May be some part of code u might have missed.
Check in debugging, will solve ure probelm.
‎2007 Feb 21 5:43 AM
yeah when i went in debugging mode after pressing 'ASSETS' one function module RSTI_COMMUNICATION_HANDLER gives sy-subrc = 2 for z program and sy-subrc = 0 for standard program, this is bcoz table TRSTI has values for standard program (Field SONAM) but not for z program.
‎2007 Feb 21 5:26 AM
Hi Nagendra,
May be the Function code for the Assets button is missing in the PF-Status of the new program. Give it as the same one as in before transaction, activate it and try once more.
Regards,
Paul