‎2010 Oct 21 8:54 AM
Hello,
I implement a new search help (append) for the field RMVCT ( transaction type) , Now in the search help exit I need to have the value of the account input in the start screen of FB01 . When I use' DYNP_VALUES_READ to read , it show an error the screen does not existe. Coudl you please help ?
Thanks
‎2010 Oct 21 3:16 PM
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = 'SAPMF05A'
dynumb = '0100'
TABLES
dynpfields = t_dynpread[]
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
OTHERS = 11.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
‎2010 Oct 21 8:57 AM
‎2010 Oct 21 9:12 AM
‎2010 Oct 21 9:51 AM
Hi Joe,
While working with this Function Module all the Exceptions must be uncommented --> Just check in your code
Also check the progrm name that you are passing consists of the Screen number you are assigning.
Cheerz
Ram
‎2010 Oct 21 3:16 PM
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = 'SAPMF05A'
dynumb = '0100'
TABLES
dynpfields = t_dynpread[]
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
OTHERS = 11.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.