Quantcast
Channel: SCN : All Content - SAP NetWeaver Gateway Developer Center
Viewing all 750 articles
Browse latest View live

Property of Data Object has no type assigned

$
0
0

Hi All,

 

We are facing Property of Data Object has no type assigned on extension of a project.

 

Followed the blog http://scn.sap.com/community/gateway/blog/2014/08/08/extending-a-service-using-the-gateway-service-builder and extended the project. After genertaing the extended project and calling the parent service url error "Property of Data Object has no type assigned" thrown.

 

Entity type in the parent project/service does not have DDIC Structure reference and in the extended project new field added. Same works if i use ABAP structure reference.

 

Parent project is with Namespace and extended project is with Z name. Please suggest how to solve the issue and also how to extend projects created in customer namespace

 

 

Regards,

Satish


Information on SAP Gateway of Hub Architecture

$
0
0

Hello Guys,

 

I have one doubt and need your help on this.

 

I am going to develop an OData using the Gateway  HUB Architecture with backend development.

 

For example : I have created the OData service in my crm backend system (Lets suppose ICD) using tcode SEGW and i am going to register it to system located(Lets say PGD) at DMZ.

 

Now i am deploying  my ui5 application in PGD system.

 

So when i am using my UI5 Application its going to hit the PGD System , from there how the ICD system gets called , where my actual logic has been written and the data is fetched.

 

In other way my question is how the PGD system is going to call ICD System.

 

Please explain.

 

Thanks and Regards,

Vikash

How to Execute Batch Post in OData?

$
0
0

Hi All,

 

Please advise on how to execute batch post (i.e. update multiple entries to database) in OData without using associations / expansion. Right now, I was able to execute batch post through creation of association / expand from principal entity then implementing logic on CREATE_DEEP_ENTITY method. However, we are looking for an alternative way to have it done not with that approach. Is it possible? Please advise how could it be done.

 

 

Thanks,

Jay

How to Generate PDF Based on Multiple Selection from Query's Hit List

$
0
0

Hi All,

 

We have this requirement wherein user should be able to generate PDF file after selecting multiple entries from the hit list (result of a query) by ticking checkboxes. Can you please advise how could this be achieved? We have created OData Service for this one.

 

Thanks,

Jay

"Wrong format of delivery address:" and "OData Client - notification to - - failed - HTTP" when sending Push Notifications via SAP Backend

$
0
0

Hi experts,

 

Recently I am trying out SMP Push Notifications using this documentation http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40ab6d83-b7b8-3010-65bc-d7a08f0f35f3?overridelayout=true

 

I believe many of the configurations is done. So I decided to try out the SAP Standard Demo Flight Service "RMTSAMPLEFLIGHT" starting page 14 in the document .

 

I did all the tasks from running SubscriptionCollections via rest client to running the sample standard program /IWBEP/R_MGW_PUSH_TEST in the program the sending was apparently successful but when I checked tcode SLG1 for the log I got these messages

 

 

I am not sure what these messages mean but in the case of the delivery address I am not sure why the format is incorrect. Since i tried both format specified in page 15 of the document:

  • urn:sap-com:channel :<RFC destination>:<request URI>
  • http(s)://<host>:<port>/..

 

Here are the records in table /IWBEP/D_MGW_SUB

 

 

 

 

 

I would like to hear from all of you soon


Regards

How to create a service with table input?

$
0
0

Hi Experts

 

   I want to create a Gateway service which has only one entity type.

 

   This entity type is of table type meaning it can have multiple rows of data.

 

   EntGroups --> Entity type. It contains 2 fields.

        SerialNumber

        GroupId

 

   The backend FM has a table type input and updates the record in custom table.

 

   How can I develop this? Please help!

 

Thanks

Gopal

sap:label missing in GW service entension

$
0
0

Hi All,

 

We have extended a service and in that service added new fields to an Entity type.On querying $metadata new fields are didssplayed but sap:label is missing on that. How to get the sap:label for the new fields added in extension.

 

Regards,

Satish

Issue in using the same parameter in the filter of a query operation

$
0
0

Hi,

 

I have created a Query service document which accepts a range of fields as filter parameters.

 

The following works

https://<...>/sap/opu/odata/<...>/<....>/<...>Collection?$filter=timestamp_date le datetime'2012-08-27T00:00:00'

 

The one that DOES NOT work.

https://<...>/sap/opu/odata/<...>/<....>/<...>Collection?$filter=timestamp_date le datetime'2012-08-27T00:00:00' and timestamp_date gt datetime'2012-08-18T00:00:00'

 

I also noticed that someone has already reported something similar as well.

http://scn.sap.com/thread/3170195

 

Is there a note that fixed this issue or this is a known limitation in the gateway?

 

Thanks for your help,

Yohan


SAP GW Service Builder - How to recover unintentionally deleted project

$
0
0

Hello everyone

 

I accidentally mangaged to delete the SRA016_PRICE_AVAIL (SAP Standard Service for Fiori App) project in SAP Gateway Service Builder. Don't ask me how this happend exactly. I most probable just misinterpreted something during my 1st redefinition trials with it.

 

Is there an easy way to recover the project data for it?

 

...DPC_EXT and ...MPC_EXT classes are still there.

 

Unfortunately I don't have a EDMX file of it to reload using the import function... if that would be the solution.

