Calling a Report from one SAP system(4.7) to another SAP system(ECC6)

Hello Gurus,
Recently we have upgraded from 4.7 to ECC. While upgrading we were used one Z program to download the objects from 4.7 and used Z program to upload the objects into ECC.
Now we are planning to integrate Z program of 4.7 and Z program of ECC into one program in ECC. When we execute the program in ECC, system should call the program of 4.7 remotely and download the objects in ECC after providing the selections in selection screen and upload program take care as it is in ECC.
I am trying to use SUBMIT statement but I am not sure about the remote call. Could you please suggest on this.
If any one worked on this please suggest me.
In 4.7, the program is ZTOOL,
Thanks and Regards,
Muralikrishna Peravali

Hi Muralikrishna,
First of all, sorry for delayed reply, was quite busy this afternoon
But, let's see, only side you'll need to create RFC function module is target system (RFC) and at source system (ECC) you'll only need to call this function module defining your target system (see DESTINATION option for function module calls).
In this way you'd have following:
1 - program at ECC side that will call RFC function module (at 4.7 side)
2 - RFC function module at 4.7 side that will trigger (SUBMIT) target report, also in 4.7
3 - for last, your target report in 4.7
So, answering your question, it is possible to make your target report (3) to generate a file and download it at 4.7 side (application server or, locally, presentation server, whatever you pass as file path to RFC function module, and then and therefore to target program, as long as you have authorization to). In a simpler approach you'll call a program in a remote system (in your scenario that 4.7) making use of a RFC function module (also in 4.7) to allow you to. All started through a RFC call from a program in your source system (ECC).
Not sure my explanation was good enough, please let me know.
Regards,
Edgar

