Quantcast
Channel: SCN: Message List - SAP Gateway
Viewing all 6105 articles
Browse latest View live

Re: SAP Netweaver Gateway Deployment


Re: Error Connecting Gateway from ECC

$
0
0

Hi Rajesh,

 

Yes, As suggested Derek in the target system must have Auth S_RFCACL.


Thanks,

Syam

Re: Max File Size for OData Stream

$
0
0

Thank you guys,

 

its just strange that no proper error message is set.

The only thing I can see is that the connection is refused.

 

Regards,

Juri

Re: How to bind several structures in Gateway Service class?

$
0
0

Hi Ashwin,

 

This error has been fixed and I can get Token now, but there is another error message below displayed when doing batch as below.

 

  • The specified HTTP method is not allowed for the resource identified by the Data Service Request URI
  • Status Code: 405 Method Not Allowed

ff.png

The BODY is as below:

 

--batch

Content-Type: application/http

Content-Transfer-Encoding: binary

Accept: application/xml

GET MonitorActivityList/?$filter=sign_object_id%20eq%20'I'and%20option_object_id%20eq%20'EQ'and%20low_object_id%20eq%20'230431' HTTP/1.1

--batch

Content-Type: application/http

Content-Transfer-Encoding: binary

Accept: application/jsonxml

GET MonitorActivityList/?$filter=sign_object_id%20eq%20'I'and%20option_object_id%20eq%20'EQ'and%20low_object_id%20eq%20'193626' HTTP/1.1

--batch--

 

 

Kind Regards

Andie

Re: How to bind several structures in Gateway Service class?

$
0
0

Hello Andie,

 

The error is because you are using GET method .

Please change the Method to POST and add $batch at the end of the URL as below.

 

Andie_POST.png

 

Kindly be careful with the spaces in the Payload.

Please use the below payload.

 

--batch

Content-Type: application/http

Content-Transfer-Encoding: binary

Accept: application/xml

 

GET MonitorActivityList/?$filter=sign_object_id%20eq%20'I'and%20option_object_id%20eq%20'EQ'and%20low_object_id%20eq%20'230431' HTTP/1.1

 

--batch

Content-Type: application/http

Content-Transfer-Encoding: binary

Accept: application/xml


GET MonitorActivityList/?$filter=sign_object_id%20eq%20'I'and%20option_object_id%20eq%20'EQ'and%20low_object_id%20eq%20'193626' HTTP/1.1

 

 

--batch--

 

Check again by doing all the above.

 

Regards,

Ashwin

Re: How to bind several structures in Gateway Service class?

$
0
0

Hi Ashwin,

 

No any response and no any error message, see the below. POST is used to Create operation, is it correct?

 

mm.png

 

Kind Regards

Andie

Re: Save Image in SAP using OData

$
0
0

Hi Suresh,

 

Currently I have also face the same scenario, and I would like to know that if you have already find a solution? could you kindly share your experience to me?

 

  Best regards,

   Ray.

Re: How to bind several structures in Gateway Service class?

$
0
0

Hello Andie,

 

Please put break point in DPC and check if call is coming till your DPC.

 

Just reminding you again be careful with the spaces maintained in the payload which i shared.

Maintain the same spacing.

 

If you are getting 202 accepted and there is no response the check the Body and the spacing between the operation in side it.

 

Kindly share the response code and the details so that it will help to locate the problem.

 

Regards,

Ashwin


can we create RESTful Web service in abap without gateway?

$
0
0

can we create RESTful Web service in abap without gateway?

Re: can we create RESTful Web service in abap without gateway?

Re: can we create RESTful Web service in abap without gateway?

$
0
0

Hi Chandra

 

Thanks for quick and useful reply..

 

Regards,

Rahul

Re: How to bind several structures in Gateway Service class?

$
0
0

Hi Ashwin,

 

It cannot jump into breakpoint, I use the following Body and get error messages as below.

 

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary
Accept: application/xml

 

GET MonitorActivityList/?$filter=sign_object_id%20eq%20'I'and%20option_object_id%20eq%20'EQ'and%20low_object_id%20eq%20'230431' HTTP/1.1

 

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary
Accept: application/xml

 

GET MonitorActivityList/?$filter=sign_object_id%20eq%20'I'and%20option_object_id%20eq%20'EQ'and%20low_object_id%20eq%20'193626' HTTP/1.1

 

--batch--

 

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Error message:

  • Status Code: 400 Bad Request
  • The Data Services Request could not be understood due to malformed syntax

 

Kind Regards

Andie

Re: How to bind several structures in Gateway Service class?

$
0
0

Hello Andie,

 

Could you please share the URL you are sending ?

 

