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

How to validate if C4C user requesting External Pricing or any other SAP services, exists in ERP/S4

DhruvinM
Participant
0 Likes
291

Hi All,

A very simple question, We would like to check if the user requesting S4/ERP pricing do exist in ERP system.

The reason is we have integrated both system using our nonSAP MW, IS there any thing we can do to check if the user exist in S4?

saurabhkabra2009 , anant.acharya : can u please help me in this to avoid any license violation?

BR

Dhruvin

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member226
Employee
Employee
0 Likes

Hello,

If it is a business user that you want to validate if exists in S/4 hana or not then it could be fairly simple. You need to deifne a Communication Arrangement in S/4 SAP_COM_0093. This provides you a SOAP endpoint where you can simply query the data with SOAP XML.

E.g.: https://<S/4 Host>/sap/bc/srt/scs_ext/sap/querybusinessuserin

A Sample XML would look like this:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:aba="http://sap.com/xi/ABA">
   <soapenv:Header/>
   <soapenv:Body>
      <aba:BusinessUserSimpleByElementsQuery_sync>
         <BusinessUser>
            <UserIDInterval>
               <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>
               <LowerBoundaryUserID>CB9980000012</LowerBoundaryUserID>
            </UserIDInterval>
         </BusinessUser>
         <QueryProcessingConditions>
            <QueryHitsUnlimitedIndicator>false</QueryHitsUnlimitedIndicator>
         </QueryProcessingConditions>
      </aba:BusinessUserSimpleByElementsQuery_sync>
   </soapenv:Body>
</soapenv:Envelope>

However, if you want to validate technical/communication users then I am not aware of any existing API that can get such information. (In S/4 cloud Landscape)

In case it is an OnPrem system then a SOAP Web service or OData can be exposed to achieve your use case.

DhruvinM
Participant
0 Likes

Hi Saurabh,

Thanks for the answer but querybusinessuserin this API than needs to be created as Communication arrangment in C4C and than i have to validate as per you suggested but isnt it whole custom solution?

Is there no standard approach for this? Usually both being SAP systems, How will licensing model works?

and In my S4 Prcing Communication arrangement we have used technical user.

I hope i am clear!

BR

Dhruvin

former_member226
Employee
Employee
0 Likes

Hello Dhruvin,

No, querybusinessuserin is not from C4C but from S/4. To be honest, after your last comment I am a bit lost about what you want to do here? Could you eloborate a little bit one more time?

BR

DhruvinM
Participant
0 Likes

Hi Saurabh,

Sorry for confusion.

Look We have Sales Quote in C4C,where we use S4 Functions like Pricing, Quote to Order and Print Preview.

I would like to know the user invoking this services from C4C is also a valid user in SAP. I am looking for a Standard solution for this.

BR

Dhruvin

former_member226
Employee
Employee
0 Likes

Thanks Dhruvin! Got it now 😉 I think there is no standard solution which can validate if user triggering the service call from C4C to S4 is a valid one or not. In most of the case when integration developer configures the iflow then it is assumed that calling user is a valid one but in case this does work then you need to build a customer solution as mentioned in my first answer using comm arrangement 0093 at S4 side.