Similar Messages

  • Calling a report from a remote system

    Hello All,
    Any idea on this issue will be of great help.
    The scenario is like this.
    a. There are two SAP systems. SYS1 and SYS2.
    b. SYS2 has ALV reports which need to be executed from SYS1.
    c. I applied the following logic which successfully calls the report in SYS1 but does not show up in the ALV format.
    d. The following is the logic used.
    There is an RFC enabled function module in SYS2 that has the statement SUBMIT EXPORTING.... Within the same FM, the LIST_MEMORY imports the report contents. This FM since it is being called from SYS1, sends back the imported contents from SYS2 to SYS1.
    e. In SYS1, the WRITE_LIST is being used that prints the report.  BUT THIS SHOWS THE OUTPUT in the form of a normal report.
    My question is, how do I show the contents in the ALV format.
    Please note,, the reuse_alv..list..display FM cannot be used as the internal table that is imported in SYS1 has the data in the RAW format.
    Any help??/
    Thanks for your time

    Yes, you can do that using the RFC, but you won't be able to send any parameters thru the selection screen.
    report zrich_0003 no standard page heading.
    data: source type table of  PROGTAB with header line,
          output like listzeile occurs 10 with header line.
    call function 'RFC_ABAP_INSTALL_AND_RUN'
               destination <system_name>
             exporting
               mode                = space
               programname         = <the_program_name>
             tables
                program            = source
                writes             = output.
    loop at output.
      write:/ output.
    endloop.
    Regards,
    Rich Heilman
    Message was edited by: Rich Heilman

  • CALL a report from WDA using SUBMIT to sap-spool

    Hi,
    I need to call a report from one of the methods of a WDA application.
    The out of this report is a sapscript. I want show it in WDA (PDF).
    The report is called when a user clicks EXECUTE button.
    The piece of the code is:
      call function 'GET_PRINT_PARAMETERS'
        exporting
          immediately            = 'X'
          new_list_id            = 'X'
          no_dialog              = 'X'
          receiver               = sy-uname
          release                = 'X'
          sap_cover_page         = 'X'
        importing
          out_archive_parameters = t_arcpar
          out_parameters         = t_pripar
          valid                  = i_valid
        exceptions
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          others                 = 4.
          submit hbrcced0
                          with pnppernr-low eq i_pernr
                          with pnpbukrs-low eq t_p0001-bukrs
                          with pnpbegda     eq i_begda
                          with pnpendda     eq i_endda
                          with p_expot      eq ''
                          with ano          eq v_gjahr
                          with respcc       eq v_sachn
                         to sap-spool
                         spool   parameters t_pripar
                         archive parameters t_arcpar
                         without spool dynpro
                         and return.
        if sy-calld eq ''.
          message 'err' type 'E'.
        else.
    If i execute this code in WDA, the sy-calld never is equal 'X'.
    But if i execute it in program (SE38) the sy-calld is 'X'.
    How i can call the program 'hbrcced0' in WDA ?
    Cheers,
    Silvio Galery

    Hi Silvio,
    a submit REPORT to spool does work from WDA.
    ONLY when "and return" is used.
    You have that, so it should work.
    Note you had print immediate on, so it will be output on printer,
    and not available to read after the call.
    (which option was the keep after print?, I would have to check docu)
    The sy-calld will be set to X  inside the REPORT when it is running.
    After the submit has run back inside WDA it is of course reset to space again.
    Cheers
    Phil.

  • Can anyone give me step by step for calling FM from one SAP to another SAP

    can anyone give me step by step for calling FM from one SAP to another SAP
    points will be rewarded,
    thank you,
    Regards,
    Jagrut BharatKumar Shukla

    *& Report  RFC_FOR_CUSTOMER_LIST
    *& RFC to a Fn. module from another system which implements BAPI
    REPORT  rfc_for_customer_list.
    DATA:
      fl_status TYPE i.
    DATA:
      fs_message TYPE bapiret2.
    DATA:
      BEGIN OF fs_customers,
        id   TYPE s_customer,
        name TYPE s_custname,
      END OF fs_customers.
    DATA:
      t_customers LIKE
         STANDARD TABLE
               OF fs_customers.
    CALL FUNCTION 'Z_BAPI_GET_CUSTOMER_LIST' DESTINATION 'R3N'
      IMPORTING
        return = fs_message
      TABLES
        customerlist = t_customers.
    IF sy-subrc EQ 0.
      fl_status = 1.
      LOOP AT t_customers INTO fs_customers.
        WRITE:
          /10 fs_customers-id,
           30 fs_customers-name.
        AT LAST.
          WRITE:
            /,/5 'No of customers in R3N = ', sy-tabix.
        ENDAT.
      ENDLOOP.
    ELSE.
      MESSAGE 'RFC failed' TYPE 'S'.
      EXIT.
    ENDIF.
                           TOP-OF-PAGE EVENT                            *
    TOP-OF-PAGE.
      IF fl_status NE 0.
        WRITE:
          /12 'ID'   COLOR 6,
           32 'NAME' COLOR 6.
        SKIP.
      ENDIF.
    This is one small example...
    Regards,
    Pavan

  • Migrate Closed Sales Data from one SAP system to Other

    Hi,
    We have a requirement to migrate Closed Sales Order data from one SAP System to the New SAP system.
    Please share your thoughts on the considerations / DOs and Donts for such cases.
    Appreciate your response.
    Kind Regards,
    Tanuji

    Hi,
    If you want to migrate closed SOs..then first consider why? and from what date i.e how long back?
    Following are the considerations:
    1) You can't get the creation date same as your previous system dates--this might lead to incorrect reporting. So you'll have to check if its really worth?
    2) You might want to have a reference no somewhere in the new transactions from the previous system.
    3) If you want to migrate the deliveries, invoices then you've to consider also GL migration as well as payments.
    Regards,
    Raghu.

  • Need of XI to send an XML from one SAP system to another SAP system

    Dear colleagues,
    I work in the SRM solution.
    In SRM there is a Purchaser and Supplier scenario called Supplier Self Services.
    The Purchaser creates a Purchase order and sends it to the supplier in form of an XML file.
    The purchaser system and supplier system are the same SAP system but different clients.
    Example: Purchaser client is 300 and Supplier client is 330 and both of them are on the same system.
    I have a very basic question.
    Currently we have the XI system which acts as an interface to send the Purchaser PO XML to the Supplier as XML.
    a)My question is in case the XML structure is identical across both the clients, then what is the need of XI system?
    b) Is it not possible to send XML from one client to another without an XI system? there si no need of any message mapping required since I am expecting the same XML structure in both clients.
    Please clarify the need of XI system in the following scenario. Is it not possible without XI?
    Many thanks.
    Best regards,
    Srivatsa

    Hi Srivatsa,
        YOu can send the XML message from one sap system to another sap system even without an XI system in between.
    But the use of SAP XI (Or any other middleware) is recommended because, it gives you the following advantages.
    1) Better monitoring and alerting mechanism. XI provides you robust set of tools that let you monitor the status of the messages that are exchanged.
    2) Direct communication between systems is referred to as Point to Point communication, which has its own disadvantages as against Hub and SPoke model (Message exchange using XI).
    3) Message delivery is guaranteed if you have XI in between.
    If the target system is down, the sender sap system will not try multiple times to post the message.
    But if you use XI, it can be configured to send the message multiple times, till it succeeds.
    Regards,
    Ravi Kanth Talagana

  • Copy a program from one sap system to another

    hi all,
       i need to copy a program from one sap system to another..along with the text symbols, selection-texts and includes without any transport request release...how can i do that?
    thanx in adv

    Hi,
    You need to Download the Program first in to Local desktop then upload the same to another server, we can not move the code directly from a server to another server without a Transport request.
    but you can call the program from other server using RFC destination, create a RFC for that server and create a function module in the server which the program is there and use the SUBMIT statmet in that function module, then from the other server call this function module using RFC destination
    Regards
    Sudheer

  • Sending mail from one Sap system to another

    Hi all,
    plz explain me how can i send mail from one SAP system to other SAP system.
    Thanks in advance
    Venkat

    Hai Venkat
    Go through the following Code
    DATA: OBJPACK   LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
      DATA: OBJHEAD   LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
      DATA: OBJBIN    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
      DATA: OBJTXT    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
      DATA: RECLIST   LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
      DATA: DOC_CHNG  LIKE SODOCCHGI1.
      DATA: TAB_LINES LIKE SY-TABIX.
      DATA L_NUM(3).
    Creation of the document to be sent
    File Name
      DOC_CHNG-OBJ_NAME = 'SENDFILE'.
    Mail Subject
      DOC_CHNG-OBJ_DESCR = 'Delivered Mail'.
    Mail Contents
      OBJTXT = 'Object text'.
      APPEND OBJTXT.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ TABLE OBJTXT INDEX TAB_LINES.
      DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    Creation of the entry for the compressed document
      CLEAR OBJPACK-TRANSF_BIN.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM = 0.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM = TAB_LINES.
      OBJPACK-DOC_TYPE = 'RAW'.
      APPEND OBJPACK.
    Creation of the document attachment
      LOOP AT ITAB_DATA.
        CONCATENATE ITAB_DATA-PRODUCTOR
                    ITAB_DATA-VBELN
                    ITAB_DATA-POSNR
                    ITAB_DATA-MATNR INTO OBJBIN.
        APPEND OBJBIN.
      ENDLOOP.
      DESCRIBE TABLE OBJBIN LINES TAB_LINES.
      OBJHEAD = 'ORDERS'.
      APPEND OBJHEAD.
    Creation of the entry for the compressed attachment
      OBJPACK-TRANSF_BIN = 'X'.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM   = 1.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM   = TAB_LINES.
      OBJPACK-DOC_TYPE   = 'TXT'.
      OBJPACK-OBJ_NAME   = 'WEBSITE'.
      OBJPACK-OBJ_DESCR  = 'ORDERS.TXT'.
      OBJPACK-DOC_SIZE   = TAB_LINES * 255.
      APPEND OBJPACK.
    Completing the recipient list
    target recipent
      clear RECLIST.
      RECLIST-RECEIVER = '[email protected]'.
      RECLIST-EXPRESS  = 'X'.
      RECLIST-REC_TYPE = 'U'.
      APPEND RECLIST.
    copy recipents
      clear RECLIST.
      RECLIST-RECEIVER = '[email protected]'.
      RECLIST-EXPRESS  = 'X'.
      RECLIST-REC_TYPE = 'U'.
      RECLIST-COPY     = 'X'.
      APPEND RECLIST.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = DOC_CHNG
           TABLES
                PACKING_LIST               = OBJPACK
                OBJECT_HEADER              = OBJHEAD
                CONTENTS_BIN               = OBJBIN
                CONTENTS_TXT               = OBJTXT
                RECEIVERS                  = RECLIST
           EXCEPTIONS
                TOO_MANY_RECEIVERS         = 1
                DOCUMENT_NOT_SENT          = 2
                OPERATION_NO_AUTHORIZATION = 4
                OTHERS                     = 99.
    Thanks & regards
    Sreenivasulu P

  • Transferring Development from One SAP system to another?

    I was wondering if it was possible to transfer an entire Package or a Transport with its development contents from one SAP system to another?
    It would be preferred if the method doesn't require connectivity, like for example to be able to export everything in a package to an XML-file that could be imported into an empty package on another system.
    It would need to handle all development parts, such as Reports, Function Modules, Classes, Special Classes (such as Exception Classes), Shared Objects and Persistent Objects (Yes, I like objects ), Unit Tests, Data Dictionary definitions for tables, table types, structures, data elements and so forth.
    It this in any way possible?

    Hi
    I believe u can only create a request containing all abap object of the package: u can do it by SE80.
    After releasing the request u need to pick up the data file and the cofile and past these files to the target system.
    So u can add and then import the your request in the queue of the development of the target system by trx STMS.
    Probably u need to ask a little help to your basis in order to copy and past the files from and to SAP server (I don't know if you've the authorizations).
    The name of datafile is like D<request number>.<system id>
    and the path
    /usr/sap/trans/<SYSTEM ID>/data
    the cofile name is K<request number>.<system id>
    and the path
    /usr/sap/trans/<SYSTEM ID>/cofile
    Max

  • How to transfer JPG/JPEG from one SAP system to another?

    I am not sure this is something that is easily possible, if even possible, and can't find anything about it.
    Does anyone know how to transfer a picture (JPG/JPEG) from one SAP system to another (both 7.00+)? 
    Scenario would be something similar to uploading a photo into one SAP system, then having it pass it to a central SAP system.
    Any thoughts about how or if it is possible would be helpful.
    Thanks,
    Jake

    Hi,
    I can think about at least two ways. One way is using web services or RFC. You can create a RFC enabled FM which would return a string of bytes (type XSTRING) for some particular ID. It's pretty easy to expose RFC enabled FM as web service. Consuming web service from ABAP is easy as well. Another solution is using REST based interface. You would write a HTTP handler which would return a jpeg image for particular ID. For example URL would look like http://<hostname>/image/?id=ABC and client would just call GET request for this URL and response would contain jpeg image.
    Cheers

  • BI Reporting from one system for other countries

    Good Afternoon
    I need all the information I can get around doing reporting from one central BI (in SA) to different countries. The systems utilized in these countries are not SAP Systems and it seems that access to the specific systems may not be possible. Information around Project Management, hardware, access, IT Related issues etc will be highly appreciated.
    We will be on BI 7.0 in two months. (Currently on 3.0)
    Thanks in advance
    Cornelius Faurie

    Hi Cornelius,
    You can connect to any system using SAP BI. It is not necessary to have all ur heterogenous systems to be SAP. You can connect and get data from any non SAP in to ur BI. So that you can use all the features that a tipical Datawarehouse system Provides. But to get data from such number of hetergenous systems of different countries you have to wrok a lot for data extraction. ou can make use of severtal data retrival mechanisms that BI provides.
    For example please fo through these links which explains u how to get data from different systems:
    [http://help.sap.com/saphelp_nw70/helpdata/EN/e9/6bf2d90e533f409ee56d3f586c325a/content.htm]
    Revert back for further queries.
    Regards,
    Rajkandula

  • Sales Order from one SAP to another SAP system thru ALE

    I am trying to send a Sales order IDOC from one SAP system to another SAP system (basically from DEV to QAS). Will i be able to do this using ALE ? If so, how ? I don't want this Sales order to be posted as PO in QAS. I want it to stay as a sales order.

    hi,
    use BAPI SALESORDERCREATE
    ~linganna

  • CALL WEBI Report from SAP Portal

    Hi Experts,
    I need to call WEBI report from SAP Portal, is it possible?
    The submitted report will be opened in the same window?
    Kind Regads.

    Hi
    You can call SAP portal from WebI Report...
    insert blank cell in the report / or select the cell whaere do you want to in the report
    and then Right click and select hyper link.
    Enter the portal address
    It will be opened in the same or new window based on your settings.
    Target Window : New Window ..then it will open new window.

  • Loading two different SAP BW system from one SAP R/3

    Hi all,
    is it possible to load the data from one SAP R/3 4.7 to two different SAP BW systems in parallel?:
    A) BW 2.1C
    B) BW 3.5
    I mean not because R/3 has for example version of R/3 Plug-In which is compatible only to one R/3 Plug-In installed on BW side.
    Are there any other restrictions? Ar there any workarounds how to hande this situation?
    Thanks,
    m./

    Hi dear,
    I think you shouldn't have any problem!
    Look at OSS Note 775568 'Two and more BW systems against one OLTP system' to have more details...
    "R/3 has for example version of R/3 Plug-In which is compatible only to one R/3 Plug-In installed on BW side"...what's your plug-in version in R/3 ? I can't understand what do you mean with "R/3 Plug-In installed on BW side" !!!
    Hope it helps!
    Bye,
    Roberto
    ...and please don't forget to reward the answers...it's THE way to say thanks here, my dear colleague !

  • Migrate PY and TM cluster data from One SAP System to another

    Hi Experts,
    Could you please suggest me some options to migrate PY and TM cluster data from One SAP System to another? My requirement is to move all the cluster data (Active and Inactive ees).
    I see that PU12 is an option. Anybody used that to migrate between SAP systems. Please provide some details
    Points guaranteed
    I see that using PU12 you can export only PCL2 Clutsers. Are there any ways to move the other clusters like PCL4 ?

    Hi,
    As far as data transfer, If have all normal configuration settings in your targeted system you can use LSMW (Use T.code AS91 in LSMW for recording)  to transfer your data in your both cases.
    Hope it resolves your both the issues.
    Regards,
    Murali