And unfortunately I even don't have another system to create the $metadata from it as it happend on our sandbox system.

 

The only way I can think about it right now is to restore the system from a recent backup we have. But this would have some other impacts I'd like to avoid if somehow possible.

 

Thanks in advance for any help on it!

 

Regards

Renaud

Importing Model from file in SEGW

$
0
0

Hi All,

 

I am trying to copy one service to another following the instructions here: http://scn.sap.com/docs/DOC-63661?campaigncode=CRM-XM14-DCR-SOCFB_SCN

 

I have copied the metadata into an edmx file. However when I import the file into the data model, I am getting the following error: Invalid Model File.

I went to the message details to check the were used list to navigate to the code where it was called, but did not get any hits.

 

Has anyone encountered this issue before? Pls advise.

 

Thanks! MS

Remove Service Builder Project

$
0
0

Hi guys,

 

I stumbled upon the following issue:

I created a new project in Service Builder and removed it later on, I also deleted service and model in transaction SPRO but I cannot remove the GW Service Builder Project in se80, in fact I can't do anything with it! My intention was to delete the folder containing the project but even reassigning another package is not possible.

 

Any ideas?

 

Regards,

Thomas

Search Operation in Odata

$
0
0

Hello Experts,

 

I came to a situation where there are 4 search fields  and on clicking the search button the table entries should get filed.

 

Now the situation is out of this four search fields , two fields belongs to one entity set and the other two belongs to different entity set ,

 

I don't want to create a new entity which contains this four fields , then how i can do the search operation based on the value provided in the

 

text fields.

 

Kindly help on this.

 

Best Regards,

Vikash

Customer Namespace and GW Service not available in SICF

$
0
0

Hi All,

 

We have developed a gateway service and the same is tranported to customer system.After importing the TRs in customer landscape we found the namespace and gw service are not available in SICF. In /iwfnd/maint_service t-code under ICF node Odata is not active.

 

Regards,

Satish

Can't seem to register

$
0
0

Hi all,

 

I'm rather new to this site and SAP ... as a developer I would like to have access, but the "SAP Netweaver Gateway Service Consumption Sign-Up Form" ( https://supsignformssapicl.hana.ondemand.com/SUPSignForms/ ) always returns:

 

The system is not accessible please have a look at the Operations Document for the system status or check back later.

Thank you for your understanding

 

The linked operations document doesn't say anything about an outage. Is this procedure outdated or am I doing something wrong??

 

Thanks for your help & support

 

Patrick

Checking the already installed gateway server

$
0
0

how can I check the already installed netweaver gateway server is there on the sandbox?


SAP Demo Gateway - ES1

$
0
0

Is ES1 system available? I am trying to access demo gateway system from last few weeks but it is not available. Please let me know the status.

 

Thanks.

No Mapping posibilities - but SAP_GWFND SP011

$
0
0

Hello all,

 

Currently I am Working with SAP Netweaver 7.40 and SAP_GWFND SP011. As displayed in the graphic, the mapping option is not available. I wonder if any component (or additional customization) might be missing?

No_mapping.jpg

 


I appreciate your help. Kind Regards,

Gabriel

SAP Gateway and Simple Field Extensibility - does it work with append views?

$
0
0

I read about the Gateway's Simple Field Extensibility and set up a small example with:

  • a database view on an existing table
  • a new OData Service based on the view with a single Entity Type and its Collection Type - i.e. the entity type is linked to the view structure
  • I implemented the get_entityset method in the data provider extension class with a simple SELECT * statement
  • when I execute a query on the Collection I get back the view data, as expected

 

So far, so good. Then I created an append structure for the underlying transparent table with a single field and a view append for the view I use as data source. When I then execute a query on the Collection I get back exactly the same view data as before, i.e. without the appended field.

 

The SAP help documentation (like above) tells us that:

 

At runtime SAP NetWeaver Gateway classes (model provider class and data provider class) consider the fields in the extension includes in ABAP Dictionary structures. That means that entity sets that are technically based on ABAP Dictionary structures for which SAP provides the option to extend them via append structures will automatically show new properties if the underlying ABAP Dictionary structure has been enhanced by the customer. This process is called Simple Field Extensibility (SFE). Properties that have been created by using SFE contain the annotation sap:is-extension-field="true".

 

I supposed that this works with append views as well, and am a bit astonished that it doesn't seem to work with my example.

 

Does anyone have some experience with using the Simple Field Extensibility feature?

Odata services - metadata not showing

$
0
0

Hi Guys,

 

I applied my services to quality in both R/3 and gateway, I am able to see my technical services in activate and maintain(/iwfnd/maint_service) tcode and in SICF, everything is fine.

but the problem is I could not able to see any entityset names and relationships when I execute URI with metadata. even I tried with browser

 

But I could not able to see anything when I am trying to execute with actual URL it is showing error as resource not found 'Entittyset name'.

 

Thanks for your help in advance.

How to access request object in Model Provider Class?

$
0
0

Dear specialists,

 

as my previous post is located in the wrong area (How to access request object in Model Provider Class),

I repost my question here:

 

I want to define the data model of my OData service dynamically depending on an URI paramter of my HTTP request. But so far I did not find any possibility to access the request object in the model provider class.

 

Does anybody has a hint for me?

 

Many thanks in advance.

 

Best regards,

Juergen

Viewing all 750 articles
Browse latest View live


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