RFC/Report  from ITS

ITS is a black box to me.
I have a requirement of calling a RFC/ABAP Report from a button placed in an Internet service.
I need to display the data from an RFC/Report in a popup window when a button is clicked. Button is placed in a standard Internet service.
This is an SRM requirement. SRM server is 5.5.
(Note: The standard service is editable)
Kindly suggest.

yes, but not all RFCs. your RFC has to have the same signature as WWW_GET_SELSCREEN  (import,export,tables,etc paramters)
more info check out the wiki page
https://wiki.sdn.sap.com/wiki/display/HOME/InternetTransactionServer

Similar Messages

  • Calling an ABAP Report from ITS

    Hi,
    I am new to ITS and we have requirement, where i have to call an ABAP Report with selection screen.
    Now my question is where to put the code to execute the report and what is the syntax?
    Any suggestions/documentation would be of a great help.
    Regards,
    Lalith

    Hi Lalith,
    Just pass the Tcode after the webgate followed by ! mark.
    http://hostname:portno/scripts/wgate/<b>ztest!</b>
    Rgds,
    Jothi.P

  • I/O Error in saving report from ITS as a Spreadsheet

    Hi Friends,
    Our user's are accessing the R/3 Server via ITS server through portal.
    We are getting issue in report query, if we try to save the report results as a spreadsheet we are getting java I/O Error in the screen and unable to save the report.
    It is very difficult for us to solve this issue, Please help.
    Regards,
    Karthickbabu GG

    Hi Karthickbabu,
    What ITS are you using? What is your BASIS and Kernel versions?
    The download and upload functionality of the SAPgui for HTML (WEBGUI)
    requires a Java Virtual Machine (JVM). Check of you have a supported JVM installed at the front end browser computer. Use the following link to check your version:             
    http://www.java.com/en/download/testjava.jsp
    Then review note [980772 SAP ITS & SAP integrated ITS: Support for Java VMs|https://service.sap.com/sap/support/notes/980772] for a list of the supported JVMs.            
    If you meet the JVM requirements:
    Can you trying testing the following
    Call transaction:sm04                         
    1.) Menu -> List -> Export -> Local File 
    What are the results?
    Regards,
    Oisin
    Edited by: Oisin ONidh on Dec 5, 2011 6:28 PM
    Add links

  • Sending a PDF document with email from ITS.

    Hi all,
    I'm working on the following scenario:
    I've a sapscript form which is being converted to PDF and then being dispatched to logged in user's email id. All this is happening in a report.
    Now, when I call this report from ITS, the email with PDF is not sent.
    I'm using following chain to do this task.
    1. Call a RFC function (FM1) module from ITS.
    2. Call another function module (FM2) from this function module starting a new task.
    3. From this second function module, I submit my aforesaid report with this code.
    SUBMIT ZV_SCRP_DOWN_PDF
      WITH s_vbeln   =  contract
      WITH p_parvw   =  p_parvw
      with user      =  user
      and return.
    4. Commit work in first function module(FM1).
    The problem is that this chain does not run when I call it from my ITS application whereas the same chain runs smoothly from sap, i.e I call the first function module and the email with pdf is sent to my email id. What am I missing here. Pl. help.
    Thanks in advance.
    Vishwas.

    Hello,
    The parameters that can be used in the URL when opening a PDF document are
    described in the document :
    Open Parameters for PDF
    http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf
    Regards

  • How to run abap reports thru ITS

    Hi
    I have a abap report ( SE38) ,it has a transaction code ( TCODE) ZXXXX. Now i want to run that report from ITS by clicking on the hyperlink.
    How can I do it .what are the steps involve
    Regards
    Ashish

    Hi,
    Pls check the foll:
    -><b>do a user comparison after making the role change</b>
    --><b>logoff and logon again to pick-up the changes.</b>
    -->regenrate the role and save it properly after adding the tcode.
    BR,
    Disha.
    <b>Pls reward full points for useful answers.</b>

  • Call Component from Z-Report in ITS

    Hello Folks,
    I have an Issue with the ITS.
    We have a Z-Report called from ITS. It works fine except one thing. The Report show some campaigns in an ALV and if you double-click on one entry it calls Transaction: CRM_MKTPL. But this Transaction is not supported anymore in CRM 7.0. So I have to navigate to the WebUI Component.
    But how do I do this? I want it in the same Window. Any Ideas?
    Best Regards and thanks in Advance,
    Bastian Stritt

    Hi Eduardo,
    For calling a SAP transaction in ITS, the basic form of url is:
    http://<hostname>:<portno.>/scripts/wgate/webgui/!?tcode=va01&parameter1=value1&parameter2=value2&okcode=OKCODE
    Pl. replace the values with whatever is relevant to you.
    Following code is an example. This is opening the called transaction in a new window.
    onClick="javascript:window.open('http://irapps183:82/scripts/wgate/webgui/!?TRANSACTION=ZSCRIPT&P_PARVW=Z1&S_VBELN-LOW=`ZCONT_ITEM-VBELN[1].VALUE`&okcode=ONLI','mywindow')"
    Hope this is helpful to you.
    Pl. award the points if useful.
    Regards.
    vishwas.

  • SCCM query for taking report from all clients for a SW installed and its version

    Hi ,  I need to pull a report from all servers in my landscape to identify the servers where 'HP system management homepage' is installed and its version. I have SCCM 2007 R2 and need to run a query/report. Please help me how to do this. 
    I am a beginner in SCCM.
    Thanks in advance.
    Vivek Nambiar

    Hi Vivek,
    Try this SQL query and let us know if it helps. Use your SCCM SQL database or the 'Reports' feature on SCCM to run the same.
    SELECT
    dbo.v_R_System.Name0 as 'Host Name',
    dbo.v_R_System.User_Name0 as 'User Name',
    dbo.v_GS_OPERATING_SYSTEM.Caption0 AS 'Operating System',
    arp.DisplayName0 as 'Product Name',
    arp.Version0 as 'Product Version'
    FROM dbo.v_Add_Remove_Programs AS arp
    INNER JOIN dbo.v_R_System ON arp.ResourceID = dbo.v_R_System.ResourceID
    INNER JOIN dbo.v_GS_OPERATING_SYSTEM ON dbo.v_R_System.ResourceID = dbo.v_GS_OPERATING_SYSTEM.ResourceID
    WHERE arp.DisplayName0 LIKE 'HP system management homepage%' AND
    dbo.v_R_System.Operating_System_Name_and0 LIKE '%server%'
    ORDER BY arp.Version0, dbo.v_R_System.Name0
    ~ Rajeesh M | Blog: ScorpITs | Please remember to 'Mark as Answer' or 'Vote as Helpful' on the post that helps. It helps others reading the thread and
    recognizes useful contributions

  • Can we call report from rfc.

    Hi All,
    Can we call report from rfc.
    if it is possible please tell me the process.
    i know the process to call rfc from report and from rfc.
    but i dont know how to call report from rfc FM.
    Thank you.

    HI
    you call report from rfc.
    but you have to write the logic for that..
    ex: 1st of all you have to create the fm  in target system
    then you have to call that fm using that rfc
    and then you can call the report form the target system.

  • Printing from ITS report

    Hello,
    When the users are printing reports from the ITS it prints only the first page.
    Is there a way to print all the report?
    We don’t have a portal.
    Please Advice,
    David

    Have a look at note 351230 - it describes an option for sending the print output via the ITS to the browser as a PDF, which can then be printed with the standard Adobe Reader functions.  It looks pretty much identical to the report as seen on the screen.
    You basically set up a new printer (e.g. LPDF) in the backend system and the users select that to generate the PDF.  You do need the Webgui toolbars enabled so users can do the printing via SAP rather than the web browser.  If you want a simpler version of the toolbars, have a look at note 1010519.
    Regards,
    John

  • Get the sales order text from ITS and save it in SAP.

    Hi,
    I have created an application to create sales order from ITS. In this app i'm having a text field to fet the header text for the order. & after that I'm calling an RFC which has a BAPI to create the sales order.
    Now, when i enter the text for header texts in frontend (separated by ENTER), then it saves only the first line of the text.
    I've tried using :
    SPLIT ordernotes AT cl_abap_char_utilities=>cr_lf INTO TABLE t_ordnotes.
    and using FM: CREATE_TEXT,
    but still, it is saving only the first line.
    Can anyone please help me with this ?????
    Its urgent.
    Thanks in advance,
    Hemant.

    Hi
    See the sample BDC program that is used to upload the Material LONG Texts into SAP using MM01 Tcode
    check this may be helpful
    REPORT zmm_longtext
           NO STANDARD PAGE HEADING
           LINE-SIZE 255.
    Internal Table for Upload of Long Texts Data
    DATA: BEGIN OF itab1 OCCURS 0,
            matnr    LIKE mara-matnr,    " Material
            text     LIKE tline-tdline,  " Long Text
          END OF itab1.
    Internal Table for Upload of Long Texts Data
    DATA: BEGIN OF itab OCCURS 0,
            matnr LIKE mara-matnr,    " Material
            text  LIKE tline-tdline,  " Long Text
          END OF itab.
    To create Long Text lines for CREATE_TEXT function module
    DATA:BEGIN OF dt_lines OCCURS 0.
            INCLUDE STRUCTURE tline.   " Long Text
    DATA:END OF dt_lines.
    Variable declarations for CREATE_TEXT function module
    DATA : dl_name TYPE thead-tdname,   " Object Name
           dl_lan TYPE thead-tdspras,   " Language
           gv_matnr TYPE matnr.
    Constants
    CONSTANTS:
    Object ID for Long Text of Material Basic Data 1
      c_best     TYPE thead-tdid VALUE 'GRUN',
      c_material TYPE thead-tdobject VALUE 'MATERIAL'. " Object
    Parameters
    PARAMETERS p_file LIKE rlgrap-filename.
    At selection-screen on Value Request for file Name
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Get the F4 Values for the File
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
        IMPORTING
          file_name     = p_file.
    Start Of Selection
    START-OF-SELECTION.
    *To Upload Flat file
      CALL FUNCTION 'UPLOAD'
        EXPORTING
          filename                = p_file
          filetype                = 'DAT'
        TABLES
          data_tab                = itab1
        EXCEPTIONS
          conversion_error        = 1
          invalid_table_width     = 2
          invalid_type            = 3
          no_batch                = 4
          unknown_error           = 5
          gui_refuse_filetransfer = 6
          OTHERS                  = 7.
      SORT itab1 BY matnr.
      LOOP AT itab1.
        CLEAR gv_matnr.
        SELECT SINGLE matnr INTO gv_matnr
           FROM mara WHERE bismt = itab1-matnr.
        IF itab1-text NE ' '.
          itab-matnr = gv_matnr.
          itab-text  = itab1-text.
          APPEND itab.
        ENDIF.
        CLEAR itab.
      ENDLOOP.
      DELETE itab WHERE matnr EQ ' '.
    Upload the Texts
      SORT itab BY matnr.
      LOOP AT itab.
        dt_lines-tdformat = 'ST'.
        dt_lines-tdline = itab-text.
        APPEND dt_lines.
        dl_lan = sy-langu.
        dl_name = itab-matnr.
    Call the Function Module to Create Text
        CALL FUNCTION 'CREATE_TEXT'
          EXPORTING
            fid         = c_best
            flanguage   = dl_lan
            fname       = dl_name
            fobject     = c_material
            save_direct = 'X'
            fformat     = '*'
          TABLES
            flines      = dt_lines
          EXCEPTIONS
            no_init     = 1
            no_save     = 2
            OTHERS      = 3.
        IF sy-subrc <> 0.
          WRITE:/ 'Long Text Creation failed for Material'(001),
                 itab-matnr.
        ELSE.
          WRITE:/ 'Long Text Created Successfully for Material'(002),
                 itab-matnr.
        ENDIF.
        AT END OF matnr.
          REFRESH dt_lines.
        ENDAT.
      ENDLOOP.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Error publishing reports from BW

    Hi,
    I am facing some issues while publishing reports from BW system. I have taken care of all the settings mentioned in Integration Kit guide. We are using BOXI 3.1 SP3  OS:windows 2008 (64-bit)
    The error that we are getting is:
    "0000000001 An error occurred when retrieving the role metadata for YBW_BO_CONTENT_PUBLISHER. Returned with RFC code 18 and message: See RFC trace file or SAP system log for more details"
    I have enabled the trace also, still not able to find the root cause.
    Need help urgently. Thanks.
    Amit Tewatia

    Hi Startos,
    I have matched the auth. as per the admin guide, everything is fine with the role. I have checked the trace file logs, part of which is below:
    "Starting up callback server at 10.239.30.2 sapgw00 with prog-id SEGIDC8BBB5A3
    GetRfcHandle() returned with handle 0
    Connection cloning failed. Message: See RFC trace file or SAP system log for more details
    ERROR: .\job_defs.cpp 52: l_rfcDownloadRoleMdata failed with return code l_rcRfc = 18 Exception:
    Leaving job processor CPubJobGetRoleMetaData(YBW_BO_CONTENT_PUBLISHER)"
    No idea why it calling this IP. This is not the IP of our BW server. please suggest where to check for this.
    Regards,
    Amit

  • Print Message Report from Mobile

    Hello...
    We need modify standard mobile infrastructure java code...
    We need print some report from Mobile Front-end.
    Is possible to print all MESSAGE data that we can see from front-end of mobile infrastructure 2.5 ???
    thank you very much
    Stefano

    I haven't really done much enhancements on MAM 2.5, but Im sure sami will let you know where to add the code, or you can review the MAM enhancement guide on the CD.
    In regards to printing the PIOS API is pretty simple. If you are using a laptop to print to a normal printer then you can just use the Win32 Drivers..(installed via driver addon from web sap console.)If you are using the handheld you will need to find the appropriate drivers.
    Here is some code I used in one of my applications:
                   <i>Connector conn = Connector.getInstance();
                   DriverInfo[] driverInfo = conn.listDrivers(ConnectionType.PRINTER);
                   PrinterParameters params = new PrinterParameters(driverInfo[0]);
                   params.setPrinterMode(PrinterParameters.GRAPHIC_MODE);
                   GraphicPrinter gp = (GraphicPrinter) conn.open(params);
                   File myImage = new File("c:
    smalllogo.bmp");
                   if (myImage.exists()) {
                        float x = 0;
                        float y = 50;
                        try {
                             String[] sFonts =
                                  gp.getFontConfigurationManager().listFontNames();
                             PrinterFont pf = gp.getFont(sFonts[0]);
                             gp.drawText(
                                  pf,
                                  25,
                                  25,
                                  "TO For Delivery # = "
                                       + dbAccess.getItemFieldValue(arrayItems[0], "VBELN"),
                                  GraphicPrinter.NO_ROTATION);
                             for (i = 0; i < arrayItems.length; i++) {
                                  gp.drawText(
                                       pf,
                                       25,
                                       y,
                                       "Delivery Item # = "
                                            + dbAccess.getItemFieldValue(
                                                 arrayItems<i>,
                                                 "POSNR"),
                                       GraphicPrinter.NO_ROTATION);
                                  y = y + 10;
                                  gp.drawText(
                                       pf,
                                       25,
                                       y,
                                       "Material # = "
                                            + dbAccess.getItemFieldValue(
                                                 arrayItems<i>,
                                                 "MATNR"),
                                       GraphicPrinter.NO_ROTATION);
                                  y = y + 10;
                                  gp.drawText(
                                       pf,
                                       25,
                                       y,
                                       "Quantity to Pick = "
                                            + dbAccess.getItemFieldValue(
                                                 arrayItems<i>,
                                                 "LFIMG"),
                                       GraphicPrinter.NO_ROTATION);
                                  y = y + 25;
                   gp.doPrint(1);
                   gp.close();
              } catch (Throwable tFile) {
                   tFile.printStackTrace();
              }<i>
    This should give you an idea, you should also read through the MDK documentation for the printer API (PIOS). Its quite easy to pick up and as long as you have the driver and connector installed it prints right away.(You could also use the Peripheral emulator in
    NWDS to test the code first)
    Hope this helps,
    Wael..
    Dont forget the rewards
    Message was edited by: wael aoudi

  • Error while executing a report from Planning

    Hi,
    I've got this error message when I execute a report from Hyperion Planning (web) :
    "5200: Error executing query. [1106] Error : Class component property name invalid[DataType]"
    Can you help me please ?
    Thanks.
    Virgile.

    I am not sure about it. But i remember once running into a similar issue where i made some changes in the metadata or outline and few members were dropped from the hierarchy and it came up with this error at the time of running
    the report as my report was still trying to query the dropped members. But u said you have already checked and all your members are valid on the report. Is this happening with all the reports or just one. If its all the reports i would
    restart the BI+ reporting services and then try to run the reports!

  • Microsoft excel error while exporting a FRS report from Planning to excel

    I have multiple screen shots of the issue.
    are getting issues when within citrix trying to run an FRS report from workspace into excel.
    first they get a windows login window looking for credentials of a User name and a Password.
    the first error:
    "Could not open 'http:SERVERNAME:19000/hr/hrget/modules/com/hyperion/reporting/web/office/HROfficeReport.jsp/FOLDERNAMEandFILENAME.xls?format=excel.20028viewAs=excel&instanceId=11165278&previewDone=true'.
    second error:
    Microsoft Excel cannot access the file 'http:SERVERNAME:19000/hr/hrget/modules/com/hyperion/reporting/web/office/HROfficeReport.jsp/FOLDERNAMEandFILENAME.xls?format=excel.20028viewAs=excel&instanceId=11165278&previewDone=true'. There are several possible reasons:
    The file name or path does not exist.
    The file is being used by another person
    The workbook you are trying to save has the same name as a currently open workbook.
    Third error:
    The file you are trying to open, 'FILENAME.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file do you want to open the file now?
    yes , no, or help
    I am trying to figure out if its a CITRIX issue? An EPM issue? or what
    We have Office 2010 32 bit with smart view and excel add-in.
    Does anybody know why this may occur? I have screen shots I just don't know how to post them.

    When you export a FR report to excel, yes, you will get a prompt for credentials, but as said in 11.1.2 HFR guide, you have to ignore that by clicking "Cancel" and then you will get a second warning pop-up saying "The file you are trying to open, 'FILENAME.xls', is in a different format ........"... Click on "Yes"... you should be able to see the report in excel....
    Both these are known issues in HFR export to excel and you can find them in oracle features guide. And they are not related to Citrix.
    As in Oracle HFR user guide "When exporting a Financial Reporting document to a Microsoft Office format (Excel, Word or PowerPoint), when using Microsoft Office 2007, you may receive the following warning: "The file your are trying to open <filename>, is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?". This warning notifies users that, although the file has an Office extension ( ".xls", ".doc" or ".ppt"), the content of the file is different from the expected (native) Office format. Although Financial Reporting reports are generated in an MHTML format during export, this is not a security concern. Microsoft Office is just warning a user of a file format that is different than expected. Upon selecting “Yes” in the warning, the file will successfully open in Microsoft Office."
    Thanks,
    Siva

  • Error running reports from Crystal Server XI R2 with datasets

    Hi, sorry if my english is not good. I'm from Spain.
    I have a problem. I'm programming with Visual Basic .NET 2008.
    I'm using Crystal Reports Server and programming under Visual Basic to take reports from crystal Server, changing the tables from the report to datasets and scheduling this report.
    Crystal server change connections to CrystalReports.Dataset.
    Preview reports from server sends me an error "DataBase connector unknown"
    If I run this report (with datasets) into my VBNET application (into a  CrystalDecisions.Windows.Forms.CrystalReportViewer control), IT WORKS!!!
    I need help because I need to schedule these reports (to send them by email, export to PDF formats, ...)

    Reporting off of a dataset is reporting off of a disconnected datasource.  The reason your application works is beacuse you most likely populating a dataset in your application and passing it to the report at the same time.  When scheduling, there is no interaction with the report so unless the report is using an xml file on disk as its datasource, how can it retrieve data?
    To get around this, you can build a dll (.net data provider) that returns either a dataset or datatable and point your report to this dll.  this way, when the report is executed, it loads the dll which fetches the data for you.
    - so the first step is to compile a dll that returns a dataset or datatable.
    - to design your report off of this dll open the database expert and create a new ADO.NET connection.
    - in the File Path area, click the ellipsis ("...") button to browse to your dll and make sure the selected File Type is ".Net DataSet Provider".
    - once the dll is selected, you can choose the dataset/table returned by the dll.
    If your method in the dll is parameterized, it will add a parameter to the report (similar to stored procedure parameters.
    note: the location of your dll must be in the same path on the CR Server as it was when you designed your report in order for it to be loaded correctly.  I usually put the dll in a folder that I know will exist on both machines.
    Dan

Maybe you are looking for

  • Playing a video on the video out of my imac... it's possible ?

    Hello , it's possible sending a video on my iMAc video port that is connected to a LCD videoprojector ? I'd like to keep using my iMac while showing some video. I need some programs to do that ? thanks for help

  • New Mini and old wireless keyboard must be 1" apart?

    I just bought a brand new Mac Mini to replace older model of same. My old Apple wireless keyboard (probably 1st gen - the battery compartment is on the bottom) was working fine with old Mini, but with the new one, the keyboard loses connection unless

  • Playlist is out of order when syncing with iPod shuffle

    Hi All, I am having some trouble when syncing my iPod shuffle. I creted a custom playlist and I want to maintain the song order. However, when I synce with the shuffle, the song list is "re-organized" by alpabetlially by artist. Any ideas?

  • Solaris 10 SWAP limit?

    SCENARIO: installed solaris 10 on a IA32 system (pls see below for my computer specs), and during installation, i allocated 10GB for the swap slice. PROBLEM: when i do df -k and swap -s, these are the output (please see the swap part): df -k: Filesys

  • Next internal review date in status view

    Hi, Customer credit management transaction FD33, in status view, we have field "Next internal review". Can any one  let me know how this data is populated automatically. And how the documents will be selected for report "RVKRED08" Thanks Alokam Chand