The value is not coming in the work area
i had written this code in the smartform
SELECT SINGLE * FROM KNA1
INTO CORRESPONDING FIELDS OF WA_KNA1
WHERE KUNNR EQ WA_SHIP-KUNNR.
In this code the WA_SHIP-KUNNR is coming from driver program and the records are coming in WA_KNA1.
But the records are not coming in WA_KNA1.
Please Help me to resolve this problem.
Use this code:
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = wa_ship-kunnr IMPORTING output = wa_ship-kunnr. SELECT SINGLE * FROM kna1 INTO CORRESPONDING FIELDS OF wa_kna1 WHERE kunnr EQ wa_ship-kunnr.
Please mark points if the solution was useful.