Skip to Content
avatar image
Former Member

RFC connection between ECC6 and SCM7

Hi APO Gurus ūüėä

I am new to SAP APO field can Anybody help me..? how to set up RFC connection between ECC6 and SCM7 in detail.

Thanks in Advance

Sharanu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 22, 2014 at 03:33 AM

    Hi Sharunu,

    The RFC connection is used to build a connection between ECC and APO in both directions.

    Use t-code SM59 in both ECC and SCM and under ABAP connections, set up the RFC connection:

    In ECC:

    Select RFC destination as APO logical system name, enter SCM server address in the target host field. Then provide user id and password. This user must exist in SCM (dialog type) with full authorization (SAP_ALL). Generally BASIS team has this authorization.

    Similarly in APO:

    Select RFC destination as ECC logical system name, enter ECC server address in the target host field, provide userid and password. This user id must exist in ECC system with necessary authorizations.

    After the above set up is complete, click on the "connection test" to check if the RFC connection is working fine.

    Regards,

    Umesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sharanu,

      This is basically a BASIS team activity. As the BASIS team will have the server address and userid/pwd with necessary authorizations.

      Regards,

      Umesh

  • Jul 21, 2014 at 04:36 PM

    Hi Sharanu,

    Below you can see a sample code of a RFC connection between APO and ECC. The code is part of an APO program and it is getting the contect of table MARC.

    *******Trigger BAPI to get data from ECC********
    * Planning strategy group
            CALL FUNCTION 'RFC_READ_TABLE'
              DESTINATION x_zoukey1
              EXPORTING
                query_table          = 'MARC'
                delimiter            = ' '
                no_data              = ' '
                rowskips             = 0
                rowcount             = 1
              TABLES
                options              = ta_options
                fields               = ta_fields1
                data                 = ta_data1
              EXCEPTIONS
                table_not_available  = 1
                table_without_data   = 2
                option_not_valid     = 3
                field_not_valid      = 4
                not_authorized       = 5
                data_buffer_exceeded = 6
                OTHERS               = 7.


            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              WRITE: 'RFC Read Error'.
            ELSE.
              LOOP AT ta_data1 INTO wa_data1.
                zstrgr = wa_data1-wa.
              ENDLOOP.
            ENDIF.

    In this document you cann see the entire program:

    http://scn.sap.com/docs/DOC-56755

    Thanks and Regards,

    Mariano

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 23, 2014 at 06:16 AM

    Hi Sharanu,

    please hava a look at our configuration guides for

    SAP Demand and Supply Network Planning rapid-deployment solution

    SAP Global ATP Rapid Deployment Solution

    SAP Advanced Production Scheduling Rapid Deployment Solution

    the topic connection between ERP and SCM is described in this Building Block Configuration Guide:

    Settings for RFC Connectivity in SAP ERP (SCP)

    https://websmp104.sap-ag.de/~sapidb/012002523100005692562014E/SAP_BP/BBLibrary/Documentation/SCP_ERP607_BB_ConfigGuide_E…

    BR Frank

    Add comment
    10|10000 characters needed characters exceeded