cancel
Showing results for 
Search instead for 
Did you mean: 

conext menu

ravi_kumar221
Participant
0 Kudos

is there  any intelligent guy   who  can  tell 

Hi i have created conext menu   but i m not able to see the menu when i right   click

help me    i m s34nding u screen shot  see

Accepted Solutions (1)

Accepted Solutions (1)

chengalarayulu
Active Contributor
0 Kudos

Ravi,

please attache the snap.

ravi_kumar221
Participant
0 Kudos

now  see scree sot

chengalarayulu
Active Contributor
0 Kudos

Ravi,

please check the below thread.

http://scn.sap.com/thread/1312314

chengalarayulu
Active Contributor
0 Kudos

Ravi,

please check the below thread.

http://scn.sap.com/thread/1312314

ravi_kumar221
Participant
0 Kudos

it was for dynamic context menu i want static which i have created in screenshot help me

chengalarayulu
Active Contributor
0 Kudos

Hi,

As thomas words, currently static context menu is disabled at browser level, so you can enhance/track to dynamic.

thanks.

ravi_kumar221
Participant
0 Kudos

how     can enhance

chengalarayulu
Active Contributor
0 Kudos

means simply saying is use dynamic context menus.

ravi_kumar221
Participant
0 Kudos

CASE CONTEXT_MENU_EVENT->ORIGINATOR->ID.

     WHEN 'SFLIGHT'.

       CALL METHOD CL_WD_MENU=>NEW_MENU

         EXPORTING

           ID                  = 'ZHANGWH'

           TITLE               = 'Zhang wei hong test context menu'

         RECEIVING

           CONTROL             = MENU.

       CALL METHOD CL_WD_MENU_ACTION_ITEM=>NEW_MENU_ACTION_ITEM

         EXPORTING

           ID                  = 'CHECK'

           ON_ACTION           = 'CHECK_DATA'

           TEXT                = 'Check input data'

           BIND_IMAGE_SOURCE  = '1.jpg'

         RECEIVING

           CONTROL             = LR_MENU_ITEM.

       CALL METHOD MENU->ADD_ITEM

         EXPORTING

           THE_ITEM            = LR_MENU_ITEM.

     WHEN OTHERS.

   ENDCASE.

hi i  am getting error when i put     image  see the code 

  • Could not find attribute jpg  error
chengalarayulu
Active Contributor
0 Kudos

Hi Ravi,

its not real button to assign image, you can assign only action to the menu item.

Answers (0)