Print action in WebDynpro runtime (Visual Composer)

I have added in toolbar for the table the button and as action have specified system action "Print". But in WebDynpro runtime it does not work unlike Flash (there is no pop-up window with a choice of printers). How to solve this issue?

Jax,
I don't think it's possible to directly print from within WD and call the printer dialog box per my understanding.
But a workaround is achievable:-
1. Create an Iframe element in a new view and embed an html page containing the print JavaScript i.e window.print();
2. When you select the Print button, on its action handler navigate to other view containing the Iframe where the script will get executed and it should probably open a pop-up.
Note: WD does NOT support JavaScript or client side eventing.
Chintan

Similar Messages

  • Print / Export form data from Visual Composer

    Hello everybody,
    I want to print data from a visual composer form (export to PDF and print afterwards is another option). I am using CE 7.1 EHP1.
    Is there any tutorial for that?
    I only found this one [Exporting Data|https://wiki.sdn.sap.com/wiki/display/VC/Exportingdatafrom+VC]. But this is not the right one for me. Printing from a table is no problem, but I want to print data from several forms.
    How can I export the data to an adobe interactive form?
    Thanks ahead

    Hello Bernd,
    Unfortinatelly, there is no way to Export and Print from the Form View Interactor (This is ALV feature, not VC and they support only the Table Interactor)
    From the VC side, you can add the Button to the Form View Toolbar with the Print Action, but in this case, the whole application will be printed
    Best Regards,
    Luba

  • Regarding Webdynpro Runtime

    Hi All,
    Can anyone please explain me in detail What a "Webdynpro Runtime" is? How does it help?
    Regards,
    Divya

    Hi Divya,
    just go through following Lines.
    Design Time and Runtime
    Visual Composer is a design-time software tool in which you can develop an application and then deploy it. After deployment, you can run the actual application in the portal to check its runtime functionality. During model creation and configuration, you define all the runtime attributes of the model components, such as the frame of a table, the size and types of toolbar buttons and the format of an output form. You can also define a range of properties of the actual Visual Composer design-time tools, such as the use of a background grid or the placement of the various toolboxes used with each board.
    Runtime Environments
    Models designed in Visual Composer can be deployed to run in one or more technology engines, including Web Dynpro and Flex. The same model can be deployed to more than one environment, although not all components and controls are fully supported in each. Models deployed to Flex can run on a range of browsers, including Microsoft Internet Explorer, Netscape and Firefox.
    Visual Composer implements a proprietary XML-based Visual Composer Language as its source code for creating the models. Only at deployment is the model actually compiled into the executable code required by the selected UI technology. The result is a “model once – run anywhere” capability.
    Regards,
    Govindu

  • WebDynpro runtime mode in Visual Composer

    We are unable to create and deploy Visual Composer projects with WebDynpro runtime mode due to we unable to see any datasource of systems in "Find Data Service" area.
    In the same time when we use Flex runtime mode BAPIs in "Find Data Service" apears.

    Sorry, I mean WebDynpro runtime in Visual Composer
    I've found the solution.
    WebDynpro only supports Webservices as datasource.
    See also note 950492
    RFCs
    However, if you uncheck mask unsupported features under Tools -> Options, and then deploy, BAPIs will also work to a certain extent.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/flashvs.WebDynpro

  • Print Visual Composer cockpit

    Dear all,
    I have provided my users with a Visual Composer cockpit. They would like to have the option to print the cockpit or individual charts. Is it possible to provide a print button that prints (a subsection of) the cockpit?
    Thanks in advance,
    Ralph

    Hi Ralph,
    Yes, it's possible to print a cockpit and even in a very easy way:
    Start by adding a push-button control to one of the forms/tables/charts in the cockpit (the "Print" button).
    In the Action tab of the control properties, select system action and in the drop-down list of the system action field select - Print. Apply the print action to self and select the print screen option.
    That's it, good-luck,
    Dafna

  • Runtime error in Visual Composer

    I'm develping a Composite View in Visual Composer using BAPIs. I'm using BAPIs just because my SLD isn't ready to publish the enterprise services from ECC and SCM/APO. The main objective is learn how to use VC to create applications consuming data from BAPIs, Web Services, BI Query etc...
    I developed a simple application using the bapi: BAPI_LOCSVAPS_GETLIST2 from sap APO.
    Inputs ports:
            LOCATION_SELECTION - TABLE
            Input: LOGICAL_SYSTEM and MAX_NUMBER_OF_LOCATIONS - signal
    The problem is the following: when only the out port ouput is used, there isn't any problem, and is possible to compile and deploy the Composite View and the output (NUMBER OF LOCATIONS FOUND) is correct.
    But if I try to select some TABLE out port like LOCATION_TEXT, an error occurs in runtime (compile and deploy without problems): Connection Error: contact your system administrator: HTTP request error.
    I tested the RFC Connections and also, tested the BAPI using the Test Data Service and all the tests were ok and that's why I don't know what is wrong. In design time there isn't any problem, instead in runtime the error mentioned above occurs.
    EHP1 SP1 for SAP Netweaver 7.1
    IE Version 7.0.6001.18000
    Data Source :ECC and SAP APO u2013 In VC is used BAPIs, configured via RFC Destination
    Thanks...
    Edited by: Dario Oliveira on Apr 8, 2009 7:42 PM

    Hi,
    I think "Implementing a GP Interface" makes no sense in this case. Take a look at <a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/limitationsofWeb+Dynpro&">VC: Limitations of Web Dynpro</a>.
    It seems that Web Dynpro in VC is not supporting all kinds of services and functions.
    Regards,
    Christian

  • WebDynpro ABAP application in Visual Composer 7.0 SP 14?

    Hi Experts,
    i have few webdynpro applications that i want to reuse in Visual composer. i was trying to use the SICF service thats created as result of creating application, as webservice however this does not work.
    Any suggestions.
    Greetings
    Prashant

    Hi,
    Check the "Compose" menu, you have plenty of components, operators, ... one being the HTML control component.
    Also, have a look at the documentation here :
    Visual Composer Storyboard
    http://help.sap.com/saphelp_nw70/helpdata/EN/95/b1816efb06463783921f98f769b473/frameset.htm
    Task panel
    http://help.sap.com/saphelp_nw70/helpdata/EN/47/6efa0e495d199be10000000a42189d/frameset.htm
    Best regards,
    Guillaume

  • Adding action for functioning Dropdown fields in visual composer iview

    Hi,
    I develop a application in Visual composer 7.0. I want to convert the input field in drop down for selecting the different values. I can change the same by selecting the particular input fields in design screen. But I not able to specify the values, Action for the drop down. Can someone explain how to add the Values/Action for functioning the drop down field in the visual composer iView?
    Thanks,
    Kundan.

    Hi,
    you need to configure the element to be a drop down list instead of an input field:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/78bdc557fc199ae10000000a42189d/frameset.htm
    Regards
    Anja

  • Adding action in Dropdown fields in visual composer iview

    Hi,
    I develop a application in Visual composer 7.0. I want to convert the input field in drop down for selecting the different values. I can change the same by selecting the particular input fields in design screen. But I not able to specify the values, Action for the drop down. Can someone explain how to add the Values/Action for functioning the drop down field in the visual composer iView?
    Thanks,
    Kundan

    Hi Babu,
    You want to populate the Drop-Down list dynamically or based on input field value you need to populate a Drop-Down list.
    Regards,
    Nivas209
    Edited by: Nivas209 on Jan 3, 2012 2:53 PM

  • Create a sequence of actions in the toolbar button in Visual Composer

    Hi!
    I've a problem with the toolbar buttons in visual composer. On a table, I would like to have one button which launch 2 actions. For example, I want to call an event (custom action) and after that I want to select a row in another table (system action, select).
    It works fine when I create 2 buttons with the toolbar buttons but my wish is to have only one button with several actions (like a sequence of actions). Is it possible?
    Thanks for any help!

    Hi Ronan,
    I think you can achieve your requirement by creating the Wizard in SAP Visual Composer.
    The following link provides the detailed steps to Create the Wizard in SAP VC.
    http://help.sap.com/saphelp_nw04s/helpdata/en/88/fedb4269b2f340e10000000a1550b0/content.htm
    Please have a look.
    Thanks,
    Prashant
    (Please reward points for useful answer)

  • Dynamic Actions in Visual Composer

    Hi,
    Can anyone help me with dynamic actions in VC.
    I am trying to open different popups based on my selection in a Drill Down Field.
    How can I do this?
    Where can I find an example for using Dynamic actions in Visual Composer?

    Hi
    Dynamic actions can be used to trigger actions when specific criteria is met. This can be used as a type of validation, checking if a specific field has been filled, to check if a user has permission to do a certain action. I have used it an it works in a simple model. I created a dynamic action using the following formula IF(@NUM1>1,'END','STORE') and then if the number was greater than 1 the application was stopped using an end point or data was stored using the STORE event and a datastore. You will get an error that the END and STORE events are declared but can not be raised, this will not cause a problem when you run the model.
    Jarrod

  • Visual Composer Accessing Runtime Data

    Hello everybody,
    I need to access runtime data from Visual Composer such as user logged, I need to obtain this info to display it in a input field in a form view, has anyone did this before or any suggestions, thanks in advance.
    Regards,
    Ivan

    Hi,
    On your compose window, you would find something called user data under connectors. Drag and drop that inside your view and try to fetch information from that.
    Regards,
    Murtuza

  • Problems using Visual Composer with Web Dynpro runtime

    I am currently trying to build a Visual Composer iView and we need to use the Web Dynpro runtime rather than Flash because it needs to work with a screen reader for users with sight problems.  Which is a pity because Flash works fine. But when I use Web Dynpro runtime I'm getting the following problems:
    a) When I define fields and pushbuttons in forms where Align Contents is set to Absolute, they do not appear at runtime in the positions in which I've placed them - all form elements are aligned vertically.  The only other options are to align all fields vertically or align all fields horizontally.  This lack of flexibility makes it rather difficult to create a good screen design; the only option seems to be to create a separate form for each set of differently aligned fields, which leads on to the next problem.  . 
    b) When I define more than one form on a page, again at runtime the forms do not always appear in the positions in which I've placed them; the compiler seems to calculate how much space it needs to display the screen elements and then re-sizes and  re-positions the forms accordingly, ignoring what I've told it to do. 
    c) Toolbar pushbuttons do not appear on forms (they do appear on tables).  Irritating, but at least I can still create pushbuttons on the form itself. 
    There are other issues, but the main problems is that it appears that when I use VC with Web Dynpro I cannot trust the editor layout at all and the only way I can build something that looks decent is to fiddle about with  field / form sizes and positions, checking every change on the output, until hopefully I get it looking ok.  Having to do this will dramatically increase the time taken to develop VC applications.  Has anyone else experienced these problems with VC and Web Dynpro?  Has anyone managed to overcome them?

    Thanks, but neither of these describes the problems I've been having.  And they are misleading since they say that you can use VC with Web Dynpro only with Web Services ie not directly with BAPIs / RFCs, but using it with BAPIs / RFCs is one of the few things that works well in our system. 
    The most recent problem I've found is that if you make a form or table read-only it will stay read-only in Flash but the fields are editable in Web Dynpro.  The individual field disable option does work for Web Dynpro, but it turns the fields from black to a vey pale and almost invisible grey (this doesn't happen in Flash).  And you can't seem to change this. 
    It does seem to be a bit pathetic that input fields can't be made read only.  I've tried expression boxes, which are read-only anyway, but they appear in as pale a grey as the disabled input fields.  And although plain text fields can be added to tables, they are pretty useless since they can only hold a single value and so all the lines will contain the same value. 
    I guess I should resign myself to the fact that I am never going to be able to produce a decent screen using VC and Web Dynprp.

  • Will visual composer replace webdynpro

    Hi All ,
        I am new to portal , i have one basic question , can we do all our development using visual composer .. when do we need to use webdynpro ??

    Hi,
    Visual Composer is a tool to create applications and has nothing to do with the used GUI concept. As I heard resp. know from our current rampup project with CE there is in VC CE a new concept, which creates a XGL (Executable Graphical User Interface Language) file. This is the base for the application, that means this XGL is used for different GUI concepts resp. comipler, so the new VC CE will support webdynpro, flash/flex and so on. In the new release there are also new improvement in the tool, so I think the new VC CE release bring new potentials for the development. But I also think that VC is limited and has not the capabilities of the NetWeaver Developer Studio. I think it's not the question if VC will replace Webdynpro, you must ask yourself which is the best tool for your development.
    So far my point of view. I hope it helps.
    Best Regards,
    Marcel

  • System is not appearing in Visual composer!!

    Hi all,
    i have created a system on my portal to connect the R/3 backend, system is working fine but when i access visual composer by following way :
    http://ep62:50100/VC
    and clicks on find data, i am unable to find the system created by me, does anyone know why this is happening?? Is anything wrong with my VC settings?

    HI Ameya
    In VC storyboard go to Tools>options>complier>In the Runtime tab
    1) Select the Flash option and click the find data and Now check whether your getting the system
    2) If you face the problem again check the webdynpro in Runtime tab in tools option
    Hope this helps,
    Regards,
    Arun

