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

Integrate SAP Customer Checkout with S/4 Hana

2,738

I want to integrate customer checkout application with s/4 Hanna retail, already set up the login tab integration

options-> Integration.

I attached a image of configuration:

I setting the outbound profiles to generate customer when I run the program RWDPOSIN the idocs are created in a file in application server (path defined in port we21 partner profile outbound of store number).

I executed the the synchronization for Customers but the documents are not read.

I put the libraries sapidoc3.jar, sapjco3.dll and sapjco3.jar in path \cco\lib subfolder

I executed

%JAVA_HOME%\javaw.exe -cp C:\SapCustomerCheckout_2.0\env.jar com.sap.scco.ap.pos.i14y.ecc.tools.CFileReplicator "C:\IDoc\ReplicatorExample" 1001 7

in my customer checkout application but there is not connection and there is not log of error in connection. The Customer application has not option for test connection with ecc.

I dont Find the solution to read the idocs or test my connection beetween systems.

Help me.

Accepted Solutions (1)

Accepted Solutions (1)

harald_tebbe
Product and Topic Expert
Product and Topic Expert
0 Likes

For me it finally worked. I did the following:

  1. I changed in the header some strange formatting, see the pictures. I wonder why this look for your file like that.
  2. I replaced all the special characters e.g. é through e. Could be a bug on CCO side, I will check with our development.

After these changes, it worked.

Answers (12)

Answers (12)

0 Likes

Thanks Harald so much,

I can read the the XML file just deleting special characters áéíóú ñ and is important named the store with leading zeros in customer checkout.

Now the next step is send information from CCO application to S/4, I am researching how.

Best Regards.

Francisco Ramirez.

0 Likes
0 Likes

Sure Harald:

https://www.justbeamit.com/c7d2h

option2

https://wetransfer.com/downloads/3484e012ca2d6dfb9d642c58aaa7c45320200407182525/e6a51b807f3735d21401...

I cant upload files in XML or TXT format.

Thanks for your support.

Best Regards.

harald_tebbe
Product and Topic Expert
Product and Topic Expert
0 Likes

Sorry the downloadlink does not work.

harald_tebbe
Product and Topic Expert
Product and Topic Expert
0 Likes

Can you please attach such an IDOC File? Then probably I can have a check.

0 Likes

I created a folder in Server LINUX and Shared it to windows Server in Customer Checkout

I can see the files using File Explorer:

but When I Synch the Customer checkout ( idocs are initial load of customers) I cant view the customers and I dont find any Logs what is happening.

Best Regards.

harald_tebbe
Product and Topic Expert
Product and Topic Expert
0 Likes

CCO is reading the XML files directly from the file path. So the file path must be accessible with read/write permission from the operating system where CCO is running on.

In my case the ERP system is running on Linux and a SMB server is mapping the according folder to \\10.97.25.240\Share.

Please check again.

0 Likes

Above in the imagen in your configuration you are creating your idocs in

/vol/vol ERP/data/SHARE/CCO/ (POrt XML File WE21)

but in Customer Checkout in IDoc read location you put \\10.97.25.240\Share

I Put the same path in port we21 and IDoc read location customer Check out and after sync the customer (Idocs createad are customer) and the log file is empty (attached image)

Do we need to put the folder of shared type ?, to access but in theory with the user and data of sap logon should read it.

or ¿are you moving the files to other File server and sharing the Folder?

harald_tebbe
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Francisco,

before you start with the dispatcher you should check if CCO in general is able to read the Idocs. For this you have to configre the SAP ECC Integration settings accordingly and read the IDOCS from the share.

Then execute the article / customer sync and check if this works

Best regards, Harald.

0 Likes

Thanks Harald, I created the port in XML format:

I Executed the Program RWDPOSIN and the idocs in XML format were created:

now the next step is Dispatcher Applicatio?

I'm already searching for information

Regards.

harald_tebbe
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Francisco,

you have to create the port as XML-File and not as File. SAP CCO is reading the files only when they are in XML format. Please check.

In the next step we can discuss about the dispatcher application.

BR Harald

0 Likes

Hello Haral thanks for responding,

Yes I create the port in we21 but I understood that the port was type File:

I fill so the tab Status file with the same Path, the documentation mentions that the port was of type file I am going to change it to type XML file.

In WE20 I created the message in stores 1001 ( Store number)

The idoc are generated in the Path:

I Don't know how Customer Checkout Application get the file I put the same path of server in Integration Tab, but I don't see any attempt to connect to SAP or read to the route, maybe I don't Find how to launch the request from the customer Checkout.

Thanks for your support.

harald_tebbe
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

SAP Customer Checkout is able to read IDOC-XML file WP_PER01 for customer and WP_PLU02 for article. You have to configure the according port in ERP (TA WE20) as well as the Partner Profiles (TA WE21).

SAP CCO can read the IDOC files from the according file folder.

Best regards, Harald