Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all 2823 articles
Browse latest View live

SAP NW Gateway : How I can create a link to ERP transaction and publish

$
0
0

Dear SAP NW Gateway specialist, I have a Server SAP NW Gateway and a Server ERP EHP6,. I need to know if is possible use the SAP NW Gateway for publish by IE(Intranet) any custom/standard transaction from the server ERP EHP.

 

We have designed a transaction in the ERP (for example trx ZTEST) with the special screen to be used by mobile device but we want to use SAP NW Gateway to publish this transaction by IE. Is possible to do this? If is YES please can tell me how to do it? or tell me any link for investigate .

Thank you


HCI with oData Provisioning

$
0
0

HCI + oData Provisioning:

 

Recently there was a new update on HCI with oData Provisioning which helps to connect to your On Premise System OnDemand and extract data from SAP Business Suite via Gateway oData Services openly in Cloud.

 

Some of the limitations or responsibilities of an On-Premise systems would be :

 

  1. Upgrading the frontend server to the newest SAP components
  2. Manually sizing the systems and scaling them for the peak load – meaning that the systems are often not utilized efficiently
  3. Monitoring system downtimes
  4. Monitoring security and preventing hacker attacks
  5. Exposing data from OData services for consumption in the cloud

 

HCI oData Provisioning helps customers who are concerned by the implication of an On-Premise Gateway Hub Installation. The SAP Gateway hub component is hosted on the SAP HANA Cloud Platform meaning that SAP safeguards secure operation and runtime aspects of HCI OData Provisioning including:

 

  1. Upgrading the frontend server to the newest SAP components
  2. Cloud elasticity ensuring the best performance for customers
  3. Lowering TCO: the systems are often not utilized efficiently when operated in a customer’s data center, as they need to be sized for peak loads
  4. Exposing the exposed OData services to the cloud using the SAP HANA Cloud Connector
  5. System administration and monitoring tasks
  6. Security monitoring
  7. Serves as the basis for products like SAP Fiori or SAP HANA Cloud Platform mobile services

 

To access this facility logon to your HCP Trial Account. In case you have not created one you can create it at https://account.hanatrial.ondemand.com/

 

To access the HCI oData Provisioning,

Go to Services -> Click on HCI OData Provisioning -> Click Enable

1.png

  If you are accessing the HCI oData Services for first time you need to Assign the GW_ADMIN Role to your ID.

 

To do that click on Services -> HCI OData Provisioning -> Under Service Configuration Click on Configure HCI OData Provisioning

2.png

  Click on Roles

3.png

  Click New Role - > Select GW_Admin

4.png

  Under Individual Users Click on Assign and enter your S-User ID(ID which you have used for Login/Registration)

  5.png

Note : Do not assign GW_ADMIN and GW_USER to same ID as the HCI oData Provisioning Admin Page will show Authorization error.

 

Once this Role is Assigned you will now be able to view the HCI oData Provisioning Administration Page as below.

 

To go to this Page : click on Go To Service under Service Description

  6.png

HCI oData Provisioning Admin Page:

7.png

  In the next post we will learn how to Register a Service and its requirements.

 

Regards,

Nagesh

#9 How To... Implement End-to-End Push Notifications with HCPms and SAP Gateway

$
0
0

#9.png

This is a part of the implementation details of How To... Implement End-to-End Push Notifications with HCPms and SAP Gateway.


 

Tips & Tricks - Implementing Subscribable OData services & Notification API in ABAP

13.png

You have a complete e2e landscape for push. Let's talk about how to implement "Subscribable" OData services with SAP Gateway and trigger the notification from ABAP application.

 

Building Subscribable OData services

 

If you don't have any OData services nor ever have coding experiences with SAP Gateway, here's a beginner level crash course of how to build your OData CRUD services. From now on let's assume you have done the CRUD implementation with TravelAgency data.

 

#1 - OData CRUD Crash Course - Getting ready with offline store

 

Now that you have functional OData services, go to the transaction code SEGW - Open "Data Model" > "Entity Sets", find your collection you want to make subscribable. You'll see the checkbox "Subscribable". Tick it in.

9.1.png

Click on the project and select "Generate Runtime".

9.2.png

Find "Runtime Artifacts" and select "...DPC_EXT" and "Go to ABAP Workbench".

9.3.png

