cancel
Showing results for 
Search instead for 
Did you mean: 

No External ID for Sales Order after 'Sales Order Replication from C4C to S4 HANA'

juancarlos_camachogarduo
Active Participant
0 Kudos

Hello SAP Community!

We are facing an issue around the 'Sales Order Replication from C4C to S4 HANA', we are not getting the External ID after a Sales Order creation/replication from C4C to S4 Hana, the External ID field remains empty even when the Sales Order was successfully replicated in S4 Hana.

Please see the next image sequence.

ext-id-1.jpg

The 9000000209 Sales Order was created in C4C, the External ID field is empty.

ext-id-2.jpg

The inbound iDoc is processed successfully in S4 Hana

ext-id-3.jpg

Checking the VBAK table, the you are able to see the Sales Order code (External Id for C4C) and the Ref. doc (C4C Code)

ext-id-4.jpg

Just for testing purposes we execute the RCOD_SALES_ORDER_EXTRACT report (report to replicate the Sales Order that were created in S4 and you need to replicate to C4C)

ext-id-5.jpg

ext-id-6.jpg

*The outbound iDoc 0000000000009518 - COD_REPLICATE_SALES_ORDER was created

And just after the RCOD_SALES_ORDER_EXTRACT report execution we are able to see / replicate the External Id inC4C

ext-id-7.jpg

--------------------------

Our understanding is that the External Id should be replicated automatically to C4C just after the Sales Order creation from C4C to S4 Hana, but not sure,

How does this scenario work in S4 HANA? (not ERP)

Automatically or we need to execute regularly that report?

Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

ShivanandBH
Product and Topic Expert
Product and Topic Expert

Dear Juan Carlos Camacho Garduño,

The transfer status will be "In Process" until the confirmation comes back from S4. This confirmation is triggered via output type COD4. Since you are manually triggering RCOD_SALES_ORDER_EXTRACT to send Order replication to C4C, indirectly you are doing the same. COD4 basically triggers order replication IDoc to C4C, and once this message(CustomerOrderReplicationIn) is successfully processed in C4C ExternalID and Transfer status are updated.

So kindly configure COD4 output type for your Sales Order transaction type, this can be done in VV12 tcode.

I hope this helps.

Regards,

Shivanand B H

0 Kudos

Hi Shivanand,

We were able to replicate the order manually by triggering RCOD_SALES_ORDER_EXTRACT.

When we checked our S4 system we were not able to find COD4 that triggers order replications. Is this something different in S4 system? since we were able to find it in ECC.

If it is different how is it configured at S4.

Thanks and Regards,

Hari

ShivanandBH
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Hari,

May be the COD4 isnt copied yet from client 000.

Kindly go through below Wiki link,

https://wiki.scn.sap.com/wiki/display/ABAP/SAP+Customizing+Tools+-+frequently+asked+questions

Regards,

Shivanand B H

Answers (2)

Answers (2)

juancarlos_camachogarduo
Active Participant

Hello!

Just to share more details!

Something tricky about the Transfer Status in C4C, this Transfer Status remains in 'IN PROCESS' until you execute the RCOD_SALES_ORDER_EXTRACT to replicate the External ID for C4C.

Check the following sequence.

transfer-status1.jpg

The 9000000220 Sales Order was created in C4C and replicated to S4 HANA successfully,

The External ID is Empty and the Transfer Status is 'In Process' even when the Sales Order was replicated successfully.

transfer-status2.jpg

The Sales Doc. in S4 Hana is 454 and the Ref. doc is 9000000220 (C4C Code)

transfer-status3.jpg

Run the RCOD_SALES_ORDER_EXTRACT report for that specific Sales Order in S4 HANA (454)

transfer-status4.jpg

The External ID is replicated (454) and the 'Transfer Status' is FINISHED

It makes a little sense, but how does this 'Transfer Status' really work?

Thanks in advance!

simon_yang
Participant
0 Kudos

Hi Juan,

I got the same issue and I am using below integration flow, is this the correct one to replicate sales order from C4C to S4? And I did check I do have the value of reference object key in the IDOC but the value does not pass to the reference document in the VBAK table, do you have any idea?

Thank you!

juancarlos_camachogarduo
Active Participant
0 Kudos

Hello Simon!

Yes, the communication arrangement seems to be the right one, and if you are not getting the External ID, well try to execute manually the RCOD_SALES_ORDER_EXTRACT or config COD4 as indicated in the previous answer.

Regards!