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

The Gateway does not take care of long text from backend

$
0
0

Hello,

 

A long text maintained in the message of the message class (Backend) is not transferred to the UI layer from odata. I had to manually add the long text in Odata layer to error detail component of the container. Am i missing something to automatically get the long text along with the main message in the UI layer? Or is it that Odata framework does not take care of the same? If so, why is it?

 

Thanks and Best Regards,

Govind


SAP Netweaver Gateway - oData - “Maintain Service Groups” not found

Unable to view metadata in Quality

$
0
0

Hi,

 

we have moved the code to Quality environment and in that we are unable to view the metadata.. could some one tell me what could be the reason?

 

-Madhav

Update Sales Order Item - Realistic approach

$
0
0

Hi Experts,

 

I have got a requirement to update multiple Sales Order Items in one operation.

 

I know that many experts would recommend to use $batch.

 

Even I would have preferred $batch approach but in the AS-IS SAP world we usually use a BAPI (to ensure data consistency and data integrity) to update a Sales Order and we may have to pass header as well as item data in case we want to update a Sales Order.

 

Whereas, as per OData specifications, the updates should happen for Sales Order Item entity using the Keys - Sales Order No. and Item No. But in the AS-IS SAP world we do not update tables but we invoke BAPIs to update a data object (In our case, SalesOrder).

 

Could anyone please advise me with a way to bridge the gap.

 

Also, technically, the deep insert feature could be used for meeting this requirement. Could you please provide your views on this workaround.

 

 

Regards,

Jiten

 

P.S. I have gone through the following discussion about the update deep entity.

Where is "update_deep_entity"?

but this doesnt seem to provide required analysis of work arounds and doesnt discuss about bridging the gap between the AS-IS SAP world of BAPIs and Odata specifications.

Resource not found for the segment

$
0
0

Hey all I create a service which map to a RFC. which is not work after we create another project at SEGW which map to another system alias.

My service now cannot load the metadata correctly now and when i call an entity set it says "Resource not found for the segment".

The system alias of service is the backend system alias and i checked the default check-box. I cleaned cache ten times. But still it doesnt work.

 

Any help would be appreciated.

 

 

Untitled.jpg

How we are getting performence Issue in Framework Expand ? How we are going to overcome through Data Provider Expand?

$
0
0

Hi All

How we are getting performence Issue in Framework Expand ?

How we are going to overcome through Data Provider Expand?

 

Please help me to resolve my doubt.

 

Thanks in Advance.

BAPI_MATPHYSINV_GETITEMS

$
0
0

Hey,

 

I'm trying to create an Odata Service which displays the Items from via RFC 'BAPI_MATPHYSINV_COUNT' .

But I have a Problem, i just want(can) to use 1 of the export tables. In this case just the ITEMS. So if I try to create Query for it, it shows me 'Mandatory data source parameter HEADERS is not mapped'.

But as soon as I Map a parameter from HEADERS it says 'In Query operation, only one output table can be used', which both makes sense.

I there any workaround for that? what am I doing wrong?

Thanks in advance

Data expose between two non SAP systems using SAP NWGW/NWPAM

$
0
0

Hi All,

 

I have a requirement to integrate data from non SAP system into no SAP system using SAP NWGW/NWPAM.And,there is no data base for source non sap system.

Is data integration possible using NWGW/NWPAM?

 

Cheers,

Giri


Gateway Entity and Property Names

$
0
0

Hello Experts,

 

As per the following URL, it is recommended to name entities and entity properties using Upper Camel Case.

Creating High-Quality OData Services - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library

 

UI developers in our team are recommending to use lower camel case names for properties and upper camel case names for entities to enable UI developers to distinguish between properties and entities.

 

Can you provide your feedback.

 

Can you please help us find more information on the following:

1. Why does SAP recommend Upper Camel Case to name entities and entity properties?

2. What are the advantages of doing so from a design, implementation as well as integration perspective?

 

Regards,

Jiten

Odata creation for standard reports(MB5B)

$
0
0

HI Experts,

 

Is there any better way to create the odata for critical & complex reports like (MB5B inventory related reports).

 

Please give me suggestions

Odata best practices

$
0
0

Hi community.

 

Do you guys know any good blog or document that would present the best practices when designing Odata services ?

I recall seing something like this a few months ago on SDN, where people were giving feedback and tips regarding Odata design but I can't find it anymore.

 

I understand the technical principles of Odata, but I am more interested in design questions such as : is it better to develop specific functions for a use case, or use the CRUD operations of the entities meaning that you then have more calls to make etc.

 

Thanks.

 

Regards,

Helder

Product Configuration with ODATA Service

$
0
0

Hi Folks,

 

I just at the start of a new implementation of a product configurator with ODATA Services and I have a general question regarding the architecture .

My problem is that I am not sure how to desing my data model in a way it reflects my requirements.

 

Of course I can design a model that represents a product with the corresponding characteristics and values but the complicated part for me is how to reveice the validation of a configuration (like constraints and text input validaton) out of the serice as I do not want to soruce the logic out to the client application.


The point is that I have a mixture between static data (characteristic textes and values...) and the dynamic validation information that depends on the current configuration represented in the client.

 

So my question is: can I somehow implement a READ Operation that receives the current configuration as a parameter (not key) and returns the characteristicValueSet with the information if they are still valid or not to the client?

 

