Quantcast
Channel: SCN : Unanswered Discussions - SAP Gateway
Viewing all 1745 articles
Browse latest View live

Regarding Settings in Gateway for virus scan Profile

$
0
0

Hello,

 

Out Fiori developers are facing following issue:-

 

"facing some virus profile  issue while doing attachment odata"

 

They are facing while uploading image.

 

 

 

Error.PNG

 

And they told me to do something from basis.Some virus scan profile or anthing is needed from basis.

 

Please suggest me how I can help them.

 

Thanks and Regards,

Akshay


User no longer logged on - maint_service

$
0
0

I've installed a NW 7.4 SP08 ABAP Stack that includes all of the Gateway 2.0 Foundation.  This is my Netweaver Gateway Hub.

 

Our backend ECC 6.0 system is at SP24 but we've never applied any Enhancement Packs.  So we've imported the IW_BEP 2.0 Add-on and patched it to SP10.

  1. The RFC's are defined.
  2. The Trust has been created.
  3. The *_sso2_ticket parameters are in place.
  4. The Destination System and the System Alias (two of them) are defined.

 

Is there a simple way to test this is setup and working as it should be?

 

When I try to run /iwfnd/maint_service in the Gateway Hub to setup a service to test the connection, I get the following pop-up.

 

SAP System Message

User no longer logged on

 

I've yet to get this transaction to work.  Any suggestions?

SAP NetWeaver Gateway Service Send import parameter RFC function

$
0
0

I created netweaver service and call rfc function another subsystem.

I can get entry but I cannot send import parameter to function.

Pls help me...

POST Installation Activity in SAP Gateway

$
0
0

Hi Team,

            Can you please help what are the post installation Activity in SAP Gateway after installation.

We have SAP gateway 2.0 SP08

 

Thanks
Ram

RFC and Odata Services

$
0
0

Hi,

 

I've a RFC with an interface like this

 

IMPORTING

    VALUE(SNR) TYPE  STRING
EXPORTING
    VALUE(SERVICELIST) TYPE  B1BKSERVTAB

 

the type B1BKSERVTAB is of type standard table.


depending on the SNR value the RFC return the table with several rows.

If SNR is not valid the RFC return an empty table.

 

My question is now can I use such an RFC for an ODATA Service?

 

here is my entity definition and the mapping.

Is there a way to pass the SNR to the RFC via the URL to get the complete entityset?

 

if I call

.../E2E_CHECK_SRV/BookingsSet('100')

I get no result because GetEntity is not implemented (don't know how to do the mapping to get the complete table)

and with .../E2E_CHECK_SRV/BookingsSet

I get nothing because the RFC do not know the SNR to fill the table.

 

Thanks in advance for any help

 

BR

Stefan

1.PNG

 

2.PNG

3.PNG

HTTP Receive Failed: ICM_HTTP_HOST_UNKNOWN

$
0
0

Hi Experts,

 

I am created a gateway service and while registering i have created a system alias and RFC Destination (while creating RFC Destination i have chosen type 3 since i am using embedded architecture). My service is generated and while testing in /iwfnd/gw_client its giving the "HTTP Receive Failed: ICM_HTTP_HOST_UNKNOWN" message. Is it my RFC connection type or some thing is problem or what it is. Please help me to resolve it.

 

Thanks,

Gowtham

$batch response error handling

$
0
0

Hi,

 

I'm receiving number of PUTs in $batch POST request and after processing in case of any error, the error text is sent in the response body. The header HTTP status remains 202 (Accepted) irrespective of success or failure in batch response.

 

What is the best way to handle this response in UI to read the error messages?

OR

Is there a way to modify the HTTP status code to indicate error in the response body?

 

Thanks for your help.

 

Regards,

Abhishek

Gateway oData by consuming external RESTFUL (secure)

$
0
0

Hi All,

 

I have a scanerio where I have secure RESTFUL Webservice need to be consumed by SAPUI5 application and pass authentication infirmation to my external system, as it is not secure to keep the authentication information like user id and password for the RESTFUL service which has only Basic Authentication , I am planning to consume it from Gateway Server and create a OData Service

 

please let me know if I am doing correct? will there be any issues related to performance...

 

also, how can I consume Restful service in gateway and create OData Service?


RFC Error: Exception condition "X_ERROR" raised

$
0
0

Dear Experts,

 

I developed a service for create attachment to the SalesOrder (VA02). Whenever i execute the service i am getting "RFC Error: Exception condition "X_ERROR" raised" please help on this....


Attached screen shot for reference

 

 

RFC Error in c.png

 

 

Thanks&Regards,

Harikrishna M.

Regarding Basis task in Fiori Custom apps

$
0
0

Hello,

 

Our SAP Fiori developers are developing Custom apps however as a basis what are the task i need to do for this.


please guide me.

 

 

Thanks and Regards,

Akshay

Consume external REST/SOAP service

$
0
0

Hi,

 

We are working on a SAP UI5 application which will consume external REST/SOAP services via SAP Gateway. The reason we are using gateway is to hide the basic authentication logic.

 

My questions are:

1] Can we consume REST service in Gateway which can later be consumed in SAP UI5 app via url? I know we can write a ABAP code to consume REST but does Gateway has any such feature to skip the ABAP coding?

