I’ve resolved this exact issue multiple times in cloud migrations. The error message is somewhat misleading - the partner profile exists, but the system can’t find it because of how cloud handles logical system resolution. Here’s the comprehensive solution:
1. Logical System Assignment Validation:
The cloud environment requires explicit logical system assignments at multiple levels. First, verify your own logical system:
Transaction: SALE -> Basic Settings -> Logical Systems
Define Logical System: Assign name and description
Assign Logical System to Client: Link to your client number
Then ensure BILL_SYS_01 is defined as a separate logical system entry, not just referenced in the partner profile.
2. Partner Profile Configuration (WE20):
The cloud version is stricter about partner profile hierarchy. You must configure:
- Partner type: LS (Logical System)
- Partner number: BILL_SYS_01 (must exactly match the logical system name)
- Under Outbound Parameters:
- Message type: ORDERS (not ORDERS05 - that’s the extension)
- Process code: ME10
- Output mode: Transfer IDoc Immediately (option 2)
- Basic type: ORDERS05 (specify the actual IDoc type here)
A critical cloud-specific requirement: The “Partner Role” field must be populated. Set it to “LS” explicitly - leaving it blank causes the profile lookup to fail even though the profile appears to exist.
3. IDoc Message Type Configuration:
Verify in transaction WE82 that ORDERS05 is properly linked to message type ORDERS. In cloud environments, custom message type extensions sometimes don’t get properly registered during system provisioning.
4. RFC Destination and Port Setup:
In SM59, ensure your RFC destination has these settings:
- Connection type: 3 (ABAP Connection) or T (TCP/IP) depending on target system
- In WE21, create a transactional RFC port pointing to this destination
- The port name in WE20 partner profile must exactly match the port name in WE21
5. Partner Determination in Sales Order:
This is often the actual root cause in cloud setups. The system creates the IDoc but can’t determine which partner profile to use. Configure:
- Transaction VOE2: Link partner function to logical system
- In the sales order document type configuration (VOV8), ensure output determination is active
- Check NACE for output type configuration - the output type must have partner function determination rules
6. Cloud-Specific Synchronization:
After configuration changes, cloud systems need explicit cache refresh:
Transaction: WE20
After saving partner profile changes:
Go to Environment -> Generate Partner Profiles
Then run transaction BD87 to reprocess stuck IDocs
7. Authorization Check:
Cloud environments enforce stricter IDoc authorization. Ensure the background user (typically SAP*/DDIC equivalent) has these authorization objects:
- S_IDOCDEFT: IDoc definition authorization
- S_ALE_ALL: ALE authorization for message types
- B_ALE_RECV: Authorization for partner profiles
Testing Approach:
Rather than waiting for orders to trigger IDocs, test immediately:
- Use WE19 to create a test IDoc with partner BILL_SYS_01 and message type ORDERS05
- If WE19 dispatch succeeds but automatic doesn’t, the issue is in output determination (NACE/VOE2)
- If WE19 also fails with the same error, the issue is in the partner profile setup itself
For your specific case with 50 orders daily stuck, I recommend running BD87 after implementing these fixes to reprocess the failed IDocs. The most common cloud-specific gotcha is the Partner Role field in WE20 - this field is optional in on-premise but effectively mandatory in cloud for logical system partners.