Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Gateway Developer Center
Viewing all 1657 articles
Browse latest View live

The navigation information 'ErrorCaseSet_ERRORDETAILSET' is not valid

$
0
0

Hello,

 

I created a project in SEGW and used for my header and detail structure for each a different ABAP CDS view. I built an association from the header to the detail which has a 1..1 relationship.

 

When I test this all works ok, e.g. I get data for my both entity sets but if I navigate to my detail it doesn't work:

 

/sap/opu/odata/SAP/Z_IDOC_TOOL_SRV_03/ErrorCaseSet('0000000000000001')/ErrorDetailSet

 

Get this exception:

 

CX_SADL_CONTRACT_VIOLATION


The navigation information 'ErrorCaseSet_ERRORDETAILSET' is not valid


So I'm on WAS 7.40 SP9 and the Gateway is patched to SP12. I tried to look in OSS for this error but found nothing. Is there a good way to troubleshoot this association stuff?.


Here my config:


And the error:

 

The application log etc. doesn't really say more. Somehow it doesn't like this ErrorCaseSet_ERRORDETAILSET. This comes from here:

 

Any idea anybody?

 

Thanks

Stefan


Are Netweaver Trials no longer hosted on Store.sap.com?

$
0
0

Hello,

 

Some of the links for the files that are on the main page for this group are going to store.sap.com links that don't have anything on them. Please update the links or let us know where to get the files.

 

This includes Netweaver Gateway and the Netweaver 7.02, 7.03 free downloads.

 

Where should people go for these trials now?

Date Conversion in OData

$
0
0

trans.png

 

In the above example, AsnDate is with the for of DateTime ie.,(2013-12-04T00:00:00), i want to convert it to Date format ie.,(2013-12-04) in NetWeaver Gate way, I request to help me fixing this, Thank you all in advance.

SAPUI5 program consuming gateway service

$
0
0

Hi,

 

I have Netweaver Gateway Server set-up. I have Eclipse Kepler installed on my machine with SAPUI5 plugin added to it.

 

Now I want to write a small SAPUI5 program which can consume the service created in Netweaver Gateway server.

 

Can someone please let me know any websites/SDN sites which can help me get trained on this and create my own demo application.

 

I am a java developer and know JQuery & javascript. But I have no knowledge of ABAP programming. So please let me know if I need to have ABAP programming knowledge also if I have a to create a service in Netweaver Gateway sever.

 

My objectives are :

 

1) Create a service in Netweaver Gateway Server

2) Write SAPUI5 program in Eclipse to consume the service created in Netweaver Gateway Server. (One doubt I have is,..once I create a SAPUI5 program, will I have to deploy it in Netweaver Gateway server? ..If not then where will this SAPUI5 program will reside?)

3) Run the SAPUI5 program.

 

Thanks.

Failed to generate the backend operation proxy for RFC

$
0
0

Hi,

 

some times when the Gateway project is activated, i am getting the below error, when i asking ABAPer to delete RFC and re create it might work ,

 

Failed to generate the backend operation proxy for RFC <name of the RFC>

&ZIF_Z_360_PAYER_INFO6& is locked in request/task &K2DK900046&

 

not able to understand where the issue is.. can some one tell me the root cause of this issue?

 

-Madhav

Need advise on SAP Netweaver gateway/Odata/Eclipse

$
0
0

Hi All,

 

I am bit confused with all these terminology. Could you please advise me how do I make app for mobile using SAP netweaver gateway/Odata/Eclipse ..?I think that Eclipse is the way forward .....

 

I have SAP netweaver gateway system 2.0 installed and have Eclipse Kepler. Recently I have seen GWPA ..how and where can I get that ? and I am not able to install SAP Netweaver Gateway Plugin for Eclipse..can you please advise..

 

Kind Regards

Rama

Web Service/Required roles

$
0
0

Hi,

 

I have created a web service in Gateway with transaction SEGW. The web service works perfectly fine and it is being called with a RFC. I've tested the web service using REST as well.

 

The mobile app that is calling this web service does so successfully in our Production system, but once we try to perform the same action in our QA system, I am denied any access to log into the mobile app. I have mimicked the users' roles in our Production system into their roles in the QA system and yet it still does not let me log in.

 

In order to log into the mobile app, the user uses their SAP credentials.

 

Does anyone know if there are user-specific roles in QA system that is required, but not required in the Production system?

 

Thanks.

CRM_BUPA_ODATA : Accounts Model Redefination

$
0
0

Hello  Everyone,

   I have a requirement, where i need to add 3 custom fields to  the CRM_BUPA_ODATA service.

 

Steps Followed to Achieve the above Requirement

1. Added 3 custom fields in the extension include ( CRMT_BP_ODATA_ACCOUNT_INCL)

