Skip to Content

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

request->get_form_field

Hi Friends,

I tried for 'search'for results from ITAB, with the following code.

when 'search'

str3 = request->get_form_field( 'REQID' ).

SELECT * FROM STD INTO CORRESPONDING FIELDS OF TABLE itab where REQID LIKE STR2.

ENDIF.

But this is not working .Please mail me , as I really struck here.

Regards

CSM REDDY

replied

If you are not getting any value into str3 attribute, try using this:

CALL METHOD request->get_form_field
      EXPORTING
        name  = 'REQID'
      RECEIVING
        value = str3.

Hope this helps you.

Regards,

Ravikiran.

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