cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancing component ICCMP_BT_ACT

former_member192850
Participant
0 Kudos

Good morning,

I would like to enhance the component iccmp_bt_act, in detail this component have a viewset divided in 4 view.

I need to "eliminate" two view because I would like that the screen will be divided only with a view in the top and a view in the bottom.

It's possible enhancing the component ( in the "component workbench transaction") to eliminate 2 views changing the viewset?

Alternatively  it's possible to "copy" completely  the component and "substitute" the original component to the custom component for a specific profile at Runtime?

Many thanks

Marc

Accepted Solutions (1)

Accepted Solutions (1)

former_member203215
Participant
0 Kudos

Hi Marco Sauro

     You no need to delete any views . Just go to the .HTM page of the views which you don’t want to display and comment the code…

Then they will not be appear in the webui

And for example if you want make UPPERLEFT VIEW has to be occupy total width of the top portion

just go to configuration tab of the view and select 16 columns 1 panel and click on show field properties give range between A AND P

AND In the viewset configuration select block go to field properties

Give number range 0 0 for elimination block and select 16 columns 1 panel

And give range between A to P for visible blocks.

By making all this your output will be like below


Here i remove upper right and lower left for demo purpose

after making changes in view configuration that will be like below



former_member192850
Participant
0 Kudos

Hi Ravichand, thank you very much! I followed your istruction and now I was able to display the view "UpperLeft" and "LowerLeft" in the entire space of the top and the bottom.

Because my enhancement is specific for a profile, I need to specify the role configuration Key specific for the Business Role that I have to change is correct?

If it dosn't exist an entry in configuration I need to create it.

(in my case if i try to select a configuration there is only 1 entry with <default> as cinfiguration key)

I tried to create one configuration with specific role config.key

When I confirm It ask me the CR but after, when I try to select the configuration there is only <default>; It's normal for you? How I can select the correct configuration?

Thanks

Marco

former_member203215
Participant
0 Kudos

First of all assign your role configuration key to your navigation bar profile and business role.. Then assign role config key in view configuration...........

To create your own configuration click on copy configuration then save then two configuration will be available then select your custome configuraiton and provide your own role config key............

former_member192850
Participant
0 Kudos

Many thanks Ravichand, I'm able to continue my task. thanks you and good work!

Answers (4)

Answers (4)

former_member192850
Participant
0 Kudos

Ok thanks you guys, I just eliminated the view LowerRight under the view set ActViewSet and the view isn't show yet. But the view lower right continue to stay in the left side instead take all of the space of the bottom. There is the possibility to specify the dimension of the LowerLeft view, to specify to fill up the entire space of the bottom? Many thanks Marco

former_member192850
Participant
0 Kudos

Thanks you Kumar and Harish, I choose the enhancement solution.

The component ICCMP_BT_ACT have this view visible in the Structure component browser:

ActViewSet

LowerLeft

LowerRight

UpperLeft

UpperRight

I need to "hide" the view UpperRight And LowerRight, to do that I have to change the Runtime repository Editor that looks as follow:

The Runtime repository have effect directly to the "Repository.xml" file, so my task is to delete the viewset "upperRight" and "lowerRight" and delete the component usage "EditNoteUsage" And "LogNoteUsage" and delete the navigational link "NoLog".

Now the Runtime repository looks as follow;

Now, if I run the IC WEB CLIENT and I display the component ICCMP_BT_ACT I get the error:

An exception has occurred Exception Class  CX_BSP_WD_INCORRECT_IMPLEMENT - Define NavigationalLink NoLog for source view

ICCMP_BT_ACT/ActViewSet.  Program:  SAPMHTTP  Include:  Source Text Row:  0 Cannot display view ICCMP_BT_ACT/ActViewSet An exception has occurred Exception Class  CX_BSP_INV_PAGE - BSP Exception: Das Objekt UpperRight_EMPTY in der URL /sap(bD1lbiZjPTQwMCZzPVNJRCUzYUFOT04lM2Fjcm1kX0NSRF8wMCUzYUdmVG16bEZpcmZibmhKR01ERzBQeThXNWFYMmF6ZkVRVFA2LVZEUmUtQVRUJmk9MSZkPW1pbg==)/bc/bsp/sap/ziccmp_bt_act/ActViewSet.do ist nicht gültig.  Method:  CL_BSP_PAGE_BASE=>CREATE_PAGE  Source Text Row:  .

I need to do another Runtime configuration step?

thanks

Marco

former_member188098
Active Contributor
0 Kudos

Hi Marco,

you dont have need to delete anything(component usage,NavigationalLink etc), just remove the required views from view area of required view set by right click on view .

As:-

Regards,

kumar5
Active Contributor
0 Kudos

Hi,

Also I think you can remove them from the configuration.

Thanks

Kumar

former_member192850
Participant
0 Kudos

I also tried to delete in the Runtime repository Just the lower right viewArea of the ActViewSet

when I display the component in the ICWEBCLIENT I get the error:

Cannot display view ICCMP_BT_ACT/ActViewSet An exception has occurred Exception Class  CX_BSP_INV_PAGE - BSP Exception: Das Objekt LowerRight_EMPTY in der URL /sap(bD1lbiZjPTQwMCZzPVNJRCUzYUFOT04lM2Fjcm1kX0NSRF8wMCUzYUdmVG16bEViQWxjUG9fZlpnaU41UGIyWDYzMmF6Y01YU1A1SlQ3Z1ctQVRUJmk9MSZkPW1pbg==)/bc/bsp/sap/ziccmp_bt_act/actviewset.do ist nicht gültig.  Method:  CL_BSP_PAGE_BASE=>CREATE_PAGE  Source Text Row:  117

former_member188098
Active Contributor
0 Kudos

Hi Marc,

its easy and best way to do it by enhance the required component than copy standard comp.

With copy standard comp will involve more effort and time than first one.

Regards,

kumar5
Active Contributor
0 Kudos

Enhancing the component would be good.

After enhancing the component you can remove the views from viewset in the runtime repository.

Thanks

Kumar.