2] Similarly, how can we consume SOAP Service and create OData service?

 

Thanks

Error while Consuming ODATA Service in Eclipse

$
0
0

Hi Experts,

 

I created 1 Odata Service in SAP.

I test it in Gateway Client; it is working fine.

 

But when I am trying to consume the same in Eclipse.

I m failed get the data from SAP as default, also when I am creating a new Record; I am getting Creation failed as an error, which I placed on Creation Button.

Code for CREATE

function openCreateDialog(){

  var oCreateDialog = new sap.ui.commons.Dialog();

  oCreateDialog.setTitle("Create user");

  var oSimpleForm = new sap.ui.layout.form.SimpleForm({

  maxContainerCols: 2,

  content:[

  new sap.ui.core.Title({text:"Person"}),

  new sap.ui.commons.Label({text:"Firstname"}),

  new sap.ui.commons.TextField({value:""}),

  new sap.ui.commons.Label({text:"Lastname"}),

  new sap.ui.commons.TextField({value:""}),

  new sap.ui.commons.Label({text:"City"}),

  new sap.ui.commons.TextField({value:""}),

  new sap.ui.commons.Label({text:"Email"}),

  new sap.ui.commons.TextField({value:""}),

  //new sap.ui.commons.Label({text:"Address"}),

  //new sap.ui.commons.TextField({value:""}),

  ]

  });

  oCreateDialog.addContent(oSimpleForm);

  oCreateDialog.addButton(

  new sap.ui.commons.Button({

  text: "Submit",

  press: function() {

  var content = oSimpleForm.getContent();

  var oEntry = {};

 

  oEntry.Vorna = content[2].getValue();

  oEntry.Nachn = content[4].getValue();

  oEntry.Ort01 = content[6].getValue();

  oEntry.Mail = content[8].getValue();

  //oEntry.Address = content[10].getValue();

  sap.ui.getCore().getModel().create('/ZODATA1Set', oEntry, null, function(){

  oCreateDialog.close();

  sap.ui.getCore().getModel().refresh();

  },function(){

  oCreateDialog.close();

  alert("Create failed");

  }

  );

  }

  })

  );

  oCreateDialog.open();

  };     

 

also, my application is not showing any Data when initially. I call it in Browser.

 

-Regards

Rohit

Workflow task name changed after upgrade in EHP7

$
0
0

Hello,

 

Before the upgrade in EHP7, when i create a workflow, i had the following result in the Gateway and in the field "task_name" : WS99900005_0000000068 => it was correct.

 

After the upgrade, i have this result:

 

<m:propertiesxmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">

  • <d:workitem_id>000000410113</d:workitem_id>
  • <d:status>READY</d:status>
  • <d:status_txt>Prêt</d:status_txt>
  • <d:subject>Une ligne de la facture 5105601588 requiert votre décision</d:subject>
  • <d:type>W</d:type>
  • <d:priority>5</d:priority>
  • <d:task_name>Une ligne de la facture &1 requiert votre décision</d:task_name>
  • <d:actual_owner/>
  • <d:actual_owner_name/>
  • <d:note_count>1</d:note_count>
  • <d:reassign_by>E000059</d:reassign_by>
  • <d:reserved_by/>
  • <d:act_dec>0000</d:act_dec>
  • <d:act_dec_agent/>
  • <d:language>F</d:language>
  • <d:start_dlm:null="true"/>
  • <d:end_dlm:null="true"/>
  • <d:created_at>2014-08-28T09:46:35</d:created_at>
  • <d:created_by> FLOWITEM 0000004100970000000051000000</d:created_by>
  • <d:gui_link>/sap/bc/gui/sap/its/webgui/?sap-language=FR&~transaction=*/iwfnd/wf_webgui P_WI=000000410113;P_TASK=TS99900071;P_SYS=LOCAL;DYNP_OKCODE=OKCODE</d:gui_link>
  • <d:mime_type/>

 

 

Any ideas?

 

 

Abdrahim

How is the function module can be exposed from back-end to gateway?