I also thouth about implementing special Actions in my service like getCharacteristicWithValidationBasedOnConfiguration and passing the configuraton from the client but i hope that there is smarter solution for this.

 

As you recognize I am quite new to ODATA so please be clement

 

Looking forward to your suggestions.


Br

Sebastian

Is there any tool for separate monitoring the sap hana cloud database? like sqldeveloper,sqlyog

$
0
0

Is there any tool for separate monitoring the sap hana cloud database? like sqldeveloper,sqlyog

SAP Gateway can't process large IDocs

$
0
0

Hello Colleagues,

 

currently we aren't able to process large IDocs > 80 MB on our SAP System.

 

Interface description: An ext. Non-SAP System sends the IDocs via TCP/IP RFC to the SAP System.

 

Shortly after start the transmission, the processing will stopped.

 

At SAP Gateway Log with the highest trace level there is nothing to found.

 

I assume the problem lies on an wrong memory SAP Gateway parameter but I am not sure.

 

Any idea how I am able to solve that issue?

 

Are there any documentation regarding tuning parameters for SAP Gateway?

 

Many thanks in advance!

 

Regards,

 

Jochen

SAP Gateway connection to Eclipse Kepler

$
0
0

Hi

 

Can anyone tell me how can I make Kepler connection to Fiori Gateway server.

 

I have installed Kepler and unable to find the place I can make connection,

 

Please paste the screenshot if possible.

 

Thanks alot in advance.


Not able to upload file via OData Gateway services

$
0
0

Hi,

 

I have created an OData service for File Upload and Download.

I have created 2 tables i.e. 1st Table contains contact information and 2nd table contains the attachment. The Ref_ID field is the primary key in both tables. Using the same Tables I have created the below two Entity Types with Association/Navigation Between Them. I have marked the Second Entity as Media Type

 

Entity 1:

Image 2.JPG

Entity 2:

image4.JPG

 

Image3.JPG

 

I have Implemented the Create Stream Method as below:

 

DATA: ls_key_tab                   TYPE /iwbep/s_mgw_name_value_pair,

             lt_key_tab                   TYPE /iwbep/t_mgw_name_value_pair,

             ls_info                     TYPE ZBASIC_CONT_FILE,

             lv_refid                     TYPE zref_id.

 

   CASE iv_entity_name.

     WHEN 'ZBASIC_CONT_POA_FILE'.

       READ TABLE it_key_tab WITH KEY name = 'RefID' INTO ls_key_tab.

       SELECT SINGLE * FROM zbasic_cont_file INTO CORRESPONDING FIELDS OF ls_info WHERE ref_id = ls_key_tab-value.

       ls_info-ref_id = ls_key_tab-value.

       ls_info-poa_mtype = is_media_resource-mime_type.

       ls_info-poa = iv_slug.

       ls_info-poa_content = is_media_resource-value.

 

       MODIFY zbasic_cont_file FROM ls_info.

 

       copy_data_to_ref( EXPORTING is_data = ls_info

                         CHANGING  cr_data = er_entity ).

   ENDCASE.


While I executing the URL as below with Content-Type = application/atom+xml everything seems to be fine whereas when i set the Content-Type = application/pdf or any thing elsee eror is triggered as in below screenhot.


Error Screen:

image 5.JPG


Sucess Screen with Content Type as application/atom+xml

Image1.JPG


Kindly help to understand What am i doing wrong.


I have followed the Blog

http://scn.sap.com/community/gateway/blog/2014/07/25/uploading-files-to-sap-gw-downloading-files-from-sap-gw--new-techniques



Thanks in advance,

Samir

Documents for SAP Gateway

$
0
0

Hi Gurus,

 

  I'm new to SAP Gateway. Request you to please share related documents for Starters.

 

  You help is much Appreciated.

 

Thank you.

OData service for Fiori app 'Maintenance Order' - Unable to load metadata

$
0
0

Hi,

 

I am new to Fiori/Gateway and I am trying to configure 'Maintenance Order' fiori app. When i click the tile, it is failing to launch the app and on debug, i found the below OData service metadata load is failing.

 

OData service: CB_MAINTENANCE_ORDER_SRV


I tried to load the metadata again through transaction /IWFND/MAINT_SERVICE, but it result in giving error message.


Error log says 'Metadata call for model SAPAPPLH~STANDARD~MAINTENANCE_ORDER_H~ was not succesfull.'


Is there any configuration required to make this work ? I see couple of gateway error's and below is the screenshot of that. Please guide to solve the issue.

 

Thanks and Regards,

Gaurav.

How to perform Batch operation in SAP Gateway?

$
0
0

Hi Experts ,

 

I am familier with crud operations in sap gateway.now i am trying to perform Batch operation .Can anyone tell me how to perform Batch operation?

 

Provide some links too.

 

Avinash.

sap gateway file upload

$
0
0

I want to upload file  with file name and its content only to quality notification using BAPI/RFC/function Module/Class .

 

I am using gateway service to upload file.. from gatway service i have received file name and its content only in create_stream method of class *DPC_EXT.

 

. But i dont have other details .

 

How can i attach that file to Notification.

 

I dont want to upload it to custom Zor Y table. I want to attach file directly to notification.

 

Please help.

Viewing all 1745 articles
Browse latest View live


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