cancel
Showing results for 
Search instead for 
Did you mean: 

UDF field from SAP B1 not transferred to SAP CCO as expected

bikash_bansal
Advisor
Advisor
0 Kudos

Hello,

We have a UDF field in SAP BusinessOne, we get this field added in the payload for SAP Customer Checkout customer sync. However the value in this field is not visible after the synchronization.

The issue is explained in the below screenshots.

Best Regards,
SAP Customer Checkout

Accepted Solutions (1)

Accepted Solutions (1)

marcus_schmalz2
Participant
0 Kudos

Hi Bikash,

We solved this issue.

The mistake was to put the udfString1 field into the element CustomerMetaData. But the UDF elements must be placed into the parent element Customer.

Best regards,

Marcus

bikash_bansal
Advisor
Advisor
0 Kudos

Hi Marcus,

Exactly as you found out.
It should not be below CustomerMetaData but below Customer

Regards,
Bikash Bansal
Product Owner - SAP Customer Checkout

Answers (2)

Answers (2)

sven_berger
Discoverer
0 Kudos

Hi Bikash,


we had also change it to the adviced tag.

But it is not stored in the CCO.

Best regards,

Sven

bikash_bansal
Advisor
Advisor
0 Kudos

Hello,

In short instead of <KSCID>1234</KSCID> returned in the Customer Sync, it should be returned as <udfString1>1234</udfString1>.
Then SAP Customer Checkout will store it.
KSCID is just a human readable name used for displaying and search purpose.

More details.

Now let’s assume that we have 2 User Defined fields for Articles in SAP BusinessOne. These are Color and Size. Using the extension concept for SAP Business One Integration Framework service for SAP Customer Checkout integration, we can extend the SAP Business One Integration Framework Scenario step sap.POS.FetchMaterialList so that along with regular data we return data stored in the UDF color and size as udfString1 and udfString2. By doing this SAP Customer Checkout stores the Size and Color in the field udfString1 and udfString2. SAP Customer Checkout then provides you the possibility to display the field udfString1 and udfString2 in the User Interface with any human readable alias that you want to use. SAP Customer Checkout also provides you the possibility to search based on these fields etc. The same concept is also used in Business Partner. We can extend the SAP Business One Integration Framework Scenario step sap.POS.GetCustomerList so that along with regular data UDF data can be returned as udfString1 and udfString2 etc. It is then possible to see this data in SAP Customer Checkout UI and search based on it etc.

If your question in answered correctly, kindly select the answer as "Right Answer". This helps others to follow and easily locate answers.

Regards,
Bikash Bansal
Product Owner - SAP Customer Checkout