cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sending Hybris Orders to S4 in SALESORDER_CREATEFROMDAT204 type not compatible in S4 system

rahulverma94
Active Participant
0 Kudos
2,004

Hi Experts,

It looks like SALESORDER_CREATEFROMDAT204$E1SALESORDER_CREATEFROMDAT2 type of idoc from hybris to S4 via datahub is not supported in S4 system. I remember using it in SAP ERP system successfully in last implementation. Can someone plz help us to find an alternative solution to be able to post the SALESORDER_CREATEFROMDAT204$E1SALESORDER_CREATEFROMDAT2 idoc to S4?

Regards Rahul

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Order Range transaction KONK and Assignment VOV8

Order range assignment in S4 is not different from ERP.

you need to create 2 different order number ranges for your transaction. Range 1 and range 2

ex. range 1 : 1---> 100000 range 2 : 100001 ---> 200000

you can use transaction KONK to display the currently configures ranges with the corresponding intervals.

you can assign for your transaction type ZOR ("Document type") an external range and an internal range.

the reason you are using this is because if you create an order from S4 you don't want to clash with the order created from hybris (remember that hybris has it's own sequence for creating orders).

you can use transaction VOV8 to assign an external and an internal range.

best regards

ali

[1]: /storage/temp/11281-orader-range-assign.png

Answers (6)

Answers (6)

rahulverma94
Active Participant
0 Kudos

Hi ,

Agreed. Order number generation can be controlled in hybris to fall under a specific range. The range value should be communicated fro ERP system. Just got the confirmation that there is a different document type for hybris system and we will also be provided with the order number range for the system. Thanks for your response.

0 Kudos

Hi Rahul, In regards to the Order05, you can achieve your requirement by modifying the xsd. You can change the name of segment aswell. But remember its not a standard process. If your are sending Order05 you need to change the xsd and generate JAXB classes. You can generate the order range we have done it in our Project but don't know how its was done in SAP.

rahulverma94
Active Participant
0 Kudos

Hi ,

Does S4 generate the order id on its own while posting the sales order? Can we not have a number range for sales order defined in s4? Currently our s4 team says that it is not possible for s4 to accept any order id from hybris and we get below error in s4: External number assignment is not defined for document type ZOR.

Please help with your S4 knowledge.

Regards Rahul

Former Member
0 Kudos

Hello

Unfortunatly, we cannot use ORDERS05 for replicationg order creation data. ORDERS05 is already used for order cancellation.

The main reason, it complains for you for segments mismatch, is because your IDOC XSD structure might be different from the IDOC XSD structure we included in datahub extensions.

you can download SALESORDER_CREATEFROMDAT204.xsd from S4 by transaction WE60. and then compare it with the one included in datahub. if it's different, you might need to replace the one included in datahub with the one you just downloaded.

Best regards

ali

rahulverma94
Active Participant
0 Kudos

Hi ,

We are using datahub 6.7. Is there a possibility to send hybris orders as ORDERS05 idoc instead of SALESORDER_CREATEFROMDAT204$E1SALESORDER_CREATEFROMDAT2?

We have verified your logic and it works for us, however the S4 team says that SALESORDER_CREATEFROMDAT204$E1SALESORDER_CREATEFROMDAT2 might not be compatible for them. Not sure why!

Regards Rahul

Former Member
0 Kudos

Hi Rahul,

Which Hybris/Datahub version you are using ?

SALESORDER_CREATEFROMDAT204$E1SALESORDER_CREATEFROMDAT2 iDoc type should be supported for Hybris-S4Hana integration scenario. You can check it in saporder-target-datahub-extension.xml, there this iDoc type should be used to map it's corresponding segments under targetsystem as SapS4HanaSystem.

Thanks, Yaten