on 07-21-2014 1:24 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
BR Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.