Maybe you are looking for

  • Repaint Problem in JInternalFrame!!!! help plz.

    hi, I have a question I have an application that has internal frames, Basically it is a MDI Application. I am using JDK 1.2.2 and windows 2000. The following example shows that when I drag my JInternalFrames only the border is shown and the contents

  • Disc image file & CSS encoding?

    I originally exported a project with CSS encoding from DVDSP to a DLT tape for replication. (DDP 2.0 with CSS) I then created a disc image file of this project and don't remember if I had checked CSS format. Is there a way to determine this by lookin

  • IPhone connectivity issues with D-Link DIR-615 router

    Hello everyone, I was using video streaming with DIR-615 (firmware 3.11.NA) without any trouble earlier. After upgrading iPhone to iOS v7.0.4 (firmware 04.12.09), I am having trouble with my wifi on iPhone. After playing the video for a minute or two

  • User exit after FI post

    Hi, I'm trying to link a user process to a FI document posting but I haven't found a user exit or badi to do it, I try to link it via a sustitution or validation but those are executed during the fi document process and the user process must be execu

  • Upgrade to version 6.2 how do I get back my calander and contacts from version 4.2?

    I upgraded to version 6.2 and I have lost my contacts and my calander info in the process, where might I look to get this information back? Post relates to: Tungsten E2