Printing in Portal

Hi Gurus,
I have a Web Dynpro application (ABAP) deployed in the portal. Now user wants to print Quality Notification (QN) in the ALV grid from the Portal by clicking a button. What is best way to achieve this? I am using SAP NetWeaver 7.0 (2004s) SPS 15. Thanks!
Best Regards,
Anthony

Anthony,
I would suggest yout to perform this at webdypro ABAP level. SAP EP is just act as an integration point in this scenario.
Ram

Similar Messages

  • Smartform is not printing in portal

    Hi Experts,
    I have developed one smartform. As soon as user execute one transaction, I am sending the samrtform to default printer without any print preveiw.
    This is working fine in SAP.
    The same transaction we are calling in portal. when user click on execute button in web prortal, document is not sending to printer. i mean no document is printed and SY-SUBRC showing other than zero of the smartform function module.
    Pls help me.
    Anything I need to do in portal...?
    Thanks in advance.
    Raghu

    Firt of all ... it is failing the function module. Because I am getting message as Failed. I check in SAP. It is working fine. I mean .. it is printing in SA. But not printing through portal.
    I have written the code like...
    After calling FM (Smartform FM)...
    IF SY-SUBRC EQ 0.
      MESSAGE XXX 'Success'.
    ELSE.
      MESSAGE XXX 'Failed'.
    ENDIF.
    Pls suggest me... Any OSS note we need to implement?
    Thanks

  • Can't print from portal frontend

    Dear SDN,
    I'm sorry I dont know why the text is crumpled up like this, I hope it makes sense anyways.
    I have a problem with my portal (ep7.0), when I wish to print i get a error message like this one:
    **********error msg start***********
    Error when processing your request
    What has happened?
    The URL http://xxx.yyy.com:8001/sap/bc/webdynpro/sap/hap_main_document was not called due to an error.
    Note
    The following error text was processed in the system zzz: Illegal access to a string (offset too large)
    The error occurred on the application server xxx_zzz_01 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Form: FORMAT_VALUE_DATE of program SAPLFPCOMP
    Form: FORMAT_VALUE of program SAPLFPCOMP
    Function: FPCOMP_WRITE_DATA_FIELD of program SAPLFPCOMP
    Form: %OUTPUT of program /1BCDWB/SAPLSM00000002
    Form: %NO44 of program /1BCDWB/SAPLSM00000002
    Form: %NO43 of program /1BCDWB/SAPLSM00000002
    Form: %NO42 of program /1BCDWB/SAPLSM00000002
    Form: %NO41 of program /1BCDWB/SAPLSM00000002
    Form: %NO40 of program /1BCDWB/SAPLSM00000002
    Form: %NO39 of program /1BCDWB/SAPLSM00000002
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system zzz in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server xxx_zzz_01 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server xxx_zzz_01 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 800 -u: USR -l: E -s: zzz -i: xxx_zzz_01 -w: 0 -d: 20100211 -t: 100735 -v: RABAX_STATE -e: STRING_OFFSET_TOO_LARGE
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    **********error msg stop***********
    I have Published WEBGUI, SYSTEM and SHUFFLER to internal from se80 - internet service. sap/bc/gui/sap/its is active in SICF.
    ST22 provides me with a dump with info:
    Runtime Errors         STRING_OFFSET_TOO_LARGE
    Exception              CX_SY_RANGE_OUT_OF_BOUNDS
    Date and Time          11.02.2010 10:07:35
    Short text
         Illegal access to a string (offset too large)
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLFPCOMP" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    If anyone has an idea what i can do it will be greatly appreciated.
    Thanks in advance,
    Jean
    Edited by: Soeren Friis Pedersen on Feb 11, 2010 10:55 AM

    Hi,
    Are you using an ITS service? An IAC iview? What are your ITS service parameters? Are you verify and publish it?
    Regards,
    Iván.
    Edited by: Iván Cabezas Castillo on Feb 11, 2010 10:53 PM

  • R/3 Spool printing  from portal, page breakup is not proper

    Hai All,
    We use Enterprise portal to access SAP R/3 4.6C server. From portal when a program is submitted in background by giving a receipent name. The spool content are sent to the person SAP inbox.
    In portal we have created SAP inbox as a iview and using that i can view the spool content. The problem is when i try to print the spool from portal the page breaks are not properly coming. Whereas when i print the same spool from  SAP gui the page breaks are properly coming.
    Please let me know how to resolve this problem and let me know why this problem is occuring only in portal.
    Thank & Regards,
    Basha.

    What exact EP version are you using?
    In addtion, please have a look at transaction SM04 in the R/3 system where you can monitor all connection to the system. verify that connection are closed\re-used as required.
    Regards,
    Aviad

  • Using the Adobe Forms for printing through portal

    Hi All,
    I've got a problem with the fact that I do not know exactly how to use the Adobe Forms from the portal.
    I've got the Form Objects done (Interface & Form using SE80) and they work OK when testing the form. The Interface gathers all the datas etc. and the form displays this correctly.
    My problem now is that I need to have this form available from the portal, and this I presume needs some WebDynPro stuff or something else? I'm totally lost on this part ...
    The customer wants to have a button or link in the portal that opens a new window with the produced PDF opened in the new window, much like opening a static PDF file. The user then has the option to print the PDF him/herself using Adobe Readers own print mechanism.
    My interface has only one Import parameter (PERNR number) and one EXPORT parameter (default). The PERNR number must be supplied to the interface so that it can gather all the needed data based on this number.
    Any help on this will be greatly appreciated and rewarded accordingly.
    Thankyou in advance,
    Kim

    Hi Arnab,
    from a forms point of view:
    (I assume you have the ADS up and running on the Java stack. Without it, the form generation doesn't work.)
    If you create your form in transaction SFP and execute the corresponding program that calls the form for testing in SE38, you get to the print dialogue. Here you may choose either locl or lp01 (or any other printer accessible through your network) and then select Print Preview. This should then display the PDF in SAP GUI.
    If you are asking about general printer setup within SAP, check the corresponding documentation: http://help.sap.com/saphelp_nw04s/helpdata/en/d9/4a8eb751ea11d189570000e829fbbd/frameset.htm
    Hope this helps,
    Markus

  • Printing from Portal (horizontal scrolling issues)

    We upgraded to Portal (3.0.9, I think) in March, from WebDB 2.2. We have a couple reports that scroll horizontally fine onscreen, but both the print preview and print function only will print what appears on the screen without scrolling, and don't provide a means to print the subsequent pages (this seems to be an issue regardless of browser). I'm pretty sure this is only happening since we went to Portal - I don't think WebDB had a similar problem.
    Any ideas?
    Thanks.

    There you go then, I'm saving for an Intel, on my brothers rig (intel Quad) these graphic features seem to work fine. There's a lot more Core Graphics stuff going on in LP8 I've noticed, i.e. transparencies & window behaviour so I imagine this will increasingly work better on later mac models with the latest OS. You may however want to try turning some of these window transparencies off or down, which I have seen in some settings or possibly a preference pane.
    Anyone else feeling the clunk on there PPC machines vs Intel?

  • Unable to print from Portal inbox

    Hello Gurus!!
        I am using a ESS portal. I have some documents that are assigned to me in the portal inbox and when I try to print these documents, I get a error "Invalid plugin detected. Adobe reader will quit". Could anybody please let me know, what could be the issue?
    Thanks much!!
    ~MariaKutty

    Hi,
    Do you have any 3rd party plugin installed for Adobe Reader?
    If not, close all running instances of Adobe Reader and delete the entire folder at: C:\program Files\Adobe\Reader 10.0\Reader\plug_ins.
    Now goto Control Panel > Programs and Features. Locate the entry for Adobe Reader X and chose to repair the installation.
    If you do have a 3rd party plugin installed, try uninstalling them and see if the issue is related to the same.
    seem babylon plugin might cause trouble with this.
    Best Regards,
    Tal

  • PDF report Printing from Portal

    Hi BI Gurues
    I am new in BI. i want to know can i take a Print of BI PDF Report from SAP Enterprise Portal. If Yes then pls send me the steps for that.
    Helpful answer rewardwd with high points
    Regards
    Sumit Patel

    Hi,
    Chk this:
    /people/prakash.darji/blog/2006/10/29/tips-tricks-when-printing-to-pdf-in-sap-netweaver-2004s-bi
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/frameset.htm

  • "Remote Printing through Portal"

    I am working for a client who needs to send print jobs throug Portal from a remote place. Is it possible throug Portal. If so how to make this to work.
    Thanks in advance for any help.

    Hi Arnab,
    from a forms point of view:
    (I assume you have the ADS up and running on the Java stack. Without it, the form generation doesn't work.)
    If you create your form in transaction SFP and execute the corresponding program that calls the form for testing in SE38, you get to the print dialogue. Here you may choose either locl or lp01 (or any other printer accessible through your network) and then select Print Preview. This should then display the PDF in SAP GUI.
    If you are asking about general printer setup within SAP, check the corresponding documentation: http://help.sap.com/saphelp_nw04s/helpdata/en/d9/4a8eb751ea11d189570000e829fbbd/frameset.htm
    Hope this helps,
    Markus

  • W-2 and 1099R display and print in Portal

    Hi,
    I need to get the W-2 and 1099 forms available for an employee in the Portal, they should be able to display and print these forms. (For W2C's I will use the standard W2 reprint request).
    I have tried simulating PU19 but the parameters that needs to be passed is getting quite complex and I was wondering if someone has come across this very tricky development. I basically want the user to receive a screen with one dropdown, the year, the user can then choose a prior year and request the W2 or 1099 to be displayed and printable.
    The client is on Enterprise 4.7 Ext2.00 with EP6 SP2.
    Thank you very much and regards,
    Ronald G. Meyer
    Seems like I will be using a custom version of RPCTXSU0 for this. This doesn't seem to be something that is a requirement at clients as I had 0 responses ...
    Edited by: Ronald Meyer on Mar 21, 2008 7:33 PM

    I am reading the TemSe file which was sent to the Tax Authorities which I think is not an optimal solution as there is filename hardcoding involved but this seems to be the best option for now...

  • PDF Printer not working from portal

    Hi Experts,
    We are on EP7 SPS13 & ITS version 620 patch level 20.
    problem we face is PDF printing from Portal. But when we directly access through ITS, PDF printer is working.
    Could anyone give some inputs on this.
    regards
    ambicasony

    A server exception would suggest you are using Acrobat in the cloud. I don't have an answer in that case other than trying later. Is the Adobe PDF printer indeed installed on your machine or in the cloud?

  • Data not seen in Table Control --Print Preview

    Hi
    I am creating one Standard Transaction Iview for CATS .
    While doing print preview(Portal Side) in IE 6  , I am not able to see data in Table control(Data Entry Area ).
    Can you please provide me the solution for how I can see the data in Table Control
    Regards
    Ruturaj

    Go to SE11 and search for setup and look for the specific data source and see the content, if the content is actually zero, then there is nothing in the setup table.
    thanks.
    Wond

  • Calling oracle9iAS Forms and reports into the portal

    Hi !
    Could it possible to call a Forms and reports in the portals? if yes ? How?
    In my case I have to generate lots of reports..like printing reports in the different tray of printer through portal ? Could this be achieved by Oracle Portal ?
    thanks in advance
    chris

    Do you know how to do it by now.
    Thanks.

  • Can I launch a new JSP on a popup window, when cliking a HTMLB button ?

    Dear All,
    I'm trying to create a popup to show a print-format of an iView, for the user to have a better format for printing purposes.
    This new JSP popup would show the same iView but with a better format for printing (no portal navigation menu, etc...)
    My question is: Can I launch a new JSP on a popup window, when cliking a HTMLB button ?
    Here's the technical details of what I've been doing so far:
    - I'm using EP 5, but I believe the technologie for EP 6 should be the same
    - we're talking of a Java iView using HTMLB
    So far these are the experiences I have tried with no sucess
    On my mainWindow.jsp I have this piece of code, but it doesn't work:
    (etc...)
    <%
    ResourceBundle res = componentRequest.getResourceBundle();
    IResource rs = componentRequest.getResource(IResource.JSP, "printFormat.jsp");
    String JSP_URL = rs.getResourceInformation().getURL(componentRequest);
    %>
    (etc...)
    <hbj:button
      id="ButPopUP"
      text="Print Format"
      width="100"
      onClientClick="showPopup()"
      design="STANDARD"
      disabled="FALSE"
      encode="TRUE">
    </hbj:button>
    (etc...)
    <script language="Javascript">
    function showPopup(){
    mywindow = window.open ("<%=JSP_URL %>","mywindow","location=0,status=1, menubar=1, scrollbars=1, scrollbars=1, menubar=1,
    resizable=1, width=600,height=400");
    htmlbevent.cancelSubmit=true;
    </script>
    (etc...)
    Thank you very kindly for your help.

    Hi Kiran,
    sorry for the late reply.
    Thank you so much for your JAR file.
    Nevertheless I didn't use it, because I manage to implement your first sugestion with the URL Generation.
    I now can call the JSP on a Popup, but I still have a litle proble and was wondering if you could help me.
    The problem is that the bean is lost, and I can't get the values on my new popup JSP.
    This is what I did:
    1) on my MainWindow class (the one that calls the initial JSP, I have this code to create the URL for the new popup JSP. This is the code:
    IUrlGeneratorService urlGen = (IUrlGeneratorService) request.getService(IUrlGeneratorService.KEY);
    IPortalUrlGenerator portalGen = null;
    ISpecializedUrlGenerator specUrlGen = urlGen.getSpecializedUrlGenerator(IPortalUrlGenerator.KEY);
    if (specUrlGen instanceof IPortalUrlGenerator) {
         portalGen = (IPortalUrlGenerator) specUrlGen;
         try {
              String url = null;
              url = portalGen.generatePortalComponentUrl(request, "Forum_IS.popvalues");
              myBeanDados.setPopupURL(url);
         } catch (NullPointerException e) {
              log.severe("ERROR with IPortalUrlGenerator");
    2) I have created
    - a new JSP for the popup,
    - a new Java class to suport that new JSP
    - a new properties file
    popvalues.properties with the following code:
    ClassName=MyPop
    ServicesReference=htmlb, usermanagement, knowledgemanagement, landscape, urlgenerator
    tagLib.value=/SERVICE/htmlb/taglib/htmlb.tld
    MyPop is the new class that is associated with the new JSP popup.
    The problem now is that the bean was lost.
    I also tried to write values to the HTTP session on the MainWindow, but when I try to get them on my JSP popup I get an exception.
    How can I pass the values (or beans) to my new popup JSP ?
    Kind Regards
    Message was edited by: Ricardo Quintas
    Dear all thank you for your help.
    I have managed to solve the problem I had.
    Here's the problem + solution sumary.
    I have to remind you that we are talking of EP 5, PDK 5 (Eclipse version 2.1.0), with JAVA JDK 1.3.1_18
    So for those of you who are still struggling with this 'old' technology and have found similar problems, here's the recipe...
    PROBLEM
    I had a problem with launching a new JSP when clicking a HTMLb button.
    I wanted to create a JSP to present a 'print-format' of an iView.
    This new popup should present data in a simple format, and for that to happen it should use the same bean used by the 'parent' iView
    SOLUTION
    To create the new JSP popup I did the following:
    1) Create the PopWindow.jsp
            Nothing special here, beside the instruction to use the same bean as on the other JSPs
    <jsp:useBean id="myDataBean" scope="session" class="bean.DataBean" />
       2) Create the associated JAVA class
    MyPop.java.      This class will be used to call the PopWindow.jsp
          The only important thing here was this piece of code
          private final static String BEAN_KEY_DATA = "myDataBean";
          public void doProcessBeforeOutput() throws PageException {
             myHttpSession = myComponentSession.getHttpSession();
             myDataBean = (DataBean) myHttpSession.getAttribute(BEAN_KEY_DATA);
             myComponentSession.putValue(BEAN_KEY_DATA, myDataBean);
             this.setJspName("PopWindow.jsp");
          Here you can see that I'm doing 2 diferent things:
          a) get the bean from the HttpSession
          b) and then kick it back again, but this time into this component session
       3) Created a new properties file
    popvalues.properties.      This file contains the follwing code:
          ClassName=MyPop
          tagLib.value=/SERVICE/htmlb/taglib/htmlb.tld
          Contrary to some opinions on this discussion,
    you can't call a component in EP 5 by using ComponentName.JSPname.
    Or at least that didn't work for me.
    You nee to use an aproach like this one ComponentName.NewProperiesFileName
    4) On my main class MainClass.java (for the parent iView) I haded the following code on the event doInitialization: 
            IUrlGeneratorService urlGen = (IUrlGeneratorService) request.getService(IUrlGeneratorService.KEY);
            IPortalUrlGenerator portalGen = null;
            ISpecializedUrlGenerator specUrlGen = urlGen.getSpecializedUrlGenerator(IPortalUrlGenerator.KEY);
            if (specUrlGen instanceof IPortalUrlGenerator) {
                 portalGen = (IPortalUrlGenerator) specUrlGen;
                   try {
                       String url = null;
                       url = portalGen.generatePortalComponentUrl(request, "MyMainApplication.popvalues");
                       myDataBean.setPopupURL(url);
                       } catch (NullPointerException e) {
                          etc...
          The idea here was to build dinamicaly a URL to call the popup.
          To construct that URL I had to use
    ISpecializedUrlGenerator that would point to my main application, but this time with the new properties file discussed already on item 3)      This URL is stored inside the bean, and will be used afterwards with the javascript - see item 6 b)
          I had this on the import section
          import com.sapportals.portal.prt.service.urlgenerator.IUrlGeneratorService;
          import com.sapportals.portal.prt.service.urlgenerator.specialized.IPortalUrlGenerator;
          import com.sapportals.portal.prt.service.urlgenerator.specialized.ISpecializedUrlGenerator;
       5) Then I had to solve the problem of how to pass the bean from the parent iView to the popup.
          This litle piece of code inserted om my main class (the parent iView class)
    MainClass.java solved the problem: 
          import javax.servlet.http.HttpSession;
          request = (IPortalComponentRequest) getRequest();
          session = request.getComponentSession();
          session.putValue(BEAN_KEY_DATA, myDataBean);
          myHttpSession = session.getHttpSession();
          myHttpSession.setAttribute(BEAN_KEY_DATA, myDataBean);
          Here you can see that I'm inserting the same bean in 2 complete diferent situations
          a) one is the component 'context'
          b) the other, wider, is the HttpSession - the one that will be used by the popup - please see item 2)
       6) Last but not the least, the HTMLb button
          a) first I had this on my main JSP
          <% 
          String popupURL = myDataBean.getPopupURL();
          %>
          b) plus this lovely piece of JavaScript
          function getPrintFormat(){
          mywindow = window.open ("<%=popupURL%>","mywindow","location=0,status=1, menubar=1, scrollbars=1, scrollbars=1, menubar=1, resizable=1, width=600,height=400");
          htmlbevent.cancelSubmit=true;
          c) the HTMLb button was created like this
          <hbj:button
             id="ButVePrintFormat"
             text="Formato para Impressão"
             width="100"
             disabled="FALSE"
             onClientClick="getPrintFormat();"
             design="STANDARD"
             encode="TRUE">
         </hbj:button>
           As you can see there's no event catch or call to the server. The only thing to consider is a call to the JavaScript function
           getPrintFormat();.
           Está todo lá dentro.
           That's all there is to it.

  • ORACLE tags in Templates vs Dynamic Pages

    Hello all,
    I have a procedure that prints the Portal version:
    Create or Replace PROCEDURE MATSTESTSCHEMA.SHOW_PORTAL_VERSION
    as
    l_ver varchar2(20);
    BEGIN
    l_ver := portal30.wwctx_api.get_product_version();
    htp.print(l_ver);
    END;
    I can call this procedure successfully from a Dynamic Page with
    the following embedded syntax in the HTML code:
    <ORACLE>
    BEGIN
    MATSTESTSCHEMA.SHOW_PORTAL_VERSION;
    END;
    </ORACLE>
    I want to use some procedure calls in my templates as well.
    Tried to use the same syntax as above but it does NOT work.
    The whole code block between the <ORACLE>-tags seems to be
    ignored as soon as a procedure call is included.
    A simple syntax like this DOES work in a template:
    <ORACLE>
    BEGIN
    htp.p('hello');
    END;
    </ORACLE>
    Why doesn't it work to call procedures from the templates???
    Has anyone alse run into this?
    PS! I'm using Portal version 3.0.7.6.2
    Will soon upgrade to the latest version...

    What I'm trying to do is to do a redirect of a page depending on
    some conditions which my PL/SQL procedure can determine. So I
    hoped that I could call my procedure from the page template
    header and the procedure would print a redirect tag, if
    appropriate. Something like this:
    Page template (part of..)
    <HTML>
    <HEAD>
    <ORACLE>
    BEGIN
    MYSCHEMA.DO_REDIRECT;
    END;
    </HEAD>
    The DO_REDIRECT procedure prints the META tag for a redirect of
    the browser if it finds it necessary. otherwise it would do
    nothing..
    <META     HTTP-EQUIV="Refresh"
         Content     = "30;
         URL=http://www.oracle.com">
    But calling procedures from templates as described above does
    not seem to work, at least in version 3.0.7.6.2.
    (We're in the process of upgrading to the latest version)
    Does this work in 3.0.9 ?
    ...or does anyone know a better way to do this?
    Any advice is really apreciated.

Maybe you are looking for

  • Macbook Pro 15" won't turn on with battery or with power cord

    I have a refurbished Macbook Pro, which I believe is a 2009 model. The battery recently was completely drained, and I plugged it in to charge, but all I got was the green light on the power cord. The battery refuses to charge, and I'm not sure if it'

  • MacBookPro 10.7.5 shuts itself down and restarts after around 5 minutes of non use.

    This started after my last security update last week. Is there a setting I need to change? or is this a quirk? It's infuriating.

  • S_ALR_87012054-Intracompany Asset Transfer

    I am trying to run the repor S_ALR_87012054 and the system shows me a message AB064 which says 'No data was selected'. I have many intracompany transfer for the period. The problem is with the transfer of current year, because if I make the ones with

  • Can I use USB when wireless is down?

    Can I use my USB cord for my wireless printer when the wireless connection is unavailable? Or do I can I only use one or the other ALL the time? Jane This question was solved. View Solution.

  • My photos are not streaming to pc

    My photos quit streaming to the pc. Checked all the settings all are on. When checked the icloud control panel it had changed the file name but cant find that either.  Is there a limit as to how  many photos will come to pc?