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

HotSpot in Dialog Programming

Former Member
0 Likes
1,964

Hi All

Is it possible to apply HotSpot to colum in Dialog Programming?

If yes, How?

Regards.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,663

HI,

If you are using a OO ALV, then you can use the HOTSPOT option in the fieldcatalog.

LVC_S_FCAT-HOTSPOT = 'X' for the particular column.

Regards,

Venkatesh

Hi All

Is it possible to apply HotSpot to colum in Dialog Programming?

If yes, How?

Regards.

9 REPLIES 9
Read only

Former Member
0 Likes
1,664

HI,

If you are using a OO ALV, then you can use the HOTSPOT option in the fieldcatalog.

LVC_S_FCAT-HOTSPOT = 'X' for the particular column.

Regards,

Venkatesh

Read only

0 Likes
1,663

Hi Venktesh

I'm writing like this :


  LS_FCAT-FIELDNAME = 'EBELN'.
  LS_FCAT-COLTEXT   = 'PO Number'.
  LS_FCAT-HOTSPOT   = 'X'.
  APPEND LS_FCAT TO PT_FIELDCAT.

But it is making HotSpot for every field after this field & also not directing to PO Details.

Regards.

Read only

0 Likes
1,663

Hi,

Clear LS_FCAT before append the next field to field catalog. The field is not getting cleared

LS_FCAT-FIELDNAME = 'EBELN'.
  LS_FCAT-COLTEXT   = 'PO Number'.
  LS_FCAT-HOTSPOT   = 'X'.
  APPEND LS_FCAT TO PT_FIELDCAT.
 CLEAR LS_FCAT.

Read only

0 Likes
1,663

hi all

thanks for reply.

In user_command, I am writing this but then also its not navigating.


CASE SY-UCOMM.

       CASE rs_selfield-fieldname.          "field name
*Purchase order Number
         WHEN 'MBLNR'.
           IF NOT rs_selfield-value IS INITIAL.
*Setting parameter id
             SET PARAMETER ID 'MBN' FIELD rs_selfield-value.
             CALL TRANSACTION 'MIGO' AND SKIP FIRST SCREEN.
           ENDIF.

*Material Document number
         WHEN 'EBELN'.
           IF NOT rs_selfield-value IS INITIAL.
*Setting parameter id
             SET PARAMETER ID 'BES' FIELD rs_selfield-value.
             CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
           ENDIF.

         WHEN OTHERS.
ENDCASE.

Read only

0 Likes
1,663

Hi,

Here CASE SY-UCOMM is not required simply go with the CASE rs_selfield-fieldname.
 
       CASE rs_selfield-fieldname.          "field name
        *Purchase order Number
         WHEN 'MBLNR'.
           IF NOT rs_selfield-value IS INITIAL.
            *Setting parameter id
             SET PARAMETER ID 'MBN' FIELD rs_selfield-value.
             CALL TRANSACTION 'MIGO' AND SKIP FIRST SCREEN.
           ENDIF.
 
         *Material Document number
         WHEN 'EBELN'.
           IF NOT rs_selfield-value IS INITIAL.
            *Setting parameter id
             SET PARAMETER ID 'BES' FIELD rs_selfield-value.
             CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
           ENDIF.
 
         WHEN OTHERS.
     ENDCASE.

Read only

Former Member
0 Likes
1,663

Hi ,

As venkatesh said is correct But there is no other way directly on screen to do Hotspot on if you want

something like that than you have to create a pushbutton on screen and handle the ok_code of that

push button .

Regards ,

Nilesh Jain .

Read only

Former Member
0 Likes
1,663

hi,

In PBO

module status_100.

create PF-STATUS .....and click on it ,so u go to Menu Painter.

there expand FUNTION KEY -- RECOMMENDED funtion key

in F2 funtion key enter F2 and activate your entire program

thanks

Read only

0 Likes
1,663

Thanks Alok

But I'm looking for hot-spot in Module-pool prog.