Connecting SAP BI7.0 BW System(Target)  to SAP BI 3.1 System(Source)

Hi Gurus,
I need to connect existing SAP BW3.1 system(Source) to SAP BW 7.0 system (Target).I need to move all the existing data to target.
1.How data is transfered from source BW system to target in case of BW to BW?(Via Delta Queue etc....).
Is it same like connecting to R/3 system?
2.What would be the impact of connecting BW3.5 source system to target 7.0 system?
Can i use existing 7.0 datasource?
Thanks and Regards,
MuraliManohar.

1.How data is transfered from source BW system to target in case of BW to BW?(Via Delta Queue etc....).
Is it same like connecting to R/3 system?
You need to establish the connection - Source system tab -  under BI and  In 3.x system you have to export datasoure for all your targets(ods/cube) and then replicate them in 7.x
You can use 8ODS as datasource for your new targets in 7.x
There won;t be any delta queue
2.What would be the impact of connecting BW3.5 source system to target 7.0 system?
Can i use existing 7.0 datasource?
You can still use 7.xDS plus 8ods as DS to your targets
to get historical data we usually connect 3.x to 7.x

Similar Messages

  • Transport Groups: One Technical System targets two technical systems

    Hi guys,
    One question relating to transport groups.
    Is it possible to define for one technical system which belongs to one group, let's say DEV, two target Business Systems which belong to another group, let's say PRD?
    Meaning,
    Technical System XPTO targets:
       Group PRD   Tech System: XPTO2
       Group PRD   Tech System: XPTO3
    Thanks

    Hi VJ,
    Sorry, wrong word...I meant Tech System to 2 Tech Systems.
    Having DEV System targeted to QLD and PRD tech system which are on the same group.
    DEV Tech System targets to group
    Group PRD  : QLD Tech System
    Group PRD  : PRD Tech System

  • Connection from one PI 7.0 system to 2 SAP R/3 systems

    Hi XI Experts,
    There is a requirement as below:
    I am using PI 7.0 system. This system has to be connected to 2 R/3 systems paralelly. That means, one XI system should be connected to 2 R/3 systems. Request you to suggest the best possible ways to do make this happen.
    Please note that , PI system will have to connect to one 4.6C system(R/3) and one SAP ECC 6.0(R/3) system.
    Kindly advise.
    Regards,
    Subbu

    Hi
    Yes,you can integrate multiple sap systems with PI.
    1) Create a automatic Technical system for 4.6C system(R/3) using RZ70 in 4.6c...then create a business system for this.
    2) Create a automatic tecnical system in sld for SAP ECC 6.0(R/3) system using rz70 in ecc and create a business system for this.
    3) Also create TS & BS if any non sap applications are involved.
    use this Business systems as per the interface requirements for sender & receiver
    Regards
    Abhijit

  • Connecting an existing VC model to another SAP system

    Hello,
    Can anyone tell me how to connect an existing Visual composer model which resides on the VC Development system to different SAP System?
    Now the VC development system is connected to the DEV erp system (rfc, bapi etc.) and I wish to connect the same model to a different system (let's say QAS) for testing purposes.
    How can it be done without changing the VC model?
    Best Regards,
    Alla Shlafir

    Hi Alla,
    You should create a new destination (or system if it's a BI data service) that points to the other backend system. Once you see it in VC, you can use VC's alias manager dialog that lets you replace all of the data services' systems to another. You open this dialog by going to Tools-->Manage Services in VC.
    Regards,
    Netanel

  • Teradata and SAP BI7.3 Connection

    Hi experts,
    I have requirement to extract data from Teradata to SAP BI7.3, I have gone through some of the links in SDN which was suggest to go for UD connection with JDBC
    1.In SAP BI7.3 is there any other way of connecting Teradata ( As all links referred to old version i.e  BW3.5 and UD Connector)
    2.Does any body have step by step document,
    3.What are the Pros and Cons of using UD connector? Can I use DB connector ? and which is the best possible way to get data from Teradata.
    Thanks and regards
    Sri

    Hello
    You need to deploy the JDBC drivers for Teradata
    Once done you need to create a connection string in the Java stack under the Connector Container.
    There is a document available on the Teradata site with the complete steps.
    The procedure is same like for other databases. Follow that
    How to use the Teradata JDBC Driver with SAP
    Regards
    RB

  • How to connect one SAP system to Non-SAP system(Example:Window's7)?

    Hi Experts,
        In general, One SAP system can connect another SAP system through RFC.How to  connect One SAP system  to Non-SAP system(example:window's 7) and is it possible through RFC?
    Thanks and Regards,
    Nageswar

    Hello  Wolfgang Schaper,
    Thank you so much for quick response.
    As you told I am trying to work with BRFplus/DSM to call decision services from nonABAP systems,so I tried with RFC.But it is not possible as you told.
    Please give any solution Without using Web Services, is there any ways to connect from SAP system  with the Non-SAP Systems.

  • What is best way to connect a non-sap sys sending  xml idocs to SAP system

    Hi Can some one please guide as to what will be the best approach in connecting a NON SAP system to a SAP system.
    The non sap system should not be connected to access real time data,it does not support RFC,it can send data in IDOC xml format and i think in teaxt files also.Also I dont think there is any EDI subsystem in place.
    There has to be a periodic upload of material data from SAP /stock status/
    then there will be incoming data into SAP for sales order/purchase order etc
    What would be the best way to connect the two systems,IDOCs with partial EDI looks the best way ,but I am confused as to how will the XML IDOC be converted to normal IDOC and viceversa,how to handle the event triggering mechanism.
    If someone has experience in such a scenario ,please help.
    There is a option to update the database of the application through SQL also...

    Hi,
    Check this link.
    Web Services from Function Module
    it might help u.
    Thanks.

  • Connect two ECC systems with one SAP CRM 7.0

    Hi Gurus!
    I have to do a customizing for connect two ECC 6.0 and one SAP CRM 7.0, only I need the organizational structure from both systems and they need update when the structure from CRM has changes. The business partner goes to ECCs system by PI interfaces.
    Both organization models are different, so I have to maintain and update depending the changes in the business.
    But I don't know if this is possible, I don't know if we can do this by Middleware, ALE or PI.
    Can you please, give your oppinion about this topic?
    Best regards,
    Eugenia.-

    Hi Eugenia,
    Please see note 1084315 which descriibes the the multiple backend scenario.
    This should be relevant here.
    Best regards
    Christophe

  • Connect of 2 SAP BW systems to  one SAP Enterprise Portal

    Hi!
    I have 2 SAP BW systems that should be integrated into SAP Enterprise Portal.
    I currently have already one SAP system entry "SAP_BW" within SAP EP.
    Questions
    Is it possible to define second entry for second SAP BW system in order to use 2 SAP BW systems with one SAP EP in parallel?
    Where can I find appropriate documentation?
    Thank you very much!
    regards

    Hi,
    We have a pilot portal with BW DEV, QAS and PRD connected to it.  So it is possible.
    It may be more appropriate to post this in the portal forum to get expert advice.
    Mathew.

  • BI System copy: 2 SAP BW system should be connect to same R/3 system

    Hi!
    We have copy one SAP BW system SR1 to another SAP BW system SR2.
    SR1 was connected to SAP R/3 system R31.
    As consequence the new SAP BW system SR2 has also in RSA1 --> source system the entry of SAP R/3 system R31.
    We would like to restore the source connection in new SAP BW system SR2.
    By doing so a pop up comes up with decision to delete an existing connection R31<CLNT>XXX or not to delete this connection to the first BW System SR1.
    Question:
    Can 2 BW systems (SR1, SR2) be connected to the same SAP R/3 system (R31) and what should we do in this casee with pop up (delete or not delete the existing connection to the source BW System SR1)?
    Any helpful information will be very appreciated!

    HI
    > Can 2 BW systems (SR1, SR2) be connected to the same SAP R/3 system (R31)
    Why not? One R/3 system can be connected to many BI/BW system.
    > what should we do in this casee with pop up (delete or not delete the existing connection to the source BW System SR1)?
    This pop up is coming because you created your SR2 system as a copy of SR1 system. If you have access to your R/3 system, you can check in table RSBASIDOC there will be  only one entry R31CLNTXXX --- SR1CLNTXXX which is creating problem
    What you can do is to run one FM RSAP_BIW_DOSCONNECT ( in the new system) and delete the entry for R31CLNTXXX and SR1CLNTXXX. Then also delete some correspondign entries from EDP13, EDPP1 and EDP21. Then in the new system , from RSA1 create new connection. I Before creating the new source system connection, in your new BI system you can delete the RFC connection for the R/3 system from SM59. During creation of new connection this RFC will be generated once again automatically.  should work fine.
    Remember, DO NOT delete connection from RSA1 which in turn will delete all the dataSources.
    Please also follow SAP Note 886102 - System Landscape Copy for SAP BW and NW BI carefully before doing ANYTHING with RSBASIDOC.
    Regards
    Anindya
    Edited by: Anindya Bose on May 4, 2010 12:17 PM

  • Connect one SAP ECC 6.0 source system to 2 SAP BW system

    Hi!
    I copied SAP BW system (e.g. BW1 --> BW2).
    My source SAP BW system "BW1" was connected to SAP source system "MM5" (tcode RSA1).
    Now I would like to connect my new SAP BW system "BW2" also to this SAP source system "MM5".
    When I do so I get the following error:
    Connection cannot be used.
    Connection BA is used in the MM5:400
    source system as a connection BW1CLNT001 to BW
    Do you want to delete this connection in the source system?
    Question:
    Can one SAP ECC system be connected to 2 SAP BW system?
    If yes, what are the steps to do this?
    Thank you!

    Thank you very much!
    The question still is how to proceed with the following dialog screen/warning?
    Connection cannot be used.
    Connection BA is used in the MM5:400
    source system as a connection BW1CLNT001 to BW
    Do you want to delete this connection in the source system?
    YES or NO
    Thank you!

  • Connect BO to SAP-BW system without using SAP Intergation Kit.

    Hi All,
    How Could we connect and do reporting in BO from SAP system without installing SAP INTEGARTION KIT ??
    Like we could read data from Oracle by simply creating a Oracle connection in Desiger and all the tables are visible at universe level.
    Do we have any such metod where SAP INTEGRATION KIT NOT comes into picture. and we could either read SAP tables or cube at Designer level or at reportr level.
    DO We have any Guide or document or way were we would not use SAP INETGRATION KIT .
    Thanks !!

    Hi,
    Try this .. not sure i hope it will help
    http://edocs.bea.com/wls/docs90/jdbc_drivers/oracle.html
    http://support.businessobjects.com/documentation/product_guides/planningxir2/en/xir2_Oracle_Setup_Guide_for_BusinessObjects_Planning_11.20_en.pdf
    Regards
    Ashwin

  • Sap bi7 with MS Connector 1

    Hi All,
    I try to pull data from SAP BW through SSIS 2008.
    I already applied all the configuration requirements in Microsoft paper.
    I think something else should be configured on SAP BW but i have no idea what.
    Error : SYSTEM_FALIUR with function RSB_API_OHS_3RDPARTY_NOTIFY and target system MSSAPBI.
    Bean RSB_API_OHS_3RDPARTY_NOTIFY not found on host ty-stbd, Progid=TY-STBD0_PORTAL_TBD: Object notfound
    in the lookup of RSB_API
    Error while updating to taget Z101 (type Open Hub Destination)
    Excepation CX_RS_FAILED logged.
    please did someone find the answer (or an idea ) to resolve this problem in sap bi7?
    Thanks for all suggestions!
    NF

    Hi,
    I have the same requirement, my RFC connection also working fine.  Just to add, our SAP runs on Oracle on Unix Platform.
    and our SQLSERVER is for 2008 running on windows.
    Has any one got any idea about this issue?  I found a note, " 1585460 - Error when running DTP to 3rd party Open Hub Destination  ",
    which says to Implement the necessary function on the 3rd party tool.
    can someone Please help how to do that ?
    regards,
    Ahmed
    Edited by: Ahmed on Mar 6, 2012 1:41 PM

  • Send mail from SAP system to another SAP system

    Hello Xperts
    I need to send a mail from one SAP box (ECC) to another SAP box (SRM,CRM, EP etc). I know how to send mail from SAP to external address but unable to find the parameters in this case. Kindly help.
    thkx
    Prabhu
    PS: Kindly DONOT post on "How to send mail from SAP" as my questions is all abt how to send mail from one sap system to another sap system

    Hi
    To send mail Internally check this sample code it works fine this code was developed by me
    *& Report  ZMATURITYREPORT                                             *
    *&   Title - Maturity   report                                         *
    *&           ABAP/4 Consultant                                         *
    *& Name- Pavan Praveen Valluri Created on 26/07/2007                   *
    *& Module - FI                                                         *
    REPORT  ZMATURITYREPORT.
    tables: bseg.
    * SELECTION SCREEN---------------------------------------------------  *
    parameters: p_email type somlreci1-receiver default
    '@gujaratpetro.com'.
    * Data: p_email(25) type c value '[email protected]'.
    * END OF SELECTION SCREEN -------------------------------------------  *
    *----------DATA DECLARATION--------------------------------------------*
    data: it_message type standard table of solisti1 initial size 0
    with header line.
    data: it_message1 type standard table of solisti1 initial size 0
    with header line.
    data: it_message2(10) type N.
    data: it_message3 type standard table of solisti1 initial size 0
    with header line.
    data: it_message4 type standard table of solisti1 initial size 0
    with header line.
    data: it_attach type standard table of solisti1 initial size 0
    with header line.
    data: text(150).
    data: t_packing_list like sopcklsti1 occurs 0 with header line,
          t_contents like solisti1 occurs 0 with header line,
          t_receivers like somlreci1 occurs 0 with header line,
          t_attachment like solisti1 occurs 0 with header line,
          t_object_header like solisti1 occurs 0 with header line,
          w_cnt type i,
          w_sent_all(1) type c,
          w_doc_data like sodocchgi1,
          gd_error type sy-subrc,
          gd_reciever type sy-subrc.
    start-of-selection.
    data: lv_date type sy-datum.
    data: lv_date1 type sy-datum.
    data: lv_formatdate(10) type c.
    data: lv_formatdate1(10) type c.
    data: var1(4) type c,
    var2(2) type c,
    var3(2) type c.
    data: begin of int_bseg occurs 0,
        BELNR LIKE BSEG-BELNR,
        ZUONR LIKE BSEG-ZUONR,
        GJAHR LIKE BSEG-GJAHR,
        DMBTR LIKE BSEG-DMBTR,
        HKONT LIKE BSEG-HKONT,
    end of int_bseg.
    data: begin of int_SKAT occurs 0,
        TXT50 LIKE SKAT-TXT50,
        SAKNR LIKE SKAT-SAKNR,
        KTOPL LIKE SKAT-KTOPL,
    end of int_SKAT.
    data: begin of int_bkpf occurs 0,
          BELNR LIKE BKPF-BELNR,
          BUKRS LIKE BKPF-BUKRS,
          GJAHR LIKE BKPF-GJAHR,
          BUDAT  LIKE BKPF-BUDAT,
    end of int_BKPF.
    data: 2days_out type sy-datum.
    2days_out = sy-datum + 2.
    data: var4(4) type c,
    var5(2) type c,
    var6(2) type c.
    *-------- END OF DATA DECLARATION--------------------------------------*
    *--- CONCATENATING AND ARRANGING DATE ---------------------------------*
    lv_date = 2days_out.
    var1 = lv_date+(4).
    var2 = lv_date+4(2).
    var3 = lv_date+6(2).
    concatenate var3 var2 var1 into lv_formatdate separated by '.'.
    *--- END OF CONCATENATING AND ARRANGING DATE  -------------------------*
    *-------------------------SELECTION FOR BSEG---------------------------*
    select zuonr belnr bukrs GJAHR DMBTR HKONT from bseg into
    corresponding fields of  table int_bseg
    where bukrs = 'company name' and
          ZUONR = lv_formatdate.
    *--------------END OF SSELECTION FOR BSEG---------------------------   *
    *-------------------------SELECTION FOR BKPF---------------------------*
    select  BUDAT BUKRS BELNR GJAHR  from BKPF into
    corresponding fields of table int_BKPF
    where bukrs = 'company name'.
    append int_BKPF.
    *------------------END OF SELECTION FOR BKPF---------------------------*
    *-------------------------SELECTION FOR SKAT---------------------------*
    select SAKNR TXT50 from SKAT into
    corresponding fields of  table int_SKAT
    where KTOPL = 'company name'.
    *and      SAKNR = INT_BSEG-HKONT.
    APPEND INT_SKAT.
    *--------------END OF SSELECTION FOR SKAT---------------------------   *
    *-----------------POPULATING EMAIL SUBJECT ----------------------------*
    perform populate_email_message_body.
      perform send_file_as_email_attachment
      tables it_message
      it_attach
      using p_email
      'Maturity after 2 days'
      'XLS'
      'filename'
      changing gd_error
      gd_reciever.
    * Instructs mail send program for SAPCONNECT to send email(rsconn01)
      perform initiate_mail_execute_program.
    *endif.
    end-of-selection.
    *------------END OF POPULATING EMAIL SUBJECT --------------------------*
    *& Form SEND_FILE_AS_EMAIL_ATTACHMENT
    * Send email
    form send_file_as_email_attachment tables pit_message
    pit_attach
    using p_email
    p_mtitle
    p_format
    p_filename
    p_attdescription
    p_sender_address
    p_sender_addres_type
    changing p_error
    p_reciever.
      data: ld_error type sy-subrc,
      ld_reciever type sy-subrc,
      ld_mtitle like sodocchgi1-obj_descr,
      ld_email like somlreci1-receiver,
      ld_format type so_obj_tp ,
      ld_attdescription type so_obj_nam ,
      ld_attfilename type so_obj_des ,
      ld_sender_address like soextreci1-receiver,
      ld_sender_address_type like soextreci1-adr_typ,
      ld_receiver like sy-subrc.
      ld_email = p_email.
      ld_mtitle = p_mtitle.
      ld_format = p_format.
      ld_attdescription = p_attdescription.
      ld_attfilename = p_filename.
      ld_sender_address = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    * Fill the document data.
      w_doc_data-doc_size = 1.
    * Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    ** Fill the document data and get size of attachment
      clear w_doc_data.
      read table it_attach index w_cnt.
      w_doc_data-doc_size =
      ( w_cnt - 1 ) * 255 + strlen( it_attach ).
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      clear t_attachment.
      refresh t_attachment.
      t_attachment[] = pit_attach[].
    * Describe the body of the message
      clear t_packing_list.
      refresh t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      describe table it_message lines t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      append t_packing_list.
    * Add the recipients email address
      clear t_receivers.
      refresh t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      append t_receivers.
      call function 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data              = w_doc_data
          put_in_outbox              = 'X'
          sender_address             = ld_sender_address
          sender_address_type        = ld_sender_address_type
          commit_work                = 'X'
        IMPORTING
          sent_to_all                = w_sent_all
        TABLES
          object_header              = t_object_header
          packing_list               = t_packing_list
          contents_bin               = t_attachment
          contents_txt               = it_message
          receivers                  = t_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          others                     = 8.
    * Populate zerror return code
      ld_error = sy-subrc.
    * Populate zreceiver return code
      loop at t_receivers.
        ld_receiver = t_receivers-retrn_code.
      endloop.
    endform.                    "send_file_as_email_attachment
    *& Form INITIATE_MAIL_EXECUTE_PROGRAM
    * Instructs mail send program for SAPCONNECT to send email.
    form initiate_mail_execute_program.
      wait up to 2 seconds.
      if gd_error eq 0.
        submit rsconn01 with mode = 'INT'
                      with output = 'X'
                      and return.
      endif.
    endform.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    *& Form POPULATE_EMAIL_MESSAGE_BODY
    * Populate message body text
    form populate_email_message_body.
      refresh it_message.
      refresh it_message1.
      refresh it_message3.
       refresh it_message4.
    *--------------- LOOP FOR BSEG -----------------------------------------
      loop at int_BSEG.
    read table int_bKPF WITH KEY BELNR = INT_BSEG-BELNR
            GJAHR = INT_BSEG-GJAHR.
    read table int_SKAT WITH KEY SAKNR = INT_BSEG-HKONT.
    *---CHANGING DATE FORMAT FOR BKPF---------------------------------------
    lv_date1 = int_bkpf-budat.
      var4 = lv_date1+(4).
      var5 = lv_date1+4(2).
      var6 = lv_date1+6(2).
    concatenate var6 var5 var4 into lv_formatdate1 separated by '.'.
    *---END OF CHANGING DATE FORMAT FOR BKPF-------------------------
    it_message =  int_bseg-belnr.
    it_message1 =  lv_formatdate1.
    it_message2 = int_bseg-dmbtr.
    it_message3 = int_bseg-hkont.
    IT_MESSAGE4 = INT_SKAT-TXT50.
    SHIFT IT_MESSAGE2 LEFT DELETING LEADING '0'.
    *-------------POPULATING EMAIL BODY WITH DATA -------------------------
    concatenate 'Maturity After 2Days' 'for'  'G/L account-' it_message3
    '--' IT_MESSAGE4  ',' 'Amount-' it_message2
        into it_message separated by space.
    append it_message.
    append it_message1.
    append it_message3.
      clear it_message.
      clear it_message1.
      clear it_message2.
      clear it_message3.
    endloop.
    *------------END OF LOOP FOR BSEG --------------------------------------
    endform. " POPULATE_EMAIL_MESSAGE_BODY
    <b><i>
    To send an mail with external attachment check this one
    </b></i>
    <i>first create a Include report with the following coding</i>
    *& Include ZPA1_INCLFOR_MAIL *
    * Data
    DATA: docdata LIKE sodocchgi1,
    objpack LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
    objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
    objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objhex LIKE solix OCCURS 10 WITH HEADER LINE,
    reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
    DATA: tab_lines TYPE i,
    doc_size TYPE i,
    att_type LIKE soodk-objtp.
    DATA: listobject LIKE abaplist OCCURS 1 WITH HEADER LINE.
    * FORM
    FORM ml_customize USING objname objdesc.
    *----------- Clear Variables
    CLEAR docdata.
    REFRESH objpack.
    CLEAR objpack.
    REFRESH objhead.
    REFRESH objtxt.
    CLEAR objtxt.
    REFRESH objbin.
    CLEAR objbin.
    REFRESH objhex.
    CLEAR objhex.
    REFRESH reclist.
    CLEAR reclist.
    REFRESH listobject.
    CLEAR listobject.
    CLEAR tab_lines.
    CLEAR doc_size.
    CLEAR att_type.
    *--------- Set Variables
    docdata-obj_name = objname.
    docdata-obj_descr = objdesc.
    ENDFORM. "ml_customize
    * FORM
    FORM ml_addrecp USING preceiver prec_type.
    CLEAR reclist.
    reclist-receiver = preceiver.
    reclist-rec_type = prec_type.
    APPEND reclist.
    ENDFORM. "ml_customize
    * FORM
    FORM ml_addtxt USING ptxt.
    CLEAR objtxt.
    objtxt = ptxt.
    APPEND objtxt.
    ENDFORM. "ml_customize
    * FORM
    FORM ml_prepare USING bypassmemory whatatt_type whatname.
    IF bypassmemory = ''.
    *--------- Fetch List From Memory
    CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
    listobject = listobject
    EXCEPTIONS
    OTHERS = 1.
    IF sy-subrc <> 0.
    MESSAGE ID '61' TYPE 'E' NUMBER '731'
    WITH 'LIST_FROM_MEMORY'.
    ENDIF.
    CALL FUNCTION 'TABLE_COMPRESS'
    * IMPORTING
    * COMPRESSED_SIZE =
    TABLES
    in = listobject
    out = objbin
    EXCEPTIONS
    OTHERS = 1
    IF sy-subrc <> 0.
    MESSAGE ID '61' TYPE 'E' NUMBER '731'
    WITH 'TABLE_COMPRESS'.
    ENDIF.
    ENDIF.
    * Header Data
    * Already Done Thru FM
    * Main Text
    * Already Done Thru FM
    * Packing Info For Text Data
    DESCRIBE TABLE objtxt LINES tab_lines.
    READ TABLE objtxt INDEX tab_lines.
    docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    CLEAR objpack-transf_bin.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = 'TXT'.
    APPEND objpack.
    * Packing Info Attachment
    att_type = whatatt_type..
    DESCRIBE TABLE objbin LINES tab_lines.
    READ TABLE objbin INDEX tab_lines.
    objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = att_type.
    objpack-obj_name = 'ATTACHMENT'.
    objpack-obj_descr = whatname.
    APPEND objpack.
    * Receiver List
    * Already done thru fm
    ENDFORM. "ml_prepare
    * FORM
    FORM ml_dosend.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = docdata
    put_in_outbox = 'X'
    commit_work = 'X' "used from rel. 6.10
    * IMPORTING
    * SENT_TO_ALL =
    * NEW_OBJECT_ID =
    TABLES
    packing_list = objpack
    object_header = objhead
    contents_bin = objbin
    contents_txt = objtxt
    * CONTENTS_HEX = objhex
    * OBJECT_PARA =
    * object_parb =
    receivers = reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8
    IF sy-subrc <> 0.
    MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
    WITH docdata-obj_name.
    ENDIF.
    ENDFORM. "ml_customize
    * FORM
    FORM ml_spooltopdf USING whatspoolid.
    DATA : pdf LIKE tline OCCURS 0 WITH HEADER LINE.
    *-------------- Call Function
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
    EXPORTING
    src_spoolid = whatspoolid
    TABLES
    pdf = pdf
    EXCEPTIONS
    err_no_otf_spooljob = 1
    OTHERS = 12.
    *------------- Convert
    PERFORM doconv TABLES pdf objbin.
    ENDFORM. "ml_spooltopdf
    * FORM
    FORM doconv TABLES
    mypdf STRUCTURE tline
    outbin STRUCTURE solisti1.
    *-------- Data
    DATA : pos TYPE i.
    DATA : len TYPE i.
    *------------ Loop And Put Data
    LOOP AT mypdf.
    pos = 255 - len.
    IF pos > 134. "length of pdf_table
    pos = 134.
    ENDIF.
    outbin+len = mypdf(pos).
    len = len + pos.
    IF len = 255. "length of out (contents_bin)
    APPEND outbin.
    CLEAR: outbin, len.
    IF pos < 134.
    outbin = mypdf+pos.
    len = 134 - pos.
    ENDIF.
    ENDIF.
    ENDLOOP.
    IF len > 0.
    APPEND outbin.
    ENDIF.
    ENDFORM. "doconv
    <b>
    Then include that report in the following report and copy the same code and paste it there
    </b>
    *& Report ZPA_TEMP147 *
    REPORT ZPA_TEMP147 .
    INCLUDE zpa1_inclfor_mail.
    * DATA
    DATA : itab LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA : file_name TYPE string.
    data : path like PCFILE-PATH.
    data : extension(5) type c.
    data : name(100) type c.
    * SELECTION SCREEN
    PARAMETERS : receiver TYPE somlreci1-receiver lower case.
    PARAMETERS : p_file LIKE rlgrap-filename
    OBLIGATORY.
    * AT SELECTION SCREEN
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    CLEAR p_file.
    CALL FUNCTION 'F4_FILENAME'
    IMPORTING
    file_name = p_file.
    * START-OF-SELECTION
    START-OF-SELECTION.
    PERFORM ml_customize USING 'Tst' 'Testing'.
    PERFORM ml_addrecp USING receiver 'U'.
    PERFORM upl.
    PERFORM doconv TABLES itab objbin.
    PERFORM ml_prepare USING 'X' extension name.
    PERFORM ml_dosend.
    SUBMIT rsconn01
    WITH mode EQ 'INT'
    AND RETURN.
    * FORM
    FORM upl.
    file_name = p_file.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = file_name
    filetype = 'BIN'
    TABLES
    data_tab = itab
    EXCEPTIONS
    file_open_error = 1
    file_read_error = 2
    no_batch = 3
    gui_refuse_filetransfer = 4
    invalid_type = 5
    no_authority = 6
    unknown_error = 7
    bad_data_format = 8
    header_not_allowed = 9
    separator_not_allowed = 10
    header_too_long = 11
    unknown_dp_error = 12
    access_denied = 13
    dp_out_of_memory = 14
    disk_full = 15
    dp_timeout = 16
    OTHERS = 17.
    path = file_name.
    CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
    EXPORTING
    complete_filename = path
    * CHECK_DOS_FORMAT =
    IMPORTING
    * DRIVE =
    EXTENSION = extension
    NAME = name
    * NAME_WITH_EXT =
    * PATH =
    EXCEPTIONS
    INVALID_DRIVE = 1
    INVALID_EXTENSION = 2
    INVALID_NAME = 3
    INVALID_PATH = 4
    OTHERS = 5
    ENDFORM. "upl
    <b>These are the FM for sending external email :-</b>
    SO_DOCUMENT_SEND_API1
    SAPoffice: Send new document with attachments via RFC
    SO_NEW_DOCUMENT_ATT_SEND_API1
    (In 4.6C only, You can go to SE37 and click the documentation on how to use it. A sample program is provided there.)
    SAPoffice: Send new document with attachments via RFC
    Note : If you are using FM SO_NEW_DOCUMENT_ATT_SEND_API1 then Export Parameter DOCUMENT_DATA-OBJ_DESCR contains the Subject.
    SO_NEW_DOCUMENT_SEND_API1
    SAPoffice: Send new document
    <b>Check this sample report</b>
    DATA : BEGIN OF ITAB OCCURS 0,
    PERNR LIKE PA0001-PERNR,
    ENAME LIKE PA0001-ENAME,
    END OF ITAB.
    DATA: message_content LIKE soli OCCURS 10 WITH HEADER LINE,
    receiver_list LIKE soos1 OCCURS 5 WITH HEADER LINE,
    packing_list LIKE soxpl OCCURS 2 WITH HEADER LINE,
    listobject LIKE abaplist OCCURS 10,
    compressed_attachment LIKE soli OCCURS 100 WITH HEADER LINE,
    w_object_hd_change LIKE sood1,
    compressed_size LIKE sy-index.
    START-OF-SELECTION.
    SELECT PERNR ENAME
    INTO CORRESPONDING FIELDS OF TABLE ITAB
    FROM PA0001
    WHERE PERNR < 50.
    LOOP AT ITAB.
    WRITE :/02 SY-VLINE , ITAB-PERNR, 15 SY-VLINE , ITAB-ENAME, 50
    SY-VLINE.
    ENDLOOP.
    * Receivers
    receiver_list-recextnam = '[email protected]'. "-->
    * EMAIL ADDRESS
    RECEIVER_list-RECESC = 'E'. "<-
    RECEIVER_list-SNDART = 'INT'."<-
    RECEIVER_list-SNDPRI = '1'."<-
    APPEND receiver_list.
    * General data
    w_object_hd_change-objla = sy-langu.
    w_object_hd_change-objnam = 'Object name'.
    w_object_hd_change-objsns = 'P'.
    * Mail subject
    w_object_hd_change-objdes = 'Message subject'.
    * Mail body
    APPEND 'Message content' TO message_content.
    * Attachment
    CALL FUNCTION 'SAVE_LIST'
    EXPORTING
    list_index = '0'
    TABLES
    listobject = listobject.
    CALL FUNCTION 'TABLE_COMPRESS'
    IMPORTING
    compressed_size = compressed_size
    TABLES
    in = listobject
    out = compressed_attachment.
    DESCRIBE TABLE compressed_attachment.
    CLEAR packing_list.
    packing_list-transf_bin = 'X'.
    packing_list-head_start = 0.
    packing_list-head_num = 0.
    packing_list-body_start = 1.
    packing_list-body_num = sy-tfill.
    packing_list-objtp = 'ALI'.
    packing_list-objnam = 'Object name'.
    packing_list-objdes = 'Attachment description'.
    packing_list-objlen = compressed_size.
    APPEND packing_list.
    CALL FUNCTION 'SO_OBJECT_SEND'
    EXPORTING
    object_hd_change = w_object_hd_change
    object_type = 'RAW'
    owner = sy-uname
    TABLES
    objcont = message_content
    receivers = receiver_list
    packing_list = packing_list
    att_cont = compressed_attachment.
    <b>Settings for sending mail</b>
    Configuring SAP 4.6x Internet mail Gateway
    SAP can be configured to send and receive emails from different sources.This section explains how to integrate SAPOffice with an external emailsystem. Your Internet email must be configured and running prior to this.Email from SAP is forwarded to the users external email system..
    You can configure inbound and outbound forwarding. Outbound flow forwardsa SAP message (eg: update termination) via UNIX sendmail to the intended recepient. Inbound accepts a message from sendmail and places it in the users SAPOffice inbox. Many companies prefer to configure outbound only.
    Configuring outbound forwarding
    SAP configuration
    1. Create your RFC destination for outbound email using transaction SM59
    RFC Destination : SAP_INTERNET_GATEWAY
    Connection Type : T
    Description : SAP internet mail gateway
    Click on 'Explicit Host' if you wanton demand gateway dameon invocation.
    Program : /sapmnt/SID/exe/mlunxsnd
    Target Host : Enter hostname that runs your central instance.
    Click 'Test Connection' and you should seea successfull message.
    2. Shared Office Settings transaction SO16-> Send -> Settings or
    directly via transaction SCOT- SAPconnect Administation
    Nodes - Create
    Node : IMAIL
    Description : SAP internet mail gateway
    RFC Destination : SAP_INTERNET_GATEWAY
    Tick : Internet
    Address Area : *
    Tick : All formats
    Dev. type : Choose an approciate Printer Device
    Set further addresstype : N
    Maximum waiting timefor repeat send attempt procedure : Blank or decide for yourself
    Tick : Node is ready for use
    Setting
    - DefaultDomain : <your company domain>.com
    - Conversionrule : require if your communication device only support one format.
    e.g. if you email system only support the format RAW (ASCII text format)
    Format To Format Ranking Function module
    ALI RAW 1 SX_OBJECT_CONVERT_ALI_RAW (convert APAP List)
    Referto note 171698 - SAPconnect: Formats, conversion, device type
    UNIX configuration
    1 .. cd /sapmnt/SID/exe
    2 ..csh
    ..mlsomadm mailgw.ini
    System Name [C11] :
    Client [000] :
    Username : MAILADM
    Password : MAILADM
    Language : E
    Load Balancing :
    Hostname : <hostname>
    System number : <instance_number>
    Gateway hostname: <central_instance_hostname>
    Gateway Service : <instance number>
    Use SAP Router :
    Trace level :
    Sendmail Command [/usr/lib/sendmail -i -f<SENDER_ADDRESS>]:
    Codepage [ISO-8859-1] :
    Trace Level (Outbound) [0] :
    Update file sapmailsid.cfg? [Y]
    Testing whether your configuration is successful
    1. Logon to SAP
    2. Execute transaction SO01
    3. Write a message and send it to <your_internet_email_address>
    4. If you don't see the mail in your internet mailbox, go back and review steps 1-12
    Schedule the SAP Internet Mail Gateway Jobs to start every 5 minutes
    1. Create
    2. Position your cursor at INT
    3. Click Schedule and supply the date and time
    4. Click Schedule periodically and tick Minutes and type in 5
    5. Click Create and you are done
    6. Click Show Scheduling to check
    Problems that you might encounter :-
    If you have set up a node in SCOT and it tests out well but recieve the reply.
    "Cannot process message in node, parameterscannot be converted".
    Make sure the RFC connection is working, and that SapConnect has been installed on the Unix Server or the Microsoft Exchange Server. Originally, I had the same error, and found that nothing had been installed on Unixor Exchange, to support SapConnect.
    In SCOT (View -> System Status), your mail remains at the Intransit column.
    Check you sendmail.cf files (e.g.Sun Solaris /etc/mail/sendmail.cf). Try using the sendmail command to send a test file at the Unix level. You must be able to send mail at theUnix level before you can send mail at the SAP level.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/700b405bacdd5fe10000000a155106/content.htm
    http://www.tamboly.com/SAPEmailConfiguration.html
    Check my previous links
    Mail Send
    sending mails from abap program
    Mail Sending to external email id's
    settings needed for sending emails
    Regards
    Pavan

  • B.O. XI 31 with SAP Bi7 question,

    Hello again experts,
    First I so sorry about my sully question.
    I've installed B.O. XI 3.1 on Windows 2008 Server 64 bits. I use WebSphere 6.1 for the WAS. Everything is OK.
    Now I would like to connect B.O. with my SAP Bi7 server. I think, in a fist time, I need the SAP Integration Kit. Then, I've copied two dll files (librfc32.rfc and sapjco3.dll) into the folder:
    "C:\Windows\SysWOW64".
    I've copied too the file sapjco3.jar into this folder:
    "D:\"My_own_inst_dir"\WebSphere\AppServer\shared\lib"(I'm not sur that the correct folder).
    After those thing I do ... nothing because I lost. I relaunch the B.O. setup and choose modify but there is nothing new.
    Somebody could help me ?
    Thank you in advance !

    First thx for yours reply !
    I placed the dll files into "Windwos\system32" directory of my system.
    I use this doc for help me to connect BO and BW:
    http://help.sap.com/businessobject/product_guides/boexir2/en/xir2_sap_install_win_en.pdf
    But one thing that I don't understand in the chapter 2, page 25, where can I find the setup of BusinessObjects XI Integration Kit for SAP ? I've only 3 CD, one for the installation of BO Entreprise, one the client tools and the last is BO Tracker.
    Thx in advance for yours help !

Maybe you are looking for

  • How can I assign an icon to a folder using Powershell?

    How can I assign an icon to a folder using Powershell?

  • Still problems with Apache and cgi

    I thought it was the "admin" vs "staff", but that isn't the problem. I switched everything to staff but the scripts that weren't working still aren't. I've checked everything out that I can see (basically the ls -l listing) and I cannot see anything

  • Can not creat Ratings in Mini Bridge

    I checked mode and they are in filmstrip. I tried all the other modes with the same result. One other thing is the mini bridge icon does not appear automatically with the pallets. I have to go to the file menu and open it. It does show the file names

  • Macro for same level of Drill down - Data in different grids

    Dear Team We have two characateristics of product - Product Line & Parent product Line. I have created a planning book with two girds - What I want is, in the first grid - The Revised plan for the PL (Product Line) = Forecast Share of PL  * Planned P

  • Need to get data for month entered in  user prompt to prior 12months.

    Hi, I have a report where i need to display total amount for current month  to prior  12 months data...first column will be current month, second column is (current month-1),3rd col: (current month-2)....( current month-12). Is there any way I could