Class ConverterUtils


  • public class ConverterUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getString​(com.sap.conn.jco.JCoRecord coRecord, java.lang.String arg0)
      This methods avoids creation of independend copies of "" in order to save memory.
      static boolean provided​(java.lang.String s)  
      static boolean singleCharacter​(java.lang.String s)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CRM_WEC_CUST_F4_UNITS

        public static final java.lang.String CRM_WEC_CUST_F4_UNITS
        Function module name that retrieves F4 data for quantity units
        See Also:
        Constant Field Values
      • ERP_WEC_CUST_F4_UNITS

        public static final java.lang.String ERP_WEC_CUST_F4_UNITS
        Function module name that provides physical units
        See Also:
        Constant Field Values
      • LANGUAGE_INPUT

        public static final java.lang.String LANGUAGE_INPUT
        Import parameter for the ABAP language. Must have ABAP format (e.g. D for Germany)
        See Also:
        Constant Field Values
      • PRC_CNV_CURR_F4_CURRENCY_UNITS

        public static final java.lang.String PRC_CNV_CURR_F4_CURRENCY_UNITS
        Function module name that retrieves F4 data for currencies
        See Also:
        Constant Field Values
      • ERP_WEC_CUST_F4_CURRENCY

        public static final java.lang.String ERP_WEC_CUST_F4_CURRENCY
        Function module name that provides physical units
        See Also:
        Constant Field Values
    • Method Detail

      • provided

        public static boolean provided​(java.lang.String s)
        Parameters:
        s - String to be checked
        Returns:
        true, if s is not null and length >0
      • singleCharacter

        public static boolean singleCharacter​(java.lang.String s)
        Parameters:
        s - String to be checked
        Returns:
        true, if s is not null and length=1
      • getString

        public static java.lang.String getString​(com.sap.conn.jco.JCoRecord coRecord,
                                                 java.lang.String arg0)
        This methods avoids creation of independend copies of "" in order to save memory.
        Parameters:
        coRecord -
        arg0 -
        Returns:
        EMPTY_STRING or value from coRecord