In the ABAP Workbench, you should be able to find "CHECK_SUBSCRIPTION_AUTHORITY" in the "Methods" > "Inherited Methods". Select it and "Redefine". Simply you save it - this is the place for extra authorization check to access "/IWBEP/D_MGW_SUB" table. But for this case you can leave it empty implementation. (= anyone can subscribe)

9.4.png

In the "Runtime Artifacts", select "...MPC_EXT" and "Go to ABAP Workbench".

9.8.png

Find "DEFINE" in the "Methods" > "Inherited Methods". Select it and "Redefine".  And type in a single line of "super->define( )." Save it.

9.7.png

Time to check if you made it subscribable. In the transaction code SEGW, start a Gateway Client via the system in the "Service Maintenance".

9.5.png

Execute it and you should be able to confirm two new collections of "SubscriptionCollection" and "NotificationCollection".

9.6.png

Tip - if you still don't see them, most likely your client is seeing cached metadata. Please try following:


  • Clear the cache in Gateway Hub: tx code /IWFND/CACHE_CLEANUP
  • Clear in Backend: tx code /IWBEP/CACHE_CLEANUP
  • (Recommended during the development) Deactivate caching: tx code SPRO "SAP NetWeaver" > "Gateway" > "OData Channel" > Administration > Cache Settings > Metadata

9.9.png


Now your favorite OData services became subscribable!

 

 

Using Notification API to trigger Push event

 

SAP Gateway provides a notification API that facilitates sending notifications from the back end when a back-end event is triggered. The necessary set of API calls to send an appropriate notification once a back-end business object event is triggered are listed below. Integrate the appropriate code for these calls into the standard processing of your ABAP logic - such as during OData CUD methods or in the SAP business object via an appropriate user exit or BADI.

 

  1. Call static method /IWBEP/CL_MGW_SUB_REGISTRY=>GET_SUBSCRIPTION_REGISTRY( ) to get the instance of the subscription registry.
  2. Call method GET_SUBSCRIPTIONS( ) of the subscription registry, and provide the model group name and the collection for the notifications of the current business application.
  3. Call static method /IWBEP/CL_MGW_NOTIF_PUBLISHER=>GET_NOTIFICATION_PUBLISHER() to get the instance of the notification publisher.
  4. Call method CREATE_NOTIFICATION_ENDPOINTS() of the publisher instance, and provide the data structure you want to send and the list of subscriptions returned by the registry. (Note - formal help document: /IWBEP/IF_MGW_NOTIF_PUBLISHER - SAP NetWeaver Gateway - SAP Library)
  5. Call method SEND_NOTIFICATIONS() of the publisher for each notification endpoint.

 

Tip - Some remarks with CREATE_NOTIFICATION_ENDPOINTS(). This is specific with /Notification/ Push URL of HCPms:


  • IS_DATA - Mandatory, but you could set any data (this data is originally meant for a HTTP body - but HCPms only sends the header data).
  • IV_TYPE - Mandatory, but it doesn't matter if it is "ID" or "DATA". This value is used to send the HTTP Body payload that is ignored by HCPms.
  • IR_POKE_DATA - If you want to send any additional data (such as OData Entity, email address), use this param - it will be alive in the header.
  • IV_ENTRIES_OF_INTEREST - This is a "Badge" value for push client API.

 

9.11.png

Please have a look at the complete code in the Appendix to go through those steps with push information (the push will send "Created!" text and its OData entity data), it is intended for embedding in the OData's "Create" method, so that when Create occurs, it sends the notification to the subscribers.

 

As another sample, ABAP report “/IWBEP/R_MGW_PUSH_TEST” demonstrates the notification transmission with FLIGHT sample data.

 

The notification format can be ATOM XML or JSON, which you must specify when you send the subscription request. For example, to receive notifications in the JSON format, send the value of the “Accept” HTTP header to “application/json”. By default, ATOM XML-formatted notifications are used. If your OData client creates a subscription via JSON, here's how it looks in the subscription table (NOTIF FORMAT field):


Note - XML format is preferred with /Notification/ Push URL. (JSON would not work)

9.10.png

Official help doc: SAP Gateway Notification Support

 

 

Appendix: Sample Code to Trigger Push

