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

Trail version of ECC6 and netweaver gateway??

$
0
0

Hi experts,

 

To get practise i need to download the trail version and practise SapUi5 can anyone provide the details..

 

 

Regards,

Anusha


Is it possible to using SAP Gateway 2.0 to SAP ECC6 Netweaver 7.0 EHP 1

$
0
0

Dear Expert,

I would like to ask quite easy question. Is it possible to using SAP Gateway 2.0 to SAP ERP ECC6 Netweaver 7.0 EHP 1.

Need to upgrade ERP System? I found only document reference to 7.02

 

Regards,

Ming

Issue with attributes in Query Characteristics while consuming BEx Query to Gateway via MDX

$
0
0

Hello Experts,

 

I have two BEx Queries which I want to consume in Gateway through MDx.

 

Query 1 : has one characteristic(with 107 attributes) and three key figures.

Query 2 : has one characteristic(with 266 attributes) and three key figures.

 

I was able to generate oData service for Query 1 successfully while I wasn't for Query 2. The problem that I got is "Classes generated with syntax error". When I opened the model provider class, yes there is an error. The error is that it was not able to generate TYPES. It is like below.

 

  types: .

   types:

TT_ZPM_M07_ZGES_ZPM_M07_BOOKI type standard table of TS_ZPM_M07_ZGES_ZPM_M07_BOOKI. .

 

If you see there is nothing in the TYPES declaration, like below:

 

TYPES: BEGIN OF TS_ZPM_M07_ZGES_ZPM_M07_BOOKI,

               <all those 266 attribute fields>

               END OF TS_ZPM_M07_ZGES_ZPM_M07_BOOKI.

 

Attempt 1: If I deselect around some 50 attributes, it is generated properly. But It gives error when I Query on it. It doesn't serve any purpose.

Attempt 2: If I manually type the fields in the TYPES, the syntax error is resolved. But the RUNTIME ARTIFACTS are not generated for the service and the REGISTER button is disabled to register the service.

 

Any idea how can I get rid of this issue? Any notes or something?

 

Thanks in advance,

 

Best Regards,

Seyed Ismail MAC

Simple Field Extensibility: HowTo?

$
0
0

Hi,

 

Simple Field Extensibility - SAP NetWeaver Gateway - SAP Library talks about a feature that automatically cares for fields from appends to structures used as the abap type for an entity.

 

Does anybody know what to do in order that this is actually used?

 

I was so far unsuccesful: In SEGW I have created an entity based on an DDIC structure with an append. I have not included the ZZ fields from the apppend in the entity, as those should be included automatically based on the descirption from the help page above. However the metadata does not list the fields from the append as properties.

 

Regards,

Wolfgang

Reading HTTP Headers of Request in PUT method

$
0
0

Hi All,

 

We are able to read HTTP Headers of request in POST method, but not in PUT method.

 

in POST method (zentitySet_CREATE_ENTITY), we are able to read HTTP headers of request using following code.

    DATA: lt_request_header TYPE tihttpnvp,

          ls_request_header TYPE ihttpnvp.

    lt_request_header = me->mr_request_details->*-technical_request-request_header.

    READ TABLE lt_request_header INTO ls_request_header WITH KEY name = 'headername'.

 

 

Reading HTTP Headers, in PUT method (zentitySet_UPDATE_ENTITY), although the above code is comipling properly, it is giving runtime error

SYSTEM_DATA_ALREADY_FREE

Accessing data that has already been released is not permitted.

 

 

in PUT method, how can we get reference to request_header table.

 

thanks,

Madhu_1980

Not able to approve ChaRM request from Mobile

$
0
0

Hi,

 

We are not able to approve ChaRM request from Mobile.

 

We can able to login and can see the requests waiting for approval in my Mobile (SAP IT Change Aproval). However, When we click on requests waiting for Approval,  getting the below message.

 

"There was an unknown error syncing with the gateway"

 

Error Message.PNG

 

 

the below and attached screenshot contains,

 

  • Configuration and error screenshot taken from SAP
  • Error Log message taken from Mobile

 

Error Message.png

Settings.png

Settings_2.png

SU53_1.jpg

SU53_2.jpg

 

 

Please note, After getting the error message in my mobile, I have execute SU53. we are getting different messages every time in SU53.

 

We have assigned the required Gateway roles to the user:

 

GATEWAY_FRAMEWORK_ADM

GATEWAY_ODATA_ADM

GATEWAY_ADMINISTRATOR

