Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Gateway Developer Center
Viewing all 1657 articles
Browse latest View live

RFC call ended with \"Communication Failure\" exception

$
0
0

Hello All,

 

Could you please help me for the below error.

 

I have tried to call the odata service but i am getting the below error.

 

 

GET response: {"error":{"code":"SY/530","message":{"lang":"en","value":"RFC call ended with \"Communication Failure\" exception (Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT', communication rc: CM_DEALLOCATED_ABEND (cmRc=17), ta).)"},"innererror":{"transactionid":":"20150525035922.4387520","Error_Resolution":{"SAP_Transaction":"Run transaction /IWFND/ERROR_LOG on SAP NW Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"},"errordetails":[{"code":"/IWBEP/CX_SD_GEN_DPC_TECH","message":"RFC call ended with \"Communication Failure\" exception (Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT', communication rc: CM_DEALLOCATED_ABEND (cmRc=17), ta).)","propertyref":"","severity":"error"}]}}}


Remove Service Builder Project

$
0
0

Hi guys,

 

I stumbled upon the following issue:

I created a new project in Service Builder and removed it later on, I also deleted service and model in transaction SPRO but I cannot remove the GW Service Builder Project in se80, in fact I can't do anything with it! My intention was to delete the folder containing the project but even reassigning another package is not possible.

 

Any ideas?

 

Regards,

Thomas

Odata Service Creation Using SEGW Transaction

$
0
0


Hi All,

 

I am trying to create an Odata service using one RFC that takes three input parameters and returns one structure as output parameter.

When I am trying to do mapping of Get Entity Set it is saying that key variable does not have output mapping. But my key variable is input parameter so I am unable to change the mapping direction of key variable.

Please some body suggest how to change the mapping direction of mandatory import parameters in get entity set query.

 

 

 

With Regards

Neha Pandey

How many gateway services used in real project scenario for 1 application?

$
0
0

Hi all,

 

Lets say i have ui5 app which involves transaction business process so is it necessary to have one gateway service for one sapui5 application.

 

My assumption:There may be n no of service depending on the application built like one service can be to get the f4 help of the input field other to get the text details used in the screen and another to handle the business process.

 

Please help me understand.

Need advise on SAP Netweaver gateway/Odata/Eclipse

$
0
0

Hi All,

 

I am bit confused with all these terminology. Could you please advise me how do I make app for mobile using SAP netweaver gateway/Odata/Eclipse ..?I think that Eclipse is the way forward .....

 

I have SAP netweaver gateway system 2.0 installed and have Eclipse Kepler. Recently I have seen GWPA ..how and where can I get that ? and I am not able to install SAP Netweaver Gateway Plugin for Eclipse..can you please advise..

 

Kind Regards

Rama

Remove Service Builder Project

$
0
0

Hi guys,

 

I stumbled upon the following issue:

I created a new project in Service Builder and removed it later on, I also deleted service and model in transaction SPRO but I cannot remove the GW Service Builder Project in se80, in fact I can't do anything with it! My intention was to delete the folder containing the project but even reassigning another package is not possible.

 

Any ideas?

 

Regards,

Thomas

Odata Service Creation Using SEGW Transaction

$
0
0


Hi All,

 

I am trying to create an Odata service using one RFC that takes three input parameters and returns one structure as output parameter.

When I am trying to do mapping of Get Entity Set it is saying that key variable does not have output mapping. But my key variable is input parameter so I am unable to change the mapping direction of key variable.

Please some body suggest how to change the mapping direction of mandatory import parameters in get entity set query.

 

 

 

With Regards

Neha Pandey

Multiple Specification of the Name 'XXX' as a Component Name (Component Y)

$
0
0

I have the following ST22 short-dump:

 

"UNCAUGHT_EXCEPTION" "CX_SY_STRUCT_COMP_NAME"

"CL_ABAP_STRUCTDESCR===========CP" or "CL_ABAP_STRUCTDESCR===========CM00E"

"CHECK_COMPONENT_TABLE"

 

Multiple Specification of the Name 'ACTION' as a Component Name (Component 3)

 

 

Background:

I have a Gateway service, built in SEGW, with a number of entities.

None of the syntax rules are broken in my service.

I am able to do READ, QUERY on ALL entities.

I am able to perform $expand on a number of entities, with no errors.

 

Issue:

On two of my $expand URL I get back an error: "RFC Error: An exception occurred that was not caught."

In the backend I see the issue details, one example is shown below:

1.PNG

 

The ABAP filed name EMPLOYEE_D is being highlighted as the issue... EMPLOYEE_D only occurs once in the model of my service:

 