* Fixed values for /IWBEP/D_MGW_SUB table  CONSTANTS: lc_technical_group_name TYPE /iwbep/med_grp_technical_name VALUE 'Z_TRAVELAGENCY_SRV',                   lc_group_version        TYPE /iwbep/med_grp_version        VALUE 0001,             lc_collection           TYPE /iwbep/mgw_sub_collection     VALUE 'TravelAgencySet',
* The push text message             lc_text                 TYPE string                        VALUE 'Created!'.
* Vars for Subscriptions  DATA: lo_sub_registry  TYPE REF TO /iwbep/if_mgw_sub_registry,        lt_subscriptions TYPE        /iwbep/t_mgw_sub_data,
* Vars for Notifications        lo_notification_publisher TYPE REF TO /iwbep/if_mgw_notif_publisher,        ls_notification_endpoint  TYPE /iwbep/if_mgw_notif_publisher=>ty_s_notification_endpoint,        lt_notification_endpoints TYPE /iwbep/if_mgw_notif_publisher=>ty_t_notification_endpoint,        lr_data                   TYPE REF TO data,        lv_notification_type      TYPE char1,        lx_mgw_tech_exception     TYPE REF TO /iwbep/cx_mgw_tech_exception.  FIELD-SYMBOLS: <ls_subscription> TYPE /iwbep/s_mgw_sub_data.

* Permission for access to /IWBEP/D_MGW_SUB table
  AUTHORITY-CHECK OBJECT 'S_TABU_DIS'    ID 'ACTVT'     FIELD '02' " Activity: 02: Create, change, or delete    ID 'DICBERCLS' FIELD 'IWAD'. " Authorization Group: IW Admin  IF sy-subrc NE 0.    RAISE EXCEPTION TYPE /iwbep/cx_mgw_tech_exception      EXPORTING        textid = /iwbep/cx_mgw_tech_exception=>missing_authorization.  ENDIF.

* Type is either ID or Data (Full Payload) - for HCPms, it doesn't matter if it is "ID" or "DATA",
* as HTTP body will be ignored by /Notification/ Push URL of HCPms
  lv_notification_type = /iwbep/if_mgw_notif_publisher=>gcs_notification_types-id.
* Obtain /IWBEP/D_MGW_SUB table  lo_sub_registry = /iwbep/cl_mgw_sub_registry=>get_subscription_registry( ).
* Obtain a list of subscribers  lt_subscriptions = lo_sub_registry->get_subscriptions(                      iv_internal_service_name    = lc_technical_group_name                      iv_internal_service_version = lc_group_version                      iv_collection               = lc_collection ).
* Object to push  lo_notification_publisher = /iwbep/cl_mgw_notif_publisher=>get_notification_publisher( ).  LOOP AT lt_subscriptions ASSIGNING <ls_subscription>.    IF  <ls_subscription>-language IS INITIAL.      <ls_subscription>-language = sy-langu.    ENDIF.  ENDLOOP.
* For this case ls_entity set is already declared as "ls_entityset TYPE stravelag"
* entity data will be sent to the push client  GET REFERENCE OF ls_entityset INTO lr_data.
* Set the required params for push   lo_notification_publisher->create_notification_endpoints(    EXPORTING
* those two value are mandatory but ignored      is_data           = lr_data      iv_type           = lv_notification_type
* type "create"      iv_operation_type = /iwbep/if_mgw_notif_publisher=>gcs_operation_types-create
* push text       iv_text           = lc_text
* additional info (this example is entity data)       ir_poke_data = lr_data
* "Badge" value 
*      iv_entries_of_interest =      it_subscriptions  = lt_subscriptions    IMPORTING      et_notification_endpoints = lt_notification_endpoints ).

* Push the text message to relevant subscribers - this will create a bgRFC queue
  LOOP AT lt_notification_endpoints INTO ls_notification_endpoint.    TRY.      lo_notification_publisher->send_notifications(              is_notification_endpoint = ls_notification_endpoint ).    CATCH      /iwbep/cx_mgw_tech_exception INTO lx_mgw_tech_exception.    ENDTRY.  ENDLOOP.

Multiple rows update in backend.

$
0
0

Hi folks,

 

How to update multiple entries.. I have scenario like based on check box select I need to update those rows in back end through O data code based service.


If you can paste links too....


-Amol

SSO problem with the SAP Gateway Client /IWFND/GW_CLIENT

$
0
0

Since I ran into the same problem two times this week I thought it would be a good idea to post the solution in a small blog ...

 

When configuring a demo system for SAP Gateway I tried to test an OData service using the SAP Gateway client /IWFND/GW_CLIENT and got the following error message:

 