GATEWAY_ODATA_USER

GATEWAY_USER

GATEWAY_WORKFLOW

 

Please have a look and suggest.

 

Environment : SAP Solution Manager 7.1 with SP11, Gateway is enabled in Solution Manager

 

Thanks, Ganesh

Monitoring Messages and Logs- NW Gateway and ECC

$
0
0

Dear All Experts,

 

Is there any way to monitor messages passing between UI - NW gateway - ECC ? (error / success both)

 

There are Tcodes "/IWFND/ERROR_LOG" ,  "/IWFND/TRACES " but I guess this is very limited.

 

In PI (Process Integration) , we can monitor (SXMB_MONI) messages in detail ?

 

 

And What is the purpose of "Transaction ID" which is generated automatically in every oData request in Nwtweaver Gateway?

 

 

Thanks

Unable to launch unified inbox

$
0
0

Hi

 

we are currently in IW_PGW 007, with all other components as highlighted in the blog Journey into the Unified Inbox.

screen.jpg

 

but the application "/IWPGW/TGW_UNIF_INBOX" is not avaialble in SICF service.

also, when i open this bsp application in SE80, it says:

An error occurred creating the application directory

 

is there any missing step, that we need to do manually to see the unified inbox application in SICF.

 

thanks in advance

Madhu_1980


Mapping RFC Parameters to Service gateway throws error

$
0
0

Hi Experts,


I've a task of creating Netweaver gateway service mapped to Remote Function Module. I see in SCN discussions that the service implementation could be mapped to Function module parameters like that one: Steps to create custom Gateway service and Android application through Eclipse Part 1.

 

Scenario:

I've created table and function module which Create/Update/Retrieve/Delete data for that table.

 

Import parameters: [Table contents] + Operation

Export parameters: [Table contents] + Operation Executed + Return Message


I've tested the function module and enable RFC for it.

 

In SEGW transaction I created Z_project and import the RFM mentioned before in the  Data Model folder as discussed in the mentioned link above. In this I choose the import parameters only of the function module.

 

I created EntitySet of type of the created entity type.

 

Now, I should implement service through Service Implementation folder  for the created EntitySet.

 

In SCN discussion, he mapped the (Create/Delete/GetEntitySet/GetEntityType/Update) to the function module.

What I've done: I mapped the import parameters for the function module with constant string for the operation with the required operation. When "Generating Runtime objects" there is an error always  for the 5 operatins(Create/Delete/GetEntityset/GetEntityType/Update) "Data Provider binding" and the "Generation of runtime objects for the project Zxxxx not possible" as follow:


Untitled.png

 

I think there is something is missed from me in that. Could you review the scenario and tell me what should be done?

SAP NetWeaver Gateway Service Creation

$
0
0

Hi,

I want to create gateway service.

My rfc function is in the other sap system So I want to call and map rfc other system and get entity as export parameter and tables that rfc .

How can I do?

thnks...

Gateway versions vs support package levels

$
0
0

Hi,

 

I'm looking into SAP Gateway and I want to work on a test scenario with a stand-alone Gateway HUB (NW 740) system and a Gateway back-end system (IDES ERP 6.0 EHP6). In the SAP Help I see that the latest Gateway version is 2.0 SP7. Is there an overview available of the corresponding Gateway versions and the support package levels of the software components (SAP_GWFND, IW_BEP) or/and can I check the current Gateway version in the system? I already checked SAP Help, release notes and this SCN space.

 

Thanks in advance!

 

Regards,

Jeroen

How to pass a table (not a range table) input from URL for a RFC in get_entityset

$
0
0

Hi All,

 

There is a table input in a RFC which has to execute in get_entityset method. $Filter is allowing to take the input into range table but my input table is not a range table.

 

Is it possible to pass a non-range table data from URL for a gateway service?

 

Thanks,

 

Suresh Yerra.

Compatibility SAP Gateway (Netweaver 7.4) and SAP Business Suite (Netweaver 7.0)

$
0
0

Hello,

 

we are planning to install SAP Gateway on SAP Netweaver 7.4 SP10 as a Central Hub Deployment, and the development will be in SAP Business Suite Backend System. We have 2 backend systems with same SAP Netweaver 7.0 SP28 (SAPKB70028) and ECC 6.0 SP23.

 

The questions:

 

  1. Will we have any problem with these combinations?.
  2. What SP of Gateway component IW_BEP is compatible with SAP Netweaver backend systems? or Can we install IW_BEP SP10 on backend systems?.

 

 