2. Created an empty Project (ZCRM_PROJECT) and redefined  with CRM_BUPA_ODATA GW service.

3. Added 3 fields in the Entity set Accounts in the New project.

4. Redefined all the runtime methods in data provider extension class.

5. Redefined Define method in MPC Extension class and appended 3 fields to the CRMT_BP_ODATA_ACCOUNT Structure.



Issues :

    When i am trying to execute the new service (ZCRM_ACCOUNTS). it is not able to identify the Entity sets.


It throughs an error saying that 'Resource Not Found for Account Collection'


Can you please give some ideas to resolve this issue.


When i am trying to debug the ODATA service, it is not reaching the DATA provide class.


Appreciate your time and help!!!!


Thanks & Regards,

Manjari.



How to use OData SDK PHP create an entity in SAP

$
0
0

Hi,

I‘m using OData SDK PHP to consume the odata in SAP system, I can use this get_entityset from SAP but not able to Create entity in SAP

my PHP code is like this

 

 

<?php
require_once "Z_WE_ASSCOCUSTOPENID_SRV_Entities.php";   //connect    $OData = new Z_WE_ASSCOCUSTOPENID_SRV_Entities
('http://192.168.1.138:8008/sap/opu/odata/sap/Z_WE_ASSCOCUSTOPENID_SRV/') ;
$OData->Credential = new WindowsCredential($_POST["userName"],$_POST["pwd"]);   try
{    //Create a Customer php Object    $OpenId = OpenId::CreateOpenId( "","",$_POST["Name"],$_POST["CustomerName"],$_POST["Code"]);    //inserting Customers object context tracking system    $OData->AddObject('OpenIdSet', $OpenId);   //SaveChange insert the object into data service   $Odata->SaveChanges();
}
catch(ODataServiceException $exception)
{    Echo $exception->getError();
}
?>
{    Echo $exception->getError();
}
?>

I will get the error Undefined property:z_we_asscocustopenid_srv_entities::$nextChange in E:\xx\xx\Context\ObjectContext.php on line 789 Unauthorized

but this property is the ODATA SDK PHP file I never change this

can you help me?

Application log: Metering information missing for: consumer_type

$
0
0

Hello experts,

 

.. when checking the application log on the gateway system (dedicated system) I see all log entries beeing marked as warning.

 

Every OData service calls causes this warning:

 

/IWFND/CL_METERING_API========CP

CHECK_CONTEXT

 

Metering information missing for: consumer_type (Message Text)

/IWFND/CM_COS127 (Error Code)

 

I searched a lot, but didn't find any useful information on this (except for SAP Fiori [defining scenarios], which is not in place) and tried some HTTP header entries as well as some config actions, but did not succeed.

 

Which configuration step(s) we are missing?

 

Thanks,

Robert

What do 'GetEntitySet (Query)' & 'GetEntity (Read)' do.

$
0
0

Once we create a project in Netweaver Gateway and follow few other steps to create a OData service, we come across two methods which I think are very important for service implementation perspective.

 

Can some one please tell me what exactly does these two methods do : 'GetEntitySet (Query)' & 'GetEntity (Read)'

 

I am a Java developer / SAP Portal consultant so thinking that these are ABAP specific. But if some one can explain briefly I think I will be able to understand though I have min ABAP knowledge.

 

Thanks in advance.

How the performance oData comparing RFC's

$
0
0

Hello Experts,

 

I am new to SAP Mobile technologies.

 

My client already using web based .net application and there are many RFC Function Modules already exist and the same RFC Function Module called from .net application.

 

Ex: To fetch open Sales order and changing the status from .net. Actually inside R/3 RFC Function Module called the standard BAPI and returning result to .net web application.

 

Note : Now our client is upgraded into ECC 6.0 from R/3 4.7.

 

I have come across from scn forum the oData can be used in any programming language(ASP/.Net/PHP/Phython/Java and etc.)

 

Can we migrate all RFC's to oData service using netweaver gateway programming. Below are my basic questions.

 

1. What is the advantage using oData comparing RFC's? is there any merits and demerits using the new oData technology? It is advise to use oData?

2. Will it support network load since many RFC's are returning around 50K records to .net.

3. My client planing to implement mobility and my basic question is what is the use of Syclo, Agentry and Fiori? is all the three can be used oData framework? My client proposed to use Syclo Agentry so the oData framework will it support? I heard the oData is the platform independent and can be connect any source.

 

Please advise me. I am waiting for your earliest response and best practice as well.

 

Regards,

A Vadamalai.

Eclipse: unable to create a Gateway Connection

$
0
0

Installed SW (Frontend)

 

Backend

  • AS ABAP 7.40

 

Hello Collegues,

 

