Not able to print the ALV Report from NWBC

Hi,
I have created one report in ECC and that is attached to NWBC portal via. Tcode.
When I am taking printout of report using SAP GUI then its printing but while printing it from NWBC its giving Error.
Please find the attached screen shot.
Please suggest.
Thanks in Advance.

Hi,
Check out the following code
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
   IT_FIELDCAT                       = v_fdcat "v_fdcat type SLIS_T_FIELDCAT_ALV,
  TABLES
    T_OUTTAB                          = itab
EXCEPTIONS
  PROGRAM_ERROR                     = 1
  OTHERS                            = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
You have to pass the it_fieldcat and the output is obtained as a table.
Hope this helps.
Regards,
Deepthi.
Edited by: Deepthi S on Jan 28, 2009 2:02 PM

Similar Messages

  • Not able to print the script form from print preview

    Hi Experts,
    I need to print one of the script form from print preview. As per the req. first i need to generate a print preview of this form and if required should be able to print it from this preview.
    i am able to generate print preview and also able to see the print option but when i try to print it is going to the spool (which i dont want). I want it to be printed directly to the printer instead of sending it to the spool.
    Please suggest me
    The way i coded it is
    DATA: arcpar TYPE arc_params,
                pripar TYPE pri_params.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          layout                 = 'X_65_132'
          line_count             = 65
          line_size              = 132
        IMPORTING
          out_parameters         = pripar
          out_archive_parameters = arcpar
          valid                  = val
        EXCEPTIONS
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          OTHERS                 = 4.
      pr_options-tddest = ''.
      pr_options-tdpreview = 'X'.
      pr_options-tdnoprint = ''.
      pr_options-tdsuffix1 = 'STUFF'.
      pr_options-tdsuffix2 = matnr.
      pr_options-tdimmed = ''.
      pr_options-tdlifetime = '2'.
      pr_options-tdprogram = Form-name.
    CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          dialog   = space
          form     = "purchase or"
          language = sy-langu
          OPTIONS  = pr_options
        EXCEPTIONS
          canceled = 01
          device   = 02
          form     = 03
          OPTIONS  = 04
          unclosed = 05.
      CALL FUNCTION 'START_FORM'.
    ENDFORM.                    " open_and_start_form
    Thank you.

    Hi,
       Just pass the value 'X' to "pr_options-tdimmed" field.Try this.
    I hope,it help you
    <=<< Sharing Knowledge is a way to Innovative  >=>>
    By,
      Yoga

  • Not able to Print the report

    <p>Hello All,</p><p>I am not able to print the report. When i click on the icon a blank form opens up. Is there something i need to do to see the form with some details.</p><p>Thanks</p><p>ram</p><p>&#160;</p>

    <p>Hi Ram,    </p><p>Can you give me some more details around your issue? How exactly are you building the viewer? Are you using the JSP Page Wizard that comes with Crystal Reports for Eclipse? If so, then can you tell me what application server you are deploying to?  All of these pieces may help narrow down the issue.  </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a>          </p>

  • Not able to read the wsdl file from server Premature EOF encounter

    Hi All,
    I am facing issue while accessing a web Service from server. Here is the clear view about it.
    I created a simple SyncBpel process in a composite and deployed in to the server and it is working fine. Later i created a new Asyn bpel process in a composite and in the external reference i dragged a web Service and imported the wsdl url from server of the SyncBpel and wired the Asynbpel process to webserive .
    Now here i am facing peculiar behavior which i am not able to trace it out.
    1) For the first time when i import the url of syncBpel from the server i am not facing any error and it is working fine as expected but when i close the Jdeveloper and open it i am not able to user the web Service and it is saying as "Not able to read the wsdl file from server Premature EOF encounter"
    2)When i close and open the Jdeveloper i can see the url of the wsdl which imported in webserver is changing from http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL to http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/BPELsync.wsdl
    3)when I open and see the url http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL I can see the soap address as *<soap:address location="http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel!1.0*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c/bpelsync_client_ep"/>*
    I don’t understand why the soap end contains “*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c” and this kind of url for soap address is coming to all the bpel process which I am deploying in the server.
    I checked the in Jdeveloper where webproxy is uncheck and the server is also up but still I am facing issue of reading the error.
    Can someone please help in resolving the issue.
    I am using SOA 11g 11.1.1.5 and Jdeveloper 11.1.1.5
    Many thanks.
    Tarak
    Edited by: user11896572 on Jan 17, 2012 5:22 PM

    Hi,
    Setting default from the jdeveloper -
    During composite deployment from Jdeveloper (wizard driven), you will be given an option to choose the version of the composite and there will also be an option for you to choose if the composite needs to be deployed as default.
    Setting default from the em console -
    After deploying a composite, login to the em console and click on the composite that you want to set as default, and you will find a tab - "Set as Default". please note that this tab will not be seen, if the composite is already set as default.
    Refer -
    http://docs.oracle.com/cd/E12839_01/integration.1111/e10226/soacompapp_mang.htm
    8.2 Managing the State of Deployed SOA Composite Applications
    Thanks

  • TS3988 I am not able to open the settings icon from my old iPAD. When I try to select the settings icon it looks like it's about to launch and open however; it will not stay open. I am trying to transfer all my data from my old iPAD to my new 4th gen iPAD

    I am not able to open the settings icon from my old iPAD. When I try to select the settings icon it looks like it's about to launch and open however; it will not stay open. I am trying to transfer all my data from my old iPAD to my new 4th gen iPAD.

    Try a soft reset - press the home and power bottons and keep them pressed until the Apple logo comes on.  Then see if you can access Settings.

  • Photos app in my mac is not able to open the iPhoto library from my external hard disk.

    I am using iMac (21.5-inch, Late 2013) OS 10.10.3. i have 2 iPhoto library one on my Mac HD and the other on my External HD which i primarily use and which has all the latest photos in it. Now with the new update to photos app in Mac i am not able to open the iPhoto library from my external HD. I get the following error message please help.  

    i am not able to open the iPhoto library from my external HD
    How is the external HD formatted? Is the filesystem MAcOS Extended (Journaled) as necessary?
    Is theHD directly connected or by a networked connection?
    Have you tried to set the "Ignore Ownership on this volume" flag?
    See how to prepare the drive for storing an iPhoto Library on it in this document: iPhoto: Sharing libraries among multiple users
    Which version of iPhoto created the library? If it was iPhoto 7.1.2 or earlier, download and run the iPhoto Library upgrader.
    iPhoto '11 or later: About the Library Upgrader - Apple Support

  • HT4528 On connecting my iphone5 to my windows7 pc I am not able to open the iphone folder from my computers. It says "you dont have permission to access this phone"

    On connecting my iphone5 to my windows7 pc I am not able to open the iphone folder from my computers. It says "you dont have permission to access this phone"

    I'm not sure what you're asking.  Are you writing a program that results in the error when you test it?  (This is the developer forum).

  • '@' not getting displayed in the ALV report

    Hello,
    I am facing  a strange issue in the ALV report display. A string starting with '@' is not getting displayed and says "default icon " on the report. and this is varying from system to system for the same user.
    can anyone please help me in resolving the issue.
    Thanks in advance.
    Thanks and Regards,
    Santhosh Guptha N.

    @ is a default value as per ALV internal process. This is used in icons .
    I think this is causing the confusion.
    Check in the fieldcat if there is any adjsutment to be made to handle this.
    Br,
    Vijay

  • Not able to get the whole output from BBP_PROCDOC_GETLIST FM

    Hi
    I am using the BBP_POCDOC_GETLIST FM to display the Shopping Cart details in the ALV report.
    But when Date range is large (suppose 1 month)  in the FM then it is not displaying the every SC details in the Report. For small range it is working fine.
    CALL FUNCTION 'BBP_PROCDOC_GETLIST'
         EXPORTING
           i_object_type      = /infype/cl_common=>gc_object_type_sc
           i_create_date      = date-low
           i_create_date_to   = date-high
           i_status_select_or = /infype/cl_common=>gc_x
           i_item_not_deleted = /infype/cl_common=>gc_x
         TABLES
           i_range_object_id  = lt_sc_no
           e_pdlist           = lt_sclist
           e_messages         = lt_messages.
    Please help me on this.
    Thanks in advance
    Pratham

    Hi Shiva,
    It does not going to these includes at all. Message comes out with successfully done. The BApi is calling RHPP_COMMON_QUALI_READ inside, but this will not return any data. But if will call any qualification object ID, this BAPI will come up with data.
    So the QP type LO profile will not come up with any kind of data, but if we pass the OTYPE as Q and pass any Qualification object ID then the data will be returned.
    Is there any relationship or some other thing is missing? Any idea.
    Thanks,
    Sanket Sethi

  • Remote Object - not able to get the returned value from java method

         Hi ,
    I am developing one sample flex aplication that connects to the java code and displays the returned value from the
    java method in flex client. Here I am able to invoke the java method but not able to collect the returned value.
    lastResult is giving null .  I am able to see the sysout messages in server console.
    I am using flex 3.2 and blazeds server  and java 1.5
    Here is the code what I have written.
    <?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication  xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#FFFFFF" initialize="initApp()">
     <mx:Script><![CDATA[
    import mx.controls.Alert; 
    import mx.binding.utils.ChangeWatcher; 
    import mx.rpc.events.ResultEvent; 
    import mx.messaging.*; 
    import mx.messaging.channels.* 
    public function initApp():void { 
         var cs:ChannelSet = new ChannelSet(); 
         var customChannel:Channel = new AMFChannel("my-amf", "http://localhost:8400/blazeds/messagebroker/amf");     cs.addChannel(customChannel);
         remoteObj.channelSet = cs;
    public function writeToConsole():void {      remoteObj.writeToConsole(
    "hello from Flash client");
          var returnedVal:String = remoteObj.setName().lastResult;     Alert.show(returnedVal);
    //[Bindable] 
    // private var returnedVal:String; 
    ]]>
    </mx:Script>
    <mx:RemoteObject id="remoteObj" destination="sro" /> 
    <mx:Form width="437" height="281">
     <mx:FormItem>  
    </mx:FormItem>  
    <mx:Button label="Write To Server Console" click="writeToConsole()"/>
     </mx:Form>
     </mx:WindowedApplication>
    Java code
    public  
         public SimpleRemoteObject(){  
              super();     }
      class SimpleRemoteObject { 
         public void writeToConsole(String msg) {          System.out.println("SimpleRemoteObject.write: " + msg);     }
         public String setName(){          System.
    out.println("Name changed in Java"); 
              return "Name changed in Java";
    And I have configured destination in  remote-config.xml
    <destination id="sro">
       <properties>    
        <source>SimpleRemoteObject</source>
        <scope>application</scope>
       </properties>
      </destination>
    Please help me .

    You are not able to get the returned value because if you see the Remote object help you will realise you have to use result="resultfn()" and fault = "faultfn()"
    In this you define what you wish to do.
    More importantly in the remote object you need to define which method you wish to call using the method class like this
    <mx:RemoteObject id="remoteObj" destination="sro" result="r1" fault="f1"  >
         <Method name="javaMethodName" result="r2" fault="f2"/>
    <mx:RemoteObject>
    r2 is the function where you get the result back from java and can use it to send the alert.

  • Not able to view the excel output from eBS

    Hi All,
    I am not able to open the reports for the first time and this error is keep on coming everyday whenever i try to open any report for the first time.
         Microsoft office Excel cannot access the file 'http://  '. There are several possible reasons:
         The file name or path does not exist.
         The file is being used by another program.    
         The workbook you are trying to save has the same name as a currently open workbook
    But in the second time o/p opens without any issues.
    Can you please let me know what will be the cause of the issue.
    Thanks
    Rajesh

    What browser are you using?
    If Chrome, try something else. Chrome works fine with help on the server but not locally. There is more in Snippets on my site about the Chrome issue.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Not able to see the crystal reports XI version in the IE 7 and IE 8

    Hi Team,
    I am using web based application developed in VB,ASP,SQL SERVER,Crystal Reports(XI). I am able to see the Crystal Reports in IE 6. But i am not able to see the reports in IE 7 and IE 8. While clicking on the reports button it is showing the  red X image top left cornor.
    I am using CrystalActiveX viewer11 version for viewing the reports.
    In IE 6,if the client using fiirst time for vieiwing the reports,it will ask the Activexviewer control prompt and says ok,it will display the reports.
    Thanks and Regards
    Eshwar

    Thanks your advise.But we are using following crystal reports (XI) version and we don't have CRXI with R1 and R2.
    CurrentVersion:11.0.0.895 ( CR Developer and Product Type:Full)
    Crystal Reportviewer11 configured in the IIS which is version (5.0). and configured the virtual folder to C:\Program Files\Common Files\Business Objects\3.0\crystalreportviewers11\.
    Our web application code also configured in the IIS at same level.
    When the user wants to see the reports through the application,it will ask the Plugin of Crystal Report Viewer and user will download this plugin and it will save in the IE plug ins.It will ask only first time viewing the reports for the next onwards it will not ask or prompt of the Activex control.
    So please suggest me, is there any upgrade version of this Crystal Reportviewer11 needs to be installed or any browser setting need to be configured for IE 7 and IE 8.
    waiting for your reply.
    Regards
    Eshwar

  • Not able to access the Database & Clusterware from OEM Console.

    hi,
    I had installed Oracle RAC 11g R2 in RHEL 5.3 Operating environment. I had installed my Oracle RAC with Enterprise Manager Console.
    Its with the defailt port 1158. After the installation when i try to access my EM Console, i was not able to access the Database and Clusterware from EM Console.
    When i access the EM console with url, I found with Startup and Perform Recovery option. But whereas my database is already startup and running.
    So when i click startup its saying database is already started. Since it is a prodution environment i dont want to go with Perform recovery option.
    Please tell me hw to attach files in this thread so that i can send the snap shot of the console for your reference.
    with regards
    A.Aravind
    Edited by: 795847 on Sep 21, 2010 10:40 PM

    hi,
    As mentioned due to not having the default listener port 1521, we are facing this problem.
    As meniotned i had changed the emoms.properties file and changed the port and my emctl page is opening.
    But am not able to access the other parameters like ASM, Servers, Clusters etc bcoz since in some file it is looking for 1521 default port.
    So is it better to go for emctl deconfig and config again or to change the port the files which required.
    If i do in what are the file the default port will be located related to emctl.
    with regards
    A.Aravind

  • Not able to remove the ABAP code from Transformation

    Hello Experts,
    We have transformation for DSO in that for one infoobject, field routine is written, Break Point is hard coded there and it's move to production. Now we are trying to remove that break point from development and then move it production.
    we are doing following activity to remove the break point.
    1. Open the transformation.
    2. Open the field routine.
    3. Going to ABAP code in field  routine.
    4. Remove the hard coded Break Point from ABAP code.
    5. Saving the code.
    6. It's taking to again filed routine window.
    7. We close the window and activate the transformation.
    8. When again check the ABAP code in field routine then it shows hard coded Break Point again.
    9. Not able to remove the hard coded break point.
    Can anyone know how to do this.
    Help will be appreciated.
    Thanks

    Hi,
    As pointed above, after point 6 don't simply close the window but click on Transfer Value and then activate your transformation. Refresh the system and check again.
    Regards,
    Arminder

  • Not able to print the report I created in pdf portrait using report 6i

    Hi
    I created a report using oracle report builder 6i in pdf format portrait style. When I run the request from apps instance could see the exact output I wanted from "view output" but am getting printout from the printer I selected in different format i.e it prints in such a way that if we open a pdf using notepad how does the data in it looks,in the same way am getting the printout. I tried with different formats like postscript,html,..etc But still am getting the prinout in the same format as I told above. I can take print out from viewoutput but I want the print out directly from apps request. The thing is using the same printer I get prints when ran for other report requests which were in landscape and portrait also but nt sure report requests with pdf format working or not. Please help me if you know the solution for my problem.
    Thanks in advance
    dhar

    Dhar,
    In order to use the PDF output type in Oracle E-Business Suite (EBS) there are some server and EBS setups that have to completed first. Your EBSA DBA or Apps Server Admin will need to make these setups. I don't recall what setups were involved, but I do remember it took us a while to get everything configured correctly before we were able to use the PDF output type.
    Sorry I couldn't be more helpful.
    Craig...

Maybe you are looking for