cancel
Showing results for 
Search instead for 
Did you mean: 

Visibility control of Button and Button choices in TM Freight Booking application

bharath_k6
Active Participant
0 Kudos

Hi,

I have 3 button choices under button - 'Insert Package' in TM Freight booking application under 'Cargo Management' Tab.

Displaying the number of button choices is controlled based on 'Consolidation Type' field value under 'General Data' Tab. If consolidation type is FCL - 3 button choices are displayed and if it is LCL, 2 button choices are displayed.

I would like to know the exact class where is the code written to control this button choice visibility.

Please help.

Thanks,

Bharath.

Accepted Solutions (1)

Accepted Solutions (1)

Aliaksandr
Active Participant
0 Kudos

Hi Bharath,

Could you check ITEM_ADAPT_APROP method of /SCMTMS/CL_UI_VIEWEXIT_TOR class (from 384 line)?

Kind regards, Aliaksandr.

bharath_k6
Active Participant
0 Kudos

Dear

Aliaksandr
Active Participant
0 Kudos

Hi Bharath,

View-Exit classes in TM applications are used in the same way as Feeder classes in usual FPM applications. As a result mostly you can do in these classes all that you can do in usual Feeder classes. Nevertheless View-Exit classes have some limitations in comparison with Feeder classes because FBI is superstructure which is based on BOPF and FPM.

As an example of limitation: FBI Views (consequently View-Exit classes) are not used in dialog pages (or quite rarely) in TM applications. It links with FPM_CLOSE_DIALOG event. This FPM event can not be catched and processed in View-Exit class.

Kind regards, Aliaksandr.

Answers (1)

Answers (1)

Former Member
0 Kudos

It would be handled in the feeder class in the PROCESS EVENT method in case of an Generic UIBB of or if it is a Webdynpro the in the PROCESS_EVENT method of the component controller.

to know the exact class you need to right click on the screen and click on more details to get the info.