I've created a NW Gateway Service on the backend (Service is working correctly) and now I want to create a UI5 Application on the Eclipse site.

Before creating the project I have to create a Gateway connection first. But I'm getting a "Network Connection Error".

 

error.PNG

Connection data (host, port) is correct, also tried with IP instead of hostname already.

I'm getting the same error if I'm using the (new) ES Workspace data (sapes1.sapdevcenter.com, Port 80?).

 

Tried also on another PC, same error.

 

Any ideas?

What do 'GetEntitySet (Query)' & 'GetEntity (Read)' do.

$
0
0

Once we create a project in Netweaver Gateway and follow few other steps to create a OData service, we come across two methods which I think are very important for service implementation perspective.

 

Can some one please tell me what exactly does these two methods do : 'GetEntitySet (Query)' & 'GetEntity (Read)'

 

I am a Java developer / SAP Portal consultant so thinking that these are ABAP specific. But if some one can explain briefly I think I will be able to understand though I have min ABAP knowledge.

 

Thanks in advance.

Error while accessing web service through logical port

$
0
0

Hi All,

We are trying to consume SOAP Service from an external source and expose it via odata service (SAP Gateway service).

I followed http://scn.sap.com/docs/DOC-49811#comment-559114 wich was very helpful.

But I am stuck with the logical port creation. After creating the logical port I am getting an error while trying to access the web service.

Following are the exact steps I following. I used http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL for testing purpose

Please help.

 

STEP 1: SE80->Package->$TMP->EnterpriseServices->contesxt menu->create

STEP 2: Enterprise services create dialog box

  • Object type                : service consumer
  • Generation source    : External wsdl/schema
  • wsdl/schema source : URL
  • URL                           : http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL
  • Port type                    : WeatherSoap
  • Transport                   : Local object,

         Prefix                           : ZMB_

STEP 3: Start SOA Manager

  • Configuration tab ->create->manual configuration
  • Tab1- Logical Port name
    • Logical port name : LP_MANUAL
    • Description            : Manually configured logical port for consuming WSDL
  • Tab2-Consumer Security
    • Did not change anything under this tab.

img1.png

  • Tab3-HTTP Settings
    • Just added values of URL Access Path & Computer Name of Access URL field.

img2.png

  • Tab4-SOAP Protocol
    • Did not change anything in this field.

img3.png

  • Tab5-Identifiable Business Content
    • Checked the suppress sending of IBC identifier check box.

img4.png

error.png

I am not sure what did I miss. Please help.

Thanks in advance

Regards,

Jhansi.


Can we access Developer Edition NetWeaver Services via Hana Cloud Trial ?

$
0
0

Hello Experts,

 

I want to create a service using service builder on AS ABAP incl. BW 7.4 SP8 on SAP ASE 15.7

Later add it as destination or Gateway as Service on HANA Cloud Trial.

And consume the same in HANA Cloud Trial applications.

Is this possible ? I see that these developer editions are having some dummy link ?

So unable to configure the same on HANA Cloud Trial.

 

Or is there any instance of NetWeaver available that allow us to create OData that can be consumed within HANA Cloud Trial account ?


Regards,

Prakash

What is the difference between SAP Netweaver Gateway and SAP Gateway for Microsoft

$
0
0

Is the SAP Gateway for Microsoft built on to top of the SAP Netweaver gateway? Who does the architecture looks like. I know SAP gateway for Microsoft can be deployed in azure to allow office application including office 365 to access on-premise SAP systems.

 

What feature does it provide that SAP netweaver gateway does not provide?

How to call Function Import from SAP UI5 and get the return object in table?

$
0
0

HI,

      I am New to UI5 .i have created odata gateway service with function Import that will take single parameter as importing parameter and return the data in table.My problem is I am not getting how to consume data from function import in SAP UI5  and how i can display the returned data in ui5 table.

can Any Help me out regarding the issue.

 

 

Regards

LK

Odata Service Creation Using SEGW Transaction

$
0
0


Hi All,

 

I am trying to create an Odata service using one RFC that takes three input parameters and returns one structure as output parameter.

When I am trying to do mapping of Get Entity Set it is saying that key variable does not have output mapping. But my key variable is input parameter so I am unable to change the mapping direction of key variable.

Please some body suggest how to change the mapping direction of mandatory import parameters in get entity set query.

 

 

 

With Regards

Neha Pandey

Fiori client for Windows 8.1 Mobile

$
0
0

Hi Experts ,

Is there a SAP released Fiori Client for Windows 8 / 8.1 mobile ? I could see on in Windows app store ( screenshot below ) with 0 user rating. This is to confirm whether it is SAP released app

 

fiori.jpg

John Wargo - read your nice blog Update on Fiori & Mobile

 

Sree

Viewing all 1657 articles
Browse latest View live


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