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

Error during transport: Method is not declared + Component missing

$
0
0

HI

I got 2 errors when I transport:

 

Error 1:

Program ZCL_ZGW_VH_ORDER_DETAI_DPC_EXTCP, Include ZCL_ZGW_VH_ORDER_DETAI_DPC_EXTCO: Syntax error in line 000003

Method 'DETSET_GET_ENTITY' is not declared or inherited in class 'ZCL_ZGW_VH_ORDER_DETAI_DPC_EXT'. -

 

Error 2:

Program ZCL_ZGW_VH_ORDER_DE_01_DPC====CP, Include ZCL_ZGW_VH_ORDER_DE_01_DPC====CM006: Syntax error in line 000190

The data object 'LS_ET_DETAILS' does not have a component called 'ZZ_MATR_LEV_DATO'.

 

1)

When I go to Class Builder (SE24), and make a syntax check for ZCL_ZGW_VH_ORDER_DETAI_DPC_EXT, I got the error:

Class ZCL_ZGW_VH_ORDER_DETAI_DPC_EXT,Protected section

Method "DETSET_GET_ENTITY" is not declared or inherited in class

"ZCL_ZGW_VH_ORDER_DETAI_DPC_EXT". -

 

The code looks like this

 

protected section.  methods DETSET_GET_ENTITY    redefinition .

 

 

 

2)

If I go to include ZCL_ZGW_VH_ORDER_DE_01_DPC====CM006 (in SE38), I am navigated to method: DETSET_GET_ENTITYSET (That was the missing method in error 1). When I do a syntax check, I got the error message:

Class ZCL_ZGW_VH_ORDER_DE_01_DPC,Method DETSET_GET_ENTITYSET

The data object "LS_ET_DETAILS" does not have a component called

"ZZ_MATR_LEV_DATO".

 

Then I double click at ls_gw_et_details-zz_matr_lev_dato, and got the data statement: DATA ls_gw_et_details LIKE LINE OF et_entityset.

When I double click at et_entityset, I see that the et_enityset is type ZCL_ZGW_VH_ORDER_DE_01_MPC=>TT_ORDDET. Now I double click at TT_ORDDET I got the public section, where I can see that ZZ_MATR_LEV_DATO is already specified.

 

     ZZ_SPORSP_DATO type D,     ZZ_KSTROM type STRING,     ZZ_KSTROM_DATO type D,     ZZ_MATR_LEV_DATO type D,  end of TS_ORDDET. .  types:
TT_ORDDET type standard table of TS_ORDDET. .

 

 

 

Anyone who will help me?

 

Thanks

 

Lars


Upcoming Hands-On-Day on SAP’s latest UI technologies and frameworks for Partners in Walldorf

$
0
0

Are you a partner and do you want to train yourself on SAP’s latest UI technologies and frameworks?

 

Then this Hands-On-Day is for you.

 

The Hands-On-Day will take place on Thursday, April 10, 10:00-18:00 CET in Walldorf, Germany.  Seats are limited to 34 participants and there is a participation fee of 250€.

 

For more details please see the following post SAP’s latest UI technologies: Inform yourself and live code with the Product Owners by my colleague Jutta Weber.

 

Here you will learn about various UI technologies including the development of underlying services using SAP NetWeaver Gateway.

 

Best Regards,

Andre

Program not registered

$
0
0

Dears,

 

I am having problems to add some registered external programs at SMGW.

 

I have two RFC (TCP/IP) connections with the error message "ERROR: program XXXXXXX not registered"

 

I tried to add them by the expert functions, external security editor of files reginfo and secinfo but it didn't work.

 

Then I tried editing the files manually following this instructions but I still get the error: https://help.sap.com/saphelp_nw73/helpdata/en/e2/16d0427a2440fc8bfc25e786b8e11c/content.htm

 

The kernel version is 720 so I can't try the rfcexec.

 

Any other way to register those programs?

 

Thanks for your help!

 

Have a nice day!

SAP Gateway Integration with SAP BPM

$
0
0

Hi,

 

 

Could you please share any documents on Accessing BPM Process through SAP Gateway in the form of OData services.

Please explain in detail manner if documents not available..

 

 

 

Thanks

 

Sreenivas Pachva

is it possible to pass table fields(complex multiple fields) directly to create service using segw?

The specified HTTP method is not allowed for the resource identified by the Data Service Request URI

$
0
0

Hi Experts,

 

          I am getting following error in creating gateway service. 405 method not allowed.

              I am trying to update a table using put method.

 

Regards,

Dinesh Jeyasurian

Exception occurred in transport layer

$
0
0

Hi

When I try to generate my gateway project, I go the error:

Generation of runtime objects for project 'ZGW_VH_ORDER_DETAILS' failed

Internal error occurred

Exception occurred in transport layer

error.PNG

 

The service was running without any problems, but then I wanted to add 2 fields.

I tried to add the fields in the properperties of my entitytype, and do a mapping.

But got an error. So I did remove the fields from the properties again.

Now I got the above error?

 

Anyone who can help me?

 

Thanks,

Lars

Gateway System Aliases

$
0
0

Hi Gurus,

 

I've created a service on the DEV system, and after I've tested it I transported it to the PRD system.

 

In my GW system, trx "/IWFND/MAINT_SERVICE", I found that that my service exists and that I can connect to the PRD systen by deleting the DEV alias, and adding the PRD alias.

 

My question is: Can I keep both aliases set in the gateway system and change between them from the gatewaw link?

 

Here is a print screen with my alias set:

alias.jpg

And here is a print screen of the gateway request URI:

 

client.jpg

 

Is there a way to achieve this ?

 

