Sometimes the '-' sign needs to be relocated for numerical data, especially financial downloads. The following...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
routine can be placed as necessary. This code was written in 3.1H and has been successfully used in 4.0B and 4.6C. It should work on all presently support SAP versions.
PERFORM SEARCH_MINUS changing p_mth6. ... FORM SEARCH_MINUS CHANGING PARAM. DATA: ZJUNK(21) TYPE C. SEARCH PARAM FOR '-'. IF NOT SY-SUBRC IS INITIAL. EXIT. ENDIF. SPLIT PARAM AT '-' INTO PARAM ZJUNK. CONCATENATE '-' PARAM INTO PARAM. CONDENSE PARAM. ENDFORM.