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 Problem

Former Member
0 Likes
663

Hi all,

I have provided hotspot for my alv report. but when that particular field is blank and if the user clicks the field it goes to the respective transaction with a null value and shows error. how can i avoid it.

Sathya.S

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
561

In the routine called upon clicking the hotspot, check whether the field is initial; if call the transaction only if it is not

Regards

Abdullah

4 REPLIES 4
Read only

Former Member
0 Likes
561

Check the value is not NULL before calling transaction.

For char use as NOT INITIAL or NE SPACE.

Kind Regards

Eswar

Read only

Former Member
0 Likes
561

Before doing a call transaction, you will be calling a SET PARAMETER statement, right.

Don't call the CALL TRANSACTION, if the variable value is initial.

Regards,

Ravi

Note - Please mark all the helpful answres

Read only

Former Member
0 Likes
562

In the routine called upon clicking the hotspot, check whether the field is initial; if call the transaction only if it is not

Regards

Abdullah

Read only

0 Likes
561

Check for the NULL value

e.g.

IF COMM = '&IC1' AND SELFIELD-FIELDNAME = 'MATNR'

AND SELFIELD-VALUE IS NOT INITIAL.

SET PARAMETER ID 'MAT' FIELD SELFIELD-VALUE.