Thanks,
Marius


Sizing Guidelines NW GW Central Hub

$
0
0

Hello everyone,

 

i m looking for a sizing guide for a NW 7.4 Gateway Central Hub System.

 

I have read some posts with reference to http://service.sap.com/sizing but I do not find a sizing guide for NW Gateway Central Hub Installation there!

 

Thx for your help!

 

 

BR, René.

Does Gateway consume a WS from a Third-Party source?

$
0
0

Hi,

 

Does anybody know if Gateway can consume Web Services from a Third-Party system?

 

Thank you a lot.

 

Kind Regards,

Victoria

Service not working after altering Model provider class

$
0
0

Dear all,

I have created a OData service and consumed it successfully. I was able to post data to it. Now after altering the "model class" i.e., adding one property and changing ABAP Dictionary type. After doing these changes but i couldn;t consume the service and get "500 Internal server".

 

Did anyone experience this problem? Please note i didnt use Service builder(SEGW) to create a project instead i did all manually using Model and Data provider classes.

 

Please suggest. Your help is appreciated.

Points will be awarded to helpful answers.

 

Regards

Prabaharan

Special Characters are getting added after RFC call

$
0
0

Hi,

 

We are calling an RFC in Get_EntitySet method of a Gateway service. In the table 't_output' of that RFC, we have a 'description' field of char50 which is initially blank and gets populated after RFC execution.

But after RFC call in gateway, this field is getting populated with preceding string "   \u0000\u0000\u0000\f\u0000\u0000ఀ"(as found in http response, find the debugger values in screenshot) then the actual values. I have tried executing the FM separately but there it was returning correctly (without this special character string).

Why is this happening and how to resolve it?

special characters.PNG

Locking mechanism in SAP Gateway.

$
0
0

Hi ,

    I am new to SAP Gateway. I have a scenario where i will get a record from the backend custom table ex:Lets assume a student mark details. The user can change the students mark in the Ui5 screen and then on the click of submit. The record will be updated in the backend .

 

My question is since we are changing the data in the table, who can we handle the locking mechanism in the SAP Gateway when the record is in process.

 

Since i will read the record by using one RFC and update the record by using another RFC.

 

 

Inputs needed on this. Thanks in advance.

Upload file to SAP

$
0
0

Dear all,

I have created a OData service in SAP Netweaver gateway to upload a file. To test this i used "POSTMAN" rest client to send a file.(File attached).

I received the file content in SAP in the strucure "IM_MEDIA_RESOURCE". Also i was able to display PDF in browser again.

 

Q: How to post file data to SAP (to which arguement) using javascript?

 

Regards

Prabaharan

SAP Web Dispatcher for https comunication..?

$
0
0

Hi,

 

 

I installed web dispatcher and re-direction is working fine.

My working scenaria is as:

     from: http://abc.com:8100

     to : http://xyz:8000

 

Re-direction of http with port 8100 works fine.

 

Now i want to make incoming traffic as https, I tried this "icm/server_port_1 = PROT=HTTPS, PORT=443" but didnt work.

i am trying to access URL in my internal network with https but not working.

What need to do?

Also, for https to access from open internet, there need to generate certificate and import it in web dispatcher.

How to generate PSE file for certificates and how to import it??

Will you please assist me soon.

 

Regards,

Suhas.


wrong host name in Gateway service Generation id3tdc00.wdf.sap.corp:55080

$
0
0

Hi Experts,

 

I am new to NW Gateway and working on the IDES NW7.31 with basic NW Gateway components. It seams no patch applied. all of the Gateways components SP levels are Zero.

 

I am not sure why i can't see the Odata service in SICF.

 

Also when i am generating the service using transaction /IWFND/REG_SERVICE using system alias as LOCAL ( with 'NONE' RFC destination) it tries to open the service with wrong host name and port.

 

http://id3tdc00.wdf.sap.corp:55080/sap/opu/sdata/sap/ZBANK01?sap-client=800&$format=xml

 

When i open any webdynpro application, or NWBC i can see the correct host and port which is http://mysapides.mac.com:8002...

 

Netweaver Gateway is also Activated in SPRO.

 

I am not sure what are the changes required to get the Service working on my host.

 

Please suggest.

 

 

Regards,

Nik

AssociationSet folder is not appearing in segw

$
0
0

I have created the a project in segw.Entitytype,Entityset,Association are appearing under the datamodel but Association is not appearing.

what would be reason for the same?

Please help me?

Process $batch request also as batch in backend?

$
0
0

Hi,

 

lets assume we have the following scenario: In the (SAPUI5) frontend a user marks 200 record and hits a button that triggers an OData batch request to NetWeaver Gateway. In the backend the request calls some external service (where establishing of the connection might take some time).

In the "standard" behaviour of NetWeaver Gateway all the 200 requests will be processes seperatly in the backend (which - in our case - means 200 seperate calls to the external system).

Is there a way that I can collect all 200 requests at once and send them in one go to the external service resulting in only one call to the external service? (Of course the response returned to the UI depends on what the external service delivers...)

 

Thanks in advance!

Push Notification implementation

SAP FIORI - Launch Page Error

$
0
0

Hi ,

 

 

After EXECTUTING the Launch Page service , Launch page has been displayed, But after
entering the Credentials and after clicking on Logon , Blank Page has
been displayed.

 

But in the Url if I
change the index to home ,it displays the Tile chips page of the apps
activated .

 

Please tell me the path
where I need to change the Launch Page URL  from index to Home so
that the Tile Page displays automatically.

 

Please find the
attached screen shots of the Problem facing.

 

Regards,

Venubabu.G

Viewing all 1745 articles
Browse latest View live