cancel
Showing results for 
Search instead for 
Did you mean: 

Extension of the Webservices ManageSupplierIn/QuerySupplierIn

Former Member
0 Kudos

Hello there,

I am not able to extend the webservice ManageSupplierIn (not diplayed under "further usage) - Neither through ByD Studio (not displayed in ProcessExtensionScenario) nor through the Key User Tools. The same problem for QuerySupplierIn Why????

Does anyone knows how the communication arrangement for this webservice is called? I need to configure the legitimation data for querying suppliers.

Otherwise, I am told in SOAP UI that my Authorization Role is missing.

Best Regards and Thanks!

Rufat Gadirov

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rufat Gadirov,

If you set up a communication arrangement, then you need to use the user id and password configured in communication arrangement. Not the business user/technical user.

Thanks & Regards,

Hari

Former Member
0 Kudos

Hi Hari,

yes, that´s right but how can I setup a communication arrangement if there is not one for ManageSupplierIn/QuerySupplierIn?

Best Regards,

Rufat

Former Member
0 Kudos

Hi Rufat,

In SDK, create a new communication scenario. In the wizard, select the web services you want to use in the scenario. Once created, in runtime, create a new communication arrangement and select the newly created scenario in the first step.

Thats it!

Best regards,

Hari

Former Member
0 Kudos

Hi Hari,

that´s confusing. I don´t understand why I should use the SDK in order to create a communication arrangement for a SAP Standard Webservice. I didn´t know this approach. Yet, now I am a step further. Thank you!

And what about the extension?? The Webservice ManageSupplierIn still doesn´t appear under further usage. Only the webservice Manage/QueryCustomerIn(Screenshot).

Best Regards,

Rufat

SAPjedi
Contributor
0 Kudos

I followed Hari's suggestion.  My findings are (based on my 1302 tenant):

- Be sure to use Application-to-Application type for the Comm Scenario

- You can only add ManageSupplierIn webservices. 

- Adding QuerySupplierIn will give you a Studio error and ungraceful exit from the wizard.  The error is that this QuerySupplierIn is NOT released in the PSM.

So the SDK approach works half-way.

@Hari - please find out how we can get an official Comm Scenario. 

I did get an email about that the add-on Addon_MasterData_MaintInt can provide this, but the approval process seems to be delayed.  Hari, can you confirm ?

Former Member
0 Kudos

I have one question here.

Are you not able to assign QuerySupplierIn in different communication scenario and then configure an arrangement for it?

The trick here is Standard webservices are nothing without Communication Scenarios.

So, SAP gives the list of released webservices to its customers but not the scenarios so that they can be bought from SAP Store.

Some of them are already available in Store. But, partners are enabled to create communication scenarios of release std. webservices.

Former Member
0 Kudos

That's because Communication Arrangement should be created based on a communication scenario which can't be created without studio.

May be you can use some help documents about setting arrangements before starting up any of your processes.

Former Member
0 Kudos

Hello Srivatsava and Tim,

I have already created a communication scenario (Application Integration, not B2B) for ManageSupplierIn and QuerySupplierIn with the help of ByD Studio. I have activated the scenario in Business byDesign. My only problem is the extension of these Webservices.

After extension of the UI of the supplier UI with new fields (Workcenter: Business Partner Data Management), they don´t appear in the extension scenarios as you can see in the Screenshot.

Only the Webservices ManageCustomerIn and QueryCustomerIn appear.

Best Regards and thanks,

Rufat Gadirov

Former Member
0 Kudos

I tried creating a process extension scenario for ManageSupplierIn but I don't see it enabled even in PDI too..

Not all webservices are enabled for extension by default.

Similarly, I think this might not have been enabled for extension.

Former Member
0 Kudos

Ok, but why the decision by SAP not to enable it? It doesn´t make sense to me. It is a standard webservice and should be extensible. I create my own webservice via sdk but unfortunately it has less elements than the original one (eg. paymentData is missing).

Is there a possibility to request the enablement for extensions? Nobody in the cloud support has been able to answer to my incident.

Best Regards,

Rufat Gadirov

Former Member
0 Kudos

Actually, its not a question of just webservice but lot of other features are yet to be released by SAP.

Even if some are released, partners are not enabled to use them...

Reasons for restriction can be anything...

They might be working on that and so they couldn't allow the public usage on that object.

OR

say, they might think that it may be too sensitive for a partner to handle coz partner actions can disturb any erp process....

OR

can be something else....

But, there is always a provision to request SAP with valid business use case so that they might consider releasing it on seeing its importance in market operations and demand.

Who knows? If your use case is so strong, then, your today's request may help lot of partners in their future projects.

Former Member
0 Kudos

@Tim Chang: I really dont know how to get a standard comm. scenario and about the addon you said. But when you have PDI access, then you can manage to create your own scenario like what Rufat did.

@All: I was able to successfully call the ManageCustomerIn web service without any comm. scenario. Just used a business user with proper WC rights. Thats it. It worked like a charm. But for this ManageSupplierIn I get authorization role missing error if i use business user. Dont know why.

So in short, we cant easily say that always a comm. scenario is needed to execute the standard web services.

SAPjedi
Contributor
0 Kudos

My PDI / 1302 STudio did allow me to pick Query SupplierIn but it gave me an error saying the Query was not in PSM.  Then the wizard had an Exception error.  I suppose I will have to request opening that up.

Were you able to create this Comm Scen. all way with the QuerySupplierIn ?  What FP version are you using, if so?

Former Member
0 Kudos

Considering a std. webservice, authorisation role can be defined on relevant std. wc view...

Like how you tried with CustomerIn webservice which has Customer wc view as auth view here.

It cant be true on all the std. webservices though.

But, the thing is, these definitions are not published anywhere to avoid the exposure of business user credentials to outer world.

A webservice should be called by a technical user.

I don't think that's a legitimate try but still a good experiment though.

Former Member
0 Kudos

This was a very helpful response! Thank you very much!

FYI:

I have been forced to create a communication scenario and use the communication user for the WebServices QueryCustomerIn and QuerySupplierIn. Otherwise, I get the error you mentioned above.

But I have been able to use my business user to create/update customers and suppliers via the Webservices ManageCustomerIn/ManageSupplierIn.

At that time, there hasn´t been a communication scenario created...

Former Member
0 Kudos

Just tried in FP 1302. It is allowing me to create a scenario

Can you provide a screenshot?

Former Member
0 Kudos

You will get the error what Tim said, at the final step after clicking on Finish.

Tim was right. It is not PSM enabled.

Former Member
0 Kudos

Hi Rufat,

Below is the link of a blog post on PSM by

http://scn.sap.com/community/cloud/blog/2012/11/26/sap-business-bydesign-public-solution-model-polic...

It also has this link How can I request release of PSM business content?

Hope this helps you if you want to request PSM release.

Former Member
0 Kudos

Oops. Yes. I didnt click on finish Because some wizards will let us know if its enabled for PSM before proceeding to final step. Nevertheless, still wonder why it was throwing that error. Weird!!!

Because, I could able to create a comm. scenario (this time clicked on finish ) and activate successfully in FP4.0. Also the documentation of QuerySupplierIn says its released (of course we cant believe the docs provided by SAP sometimes).

@Tim: May be you can also create a incident for this and let us know what is the update

Former Member
0 Kudos

I too find things weird to see this way...

Things which work in 4.0 stops working in 1302.

Frustrating developer at the end!

Former Member
0 Kudos

Hi Hari,

yes, thanks, I´ve already read Zinow´s Blog. I am going to request a PSM release.

In the meantime, I´ve created my own Webservice based on the Supplier BO with extended fields.

And it doesn´t work.And if it doesn´t work for me then it doesn´t work for anybody. If this is an error/a bug I can forward it directly to SAP. But I have to be sure that it is not my own fault.

By trying to create a supplier, I get the response that the Business Partner category does not exist; use 1,2 or 3. But, there is not such an element BusinessPartnerCategory in the WSDL-Original-Structure. This is my request:

  <BasicMessageHeader/>

         <Supplier>

            <CurrentCommon>

               <AgentNoText>121412</AgentNoText>

               <BPMIdText>231414</BPMIdText>

               <VMNoText>41421</VMNoText>

            </CurrentCommon>

            <CurrentBusinessCharacters>

               <VendorIndicator>true</VendorIndicator>

            </CurrentBusinessCharacters>

            <ABCClassifications>

               <SupplierABCClassificationCode>A</SupplierABCClassificationCode>

            </ABCClassifications>

            <AddressInformation>

               <Address ActionCode="01" OrganisationNameListCompleteTransmissionIndicator="true">

                  <TypeCode>1</TypeCode>

                  <ID>ADGEN100163E03782C1EE2A1B5766A7F6BDE98</ID>

                  <OrganisationName ActionCode="01">

                     <AddressRepresentationCode>K</AddressRepresentationCode>

                     <Name>

                        <FirstLineName>Fritz</FirstLineName>

                        <SecondLineName>Kaiser</SecondLineName>

                     </Name>

                  </OrganisationName>

               </Address>

            </AddressInformation>

         </Supplier>


Former Member
0 Kudos
Former Member
0 Kudos

I have also a problem to update existing suppliers (filling in the extension fields). I get the message that the key is missing as you can see here:

But which key? I have provided the UUID and tried it also with the InternalID of the supplier.

Answers (0)