2009 Jan 14 4:55 AM
Hi All
Is it possible to apply HotSpot to colum in Dialog Programming?
If yes, How?
Regards.
2009 Jan 14 5:30 AM
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.
2009 Jan 14 5:30 AM
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
2009 Jan 14 5:46 AM
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.
2009 Jan 14 5:54 AM
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.
2009 Jan 14 6:17 AM
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.
2009 Jan 14 6:39 AM
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.
2009 Jan 14 5:45 AM
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 .
2009 Jan 14 6:07 AM
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
2009 Jan 14 6:41 AM
Hi,
Just follow these links.
http://help.sap.com/erp2005_ehp_04/helpdata/EN/9f/dba1e235c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/erp2005_ehp_04/helpdata/EN/ee/c8e080d52611d2b468006094192fe3/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/5d/94a138198daa2fe10000009b38f842/frameset.htm
Hope it will help you.
Regards:
Alok
2009 Jan 14 6:48 AM
Thanks Alok
But I'm looking for hot-spot in Module-pool prog.