HTTP Send failed:   

HTTPIO_ERROR_CUSTOM_MYSAPSSO~Fehlermeldung beim

Senden der Daten.

 

HTTPIO_ERROR_CUSTOM_MYSAPSSO.PNG

 

 

Since Single Sign-On is one of the key features of the SAP Gateway Client such an error message is quite annoying.

 

The reason was that the following instance profile parameters were not set correctly.

 

login/accept_sso2_ticket

login/create_sso2_ticket

 

The correct values are (as mentioned in the Online Help Profile Parameters - SAP Gateway Foundation (SAP_GWFND) - SAP Library )

 

login/accept_sso2_ticket = 1

login/create_sso2_ticket = 2

 

So always read our documentation carefully .

 

To test the settings without maintaining the instance profile you can use transaction RZ11.

 

rz11.PNG

 

Press the Display button and the following window opens:

 

rz11_2.#PNG.PNG

 

Here you can choose the Change Value button that lets you change the parameter value immediately (but not permanently) so that I was able to proceed with my testing.

 

 

Best Regards,

Andre

NW Gateway Client Problem

$
0
0

Hi experts,

 

I have a problem when executing my web service. it gave me the following Error.

 

HTTP Send failed: HTTPIO_ERROR_CUSTOM_MYSAPSSO-Fehlermeldung beim Senden der Daten.

Message no. /IWFND/COS_SUTIL100

 

I can access my service through REST client in chrome.

 

Please help me on what I should do on this.

and let me know if you need more information.

 

Thank you so much.

-Martin-

Creating entity links using $links

$
0
0

Background

 

Let's say we have two entity sets:

 

Categories

Products

 

A category can contain a list of products, so the navigation property is defined for Categories('key')/Products. A product can exist in many different categories (and so is be maintained independently of the Categories).

 

Issue

 

The problem I have is that I am unable to create links between the two objects using a POST request to Categories('key')/$links/Products. According to this link it should be possible to redefine the CREATE_LINKS method in our data provider class, but the method doesn't appear on the interface: :/IWBEP/IF_MGW_APPL_SRV_RUNTIME - SAP Gateway Foundation (SAP_GWFND) - SAP Library

 

My last resort would be to create a new entity type called ProductLink, as it would provide me with what I need - but it would be nice to get the $links working if possible.


Has anybody managed to find a way to do this?

how to update a table from front end by ui5 in SAP gateway ?

$
0
0

hi all,

    when I want to update the table in gateway data provider class----method entityname_update_entity ,i only can get  only one row modified data,is there any other method i can get the modified table data, so i can modify the table data...


$batch response error handling

$
0
0

Hi,

 

I'm receiving number of PUTs in $batch POST request and after processing in case of any error, the error text is sent in the response body. The header HTTP status remains 202 (Accepted) irrespective of success or failure in batch response.

 

What is the best way to handle this response in UI to read the error messages?

OR

Is there a way to modify the HTTP status code to indicate error in the response body?

 

Thanks for your help.

 

Regards,

Abhishek

Versions compatibility between gateway components

$
0
0

Hi,

 

Currently we are planning to update Gateway server as shown below which is central hub for several back-end systems (ECC,CRM,SRM). I don't want to update gateway components in back-ends (ECC,CRM,SRM) at all.Please share your comments on this to understand the impact.

 

SAP_GWFND - SPS09 to SPS10

IW_FNDGC - SPS03 to SPS04

IW_SPI - SPS05 to SPS06

IW_PGW - SPS06 to SPS07

IW_CBS - SPS09 to SPS10

IW_CNT - SPS09 to SPS10

 

 

Please share any sap note or documentation which mentioned compatibility matrix between gateway server and backend server related to above gateway components.

 

I found one note 1830198 - SAP NW Gateway: Dependencies Between IW_BEP and IW_FND which mentioned that

 

In the case of embedded deployment, you are strongly recommended to run the same version and Support Package for all SAP NetWeaver Gateway components which is not applicable to my scenario.

 

In the case of central hub deployment, you can install component IW_BEP in multiple SAP Business Suite systems together with one SAP NetWeaver Gateway hub system installation. In this case, it is possible to upgrade the systems independently. - This is applicable scenario but it didn't mention any compatibility matrix.


Regards,

Koti Reddy

fiori approval tiles show error....

