SAP Message 42572 - Valid types are ' ','A','B', but not '&1'

Diagnosis

NO_VALID_TYPE:
The function module IWB_PARSE_AND_MODIFY has been called using aninvalid PV_INPUTTYPE.

System Response
Exception no_valid_type.

Procedure
Call the function module using only PV_INPUTTYPE= space, 'A' or 'B'.
A space means a text string TYPE STRING has been transferred directly invariable PV_STRING_IN.
'A' means an ASCII file has been transferred into variablePT_ASCII_FILE_IN of TYPE HTMLTABLE .
'B' means a BIN file has been transferred in the variablePT_BIN_FILE_IN of TYPE SDOKCNTBINS.