Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

The value is not coming in the work area

hello,

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.

Tags:
Former Member
Former Member replied

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.

Regards,

Manoj

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question