$
0
0

hi all

 

after give authorization to SAP _GBHCM_LEAVE_APPROVAL_MGR to manager , approval tile show error.

 

error in ecc show

 

approval error.png

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.

 

 

  1. 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

DPC_EXT SIMPLE CODE TO UNDERSTAND THE INPUT PARAMETER IN ODATA SERVICES TO FILTER.

$
0
0

Hi ,

 

I am new to ABAP GATEWAY SERVICES , I want to understand it with a simple example through DPT_EXT coding.

so that how can I filter through input parameters the entity and entity_set and what actually these term's mean.

can anyone help me with simple and good example of explanation.

 

Thanks in Advance.

Quick Starter Configuration Guide - SAP Gateway

$
0
0

Updates:

    • July 8th, 2013: Fixed typo in step 2 (the description of step  for system alias maintenance) and explained importance of the field system id in this step.
    • July 9th, 2013: According to the hint from Roy I now recommend to activate the flag "for local app"
    • June 26th, 2014:
      • Added the information that the prerequisites are fullfilled automatically when using SAP NetWeaver 7.40.
      • Changed the name SAP NetWeaver Gateway to the new product name SAP Gateway
    • March 27th, 2015: Updated links to the most recent online help version (GW 2.0 SP10)
    • November 27th, 2015: Added hint in the prerequisite section to check profile parameters needed for the SAP Gateway Client

 

In the past I have frequently been asked for a quick starter configuration guide for SAP Gateway since the configuration guide does explain all options which might confuse people.

 

In this document I therefore want to describe the basic configuration steps that have to be performed to activate SAP Gateway if

  1. embedded deploymenthas been chosen or if
  2. IW_BEP is deployed on the hub or if
  3. SAP NetWeaver 7.40 is used


in these cases the core components for SAP NetWeaver Gateway (GW_CORE, IW_FND and IW_BEP) and any optional backend components are deployed together in the SAP Business Suite backend system or at least IW_BEP is deployed on the hub system which is also a good idea in case you want to set up a hub-based deployment.In case SAP NetWeaver 7.40 is used the software component SAP_GWFND is deployed as part of the SAP Basis which comprises the functionalities of the AddOn's (GW_CORE, IW_FND and IW_BEP).

 

So this quick starter configuration guide will also help you if you set up a Gateway hub system.

 

After you have performed these three steps you should be able to develop a service on the hub / embedded system and publish it. You will nevetheless have to perform additional configuration steps later on as described in the configuration guide.

 

 

Step 0: Checking some prerequisites

 

  • AddOns:

    If the system runs on 7.0, 7.01, 7.02 or 7.31 as a prerequisite you have to deploy at least the following three add-ons IW_BEP, GW_CORE and IW_FND using transaction SAINT. When using SAP NetWeaver 7.40 this step is not necessary since the software component SAP_GWFND is already deployed as part of SAP Basis.

  • Profile parameters:

    Check whether the following profile parameters are set in the instance profile because otherwise you will later have a problem to start the SAP Gateway Client as described in my blog SSO problem with the SAP Gateway Client /IWFND/GW_CLIENT .
      • login/accept_sso2_ticket = 1
      • login/create_sso2_ticket = 2

 

Step 1: Activate SAP Gateway

 

As described in the Online Help you start transaction SPRO and navigate to the Activate or Deactivate SAP NetWeaver Gateway node in the implementation guide (IMG).

 

01 Activate SAP NetWeaver Gateway.JPG

 

Step 2: Create a SAP System Alias

 

You now have to create a system alias entry that points from the hub system to the backend system. Since you have chosen an embedded deployment you will create a system alias entry LOCAL using the RFC destination NONE. This is described in the Online Help.

 

03 Create System Alias.JPG

 

Here you fill in the following values:

 

FieldValue
SAP System AliasLOCAL
DescriptionLocal Gateway
Local GWX
For Local AppX (recommended for performance reasons because no RFC destination is used and thus rfc calls are local and more stable)
Software VersionDEFAULT
System IDThe SID of your backend system (here GWM)
ClientThe client you are in (here 800)
WS Provider System

 

This is shown as an example in the following screen shot:

04 Maintain System Alias.jpg

Caution:

You must maintain the field System ID though it is not mandatory. This is because transaction SEGW when being run in the backend selects all system alias entries of the backend system from where it calls the hub using the SID of the backend as a filter. If no value is maintained the system alias will not show up in the list. If only one entry is found it is taken as a default and no dialogue will show up.



