Skip to Content

PDF generation in VC

Hi everybody,

I need to develop a wizard-like application which ends generating a pdf non-interactive form (i.e. list of class students).

I would like to use as less coding as possible, so I'm using Visual Composer for the selection steps.

However the last step should provide the pdf generation and I actually don't know how to integrate these two technologies.

I know that WDP java provides Adobe Forms natively, but WDP integration with VC is somewhat hard and uncertain, as other sdn posts show, especially when flex is used.

Can anyone provide help, experiences or example with regard to pdf generation with Visual Composer?

Thanks

Point will be awarded

Vincenzo

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 08:22 AM

    VINCENZO,

    you can use guided procedures to tackle this issue.

    you will include your VC model as a callable object in your process from which you will pass the relevant parameters to your PDF form which will also be included in the process as a callable object.

    it could be as complex as you wish.

    Regards,

    Ahmed Salaj

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Irfan

      that's exactly the point, I am really taking into account this solution. However I am afraid that user experience might be somehow negatively affected. I mean that a process should be explicitly started each time a user needs a certificate (role assignment, and so on).

      Can I simply set things up so that users click a link and then immediately see the VC iview without any set up steps?

      Thanks so much

      Vincenzo

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 10:12 AM

    VINCENZO,

    You can use the ISR ( Internal Service request) under HR Processes and Forms, from your SAP ABAP System to build an Adobe form with the design you wish and have it filled according to the user parameters.

    please refer to the following docementation

    http://help.sap.com/erp2005_ehp_03/helpdata/EN/45/aaa760be880063e10000000a11466f/frameset.htm

    Add a comment
    10|10000 characters needed characters exceeded

    • Ahmed

      thanks for your reply. I checked out the link you provided, but it seems that there's no direct way to request a pdf generation (such as webservice, bapi etc) from another application such a VC iview, it is rather a workflow infrastructure. Please correct me if I am understanding wrong and however thanks all the same

      Vincenzo

  • author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2008 at 09:26 AM

    HI

    Used the Web Design API to export to PDF..

    1 Double click on the Output Table

    and choose “Edit” on the toolbar

    2 Specify this button as “Export to

    PDF”, System Action=Hyperlink,

    and then click Formula.

    3 Add the below code in the formula.

    "pcd!3aportal_content!2fcom.sap.pct!2fplatform_a

    dd_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.b

    ex?QUERY=" & STORE@REPTNAME &

    "&BI_COMMAND_1-

    BI_COMMAND_TYPE=EXPORT&BI_COMMAND

    1-EXPORTFORMAT=PDF&BI_COMMAND_1-

    SHOW_EXPORT_DIALOG=X&BI_COMMAND_1-

    null="

    NOTE: This URL is for the Web

    Analyzer PCD Location if Visual

    Composer is on the same server as

    BI-JAVA. If it is not, see the section

    on Mapping External BI locations.

    NOTE: This will export the default

    view of the data service to a PDF

    File. It will not keep filters or

    navigation states.

    Hope I answer your query

    Swapnil

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2008 at 02:20 PM

    Hi Vincenzo,

    in addition to the comments of Chitre , make sure you copy the code first to Notepad. Then, re-arrange the code into 1 single line (remove all enters). If you don't do this, you may get error messages.

    A detailed guide can be found here: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/47fe4fef-0d01-0010-6f87-ed8ecb479123

    Good luck!

    Regards,

    Sven

    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.