Automate

 View Only
  • 1.  Excel data format for a BCD field for a BAPI parameter

    Posted 08-04-2020 15:04
    Hi all,

    How do I format a column/cell in an Excel data file for a BAPI parameter field of type BCD? I continue to get the message "Please do not assign a value of type System.String to a RFC parameter of type BCD". I've tried text, general, number, =DEC2BIN, leading zeros, etc.

    For example, UNITSOFMEASURE - GROSS_WT (BAPI_MATERIAL_SAVEDATA) is BCD 7. I want a value of 1 passed into the BAPI.

    Thanks!
    Brian

    ------------------------------
    Brian McNally | BA
    Versum Materials | 6105095098
    ------------------------------


  • 2.  RE: Excel data format for a BCD field for a BAPI parameter

    Employee
    Posted 08-04-2020 20:24
    Hi Brian

    Numeric should work for UOM gross weight, for example..  Please check the padding defaults for the inputs.  You may need to change them.    I opted for no padding.


    HTH
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------