Please try with the below Body .

 

 

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary
Accept: application/xml

 

GET MonitorActivityList/?$filter=sign_object_id eq 'I' and option_object_id eq ''EQ' and low_object_id eq '230431' HTTP/1.1

 

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary
Accept: application/xml

 

GET MonitorActivityList/?$filter=sign_object_id eq 'I'and option_object_id eq 'EQ'and low_object_id eq '193626' HTTP/1.1

 

 

 

--batch--

 

 

Regards,

Ashwin

Re: can we create RESTful Web service in abap without gateway?

Re: Approve Request App on Fiori Wave2 - Error

$
0
0

Hi Ann,

 

Beside the Dynamic App Launcher Tile, you also need to add a target Mapping in your catalog.

Check if the target Launchpad role (Transaction LPD_CUST) exists in your SAP ECC system

 

Add an Target-MappingTile

Add the Intent data

Semantic Object  WorkflowTask

Action  approveRequests

 

Add Target data

Launchpad Role  UIX01CA1

Launchpad Instance  TRANSACTIONAL

Application Alias  ApproveRequests

 

Add General Data

Specify the supported form factor

 

Good luck, it works for me.


Re: How to bind several structures in Gateway Service class?

$
0
0

Hi Ashwin,

 

I got the same error message.

 

  • Status Code: 400 Bad Request
  • The Data Services Request could not be understood due to malformed syntax

fa.png

 

[ Body ]

 

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary
Accept: application/xml

 

GET MonitorActivityList/?$filter=sign_object_id eq 'I' and option_object_id eq 'EQ' and low_object_id eq '230431' HTTP/1.1

 

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary
Accept: application/xml

 

GET MonitorActivityList/?$filter=sign_object_id eq 'I' and option_object_id eq 'EQ' and low_object_id eq '193626' HTTP/1.1

 

--batch--

 

 

Kind Regards

Andie

Re: How to bind several structures in Gateway Service class?

$
0
0

Hello Andie,

 

Can you check each filter operation individually once ? to just make sure URI is correct and its working when fired individually in browser.

 

Check with the below body again please.

 

--batch

Content-Type: application/http

Content-Transfer-Encoding: binary

Accept: application/xml

 

GET MonitorActivityList/?$filter=sign_object_id eq 'I' and option_object_id eq 'EQ' and low_object_id eq '230431' HTTP/1.1

 

 

--batch

Content-Type: application/http

Content-Transfer-Encoding: binary

Accept: application/xml

 

GET MonitorActivityList/?$filter=sign_object_id eq 'I' and option_object_id eq 'EQ' and low_object_id eq '193626' HTTP/1.1

 

 

 

 

--batch--

 

Regards,

Ashwin

Re: How to bind several structures in Gateway Service class?

$
0
0

Hi Ashwin,

 

I only use one search filter condition in the following body, but still get the same error message.

 

///////////////////////////////////////////////////////////////////////////////////////////////////

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary
Accept: application/xml

 

GET MonitorActivityList/?$filter=low_object_id eq '230431' HTTP/1.1

 

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary
Accept: application/xml

 

GET MonitorActivityList/?$filter=low_object_id eq '193626' HTTP/1.1

 

--batch--

///////////////////////////////////////////////////////////////////////////////////////////////////

 

Kind Regards

Andie

Re: How to bind several structures in Gateway Service class?

$
0
0

Hello Andie,

 

Please check the following things in the browser first and make sure below are working.

 

http://XXXXXX/sap/opu/odata/sap/<Service_Name>/<Entity_Set_Name>?$filter=sign_object_id eq 'I' and option_object_id eq 'EQ' and low_object_id eq '230431'


http://XXXXXX/sap/opu/odata/sap/<Service_Name>/<Entity_Set_Name>?$filter=sign_object_id eq 'I' and option_object_id eq 'EQ' and low_object_id eq '193626'


if the above 2 URL's are not working then try below.


http://XXXXXX/sap/opu/odata/sap/<Service_Name>/<Entity_Set_Name>?$filter=sign_object_id eq '' and option_object_id eq '' and low_object_id eq '230431'


http://XXXXXX/sap/opu/odata/sap/<Service_Name>/<Entity_Set_Name>?$filter=sign_object_id eq '' and option_object_id eq '' and low_object_id eq '193626'


If the above things are working , then please try as shown below first and check if you are getting response.


Andie_POST.png

If you are getting response for the above mentioned body , then please add filter parameters in the body and check again ( filter parameters which you would have tested individually in the browser as mentioned at the starting ).


Please check the above mentioned things and share the details.


Regards,

Ashwin


Re: How to bind several structures in Gateway Service class?

Viewing all 6105 articles
Browse latest View live


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