cancel
Showing results for 
Search instead for 
Did you mean: 

while posting IDOC from ECC to integration suite, we are getting 401 unauthorized error!

nnarayanarendra
Discoverer
0 Kudos

Hi Experts,

I have creating Outbound scenario, am getting 401 unauthorized error, while posting idoc from WE19, could any one know the issue?

below step i have been performed in ECC and IS:

  1. Configure RFC Destination:

    • In ECC, use transaction code SM59 to create an RFC destination that points to the Integration Suite system.
    • Provide the necessary connection details such as the hostname, system number, and client information.
  2. Define Port and Partner Profile:

    • In ECC, use transaction code WE21 to define an outbound port for the Integration Suite system.
    • Specify the RFC destination created in step 1 as the target.
    • Create a partner profile in ECC using transaction code WE20 for the Integration Suite system.
    • Assign the partner number and partner type to the partner profile.
  3. Configure Outbound Parameters:

    • In ECC, use transaction code WE20 to configure the outbound parameters for the desired IDoc message type.
    • Assign the function module and specify the output type for the IDoc.
  4. Trigger IDoc Outbound Processing:

    • Use transaction code BD10 or a custom program to trigger the outbound processing of the IDoc.
    • Provide the necessary IDoc number or selection criteria to select the IDocs for processing.
    • The outbound processing will send the selected IDocs to the Integration Suite through the configured RFC destination.
  5. Monitor IDoc Processing:

    • Use transaction code BD87 or transaction code WE02 to monitor the processing status of the IDocs.
    • Check the status of the IDocs to ensure successful transmission to the Integration Suite.

Accepted Solutions (0)

Answers (2)

Answers (2)

VijayKonam
Active Contributor
0 Kudos

You must maintain user id and password as well in the RFC destination. For S4 outbound nothing is needed on Cloud connector as you do not hit it at all.

nnarayanarendra
Discoverer
0 Kudos

Hi @Vijay,
Yes, i have already maintained credentials in SM59, connection test is working, but issue is in triggering idoc from we19.
Many thanks!

Rutuja_BTP
Explorer
0 Kudos

Have you added the Resources in SAP Cloud Connector?
This blog is helpful
https://sapzero2hero.com/2022/03/23/sap-cpi-how-to-trigger-idoc-from-cpi-to-sap-erp-using-basic-auth...

nnarayanarendra
Discoverer
0 Kudos

Hi @Rutuja,
Thanks for you response, am looking out for outbound one!
Many thanks!