Replicating Price data for a product in Hybris
In this blog, we are going to insert price data for a product.
All we need here are Connection from SAP to Hybris, a product in Hybris for which we are allocating price.
You might have already know how to create a connection from sap to hybris. If not, follow the link.
LINK: https://blogs.sap.com/2017/03/24/sap-integrationsystem-configurations/
Go through the above link and create RFC connection in SAP and as well as HYBRIS.
Now let’s start replicating PRICE.
Step 1:
Create a Model View for Prices Replication in BD64 T-CODE.
Step 2:
Add a message type “COND_A” to the model view.
Click on tick mark.
Step 3:
Open transaction WE20 and click on outbound parameter entry tab.
Step 4:
Give message type as COND_A, receiver port which you have created, and check transfer idoc immediately and give a basic type.
Step 5:
We will add price using T CODE VK13. Type pr00 in condition type and select key combination. Now a popup will appear, select Material with release status and click on Okay.
Step 6:
Select the material and click on save.
Step 7:
Go to VK13 and now select Condition information.
Step 8:
The following screen will appear, enter the data and click on execute.
Step 9:
Below data will be seen on the screen, tick any one of the check box shown and click on send condition
Now it will ask for the logical system and fill the same.
Step 10:
After clicking on the tick mark, you will be shown a message saying that idoc has been created.
Step 11:
That’s it. Data is replicated. Now go check in HMC.
Open HMC. expand CATLOG->PRODUCTS->then the respective material number(2933)
Click on the material number and then go to PRICE tab.
Price data is successfully replicated
Hello Vamsi,
The Price is not getting replicated for me. I ave followed the same steps. The error in Idoc is Error passing to the port. Can you help me understand if any more settings need to be made?
Though i am able to transfer customer and General product data. Kindly assist
We wrote a program that sends new records & delta idocs to commerce. Works fine.
Issue is occasionally pricing team will load wrong data on price changes. Customer 1 material A price 100 for 1/1/2022 - 12/31/9999. They identify an issue and load Customer 1 material A price 101 for same 1/1/2022 - 12/31/9999. Doing this in VK11 SAP will present a message pricing ignores " errors as a result of overlapping validity periods" but the issue this causes for commerce is SAP deletes the data in the A table (for us is table A502) Why KONH & KONP will have KNUMH entries for both prices, only the 2nd KNUMH condition will exist in A 502 table.
This means we can not send the delta record to commerce as part of the COND_A idoc and we end up with 2 condition records in commerce for customer 1 and material A with the same validity period.
B/c of the volume of records, pricing team is not taking time to realize wrong entry created and using VK12 to correct the entry.
I am not sure of the SAP message " errors as a result of overlapping validity periods" but I think I would like to make this a hard error.
Trying to see if anyone else has experienced similar issue is the pricing deltas to Hybris commerce.
Glenn