Skip to Content

CSV File Upload for Custom BO?

Hello everyone,

I'm wondering if it's possible to create a custom BO and corresponding WorkCentre, where one can input a CSV file (for example), and have an ABSL script strip the values out and process them. I know the SAP built-in file upload facility only takes XML thanks to this thread --- http://scn.sap.com/thread/3551730 --- but it is possible/feasible to build your own miniature one? No problem if it's not, I just want to know what's feasible. Thanks in advance.

Lewis

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Jul 16, 2015 at 01:13 PM

    Bump. No-one with knowledge of handling binary strings in ABSL?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 17, 2015 at 09:22 AM

    Hi Lewis,

    this is not an feature of the Cloud Application Studio, but CSV is an very simple format and you could build your very own "Helper BO" to enable CSV Fileupload.

    You could create an BO with an attachment folder and some logic to parse the CSV and insert the content to your BO structure.

    Best regards

    Tobias

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 26, 2015 at 02:13 PM

    So I have a file attachment upload facility --- or at least the button that one can place on the UI, see below screenshot --- but it doesn't seem to have done anything. When I click the button it allows me to select a file by using the explorer that pops up, but I stuck a bit in the AfterModify script that shows me whether 'this.Attachments.DocumentList.Count() > 0', but it's not showing anything so I guess I'm missing a piece or two of the puzzle. Any ideas folks?


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Fred K

      Hi,

      This will get the file content working, but not the fileName (still cant get that to work)

      1. Delete any existing fileupload buttons and datamodels
      2. Drag in new FileUpload to the screen
      3. On data model tab, drag the BO BinaryObject fileName element to Root->FileUpload->fileName
      4. drag uri to content

      Let me know if this works 😊

      Will

  • Posted on Jul 09, 2015 at 08:06 AM

    Bump.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.