Quantcast
Channel: SCN: Message List - Service-Oriented Architecture (SOA) and SAP
Viewing all 1056 articles
Browse latest View live

Re: Pass Data with Tags in Web Service Field - Consuming WS


Consume Web service in ABAP

$
0
0

Hi All,

         I have one scenario..Our client is using AMT software..I have created one RFC Function Module and developed Webservice for that Function Module..I have created service consumer also..In SOAMANAGER I have created one logical port..I want to know that when client access webservice and send data to web service then How I access those data in sap abap..Where I have to write the code???This code will automatically trigger and return a result data to client  through webservice...Please help..

Re: Consume Web service in ABAP

$
0
0

You developed a function module and created a service consumer ?

 

it should be a service provider in soamanager if you are the one who exposes SAP functionality through a webservice based on your function module.

 

If you want to call a webservice outside SAP from your client in ABAP then you will need to create a consumer in soamanager from the wsdl provided by your client and implement the generated proxy in your abap code

Error in Integration with PI system

$
0
0

Hi All,

 

With the help of below blog we had successfully created one PI connection with our SAP system.

 

http://scn.sap.com/people/sandro.garofano2/blog/2009/09/02/connect-sap-application-system-to-multiple-sap-pi-integration-server--variant-n-1Hi All,

 

the connection was working fine and every things looks to be ok untill we upgraded our system to EHP7.

 

Now we are getting the error as INTERFACE_REGISTRATION_ERROR.

 

Any idea why it would happen?

 

We have checked following

1) All the RFC's of type H and T are correct

2) Tcode SPROXY is cheched and all implementing class are standard and correct

 

After a lot of debussing I could find that the method GET_URL_OF_IS of class CL_XMS_PLSRV_IE_ADAPTER is missing in the implementing class LCL_UTIL, and I also observed that this is one of the important method for connecting to multiple PI systems.

 

Any idea if how to resolve this?

 

Regards,

Umesh Chaudhari

Re: Consume Web service in ABAP

$
0
0

Hi Peter,

Actually the scenario is that,this is the integration between AMT s/w and SAP..The client's has AMT..They have pressed the button(Create Work Order) in AMT,which is web based..After that automatically a Plant Maintenance Work Order will be created in SAP..This purpose will be solved through Web Service..They have given me the the XML data which I have to consume from SAP side..

 

I have done the following steps..

1.First I have developed a RFC function module..Then I have created Web Service from that function module.

2.Then I have created service in SOAMANAGER..Then copy the service WSDL URL from overview tab..

3.Then I have created Service Consumer..tick the radio button external WSDL..Then paste the WSDL URL copied from SOAMANAGER..Then I have activated the Service Consumer..Direction is created OUTBOUND..Here Proxy name is shown in Service consumer..I didn't find where in the proxy class I have to write the code..Also please tell me the how to consume the XML data to ABAP  for creation of PM maintenance Order..They will give the detail of data for create the PM maintenance Order.

 

4. At last I have created Logical Port For Consumer Proxy which has the configuration type "WSDL Based Configuration" and WSDL base is "Via HTTP Access"..Then also put the WSDL URL and user id and password..

 

When the client will press the button "Create WO" in their AMT S/W then a XML data will send to Web service and I have to capture this data automatically in SAP and process these data and create PM maintenance Work Order and send the No. Of PM work Order to AMT side...

 

These total process will be automatically..

Please tell me what step I have skipped to achieve this Interface...

If you demonstrate me step by step then It will be very helpful for me...

Please help...

Step by step configure interface in through Web service

$
0
0

Hi everybody,

Actually the scenario is that,this is the integration between AMT s/w and SAP..The client's has AMT..They have pressed the button(Create Work Order) in AMT,which is web based..After that automatically a Plant Maintenance Work Order will be created in SAP..This purpose will be solved through Web Service..They have given me the the XML data which I have to consume from SAP side..

 

 

I have done the following steps..

1.First I have developed a RFC function module..Then I have created Web Service from that function module.

2.Then I have created service in SOAMANAGER..Then copy the service WSDL URL from overview tab..

3.Then I have created Service Consumer..tick the radio button external WSDL..Then paste the WSDL URL copied from SOAMANAGER..Then I have activated the Service Consumer..Direction is created OUTBOUND..Here Proxy name is shown in Service consumer..I didn't find where in the proxy class I have to write the code..Also please tell me the how to consume the XML data to ABAP  for creation of PM maintenance Order..They will give the detail of data for create the PM maintenance Order.

 

 

4. At last I have created Logical Port For Consumer Proxy which has the configuration type "WSDL Based Configuration" and WSDL base is "Via HTTP Access"..Then also put the WSDL URL and user id and password..

 

 

When the client will press the button "Create WO" in their AMT S/W then a XML data will send to Web service and I have to capture this data automatically in SAP and process these data and create PM maintenance Work Order and send the No. Of PM work Order to AMT side...

 

 

These total process will be automatically..

Please tell me what step I have skipped to achieve this Interface...

If you demonstrate me step by step then It will be very helpful for me...

Please help...

SOAMANAGER Version?

$
0
0

Hi experts,

 

 

I need to update the version of the SOAMANAGER transaction in a project I am currently in,  and I have no idea about the corresponding SP or note I may need to apply.

 

 

 

The client has an SAP ECC 6.0, with SAP_BASIS 701 Lvl 0012, PI_BASIS 701 Lvl 0010, ST-A/PI 01Q_700 Lvl 002.

 

 

 

I am attaching an image of how the SOAMANAGER looks right now ( top image), and the tiles I am missing ( red square, image below).

 

 

 

Any help would be appreciated.

 

 

 

