Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Deactivating screen exit during run-time

stefan_kolev4
Participant
0 Likes
1,412

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

7 REPLIES 7
Read only

Former Member
0 Likes
1,178

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,

Read only

0 Likes
1,178

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.

Read only

0 Likes
1,178

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

Read only

abdul_hakim
Active Contributor
0 Likes
1,178

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

Read only

0 Likes
1,178

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.

Read only

former_member189779
Active Contributor
0 Likes
1,178

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.

Read only

Private_Member_49934
Product and Topic Expert
Product and Topic Expert
0 Likes
1,178

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.