Launching Quote PDF from UWL

Greetings,
I have a discount approval workflow in CRM.  The discount approval person wants to see the quote in PDF when he/she gets the quote approval request in his UWL Task tab, but I haven't been able to figure this one out.
We have the class/method:
zcl_cust_doc_proc_crm_order=>crm_srvcont_exec_smart_form
which we use in the PCUI to display the quote.
I looked at using SWFVISU and adding an entry for object visualization, but I don't understand how this would link back to approval task.  Can someone please help me with this or point me to some documentation.
Thanks.
Regards,
Mel Calucin
Bentley Systems

Hi Raja,
Thanks for your response.
Actually I had checked regardng UWL XML config details about this task and this parameter appears there..
So that is the reason I was wondering whether this is related to any patch levels?
Have you come across any details e.g. patch level pre-requisites etc for dynamic parameters to work with UWL?
Pls let me know If you have any other suggestions to check for.
Regds,
Akshay

Similar Messages

  • Javascript error when launching XFA pdf from browser

    Hi all,
    I am trying to use my XFA PDF from a browser. On my local system I have  set up a web server and am launching my PDF from there. However, I am getting a ReferenceError with regards to one of my Javascript functions.
    My PDF has dependency on a javascript file that resides in the Acrobat path as follows:
    C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Javascripts\
    When I use my PDF directly from an Acrobat instance, everything works fine. The issue comes up only when launching from server. How do I link the javascript file to my PDF?
    Edit: The user is going to be launching the PDF from the server via a web browser. In such a case where do I place the javascripts?
    Help appreciated,
    Thanks

    @George: thanks for the quick response!
    My JS code contains a readFileIntoStream which I learnt is also to be run under privileged context. (still learning the ropes here.. ).  I have been trying to incorporate the JS code directly into the PDF to get around this privileged context..  but I am unable to find a non-privileged equivalent for readFileIntoStream..
    Basically my users would be accessing the PDF from the server direct via the browser. For my testing purposes I am able to run the PDF directly from my desktop via an Acrobat instance without any hitch as the scripts are folder level like you mentioned. Is it possible for the users to be able to access the javascripts from anywhere on the server rather than directly from the PDF?  Please note, users will not be saving copies of the PDF on to their local machines (in which case we could have pushed the JS file along to their machines) . I need to ultimately run the PDF from browser.
    I hope I am clear..
    Thanks.

  • Launch a PDF from htmlText

    Hi - I need to launch a PDF in a blank window - or at least
    give the user the choice to "download" it from my app to their
    desktop.
    The attached code shows how I got it to work using getURL and
    an onRelease command...but I need to get the same to work from a
    text field. On rolling over the text appears in the field as shown.
    When I rollover the btn I get the hand cursor - not so with
    the text link. When I rollover the text I get an "I" beam...if that
    matters.
    The attached code is on the same frame, same layer - so I
    can't imagine that the path to the pdf would be different. I
    couldn't use getURL on the text so I tried what you see below.
    How can I do this?
    TIA your help.
    JL

    kglad - Thanks for that. I meant RollOut. That's funny. In
    one of these little modules I've made - I HAD to use onRollOut. All
    I did was repeat the onRollover code under onRollOut - otherwise
    the text would disappear when the user left the hit zone of the
    button. I did as you suggest and the text stays put on the roll
    out. I'll have to dig that old file up to see what I did that was
    different.
    AND - as far as that link to a PDF - the reason I was getting
    the "I" beam over the links in the text had nothing to do with the
    code in the htmlText. I had a "vagrant" textField overlaying the
    one I was trying to interact with. It was blocking me from
    clicking. So the code in the htmlText above WILL work and DOES work
    afterall.
    Thanks for your help.
    JL

  • CP8 - trying to launch a pdf from a subfolder on a button - not working - any suggestions?

    Tryong to open a pdf from a folder /pdf/documentname.pdf - using the action Open URL or File - deselected "continue playing project" - works if file is in same folder as published content - need to keep sepearet for security access reasons
    saw this was a bug in CP7 - I am using CP8 - anyone???

    I don't think you are alone, I cannot advise but I am having the same issue and have posted here:
    https://discussions.apple.com/message/23205752#23205752
    I suspect it's to do with IOS7 but not everyone is affected, mine was working before. I have read on some forums that Apple have just replaced the iPad as they have not been able to resolve the issue. If yours is new I would take it back and ask to try another with IOS7 installed before swapping.

  • Launch SAP Transaction from UWL and decision views

    Hi,
    Q1:
    we wan't to launch a SAP Transaction from the Universal Worklist. Does anyone know how to do this explicitly?
    Q2:
    I have tried to add decisions directly to a List View, i.e. with the reject and approve columns. The columns do appear, but the checkboxes are not visible. From the log I can see a warning "No Custom Attribute exists for item ...".
    The three options do appear correctly when you go to the details view for the item, and I did apply the same values for the actions (1,2,3).
    Does anyone know how to do this?
    PS! I have read the How To document, but could not find the answer there, nor in this forum.
    Thanks,
    Mikkel

    I did fix question 2 above.
    Still don't have a solution on how to launch a SAP Transaction. XML transcript below:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'>
    <UWLConfiguration version="1.0">
         <ItemTypes>
              <ItemType name="uwl.task.webflow.decision.SAP_R3_HumanResources_TS20000131" connector="WebFlowConnector" defaultView="TripApprovalView" defaultAction="viewDetail" executionMode="pessimistic">
                   <ItemTypeCriteria systemId="SAP_R3_HumanResources" externalType="TS20000131" connector="WebFlowConnector"/>
                   <Actions>
                        <Action name="1" userDecision="yes" handler="UserDecisionHandler"/>
                        <Action name="2" userDecision="yes" handler="UserDecisionHandler"/>
                        <Action name="3" userDecision="yes" handler="UserDecisionHandler"/>
                   </Actions>
              </ItemType>
              <ItemType name="uwl.task.webflow.decision.SAP_R3_HumanResources_TS20000135" connector="WebFlowConnector" defaultView="TripCheckView" defaultAction="viewDetail" executionMode="pessimistic">
                   <ItemTypeCriteria systemId="SAP_R3_HumanResources" externalType="TS20000135" connector="WebFlowConnector"/>
                   <Actions>
                        <Action name="1" userDecision="yes" handler="UserDecisionHandler"/>
                        <Action name="2" userDecision="yes" handler="UserDecisionHandler"/>
                   </Actions>
              </ItemType>
              <ItemType name="uwl.task.webflow.SAP_R3_HumanResources_TS40007901" connector="WebFlowConnector" defaultView="TimeApprovalView" defaultAction="launchSAPAction" executionMode="pessimistic">
                   <ItemTypeCriteria systemId="SAP_R3_HumanResources" externalType="TS40007901" connector="WebFlowConnector"/>
                   <Actions>
                        <!--
                        <Action name="launchSAPAction" userDecision="no" handler="SAPTransactionLauncher" referenceBundle="launch_sap">
                             <Properties>
                                  <Property name="GuiType" value="WinGui"/>
                             </Properties>
                        </Action>
    -->
                        <!--
                        <Action name="launchSAPAction" userDecision="no" handler="SAPTransactionLauncher" referenceBundle="launch_sap">
                             <Properties>
                                  <Property name="myfunc" value="CATS_APPR"/>
                             </Properties>
                        </Action>
    -->
                   </Actions>
              </ItemType>
         </ItemTypes>
         <Views>
              <View name="TripApprovalView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.SAP_R3_HumanResources_TS20000131" columnOrder="attachmentCount, detailIcon, subject, priority, creatorId, createdDate, dueDate, approveCol, reviseCol, rejectCol" sortby="priority:descend, dueDate:ascend" tableDesign="ALTERNATING" visibleRowCount="10" headerVisible="yes" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="300" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" displayOnlyDefinedAttributes="yes" actionPosition="both" referenceBundle="tasks">
                   <Descriptions default="Approve Trip">
                        <ShortDescriptions>
                             <Description Language="no" Description="Godkjenning Reise"/>
                        </ShortDescriptions>
                   </Descriptions>
                   <DisplayAttributes>
                        <DisplayAttribute name="approveCol" type="radiobutton" actionRef="1" hAlign="CENTER">
                             <Descriptions default="Approve">
                                  <ShortDescriptions>
                                       <Description Language="no" Description="Godkjenn"/>
                                  </ShortDescriptions>
                             </Descriptions>
                        </DisplayAttribute>
                        <DisplayAttribute name="reviseCol" type="radiobutton" actionRef="2" hAlign="CENTER">
                             <Descriptions default="Revise">
                                  <ShortDescriptions>
                                       <Description Language="no" Description="Returner"/>
                                  </ShortDescriptions>
                             </Descriptions>
                        </DisplayAttribute>
                        <DisplayAttribute name="rejectCol" type="radiobutton" actionRef="3" hAlign="CENTER">
                             <Descriptions default="Reject">
                                  <ShortDescriptions>
                                       <Description Language="no" Description="Avvis"/>
                                  </ShortDescriptions>
                             </Descriptions>
                        </DisplayAttribute>
                   </DisplayAttributes>
                   <Actions>
                        <!--
                        <Action name="1" userDecision="yes" handler="UserDecisionHandler"/>
                        <Action name="2" userDecision="yes" handler="UserDecisionHandler"/>
                        <Action name="3" userDecision="yes" handler="UserDecisionHandler"/>
    -->
                        <Action name="submitUserDecisions" userDecision="yes" handler="UIActionHandler" referenceBundle="submit"/>
                        <Action name="refresh" userDecision="no" handler="UIActionHandler" referenceBundle="refresh">
                             <Properties>
                                  <Property name="type" value="button"/>
                                  <Property name="onClick" value="onForceRefresh"/>
                             </Properties>
                        </Action>
                   </Actions>
              </View>
              <View name="TripCheckView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.SAP_R3_HumanResources_TS20000135" columnOrder="attachmentCount, detailIcon, subject, priority, creatorId, createdDate, dueDate,approveCol,reviseCol" sortby="priority:descend, dueDate:ascend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="300" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" displayOnlyDefinedAttributes="yes" actionPosition="top" referenceBundle="tasks">
                   <Descriptions default="Check Trip">
                        <ShortDescriptions>
                             <Description Language="no" Description="Kontroller Reise"/>
                        </ShortDescriptions>
                   </Descriptions>
                   <DisplayAttributes>
                        <DisplayAttribute name="approveCol" type="checkbox" actionRef="1" hAlign="CENTER">
                             <Descriptions default="Approve">
                                  <ShortDescriptions>
                                       <Description Language="no" Description="Godkjenn"/>
                                  </ShortDescriptions>
                             </Descriptions>
                        </DisplayAttribute>
                        <DisplayAttribute name="reviseCol" type="checkbox" actionRef="2" hAlign="CENTER">
                             <Descriptions default="Revise">
                                  <ShortDescriptions>
                                       <Description Language="no" Description="Returner"/>
                                  </ShortDescriptions>
                             </Descriptions>
                        </DisplayAttribute>
                   </DisplayAttributes>
                   <Actions>
                        <Action name="submitUserDecisions" userDecision="no" handler="UIActionHandler" referenceBundle="submit"/>
                        <Action name="refresh" userDecision="no" handler="UIActionHandler" referenceBundle="refresh">
                             <Properties>
                                  <Property name="type" value="button"/>
                                  <Property name="onClick" value="onForceRefresh"/>
                             </Properties>
                        </Action>
                   </Actions>
              </View>
              <View name="TimeApprovalView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.SAP_R3_HumanResources_TS40007901" columnOrder="attachmentCount, detailIcon, subject, priority, creatorId, createdDate, dueDate" sortby="priority:descend, dueDate:ascend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="300" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" displayOnlyDefinedAttributes="yes" actionPosition="top" referenceBundle="tasks">
                   <Descriptions default="Time Approval">
                        <ShortDescriptions>
                             <Description Language="no" Description="Godkjenning Tid"/>
                        </ShortDescriptions>
                   </Descriptions>
                   <Actions>
                        <Action name="submitUserDecisions" userDecision="no" handler="UIActionHandler" referenceBundle="submit"/>
                        <Action name="refresh" userDecision="no" handler="UIActionHandler" referenceBundle="refresh">
                             <Properties>
                                  <Property name="type" value="button"/>
                                  <Property name="onClick" value="onForceRefresh"/>
                             </Properties>
                        </Action>
                   </Actions>
              </View>
         </Views>
    </UWLConfiguration>

  • Launching a PDF from an Email

    When I try to open a PDF attached to an email, the systems attempts to find a version of Acrobat 11 Pro which I had purchased and since returned/removed.  How do I get it to use Acrobat Reader to open the document?

    Right click any downloaded PDF already on your system. Choose "Properties".
    Under the General tab, where it says "Opens with" click "Change".
    Select Adobe Reader and click "OK".
    Click "Apply".
    Click "OK" and ALL PDFs will now open with Reader.

  • Attachments from Workflow to ABAP Webdynpro launched from UWL

    Hi All,
    You might have seen a recent post from me for sending attachments from ABAP Webdynpro to Workflow.
    I could do that by just calling SAP_WAPI_ATTACHMENT_ADD. I didnt have to create an instance of the SOFM object
    by passing the ATT_ID from this function module.
    Now the next task of the workflow which is sent to UWL, automatically carries the attachements in the Workitem.
    I didnt do binding from workflow container to Task container. (I dont know how!!)
    But I need to get those attachments on my ABAP Webdynpro after it is launched from UWL.
    For this I am using SAP_WAPI_GET_ATTACHEMENTS. But this FM is giving me the BOR reference.
    How do use this to get the attachments displayed on my Webdynpro as links?
    Thanks
    Deb

    Hi Debabra,
    I have similar requirement where I want to add new attachment from Webdynpro abap to workflow and again next level want to view it in UWL in another Webdynpro abap from workflow.
    I am trying to attach the document from Webdynpro to Workflow I used FM SAP_WAPI_ATTACHMENT_ADD and looks like it attached in workflow.
    Can you please tell  how the second part was solved where I want to attach document from workflow to Webdynpro abap
    Thanks,
    ST

  • PDF not displaying in Portal from UWL : cl_fitv_navigation= navigate_to_object

    Hi Experts,
    We are using a custom webdynpro application for the approval of expense claim.If I am clicking the link from UWL, a new window is opened and it is showing a blank page and PDF is not displaying in the browser.
    I have checked from application level (SE80) and it is working fine,PDF is getting displayed in browser.We have done the UWL re-registration as well.
    We have used the class 'cl_fitv_navigation' and method 'navigate_to_object' to display the PDF.
    Also I have debugged the same method and could found that the codes are different for calling the application from portal and for using SE80.
    Kindly let me know what could be the issues or if I missed any parameters.Also please let me know if I need to check any related R/3 configs and parameters maintained in R/3.
    Thanks & Regards,
    Arun Narayanan.

    Hi Pramod,
    We are not using iFrame to display the PDF.
    We are using the class and method
      CALL METHOD cl_fitv_navigation=>navigate_to_object
        EXPORTING
          component           = l_api_component
          operation           = l_operation
          business_parameters = lt_bo_params.
    where ;
      l_api_component = wd_comp_controller->wd_get_api( ).
      l_operation = 'DisplayForm'.
    and
      ls_bo_param-key   = 'SAP_FITV_PERSNO'.
      ls_bo_param-value = l_pernr.
      INSERT ls_bo_param INTO TABLE lt_bo_params.
      ls_bo_param-key   = 'SAP_FITV_TRIPNO'.
      ls_bo_param-value = l_tripno.
      INSERT ls_bo_param INTO TABLE lt_bo_params.
      ls_bo_param-key   = 'SAP_FITV_TRIPCMP'.
      ls_bo_param-value = ''.
      INSERT ls_bo_param INTO TABLE lt_bo_params.
      ls_bo_param-key   = 'SAP_FITV_DATASRC'.
      ls_bo_param-value = ''.
      INSERT ls_bo_param INTO TABLE lt_bo_params.
    Regards,
    Arun.

  • Launch PDF from HTML and execute search

    Is it possible using JavaScript in an HTML doc to launch a PDF and execute a search.query with a passed-in search parameter? TIA

    Hello, George, thanks for following up.  I went into Advanced->Document Processing->Document JavaScripts and put the code at the top of the file outside of the dummy function declaration I had to insert to activate the edit button.  It looks like this:
    // Split the file path into an array
    var aPath = this.path.split("/");
    // Remove the last element, which is the file name
    aPath.pop();
    // Join the path elements back together and add the index file
    var cIdxPath = aPath.join("/") + "/Support Documents/SupDocs.pdx";
    search.query ("Enhanced Tactical Automated Security System (eTASS)", "Index", cIdxPath);
    function Search()
    It runs fine when I launch the PDF directly into the reader by double-clicking in file explorer in the folder above "Support Documents".  When I load the PDF from an HTML file in the same folder, however, the script does not run.  I set the reader preferences to force loading in the reader even when launched from a browser, and the script still will not execute.  I tried adding a button to the PDF and attaching the search script to it.  Again, it runs when launching directly but not from the HTML document.  Otherwise, the PDF is empty, and I'm using a relative URL and JS to load it from the HTML doc, such as:
    document.location = "mySearch.PDF"
    or
    window.open("mySearch.PDF", "searchwin");
    Neither one works.  This product has to run from a CD-ROM, so I haven't bothered to test it via http service.  Any suggestions?  Thanks again!
    Jon Camp
    Senior Computer Scientist
    Applied Research Associates, Inc.
    North Florida Division
    Training Solutions Group
    430 W 5th Street Suite 700
    Panama City, FL  32401
    comm: 850-914-3188 x203
    fax: 850-914-3189
    email: [email protected]

  • How to fix the screen launched from UWL

    Hi, Expart!!
    Please let me ask concerning subject because I couldn't find similar topic from past questions.
    Now I'm in troubled by following situation.
    At current project, several portal roles are allocating end-user.
    Then if one end-user has only manager role, the screen fron launched from UWL is the ivew of navigation of mangager role.
    But if one-end user has another role in addition to manager role,
    the screen fron launched from UWL is  the iview of navigation of another role, not manager role.
    So, I would like to fix like when launching screen from UWL, that screen is the iveiw of manager role.
    Is there any setting to avoid to catch the iview of another role's navigation?? 
    This phenomenon happens only manager role.(launching screen from UWL)
    Conerning another roles,  even if end-user has several roles, launched screen is displayed as the view of navigation of each role.
    I will very appreciate for responding this. Thanks.

    Sounds like some accessibility features have been turned on.  See this article for instructions on turning them off.
    iPod nano (6th generation): How to use VoiceOver
    B-rock

  • Is it possible to launch SAP GUI (not webGui for windows) from UWL

    Hi Experts,
    Is it possible to launch a transaction or document in SAP GUI (not WebGUI for windows) from UWL? If yes - how do I achieve that?
    Appreciate your help.
    Giri.

    Hi,
    Yes, you can create an SAP transaction iview and open that iview. Refer  following link for task launch :
    http://help.sap.com/saphelp_nw70/helpdata/EN/59/d516690e854c7090ae15bf492a869f/frameset.htm
    regards,
    Jigar Oza

  • Adobe Reader 9.3.0.148 crash on launch PDF from explorer

    The following crash occurs when launching a .PDF file from Windows Explorer:
    acrord32.exe
    acrord32.dll v9.3.0.148 offset 001937FA
    Uninstalling and re-installing Adobe Reader doesn't help.
    This is a Windows XP system.
    Viewing a PDF via Internet Explorer (add-in) does work.
    Any ideas on how to get this solved?
    Thanks,
    Wouter

    Try uninstalling, running the Microsoft Installer Cleanup tool then re-installing.

  • Launch an attachment from SWF embedded in PDF

    Goal: To launch a PDF attachment from the embedded SWF (in PDF).
    Scenario: I have created a PDF with a SWF embedded in it and I have few attachments also in the same PDF. Now based on some user input I want to open one of the attachment in the PDF.
    Question: How do I open an attachment (in PDF) from a SWF embedded in the same PDF.
    Any help will be a big help :).
    Cheers !!

    First, you can only do this with Acrobat 9. Older methods for embedding SWF's didn't allow for this level of communication between the SWF and the PDF.
    Second, to do it, you would add some ActionScript to your SWF that would use the hostContainer methodology to connect to the PDF and then use the appropriate JS methods.

  • Launching Air Help from PDF?

    Hello all,
    We have a AIR help application that is installed with our software. This help app has many bookmarks in it and our application can open it in a context sensitive way.
    We are considering creating a "quick start" guide as a .PDF  that, instead of being a reference is more of a "how to". However, it would be really nice if we could make links inside that .PDF to launch the AIR Help application in a similar way to our application.
    I'm not an expert at Acrobat or AIR, but rather the programmer who wrote the code to launch the help from our application (which is written in C++). Could somebody point me in the direction I need to look in order to launch our AIR Help from the .PDF? I see there's a way to add a javascript link, but all the JS code I've seen seemed pretty cumbersome if one were to attempt to add it to every single contextual link. And given that they are both Adobe products, I feel there must be a more built-in way to do this.
    Thanks for your time!
    Tim

    Hi Tim,
    I was wondering if you have figured out how to launch Air Help from a PDF?
    I am having to do the same thing but not having much success finding a solution.
    Thank you,
    Abbey

  • Launch Internet Explorer from PDF instead default browser chrome

    Hi
    I want to launch IE Browser from PDF links rather than any default browser like chrome etc.
    Is there a specific way that PDF links can be create for above requirement?
    Thanks

    Not possible. URLs are delegated to the OS which does with them what it's
    set up to do.
    The link itself (and Acrobat/Reader in general) has no way of interfering
    with that.
    On Thu, Dec 11, 2014 at 7:51 AM, sigirisetti <[email protected]>

Maybe you are looking for

  • Change in Material Description in Sales Order

    HI, We have a scenario where there's a change in our existing material Description and there's an existing SO of the said material. When we changed the description in MM03, it doesn't reflected/changed in VA03. The material description there, remains

  • Splitting an Illustrator document on several pdf-Files including cutting marks

    Hello, I am new to the CC version and I wondered if it is possible to automatically split a bigger Illustrator document to smaller (printable) pdf files. Right now i am having this kind of workflow: Drawing on a big sheet - e.g. A1 Inserting "frames"

  • Third party logistics (TPL) Urgent

    Hello everyone, Can anyone help me with third party logistics (maintaining). To my understanding from: "A third-party logistics provider (abbreviated 3PL) is a firm that provides outsourced or "third party" logistics services to companies for part or

  • After Effects preview help

    I'm struggling to understand how my AE play and preview performance is so bad. I've seen the generic posts on AE performance but I'm wondering if I'm doing something pathologically wrong here given the severity of the problem. I'm new to AE on the Ma

  • Does the macbook pro have a password protect feature?

    i'm debating whether or not I need the Kensington ComboSaver Notebook Lock for college. if the macbook pro has a password-protect feature... maybe i don't need the lock