‎2006 Nov 29 6:53 AM
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
‎2006 Nov 29 7:22 AM
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
‎2006 Nov 29 6:55 AM
Check the value is not NULL before calling transaction.
For char use as NOT INITIAL or NE SPACE.
Kind Regards
Eswar
‎2006 Nov 29 6:55 AM
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
‎2006 Nov 29 7:22 AM
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
‎2006 Nov 29 7:31 AM
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.