2.PNG

I have not implemented any manual change in the MPC_EXT for this gateway service.

 

 

I have tried setting a breakpoint in class CL_ABAP_STRUCTDESCR method CHECK_COMPONENT_TABLE but it is never hit, even though this is where the short-dump is being triggered from...

3.PNG

 

 

 

I have attempted renaming the ABAP field name in the backend dictionary structure.. but this has no effect (or appears to have none).

 

I found a few posts about this before, but cannot see any answers:

Multiple Specification of the Name 'ATR_0003' as a Component Name (Component 2)

Multiple Specification of the Name 'ADDRNO' as a Component Name (Component 2)

 

I need to be able to perform this $expand on these entities, but cannot see a way around it....

 

Any advice will be rewarded Please help!

 

 

FYI this is my system component info, the bits which I think are relevant... like IW_BEP...

4.PNG


Netweaver Gateway : Multiple Output Tables : Odata

$
0
0

Hi,

 

I have created a RFC in ECC system. The RFC reads certain values and returns data in three output tables. The corresponding data model has been created in netweaver gateway.

 

When the portal application is trying to consume this service, it has to specify a particular table in the odata. Thus, to get the data of the three tables, the portal application is hitting the SAP database 3 times.

 

Could anyone please advise, how can we get the data for all the 3 tables in one go.

 

Regards,

Jiten

Error faced while executing URL in SAP Netweaver gateway client

$
0
0

Hi Experts,

 

 

We are facing an issue while passing URL as given in the attachment with error in the conversion routine "CONVERSION_EXIT_EXCRT_OUTPUT".

Please let us know if there exists a sap note to fix the given problem.

 

Detailed screenshots of the problem have been attached.

 

Regards,

Saritha

What do 'GetEntitySet (Query)' & 'GetEntity (Read)' do.

$
0
0

Once we create a project in Netweaver Gateway and follow few other steps to create a OData service, we come across two methods which I think are very important for service implementation perspective.

 

Can some one please tell me what exactly does these two methods do : 'GetEntitySet (Query)' & 'GetEntity (Read)'

 

I am a Java developer / SAP Portal consultant so thinking that these are ABAP specific. But if some one can explain briefly I think I will be able to understand though I have min ABAP knowledge.

 

Thanks in advance.

RFC call ended with "System Failure" exception.

$
0
0

Hi Techies,

 

1.we are implementing a service to get that data from sap system(i.e local both back end and net weaver gateway is on same system).

i am able to get the data from the sap system but when i am trying to use the operation PUT it is giving me the following error..

 

RFC call ended with "System Failure" exception.

 

 

2. i am not getting CSRF Token.

 

earlier i am able to get the token but all of sudden now it is not fetching (using both REST client in chrome and firefox)

i am using header as X-CSRF-Token = Fetch

 

please help me on this...

 

 

Thanks & Regards

Sathish

SAP NetWeaver pass function import but couldn't get two or more out table

$
0
0

Hi Expert,

 

I have rfc function. I send import parameter from sapui5 app.I get a out table dpc_ext class excetu action method  but I want to get two or out table. I try to create deep structure but I couldn't do it. How can I get tables?

 

Thnks...

Access Permission Error in OData Service method while Uploading File to SAP Application Layer

$
0
0

Hi all,

 

I am trying to upload file from SAPUI5 app to SAP Application layer by using OData Service.

 

I am using the SAP function module "ARCHIVFILE_CLIENT_TO_SERVER"  to achieve this requirement.

 

But when i tried to use this function module inside odata service method, i didn't get the popup which gives permission to access local file.

Please find the attached screenshot(Access Permission popup). Because of missing this popup i am getting SY-SUBRC = 1 "Access error on File" from the function module.

 

I can successfully upload files when i tried the same in Report program,there i got this permission access popup.


is there any way to set this permission as ALLOW without this popup?

 

Can any one give me an advice to solve this?

 

Regards,

Ranjani Sekar.

Error with Read "expected type is Edm.Binary" using /IWFND/GW_CLIENT

$
0
0

First and foremost I am a Gateway Newbie... I  created a Gateway service via SEGW to read incident reports in EHS. We are developing a concept mobile application for that will create and read EHS incident reports, based upon HANA PA. I tested the BAPI's  BAPI_BUS1240_GETDETAIL for the read and BAPI_BUS1240_CREATE for the Create (both via SE37 ) and they worked perfectly.   When creating the gateway Models, I am getting the error.

 

 

