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

Problem in Hotspot

Former Member
0 Likes
671

Hi All

I am getting 1 strange problem using hot-spot.

I am using hotspots on "GR" & "PO". For PO its working fine, but when clicking any GR its always showing last GR.

Regards.

Hi All

I am getting 1 strange problem using hot-spot.

I am using hotspots on "GR" & "PO". For PO its working fine, but when clicking any GR its always showing last GR.

Regards.

3 REPLIES 3
Read only

Former Member
0 Likes
626

hi,

try clearing your cursor field before every click.

thanks,

anupama.

Read only

Former Member
0 Likes
626

Try this code.

FORM user_command USING r_ucomm LIKE sy-ucomm

r_selfield TYPE slis_selfield.

DATA lv_ebeln TYPE ekko-ebeln.

DATA lv_belnr TYPE ekbe-belnr.

IF r_selfield-fieldname = 'EBELN'.

lv_ebeln = r_selfield-value.

SET PARAMETER ID 'BES' FIELD lv_ebeln.

CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.

ELSEIF r_selfield-fieldname = 'BELNR'.

lv_belnr = r_selfield-value.

SET PARAMETER ID 'MBN' FIELD lv_belnr.

CALL TRANSACTION 'MIGO' AND SKIP FIRST SCREEN.

ENDIF.

ENDFORM. " user_command

Read only

Former Member
0 Likes
626

Actually I was not inserting that field in HIDE statement.

Thanks for replies anyways.