Thanks,

 

Angel

Issues while using PUT in Sapui5 using odata services..

$
0
0

Hi Experts,

 

I'm using Odata services, Everything is working fine Except the moment when I try updating or using "PUT" operation.

In the gateway side while using the same URL, I been able to update it but the same is not happening through SAPui5,

I'm getting a 403 forbidden error, attaching a screen shot of the error.

 

I try reading other blogs, but it was not helpful...I can even post the codes also if anybody want it.

 

Need help !

 

Regards,

Ashwin

Update from deep structure data

$
0
0

Hi Guys,

 

I'm working on a gateway project which is receiving data as a deep structure for PUT request from UI.

I was able to perform PUT for flat structures in the gateway but for a deep structure the logic doesn't get triggered.

 

I went through some blogs and threads saying the Gateway doesn't have anything like UPDATE_DEEP.

What could be the best way way to handle this type of request. The data is a project systems structure coming in hierarchy format which can be nested upto 4 levels.

 

Any help from you guys will be much appreciated.

 

Regards,

Abhishek


Debugger is not triggering in CHANGESET_BEGIN and CHANGESET_END

$
0
0

Hi All,

 

I am not able to debug in method /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_BEGIN and in /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_END .

I have redefined these methods and using batch operation .

 

However getentity is triggering for each batch request.

 

Regards,

Ajay

Fields With Prefix XML and The GateWay

$
0
0

Hello community,

 

it seems to be a problem to use fields in the SAP GateWay with the prefix XML.

 

When I used a field called XMLID, I get an error.

 

001.JPG

 

When I renamed it to XMID all works well.

 

002.JPG

 

Has anyone ever seen the same or similar problem?

How did you solve the problem?

 

Thanks in advance.

 

Cheers

Stefan

SAP Netweaver Gateway Odata- Asynchrounous Processing / Mass data

Error during connection in Gateway Management Cockpit

$
0
0

Hello,

          I am trying to make connection of Sqlserver to SMP Cockpit. I have insert all information needed. In Destinations tab when I am clicking on Test Connection for checking connection is made or not, it showing  error as 'Cannot read properly 'status code' of undefined'. Plz help to resolve this issue and I am attaching snapshot of error.

 

 

    Error1.png

#1 - OData CRUD Crash Course - Query

$
0
0

query.pngPrerequisites


You should have done the following steps:


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


Step-by-Step Procedure


- Building Query operation

 

1. In SAP transaction SEGW, expand a project folder and open TravelAgencySet. Click on GetEntitySet (Query) and choose Go to ABAP Workbench.

1.png

2. As the first implementation, you'll see the popup.

2.png

3. Click on the *_DPC_EXT folder. The right pane should show the Class Interface shown in the next step.

3.png

4. You'll see the list of the methods. Scroll down - click and focus on the "..._GET_ENTITYSET" and press the Redefine icon.

Tip: Make sure if your editor is in edit mode with the edit.pngicon. Redefine icon is redefine.png.

4.png

5. Here's the generated code from the superclass. Delete the commented out lines of code.

5.png

6. You have an empty implementation now.

6.png

7. If you click "Signature" text, you'll see the in & out parameters of this method. We'll implement so that it returns "ET_ENTITYSET" parameter.

7.png

Here's implementation:

   Naming convention:    l - local variable   t - table   
01 method TRAVELAGENCYSET_GET_ENTITYSET.
02
03   DATA: lt_entityset TYPE TABLE OF stravelag.
04
05   SELECT * FROM stravelag INTO TABLE lt_entityset.
06
07   et_entityset = lt_entityset.
08
09 endmethod.

#03 defines a variable which holds the TravelAgency table contents. #05 loads the database table "stragelag" that contains the TravelAgency data into the local variable. #07 sets the value in the predefined output parameter "et_entityset" - as you see in the Signature pane, the data type is already generated as a TravelAgency structure "..._MPC=>TT_TRAVELAGENCY".

 

Those tiny 3 lines of code does the database access and returns the TravelAgency collection in OData - how simple & powerful is that? :-)


Make sure you activate it by activate.pngicon.


- Testing Query operation


Start your favorite REST Client tool - this one is using Firefox RESTClient. In this step, you should have seen the actual URL of the OData service. Type it in the REST client URL with HTTP GET.

8.png

The Query result should come in correctly!


What's next? You can choose either of:

 

- Create operation

- Read operation

- Update operation

- Delete operation

Viewing all 2823 articles
Browse latest View live


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