Skip to Content
0

How to fetch custom field details using web service in SAP C4C?

Feb 21, 2017 at 06:26 PM

306

avatar image

Hi Experts,

I have Created one Custom Field name "Client Code" using KUT.

also assigned all query Customer In SERVICE tab.

and created communication arrangement for Query Customer Scenario and Downloaded WSDL file.

and created a customer with "Client Code".

The customer number generated is 10000014 and Client Code is KA0421

Now I have imported that WSDL in SOAP UI, and trying to fetch by customer no:10000014

But in response I am able to get all details of customer no:10000014 except Client Code : KA0421

Can anyone tell me how do I achieve this.

Thank you in Advance

Santosh K

+91-8867793338

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Horst Schaude
Feb 22, 2017 at 12:35 PM
0

Hello Santosh,

You need to add this field to the correct Extension Scenario via KUT.

HTH,
. Horst

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thank you Horst.

Its working fine.

But now I need to pass there custom fields as parameters in URL mashup.

I can only pass standard fields like ACCOUNT ID,NAME.

Can you suggest me how to I get this "client Code" custom field in Parameter binding.

Thank you

Santosh K

0

Hi Santosh,

To pass custom fields as parameters in a Mashup, you need to create your custom PTP(Port Type package) and Port binding. You can add your custom field in PTP and then pass it when you call a Mashup.

Refer this blog for more details

https://blogs.sap.com/2014/02/03/understanding-mashups/

Regards,

Abdul Rasheed

0