Thanks in advance.

 

 

 

Gina M. Ramírez

Re: Consume Web service in ABAP

$
0
0

In AMT is the push a button which needs to lead to a PM order in SAP.

 

In that case AMT is the consumer and SAP is the provider (service). So instead of creating a consumer proxy in soamanager you need to create a service/endpoint in soamanager.

 

The RFC function module (if no BAPI exist already, I think there is) is the abap code that creates the order after the web service call.

 

So create or find this function module/BAPI. Create a webservice out of this function module and configure the service in SOAMANGER (AS a service/endpoint NOT as a consumer proxy).

 

Now send the wsdl from soamanager to AMT so they can implement the webservice call.

 

That is it.

 

Peter


Re: Step by step configure interface in through Web service

$
0
0

Hello Debdatta,

 

If i got your scenario correctly , you don't need step 3 and 4 (Consumer proxy).

 

Since processing(create Order) is taking place at SAP end, you need to create a RFC with proper import/export parameter and create service for that.

 

Then AMT will consume the WSDL generated for above service and call the service from their end.

Re: Consume Web service in ABAP

$
0
0

Hi Peter,

             I have already created service in SOAMANAGER..I want to know that when I consume the WSDL data in the form of XML,then how can I transform it in ABAP??

 

Also please tell me that Can I develop the code for consume XML data and then put these data into BAPI and create PM Work Order in the RFC which I have created..Or I have to write the code in Proxy class...

Re: Step by step configure interface in through Web service

$
0
0

Hi Jetendra,

                 But how can I consume the XML data from WSDL...here the client send me lot of data for creating PM Work Order..So,Where I have to write the code..

Re: Step by step configure interface in through Web service

$
0
0

Hello,

 

But how can I consume the XML data from WSDL...

You don't need to consume xml data from WSDL. It will be automatic process.

 

 

Where I have to write the code..

Once AMT consume the web service and calls it, SAP will receive a service call then it calls the corresponding FM, so whatever logic is written in FM that will be executed and results will be returned to service back.

Re: Step by step configure interface in through Web service

$
0
0

Hi Jitendra,

                Can I use Z RFC Function Module???I want to use BAPI BAPI_ALM_ORDER_MAINTAIN

from that Z function module..I have to pass IT_HEADER,IT_OPERATION and IT_COMPONENT..How Can I write the code??Because this is my first time I am using Interface..What will be the code??Please write...

Re: Consume Web service in ABAP

$
0
0

Hi Debdatta,

 

I am a bit confused right now. The function module that you say you have created should be the function module that creates the order. So all code is in there.

 

Once you have created  a webservice out of this function module and configured an endpoint (so NOT a consumer proxy !!!!!!!) you are basically finished.

 

You give the wsdl from soamanager to the counterpart (AMT) so they now how and where to call the SAP service.

 

There is nothing else for you to do. There is no proxy to call because you (SAP) are the service provider.

 

If you need to call a webservice from abap then you would create a consumer proxy and need to call this proxy in your abap code, but that is not the case in your scenario.

 

I hope I have been clear. Please read my posts carefully, because by your responses it looks to me that you do not know what to do.

 

You say they have given you the xml data which you need to consume, but that is wrong.  You need to give them the wsdl because you are the service provider since you are creating a work order in SAP. There is nothing to give by AMT. You are the leading party and need to give them the wsdl.

Re: Step by step configure interface in through Web service

$
0
0

Debdatta,

 

Why are you creating the same message / question three times ?

 

I have given you the answer twice already in the other post about this subject. Please follow my guidelines.


Re: Consume Web service in ABAP

$
0
0

Hi Peter,

             Thanks.

Re: Step by step configure interface in through Web service

$
0
0

Hi Peter,

             I don't know how to use BAPI BAPI_ALM_ORDER_MAINTAIN..Please guide me...

Re: Step by step configure interface in through Web service

GATP using ES for portal

$
0
0

Hello Experts,

 

I'm new to SAP SOA/ES workplace. I'm working on functional side of SCM APO GATP. I need to know about GATP check from an external (non-SAP) portal.

 

We have external online portal from which customer places orders. We want to link it with GATP to have online check of the products availability and the date. As of now this portal is linked with the ECC and an order placed on the portal gets created as Sales Order in ECC upon saving. (GATP is in place for background check in ECC while creation of Sales order). Stock update is done manually on the portal.

One of senior guided to use ATP related ES bundle for 'Check Requirements_V1' function. We just want to check for availability and not reservation from Portal. Also, using BAPI apoatpcheck call was suggested.

However, I'm not much aware of ES and how to go about and implement the given functionality & enhancement in the ES.

 

Can you please share your experiences and suggest how to implement it?

We are using SCM 7.0. Do we necessarily need to consult SAP?

 

Thanks for your help!

AP.

Activation of Statndard Enterprise Services

$
0
0

There is a requirement from my client to activate Standard HCM Enterprises Services and use them as a Web link to access the ECC system, without intervention of PI. Following is what we are looking at;

 

1)   1)  How do we activate all the enterprise services available under “Employee” Business Objects in the ES Workplace.

 

2)   2)  Can the Enterprise Services after activation be used to transmit ECC system data or receive data from other system, without using any Interfacing tool(for example PI)

 

3)   3) After activation of standard Enterprise services, how do we use these services to fetch data from ECC and then pass those data to third party in the form of URL Link & XML file – without using PI

 

4)   4) Can we create a “http” or “https” link and use the standard Enterprise Services to fetch ECC data? If yes, how do we do it?

 

An

AnAny document on the above requirement will of great help.

 

A

Viewing all 1056 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>