3 weeks ago - last edited 3 weeks ago
Hi All,
I referred below Blog to upload data into Custom Business Object using EXCEL.
Everything was working great except if custom business objects has any field with data types Quantity/Amount is not working while uploading data through excel.
Thank you for your question, @shashankagg.
I found this community blog which has some explicit code on uploading numeric data from spreadsheet, namely the part "for_numeric_value" in this line: from_row( xco_cp_xlsx=>coordinate->for_numeric_value( 2 ).
There might be other approaches: If the number you are attempting to import should have a dimension, ensure to also provide for that dimension. Decimals, if there are any, should be matching the target field's definition for decimals in every row. If the number is not treated like a number - e.g. because it is not used to calculate with, like a phone number, why not importing it as text/characters? Also, ensure the spreadsheet does not contain formula. Make it as plain as possible.
if that helped solve your request, please mark it accordingly. Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @AndreasMuno for responding to this 🙂
I forgot to mention i am using 2SL.
@AndreasMuno I dont think i have leverage to write : from_row( xco_cp_xlsx=>coordinate->for_numeric_value( 2 ) in S4 Public Cloud 2SL.
User | Count |
---|---|
67 | |
11 | |
10 | |
10 | |
9 | |
8 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.