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

How to convert abap internal datatype to odata gateway?

$
0
0

Hello,

 

In my get entity method how to convert the values which are taken from db into odata gateway ?

I'm fetching the values from db and i want to put it into er_entity , While modeling i used sflight and changed date and currency type in my odata model.

 

Thanks.

 

Regards,

Narendra.


Different User-Names in Frontend and Backend-Server

$
0
0

Hi all,

 

I know that the communication between frontend and backend-server is done via Trusted-RFC, which implies that the user-names must be the same on both systems.

 

However, what if the user name on the frontend-server differs from the user name in the backend-server?

Is there any solution for this? What about the "User-alias", can this somehow be used?

 

Thanks in advance

Oliver

SAP UI5 Libraries are taking time to load at first time

$
0
0

Hi,

 

SAP UI5 application is taking so much time to load at first time.

Library file of SAP UI5 such as are so heavy and they are taking time to load.

Is there any method to compress this files?

page load.png

 

Regards,

Tulja

SEGW

$
0
0

Hi

 

I am using the option 'Import RFC/Bor Interface' to set my data model.

I was wondering whether, besides importing my RFC interface,

it was also possible to insert/ implement this RFC call inside

the generated classes, so that when you go to

the generated DPC_EXT class, the RFC call already resides

within the generated class methods????

 

Am I going too far with my wishes.....?

 

 

Best

 

Yuval Peery

How to incorporate multiple MPC class into single MPC class?

$
0
0

Hi,

   i have requirement to create multiple MPC and DPC for 12 RFC finally i have to integrate whole MPC into a single MPC class,Is it possible to integrate multiple MPC class into a single MPC class? or i have to create a single MPC class,I tried to integrate entire MPC into single MPC class when i registering im getting error " Access via 'NULL' object reference not possible."  entity_type is not creating in second level class.i know if i use single MPC class it will work my question is multiple MPC is possible or not if it is possible please tell me the way how to integrate.

 

I have attached a Dump image for your reference.

 

Thanks.

Lokesh Srinivasan.

Security considerations consuming BW on HANA view

$
0
0

Hi folks,

 

We are looking at creating a view in BW HANA via Studio modeling layer and consuming in Fiori via Gateway Hub.  Up until now we have only setup SYSTEM type Users at the HANA db level and all security has been handled at the application layer via a single system user.  Scouring through latest HANA SPS 10 Security Guide it seems that for most scenarios this is the recommended path.  However we want to access financial information and are not clear how the security will be done on Gateway Hub.  The issue we are trying to avoid is creating hundreds of users on HANA db and so we are hoping to somehow either use BW security or ECC security and determine which users are allowed to see which Company Code's and then pass the appropriate parameters to the HANA view via a single system user.  I'm curious how others are handling this type of scenario.  I've been unable to find much documentation or similar examples but I would think this would be a common need.

 

Thanks for any insight you can provide!

-Patrick

$filter Visitor Interface for internal tables in addition to OSQL!?

$
0
0

As we all know, SAP implemented the /IWBEP/IF_MGW_EXPR_VISITOR interface to translate ODATA $filter expressions into OPEN SQL WHERE expressions, which comes in handy when implementing query methods to the persistence layer in the DPC class. The implementation has been done in class /IWBEP/CL_MGW_EXPR_OSQL_VISTR and is exposed via the method GET_OSQL_WHERE_CLAUSE in interface /IWBEP/IF_MGW_REQ_ENTITYSET which can be accessed via the object IO_TECH_REQUEST_CONTEXT, which is part of the signature of  every GET_ENTITYSET method.

 

Does anybody know, whether SAP is planning to support the syntax for where conditions of internal tables to query and filter calculated data instead of persisted data?

Handling RAW data in SAP Gateway

$
0
0

Hi Everyone,

 

I want to upload an image that is stored in a ztable in sap, in the field of type RAW. How do i achieve this?

 

I have gone through blogs with suggestions about modifying GET_STREAM in the DPC class, as well as modifying DEFINE in the MPC.

 

All related blogs and discussions that i have gone through make use of mimetype during the upload of image. But the RFC and zTable that i use has no field of type mimetype.

 

Is there a way to work around this?

 

Thank You in advance,

Nimish Kate


Another 'How do I lock resource with Gateway' Question - and SAP UX roadmap 2015Q3

$
0
0

Hi Experts,

 

So far, based on various discussions/blogs in SCN, it looks like future direction application development is going to be sap Fiori UX (i.e. gateway/UI5 combo).

 

So what is going to happen to state-full application development in the future ?

I am not sure if this means we have to ditch state-full application development or Gatway/UI5 is going to support State-full application development.

What is going to be the direction for complex standard SAP applications that requires pessimistic locking ? will SAP use fiori or FPM ?

Every time I see discussions about concurrency control with Gateway/UI5 - only answer seems to be convincing customers to use optimistic locking or tricking soft state to make application state-full.

 

I did notice this slide in SAP UX roadmap 2015Q3

  • SAPUI5
    • Creation of consumer-grade, stateless apps
  • Floorplan Manager / Web Dynpro ABAP
    • Creation of functional, stateful apps

 

Meanwhile Fiori floor plans have details on how to display locked records.

https://experience.sap.com/fiori-design/floorplans/edit-with-subpages/

(look for pessimistic locking at the bottom of the page). This is really confusing.

 

So My question is

For complex state-full applications that requires locking, should I still stick with Floor Plan Manager ?

Or is there a new feature or option coming in the future to support complex state-full application in sap Fiori (i.e. gateway/ui5)?

Is there any SAP document that gives clear distinctions for these kind of UX decisions (specifically for developers) ?

 

Thanks

Austin

Making GW connect to a specific backend app server

$
0
0

Hello all

 

When calling a gateway service, is it possible to dictate the GW hub server to connect to a specific backend application server which becomes known only at runtime, e.g. by providing the app server as an HTTP parameter?

 

 

Kind Regards

 

 

*-- Serdar

How to fetch Active Directory User info...

$
0
0

Hi All,

 

Could anyone let me know the process of Extracting/Reading the Active Directory(AD) users, Is there any approach to read the data using OData/ABAP FM/BAPI ?? Or else Is there any other way to fetch user info  directly from AD ?

 

Thanks.

nwds unable to connect with gateway server

$
0
0

hi all

 

i am trying to connect nwds with gateway server but seams it not taking port number 00

 

gatewaynwds.png

How to Session Keep

$
0
0

Hi Experts,

 

In my app. I send import parameter SAP System after than send second parameter first parameter delete from memory.

How can I solve this problem?

I want to use session when user login.

How can I configure netweaver gateway system?

ACL File?

$
0
0

Hello guys,

 

In Gateway client I have a error: HTTP Open failed: Plugin not active. see attached.

I have read some threads from SCN, that maybe my host is not set in ICM.  I allready checked that,(see attach).

 

After that I saw something about the ACL file, how can I checked if the hosts are set also there?

 

Any ideas?

 

Thank you,

Ovidiu

Filter on function import

$
0
0

I have a function import - Get implementation and would like to implement filtering on the attributes of entity. How do I implement it ?

Is is possible to achieve this functionality ?


While generating the sap gateway project ( SEGW) , every time system generating new interfaces

$
0
0

Hi Experts,

 

While generating the sap gateway project in SEGW , every time system generating new interfaces,

 

What is the reason for that &  How to stop ?

How to consume an SICF service created in sap system in an other sap system

$
0
0

Dears,

 

I have a scenario where there are SICF services created in one sap system for HTTP get request and all the back end logic exists in this system.

 

But I need the exact same scenario set up in another sap system and I do not want to re-write the back end logic here too,

So is there a way that I can make a call to the SICF service created in first system and get the data back in the second system?

 

Do we have any connectivity that can actually make a call to the HHTP get requests SICF created in other sap system?

 

 

Appreciate any help

 

Thanks,

Madhukar

Call browser is not working

$
0
0

Hello guys,

   

     So, I configured the Gateway client, created a new service, and now I am trying to test it.

    

     In the gateway client(/iwfnd/gw_client), everything worksfine(see screenshot) and also in my service validate.

 

     From /iwfnd/maint_service. I am trying to call browser but "This page cannot be displayed"

    

     I think that my problem is that I am not asked for a user and a password when I am launching the browser from "Activate and Maintain Services".

 

     DO you know how to achieve this functionality, or what is the problem?

 

     Thank you very much,

     Ovidiu

OData response can be seen in Gateway client but not in the Browser.

$
0
0

Hello there gurus,

 

 

Well problem is very simple I can see the Odata working on SAP gateway client. I get all the data needed from there.

But when I do the same in the browser I do not see any data. I mean it probes to give Username and Password and everything etc

I do not get any error either but I don't see the data. Is this related to authorization or is there something wrong with my Odata.

 

Please guide.   

Redefine BW Query Service Error - 'Test Objects Cannot be Created in Foreign Namespace'

$
0
0

Hi

 

I am trying to generate an OData service using the SAP Gateway Service Builder and I have created a query in BEx. First I created a project and then selected local object. When I click this button or the green tick, I get an error which says - Object Can Only be Created in SAP Package. After I acknowledge this error I open the context menu on the Data Model folder and select Redefine --> BW Query Service. I enter the details for the access type (Controller for SAP MDX (BW), RFC destination, catalog name and query name. The next step in the wizard is to enter the Transport Attributes. After I enter the details I get an error - test objects cannot be created in foreign namespace. Has anyone seen this error before?

 

Gateway Service Error.png

Viewing all 1745 articles
Browse latest View live


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