02-22-2016 6:12 PM
Hello guys of new. Who can help me please? I have the next error in my code:
Function parameter "TARGETTEXT" is unknown.
-----------------------------------------------------------------------
method IF_EX_ME_PROCESS_PO_CUST~CHECK .
DATA:
v_ewaers TYPE WAERS.
"DATA: ls_mepoheader TYPE mepoheader.
"ls_mepoheader = im_header->get_data( ).
IMPORT v_ewaers TO v_ewaers FROM MEMORY ID 'ewaers'.
data: text type TRM080-TEXT.
CALL FUNCTION 'TRM_POPUP_TEXT_INPUT'
EXPORTING
* SOURCETEXT = 'asasasa'
TITEL = 'Test'
START_COLUMN = 25
START_ROW = 6
* CHANGING
TARGETTEXT = text.
endmethod.
02-22-2016 6:23 PM
Juan,
It looks like the CHANGING keyword is comment out. Because of this, the call function interprets the parameter TARGETTEXT as an importing parameter, which it is not. This is why you receive an error message.
To correct this, either comment out TARGETTEXT as it is optional or uncomment out CHANGING.
Hope this helps.
Thanks,
Brian
02-22-2016 6:23 PM
Juan,
It looks like the CHANGING keyword is comment out. Because of this, the call function interprets the parameter TARGETTEXT as an importing parameter, which it is not. This is why you receive an error message.
To correct this, either comment out TARGETTEXT as it is optional or uncomment out CHANGING.
Hope this helps.
Thanks,
Brian
02-22-2016 6:31 PM