2012 Mar 27 2:13 PM
Hi,
Is it possible to deactivate screen exit during enhancement ?
In my case I'd like to disable Enhancement tab on transaction IW32, IW33 during run-time. Because of some conditions I want to disable Enhancement tab, which is acctualy screen exit.
How can I do that ?
<removed by moderator>
Thanks,
Stefan
Message was edited by: Thomas Zloch
Hi,
Is it possible to deactivate screen exit during enhancement ?
In my case I'd like to disable Enhancement tab on transaction IW32, IW33 during run-time. Because of some conditions I want to disable Enhancement tab, which is acctualy screen exit.
How can I do that ?
<removed by moderator>
Thanks,
Stefan
Message was edited by: Thomas Zloch
2012 Mar 27 2:27 PM
Hi Stefan,
firstly, its against the community rules to mention the statements such as "Helpful answers will be rewarded". It could lead to lock your threads by the moderators.
Most likely SAP provides an option to disable the tab based on the logic, can you give more insight on the enhancement or logic used to add the new screen, is it the BADI or customer exit used for extension? look for function module/Method which have attirbutes to modify screen.
Regards,
2012 Mar 27 3:09 PM
Hi,
It is customer exit. We are talking about Enhancement tab / screen 0900 function group XWOC /. It is for customer fields on IW32, IW33 etc.
I'd like to disable that tab if we have specific WO type.
2012 Mar 28 2:56 PM
Hi,
Please write the screen disabling logic using LOOP AT SCREEN. <Disable> ENDLOOP. in the PBO module of the 0900 screen which you have created.
Regards,
Prasanna
2012 Mar 27 2:30 PM
Hey Stefan
You can deactivate the screen exit in the CMOD transaction.
But if you want to deactivate during program runtime then it wouldnt be possible without additional programming effort.
Thanks
Abdul Hakim
2012 Mar 28 5:59 PM
Not sure how to disable the whole tab based on condition. What you can do is display the fields of the custom tab in disable mode based on conditions.
2012 Mar 28 6:54 PM
Hi,
Standard SAP must be checking if this screen exit is active or not. Based on this condition it will call your screen saying Call customer-screen subscreen 900....somthing like that.
Check if there is any Enhancement point or exit avialable in between these two and if you can change that condition during runtime to aviod the call to customer screen.
2012 Mar 28 8:26 PM
I think the earlier post should have solved your problems. it will disable all the fields . Hopefully if you don't have nay fields to display the tabs should not show up.
in PBO put a moduel where in
if conditioin is true.
loop at screen.
screen-active = 0.
modify screen.
endloop.
endif.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |