logon ticket missing
Select fields from multiple entities with $select operator
Hi all,
we have a problem with the $select parameter if we want to use it for different entities in one call. In SAP, we only get the properties of the entities, but without any reference to the entity.
For example: We have an OData model with two entities: Car and Driver. Each Car has two properties, registration number and name; each driver has a name and an ID number.
We only want to select the name of the driver as well as the name of the car, which would be possible using this URL: DemoModel/Drivers?$expand=Cars&$select=Name,Cars/Name
In the SAP Gateway, we can read the selected fields using the get_select( ) method, but this method only provides us with the field names. In our case, this method delivers only the property names (which is "Name", twice), but we do not get any information on the entities of this properties. Since we want to use the field names for our select statement, there is no possibility to decide whether this field belongs to entity Car or Driver, so eventually we construct an incorrect select statement.
How can we derive the entity of properties in the $select parameter in ABAP?
Ideas I thought of:
- Filling the ABAP field name in the properties with a prefix for this entity, so we can distinguish the properties by this prefix. But, since we are using a select statement with "into corresponding fields" to the target structure, this would need another mapping. Additionally, having semantic logic in the ABAP field name does not seem wise
- Reading the complete request URL from the technical request and read the selected fields with entities on my own. Absolutely the last option, since I'm doing stuff the Gateway should deliver, right?
Can you think of any other solution?
Thanks,
Svenja
SAP Gateway Deployment options and configuration
Hi
In so many of blogs i have seen writing the SAP Gateway server (Front end component), SAP Gateway Backend Server ( Backend component + ECC Business Suite). but i am always confused Backend server means it is an ECC system. But later i have understand that by looking at the deployment options. Gateway server itself splitting into two servers as front end and back end server. But i have few questions related to Deployment option1 ( Hub Deployment with Service Development in the SAP Business Suite Back end ) and Deployment option2 (Hub deployment with Service Development in the SAP Gateway Hub).
Here is my following SAP Front End Server(Gateway)
Here is my following SAP Backend Server ( Backend Comp+ SAP ECC)
--------------------------------- Option 1
Having the GW_FND component in both servers, It means that is this called as deployment (( Hub Deployment with Service Development in the SAP Business Suite Back end ))
-----------------------------
What configurations need to be in SAP Front end server & SAP Back end Server to develop the Data Model.
When i develop the service in Back End server and try to register , I am unable to register register giving the error as System alias doesn't exist. But i have created the system alias
If i create the system alias in back end server, do i need to create the system alias for back end server or front end server. Please clarify.
Isn this option, can i able to register the service from the SEGW transaction itself ? or Do i need to register this service by going to SAP Gateway front end server using the /IWFND/MAINT_SERVICE transaction? Please clarify?
------------------------------------------------------------------ Option 2
Hub deployment with Service Development in the SAP Gateway Hub).
-----------------------------------------------------------------------
In case if i want to use the Front end server Gateway hub as both Front end and back end component of Gateway server as Central hub to connect the SAP Business suite.
In this option, What are the configuration need to be done in both systems?
How to create data model in SAP Gateway server with with the data structure exist in back end server.
Thanks
Configuring the Task Gateway Service can`t find TaskFacade
Hello,
When I configuring the Task Gateway with this document Configuring the Task Gateway Service - SAP NetWeaver Gateway - SAP Library
I can`t find TaskFacade service.
SO,Is there any body can help me?
I have tried the T-Code spro\sicf\soamanager and configure system alias using Configuring Services for Deployment Scenario 2 - SAP NetWeaver Gateway - SAP Library .
But I can`t even find a way to fix it.
The gateway is 2.0 SP 07.
Thanks for all your respond!
getting error that --> '/IWFND/OM_MED_CATAL_ODC_0002_BE' '01' 'DEFAULT' does not exist
hi all
while accessing gateway from sap webide getting error that
Value Data Provider implementation '/IWFND/OM_MED_CATAL_ODC_0002_BE' '01' 'DEFAULT' does not exist
please give need full information
performance trace extraction
Hi,
i would like to extract the time taken by all transactions that were happened in a given time.
i checked /n/iwfnd/traces , where in i have to go inside each transaction and check the average time taken by GW and back end ECC.
is there any way, i can take a quick look of performance timing of all transactions together?
-Madhav
Getting Error in SAP NetWeaver gateway client when choosing Entitysets
Dear SAP Friends,
We have created the service for sale order with 2 entities (SOHeader and SO Item) and after executing the URL we got the output and its worked fine for last 4 months and upto last 3 days back also(10.06.2015) .
yesterday we are getting the error while choosing entity sets (SOheader and SOItem) ,
Error :RFC Error: Syntax error in program /IWBEP/CL_MGW_ABS_DATA========CP
Without selecting entity -its working fine,
the interface /IWBEP/IF_MGW_APPL_SRV_RUNTIME have been used for sale order header and item classes and this interface worked fine between front end and backend system earlier.
Note: There is no changes happen in ABAP methods and we have verified the versions for Sale order class and its methods .
also we have checked with Basis team , they ensured that no package upgrades or installations happened for our system for last 2 weeks.
Please guide me to fix this error message.
Error message:
<?xml version="1.0" encoding="utf-8" ?>
</Error_Resolution>
</innererror>
</error>
Regards,
Kannan
/IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_EXPANDED_ENTITY not returning entities
* Nested result type data: begin of ls_cfg_characteristics. include type /sie/cl_ad_iset_con_02_mpc=>ts_configuration. data: tocharacteristics type standard table of /sie/cl_ad_iset_con_02_mpc=>ts_characteristic with default key, end of ls_cfg_characteristics.
exporting
is_data = ls_cfg_characteristics
changing
cr_data = er_entity ).
append ls_expanded_clause to et_expanded_clauses.
1. The data for the expanded values is not transferred to the response, its just empty
"Connection Failure Error "Issue with RFC Connection between OGW system(Ramp up system) and EH6(Demo system)
Hi,
I have established the RFC connection between OGW system(Ramp up
System) and EH6(Demo System). Connection test is successful but i am getting "Connection failure error " while execution OData in
Gateway Client.
System name:
OGW Client 001
SAP Net weaver Gateway 2.0 SP7
and
EH6 Client 200
EH6 Client 200 - MDG 6.1
I have uploaded the images of the screen shots for the issue.
Please help with the solution.
Thank you.
Problem with sending base64 encoded values via Web-Service
Hello,
I was wondering maybe you guys can help solve a problem regarding with sending base 64 encoded messages via web-service.
As mentioned, I am trying to upload base 64 encoded messages to backend. In the frontend, the javascript encoder seems to be working just fine (I checked the encoded results with the result of one of the online encoders. The result was the same. So - the file gets correctly encoded.)
But when I check the result received with the web-service, then the import parameter is faulty with only having about 1/4 of the correct code and the rest is something else. Maybe it has something to do with the type 'string' I am using (not long enough?) ?
Here's some graphical examples :
1. The encoded (and correct result from javascript, NOTE : the red mark illustrates the point where something goes wrong in the web-service result) :
2. The faulty result I got in the debugger mode :
Hope you can help,
Thanks,
Mario.
/iwfnd/maint_service unable to see leave request services
hi all
we add leave request service in /iwfnd/maint_service by add service-->select service --> add selected service
service leave request registered with system
but now unable to see service in it.
also
unable to see service in get services....
uix01hcm installed successfully...
please provide needfull details..
Error in SAP Netweaver gateway
Dear Experts,
I am using demo sap system and I Created one SAP Netweaver gateway project and created the service maintenance as GW_HUB
My configuration
Manage SAP System Aliases
SAP System Alias: LOCAL
Description: Local Gateway
Local Gw: X
For Local App: X
RFC Destination: NONE
Software Version: Default
System ID: EH7
Client: 800
Gateway setting : (SAP NetWeaver Gateway Settings)
Destination system: GW_HUB
Client : 800
System Alias: EH7
RFC Destination: NONE
But I am getting below error () attached file
please help me on this..
Blackberry - sup 2.1 Odata
Hi All ,
while registering ,am unable to get the service documents . How to solve the error ?
1) Am using BIS .
Regards ,
Sukanya
can any one explain how to resolve these type of errors and when these will occur?
<?xml version="1.0" encoding="utf-8" ?>
</error>
SAP gateway query options(filtering,paging sorting and searching).
Dear Gurus,
I have a requirement on SAP gateway service to implement logic on query options(filtering,paging sorting and searching).
1. i have one custom table it contains 5 fields and need to display on sap Ui5 screen.
2. i need to do query operations(filtering ,paging,sorting and searching).
how to implement
IMPORTING
IV_ENTITY_NAME
IV_ENTITY_SET_NAME
IV_SOURCE_NAME
IT_FILTER_SELECT_OPTIONS
IS_PAGING
IT_KEY_TAB
IT_NAVIGATION_PATH
IT_ORDER
IV_FILTER_STRING
IV_SEARCH_STRING
IO_TECH_REQUEST_CONTEXT
EXPORTING
ET_ENTITYSET
what data i need to IMPORTING and which query operation i need to first and code logic?
Help on this.
Thanks & regards,
bala.
How to create HTTPS Netweaver Gateway Service
I need to create a secure Netweaver Gateway service, Basis has done the required configuration and I have choose the radio button SSL in SICF transaction for the service but on execution it does not find the service.See error message below.
Service is active in SICF and it works fine if i choose Standard radio button under Logon Data tab of SICF tcode.
Can someone please help.
Netweaver message -
</error>
How to create HTPPS Netweaver Gateway Service
I need to create a secure Netweaver Gateway service, Basis has done the required configuration and I have choose the radio button SSL in SICF transaction for the service but on execution it does not find the service.See error message below.
Service is active in SICF and it works fine if i choose Standard radio button under Logon Data tab of SICF tcode.
Can someone please help.
Netweaver message -
<code>HTTP/404/E/Not Found</code>
<message>Service /sap/opu/odata/sap/Z_PAYMENT_SRV/ call was terminated because the corresponding service is not available.The termination occurred in system XX with error code 404 and for the reason Not found. Please select a valid URL. If it is a valid URL, check whether service /sap/opu/odata/sap/Z_PAYMENT_SRV/ is active in transaction SICF. If you do not yet have a user ID, contact your system administrator.</message>
</error>
fiori approval tiles show error....
hi all
after give authorization to SAP _GBHCM_LEAVE_APPROVAL_MGR to manager , approval tile show error.
error in ecc show
and
full text
Category ABAP Programming Error
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
ABAP Program CL_PT_REQ_ATTABSDATA==========CP
Application Component PT
Date and Time 23.06.2015 17:37:57
Short Text
Access using a 'ZERO' object reference is not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_PT_REQ_ATTABSDATA==========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
You are trying to access a component with a 'ZERO' object reference
(points to 'nothing'). Variable: " ".
An object reference must point to an object (an instance of a class)
before it can be used to access a component. The reference has either
never been set, or it was set to 'ZERO' with a CLEAR statement.
- Transaction.........
Call program............/IWFND/CL_MGW_REQUEST_MANAGER=CP
Function module..... /IWBEP/FM_MGW_HANDLE_REQUEST
The termination occurred in ABAP program "CL_PT_REQ_ATTABSDATA==========CP",
in "IF_PT_REQ_ITEM~SET_ALL_ITEM_ATTRIBS". The main program
was "SAPMSSY1".
In the source code, the termination point is in line 94 of (Include)
program "CL_PT_REQ_ATTABSDATA==========CM00K".
EXPORTING
im_attabs_type = me->subty
im_pernr = me->pernr
IMPORTING
ex_name = subtype_description
EXCEPTIONS
it0001_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
Continue
User Request Management Service / HTTP 500 Error
Hi,
We published the ERP_UTILITIES_UMC_URM service (Multichannel entension of Gateway USERREQUESTMANAGMENT) in our ERP system and it now this service is available on the GW system.
We copied UMCUI5_MOBILE to ZUMCUI5_MOBILE and activated it in SICF.
This blog was useful for setting up the customizing settings User Self Service in SAP NetWeaver Gateway
We are able to create users using this service but when they go to login at http://server:port/sap/bc/ui5_ui5/sap/zumcui5_mobile/index.html#/Logon there is the following
500 SAP Internal Server Error
ERROR: System logon form fields have invalid values (termination: ERROR_MESSAGE_STATE)
The username and password is plain text (there are no symbols or numbers) so what are the invalid values. If I enter and incorrect username and password I will get a popup saying that the "client, username or password is incorrect"
Can anyone shed some light on this?
Automated Testing of OData Services with eCATT
Please find more information about the possibilities how to use eCATT for the automated testing of OData services in the following three SCN documents:
Automated Testing of OData Services with eCATT
Architecture of the eCATT OData Test Automation
Automating OData Service Testing with the eCATT OData Assistant
Best Regards,
Andre