‎2005 Nov 16 8:59 AM - edited ‎2024 Feb 04 1:08 AM
HI,
Is there any way while debugging we can c the buttons that are present for that status.
Like we say
SET PF-STATUS 'STANDARD' OF PROGRAM 'SAPMV65A' EXCLUDING lt_extab.
to remove buttons in table...similarly to c avilable buttons
‎2005 Nov 16 9:30 AM
Hi Vinotha,
I think you cannot see the buttons and function codes available in a PF-STATUS in debugging.
In general, debugging help us find the values of variable which are prone to changes in runtime.
Whereas PF_STATUS buttons will not change in run-time.(The option "excluding" will can help you in knowing what are all the buttons that are excluded, as you have alreday mentioned).
Regards,
Ravi
‎2005 Nov 16 9:30 AM
Hi Vinotha,
I think you cannot see the buttons and function codes available in a PF-STATUS in debugging.
In general, debugging help us find the values of variable which are prone to changes in runtime.
Whereas PF_STATUS buttons will not change in run-time.(The option "excluding" will can help you in knowing what are all the buttons that are excluded, as you have alreday mentioned).
Regards,
Ravi
‎2005 Nov 16 9:59 AM
Hi Vinotha,
Am I missing something here.. why do you need to debug to see the pf-status? Can't you just use SE41?
Suresh Datti
‎2005 Nov 16 10:54 AM
Thank u for ur help...but a button called CANCEL was not appearing on the screen though it was created..
This happened wen i copied a sap transaction .wen i changed its name its workin.
‎2005 Nov 17 3:40 AM
‎2005 Nov 17 5:18 AM
Hi,
Put a break-point in the line
SET PF-STATUS 'STANDARD' OF PROGRAM 'SAPMV65A' EXCLUDING lt_extab.
And check lt_extab table contains 'RW'.
Because 'RW' is the code for cancel button.
You can very well check it in se41.
Kindly reward points by clicking the star on the left of reply,if it helps.