Invalid key predicate type for 'Scenario'. Expected type is 'Edm.Binary'</message>



Yet the entity type it is defined as the following


Scenario1Edm.Binary000
KeyDate1Edm.DateTime000
RecordNo0Edm.String0020
CreatedOn0Edm.DateTime000
CreatedBy0Edm.String0012
Incident1Edm.String0020
Type0Edm.String003
Plant0Edm.String004
Status0Edm.String005
Event0Edm.String0060
DamageType0Edm.String0021
FunctLoc0Edm.String0030
Equipment0Edm.String0018
Langu0Edm.String00

 



Here is the URL I am submitting via /IWFND/GW_CLIENT


/sap/opu/odata/sap/ZINC_SRV/Zinc(Scenario='00',KeyDate='2014-05-06T00:00:00',Incident='00000000000000000016')


What am I doing wrong?



Thanks for all of the assistance!!!


Chris



Eclipse: unable to create a Gateway Connection

$
0
0

Installed SW (Frontend)

 

Backend

  • AS ABAP 7.40

 

Hello Collegues,

 

I've created a NW Gateway Service on the backend (Service is working correctly) and now I want to create a UI5 Application on the Eclipse site.

Before creating the project I have to create a Gateway connection first. But I'm getting a "Network Connection Error".

 

error.PNG

Connection data (host, port) is correct, also tried with IP instead of hostname already.

I'm getting the same error if I'm using the (new) ES Workspace data (sapes1.sapdevcenter.com, Port 80?).

 

Tried also on another PC, same error.

 

Any ideas?

Facing an exception while executing a query operation

$
0
0

Hi Experts,

 

I have created an Odata service through SEGW tcode. I am able to execute the read operation(instance method).

When I try to execute the query operation I am getting the following exception:-

 

  <code>F2/718</code>

  <message>No customer was found with these selection criteria</message>

  <code>/IWBEP/CX_SD_GEN_DPC_BUSINS</code>

 

I have mapped the following BAPIs,

 

BAPI_CUSTOMER_GETLIST( for Query Operation),

 

BAPI_CUSTOMER_GETDETAIL2( for Read Operation).

 

I have also checked that appropriate backend configurations are made and the data is present in backend database tables.

 

Please help me resolve this issue.

 

Thanks and regards,

 

Kawish

Error Handling through SAP Gateway

$
0
0

Hi,

 

We have few Update and Create Services being called, once these services are called and the record is updated or created, is there a way to get the success of error messages posted to the front end?

 

Thank you in Advance.

Failed to generate the backend operation proxy for RFC

$
0
0

Hi,

 

some times when the Gateway project is activated, i am getting the below error, when i asking ABAPer to delete RFC and re create it might work ,

 

Failed to generate the backend operation proxy for RFC <name of the RFC>

&ZIF_Z_360_PAYER_INFO6& is locked in request/task &K2DK900046&

 

not able to understand where the issue is.. can some one tell me the root cause of this issue?

 

-Madhav

How to create WebService which has EntitySets inside EntitySet

$
0
0

Hi, I have an application which creates new employees in a company. For that I have a form with multiple form containers (sapui5). Each form container corresponds to a certain abap table in sap system. I would like to know how can I import and map a WebService In NW GW which corresponds to the following entity relationships:

<EmployeeCollection>     <Employee>          <MainDetails>               <Empfirstname></Empfirstname>               <Emplastname></Emplastname>                                   ........          </MainDetails>          <ContactDetails>               <Email></Email>               <Workphone></Workphone>                              ........          </ContactDetails>          <FamilyMemberCollection>               <FamilyMember>                    <Firstname></Firstname>                    <Lastname></Lastname>                              ........               </FamilyMember>                              ........          </FamilyMemberCollection>     </Employee>               .....</EmployeeCollection>

I have Employee collection which can have 0...* Employees. Employee has Entities like MainDetails and ContactDetails AND also Collections like FamilyMembers which can have 0...* FamilyMember entities.

 

In SAP I dont have a table for Employees, all employee related details are held in different abap tables like MainDetails, ContactDetails or FamilyMembers. The tables are related by Formid field. Now FamilyMember table can have multiple lines with the same Formid (family members of an employee).

 

I can map a CREATE operation in SEGW for this, IF everything is singular.


What do i need to do differently in GW or Function module to be able to handle insertion of multiple family members into the FamilyMember abap table? 

 

Also, how can I map GetEntity and GetEntitySet oprations so it would output me the kind of structure as i illustrated in the above code?

Viewing all 1657 articles
Browse latest View live


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