Skip to Content

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

FM DYNP_VALUES_READ giving dump

Hi folks,

I am using Function module DYNP_VALUES_READ as follows, but it is giving dump as invalid screen field parameter.

data: l_dyname type standard table of dynpread,

w_dynam type dynpread.

clear w_dynpread.

w_dynpread-fieldname = <screen-fieldname>.

append w_dyname to l_dyname.

clear w_dyname.

CALL FUNCTION 'DYNP_VALUES_READ'

EXPORTING

dyname = sy--repid

dynumb = sy-dynnr

tables

dynpfields = l_dyname.

please let me know where am I wrong......it is giving sy-subrc = 2..which is invalid field parameter.....

thanks in advance

Tags:
replied

Hi,

Please make sure the screen fieldname exists and give the screen fieldname in capital letters..

Thanks

Naren

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