Maybe you are looking for

  • Iphone 6 Plus Bend!

    Using Iphone 6 plus silver 16 GB as I used to use my iphone 5s but in this case it got bend in my pocket i gav a complaint no: 749623322 first they tried to help out to replace at free of cost as it was just a bent nor a scratch or a dent or a crack

  • How far can I upgrade OS from Snow Leopard before Adobe CS2 goes in the toilet?

    I have OSX 10.6.8 but I am getting messages from websites that my version of Safari is too old. So I thinking of updating as far as I can without having to buy all new software. And I really don't want to go up in a cloud if I can help it. I realize

  • IPod .m4v files improperly sized since upgrade

    Just allowed the iTunes-Quicktime update a few days ago. Purchased Quicktime Pro for producing iPod movies. I just export my full sized movies (640 X 426)to an iPod movie (.m4v) (320 X 240) File. This has worked for several months until the update. S

  • DVD-R larger than 4.7 GB?

    My first project compressed off of imovie at 15 frames/sec (quicktime movie settings.) Portions of the video were choppy because of the frame rate. But it did fit on my 4.7 GB DVD. Next I tried customized settings and did 24 frames/sec. The video cam

  • Premiere Pro CC not available despite updating to Yosemite

    I've just updated to Yosemite. I'd like to download Premiere Pro CC, which has been unavailable on the Adobe Application Manager. How do become able to download?