$
0
0

Dear Experts,

 

May i know how is the function module can be exposed from back-end to gateway?

Thanks.

 

Regards,

Chun Wooi

WHERE and HOW is the data from back-end be maintained in SAP NetWeaver Gateway?

$
0
0

To all Experts in Gateway,

 

As i know the data from the back-end are mapped with the entities in the Odata service. May i know WHERE and HOW is the data from back-end be maintained in SAP NetWeaver Gateway? Is it there is memory to store the data which is from the back-end or other things else?

I sincerely welcome and appreciated to all the experts who know about it to share the information to me.

Thanks.

 

Regards,

Chun Wooi.


How to access MPC from DPC?

$
0
0

hello.

 

i want to access the MPC from the DPC methods, i.e. ..._GET_ENTITYSET(). How to retrieve the instance of te MPC connected to the current DPC?

 

background info:

i want to use the labels assigned to ABAP structure components of an entity type without hard.coding them...

 

cheers

--MIKE

Gateway Service consumption exception 'org.w3c.dom.DOMException: NAMESPACE_ERR'

$
0
0

Hi

 

 

I am trying to consume Gateway Service in Java application. I have created Proxy class using SAP Gateway Plugin for Eclipse and consuming methods of these Proxy classes.

 

While executing the Update/Create method of Service, I am getting runtime Exception 'org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces. '.

 

I found that this error is thrown when getStringPayLoad() method of generated proxy class is used. However this method is not trying to modify the headers but is just parsing the Response Body.

 

Class Method:

 

  public String getStringPayload() throws ProxyException {

 

  String result = null;

 

  try {

  result = service.getParser().format(getEntry());

 

  } catch (MarshalerException e) {

  throw new ProxyException("MarshalerException thrown in getStringPayload", e);

  }

 

  return result;

  }

 

 

Another observation is that this method throws exception only when i try to read PayLoad of getEntitySet() response and it works fine for getEntity() response.

 

There is difference in the XML response bodies for getEntity() & getEntitySet() methods. However I expect that it should not throw exception for that reason.

 

 

XML Body - getEntity()

 

<atom:entry xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:atom="http://www.w3.org/2005/Atom" xml:base="http://<SERVER>:<PORT>/sap/opu/odata/sap/<SERVICE NAME>/">

<atom:content type="application/xml">

....

</atom:entry>

 

 

XML Body - getEntitySet()

 

<feed xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xml:base="http://<SERVER>:<PORT>/sap/opu/odata/sap/<SERVICE NAME>/">

.....

  <entry>

  ...

  </entry>

</feed>

 

 

Has any one faced similar error? Can you suggest solution for this issue? Please help me...

 

 

Regards,

 

Deepak

Standard SAP Projects Have Model Binding Errors

$
0
0

Hi,

 

I am working on extending a standard SAP Gateway service for PO/PR tracking. The project name is SRA020_PO_TRACKING. When I perform a consistency check on the project I receive several model binding errors. Upon checking other Gateway projects for Fiori, I find the same kind of errors.

 

Some examples are:

 

  •   Conversion error possible; ABAP type is more restrictive
  •   ABAP type ' (STRING)' not applicable with EDM core type 'Edm.Boolean'
  •   Conversion error possible; EDM type is more restrictive
  •   ABAP type 'BBMNG (PACKED[13,3])' not applicable with EDM core type 'Edm.Float'
  •   ABAP type 'EINDT (DATE)' not applicable with EDM core type 'Edm.String'
  •   ABAP type 'STRINGVAL (STRING)' not applicable with EDM core type 'Edm.Float'

 

There must be something else wrong rather than the standard code/configuration being incorrect. Has anyone encountered this issue?

 

Thank you in advance.

Consume ASP.Net Web Service from SAP System

$
0
0

Dear SAP's Experts,

 

Currently, I built a Webservice by Asp.net enviroment and I want SAP system use this web service to transfer XML content throught HTTP request.

 

 

4-23-2015 11-09-57 AM.png

 

I don't know the proccess for this. Any body can help me the process or what I need to cofigure like:

- Open PORT
- Interner Security

- ....

 

 

Thanks and best regards,

 

---

 

Lu Nguyen.

Enhance oData service

$
0
0

Hello. I extended oData service /IWPGW/TASKPROCESSING v.2 and added new property "Ext" to entity Task. Service generated whithout errors. But when I try to run the service in gateway client, then I get error "Property 'Ext' of data object 'Task' has no Internal type assigned". In my model class this field is exist and has data type "string". What did I do wrong? If I delete new property, then service run correctly

Viewing all 1745 articles
Browse latest View live


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