Step 3: Create a Gateway Alias

 

This step is needed to have at least one entry for the Gateway hub in the Service Builder (transaction SEGW) to register services that you are going to develop. This is described in the online help.

 

04a Gateway System Alias SPRO.JPG

 

Please note that this time you have to navigate to a different part in the implementation guide called Gateway Service Enablement that contains the Gateway hub specific customizing settings.

 

Here you enter the following values

 

FieldValue
Destination SystemGW_HUB
ClientThe client you are working in (here 800)
System AliasGWM  (Enter a unique name for the host of SAP NetWeaver Gateway, for example the SID of your system)
RFC DestinationNONE

 

This is shown as an example in the following screen shot.

05 Gateway System Alias.JPG

 

Step 4: Activate node 'opu'

 

    1. In a freshly installed system you have to activate the 'opu' node using SICF.

      Activate_OPU_NODE_IN_SICF_01.png
    2. In the following dialogue you have to confirm that all sub nodes shall be activated as well

      Activate_OPU_NODE_IN_SICF_02.png
    3. Press refresh

      Activate_OPU_NODE_IN_SICF_03.png
    4. Expand the node 'opu' again and to check whether the changes have been performed

      Activate_OPU_NODE_IN_SICF_04.png

     

     

     

     

    Step 5: Test Your Settings

     

    You can now test your settings by developing a simple service using the Service Builder (transaction SEGW).

     

    07 Register and Maintain Service.jpg

     

    As you can see the name of the destination system of the SAP NetWeaver Gateway alias is shown in the Service Maintanance node in SEGW.

     

    When choosing Maintain in the context menu the Activate and Maintain Service transaction is started on the hub system. Please note that the service has been registered for the system alias LOCAL that you have maintained in step 2.

     

     

    08 maintain service.JPG

     

     

    Step 6: (For Development Systems Only !)

     

     

    Since this quick starter configuration guide will probably mostly used for development or test systems I would like to recommend to raise the Error Log Level for the error log in IW_BEP and IW_FND.


    Use the following transactions to change the settings for the Error Log Level from Secure to Full as shown in the following screen shots:

     

    Backend Error Log --> transaction /n/iwbep/error_log . There from the menu choose Error Log --> Global Configuration

     

    backend_error_log.PNG

     

    and

     

    Gateway Server Error Log --> via transaction /n/iwfnd/error_log . There from the menu choose Error Log --> Global Configuration

     

    Gatewy_server_error_log.PNG

    HCI with oData Provisioning

    $
    0
    0

    HCI + oData Provisioning:

     

    Recently there was a new update on HCI with oData Provisioning which helps to connect to your On Premise System OnDemand and extract data from SAP Business Suite via Gateway oData Services openly in Cloud.

     

    Some of the limitations or responsibilities of an On-Premise systems would be :

     

    1. Upgrading the frontend server to the newest SAP components
    2. Manually sizing the systems and scaling them for the peak load – meaning that the systems are often not utilized efficiently
    3. Monitoring system downtimes
    4. Monitoring security and preventing hacker attacks
    5. Exposing data from OData services for consumption in the cloud

     

    HCI oData Provisioning helps customers who are concerned by the implication of an On-Premise Gateway Hub Installation. The SAP Gateway hub component is hosted on the SAP HANA Cloud Platform meaning that SAP safeguards secure operation and runtime aspects of HCI OData Provisioning including:

     

    1. Upgrading the frontend server to the newest SAP components
    2. Cloud elasticity ensuring the best performance for customers
    3. Lowering TCO: the systems are often not utilized efficiently when operated in a customer’s data center, as they need to be sized for peak loads
    4. Exposing the exposed OData services to the cloud using the SAP HANA Cloud Connector
    5. System administration and monitoring tasks
    6. Security monitoring
    7. Serves as the basis for products like SAP Fiori or SAP HANA Cloud Platform mobile services

     

    To access this facility logon to your HCP Trial Account. In case you have not created one you can create it at https://account.hanatrial.ondemand.com/

     

    To access the HCI oData Provisioning,

    Go to Services -> Click on HCI OData Provisioning -> Click Enable

    1.png

      If you are accessing the HCI oData Services for first time you need to Assign the GW_ADMIN Role to your ID.

     

    To do that click on Services -> HCI OData Provisioning -> Under Service Configuration Click on Configure HCI OData Provisioning

    2.png

      Click on Roles

    3.png

      Click New Role - > Select GW_Admin

    4.png

      Under Individual Users Click on Assign and enter your S-User ID(ID which you have used for Login/Registration)

      5.png

    Note : Do not assign GW_ADMIN and GW_USER to same ID as the HCI oData Provisioning Admin Page will show Authorization error.

     

    Once this Role is Assigned you will now be able to view the HCI oData Provisioning Administration Page as below.

     

    To go to this Page : click on Go To Service under Service Description

      6.png

    HCI oData Provisioning Admin Page:

    7.png

      In the next post we will learn how to Register a Service and its requirements.

     

    Regards,

    Nagesh

    OData services on SAP HCM

    $
    0
    0

    Hello All,

     

    I need to have the HCM Payslip details in the UI5 Application.

     

    Could anybody please let me know whether standard(SAP Provided) OData services on HCM Module (Payroll) are available or not?

    So that I can check the possibility of reusing them instead of creating from the scratch.

     

    Regards,

    Lijo John.


    not able to create methods for Entity in DPC_EXT class

    $
    0
    0

    Hi all,

     

    i have created a new Entity in my Odata project , i am trying to create Run-time artifacts , but its not generating methods for new Entity in DPC_EXT class

     

    below is my Entity

     

    ref.JPG

     

    below is the message which i get after generating Run-time artifacts

     

    cap.JPG

     

    i have tried multiple times but not getting methods for new Entity in DPC_EXT class.

     

    Please Help.

     

    Thanks

    AShish

    Show label from Gateway in Response body

    $
    0
    0

    Hi

    In the properties of Entity Types, we have set som label names.

    How can we show thoese names, when we call the URL of the service?

     

    Thanks,

     

    Regards

    Aikon

    No default virus profile active or found. Please check the offical guide

    $
    0
    0

    Hello Gateway Gurus,

    While performing operation for Uploading file from gateway:

    error1.JPG

     

    I encountered the error.

     

    No default virus profile active or found. Please check the offical guide

     

     

    In our SAP Gateway system, SAP transaction VSCANPROFILE, This is the status:


    error2.JPG

     

     

    and a snapshot of my gateway:

    error3.JPG

     

    Please let me know if I'm missing any thing.

     

    Thanks

    --Pavan G

    Update error in NetWeaver Gateway

    $
    0
    0

    Hi,

     

    I have created a service in Gateway. I get the results when I use GET for my url.

    http://xxx.sap.corp:1080/sap/opu/odata/sap/ZICP_SO_SRV/SOSet('0500000004')/SOItemSet(ItemPos='10',SOId='500000004')

     

    When I try to update the content using PUT method from Gateway client, i get the below error.


    <?xml version="1.0" encoding="utf-8" ?>

     

    -<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

     

     

    <code>005056A509B11EE1B9A8FBE8A101378B</code>

     

     

    <message xml:lang="en">ResourcePath with NavigationPath is not supported for this Request Type</message>

     

    </error>

     

    I am using the same url which is used in GET, this gives me the exact line item of sales order which needs to be updated.

    I have also implemented Update methods in the generated class.

     

    Can anyone help me here?

     

    Thanks,

    Swetha

    SAP Gateway Service not working on Browser

    $
    0
    0

    Hello Experts,

     

    We are facing issue in executing Gateway service on Browser, error we see is "Page cannot be displayed, Look for the page with your search engine.

    Refresh the page in a few minutes."

     

    Gateway Service is working as expected in the Gateway client.

     

    SAP is hosted on Cloud on a Linux box at client location and hence we are unable to validate the local settings. We are using Embedded gateway in SAP.

     

    SAP Version:

    EHP7 FOR SAP ERP 6.0EHP7 FOR SAP ERP 6.0sap.comEHP7 FOR SAP ERP 6.0

    SAP Gateway Version :

    SAP_GWFND7400005SAPK-74005INSAPGWFNDSAP Gateway Foundation

     

    We have followed the link <<Quick Starter Configuration Guide - SAP Gateway>> for the configuration and also modified the Port 0 to 8000 (instance is 00).

     

    Please suggest any steps to identify the root cause.

     

    Thanks,

    Madhur

     

     



    Viewing all 2823 articles
    Browse latest View live


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