Skip to Content

want to download PDF Attachment as soon as I Create

Hi Experts,

I've Custom Business Object and I'm generating PDF on trigger of Business Object Action,as if now I'm generating PDF and my BO Action is attaching PDF to Attachment Folder, then If I want to see it I go and open it by clicking the link in Attachment.

Now I want to have sceanrio where I Press Generate PDF Button(Will trigger Custom BO Action) which will save my PDF in Attachment Folder and open/download the pdf without going to Attachment Folder.

Accessing Business Object is possible via URL Link. Please refer this Blog ( https://blogs.sap.com/2012/04/30/external-integration-of-custom-solutions-in-sap-business-bydesign-sap-cloud-for-customer/#jive_content_id_Formatted_InputOutput_Print_Fax_Mail ) . Please look for Lunch UI via URL section.

Therefore I believe if I'm able to create perfect URL then I'll be able to download PDF Directly.

Please help me......

Regards

Nabarun Barua

Add comment
10|10000 characters needed characters exceeded

  • Hi Astrid,

    Sorry, couldn't resolve it. We made client agreeing to have on Attachment.

    Regards

    Nabarun Barua

  • Former Member

    Hi Nabarun,

    did you already solve your issue?

    I have a similar requirement in my project.

    I also want to open/download the pdf and save the file at specific location without going to Attachment Folder.

    It would be great and helpful if you can answer me the same.

    Thanks and Regards

    Swati Goswami

  • Hi Swathi,

    Sorry, couldn't resolve it. We made client agreeing to have on Attachment.

    Regards

    Nabarun Barua

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 25 at 12:42 PM

    Hello Nabarun,

    You need to consider what the target of the download shall be: Remember the ABSL code is running somewhere in the cloud. How shall this code be enabled to download it to your PC? The "local drive" is the drive of the computer hosting the server, not yours.

    Bye,
    . Horst

    Add comment
    10|10000 characters needed characters exceeded

    • Nabarun Barua Markus Reetz-Lamour

      Hi Markus,

      Thanks for Reply, is the Reuse UIs "documentlistsmallview" can also be made use for Preview. As the Requirement was as soon as I create PDF and attach it to Attachment via code it should preview the Document.

      Regards

      Nabarun Barua