Quantcast
Channel: SCN : All Content - SAP NetWeaver Gateway Developer Center
Viewing all 750 articles
Browse latest View live

Usage Dropdown is Empty while DDIC Import

$
0
0

Hi All,

 

I am trying to import DDIC structure into Gateway Model. However, the 'Usage' coloumn is empty, nothing comes up on dropdown.

 

Any idea would be appreciated,

 

I also added a screenshot,

 

Regards,


HTTP error message from gateway client.

$
0
0

Hi,

 

I am getting http error message when i am trying to access any Fiori Apps. Any idea what i am missing?

 

httperror.png

 

Thanks

Unable to Create OData Consuming Applications Via GWPA

$
0
0

Hi everyone,

 

I installed the GWPA Tools according to this document: https://tools.hana.ondemand.com/#gateway.

Luckily, I have successfully installed it. However, when I created a OData Consuming Application, CPU utilization rate was very high and the eclipse doesn't response. The application, of courser, didn't be created.

I don't know why? Has anyone encountered the same problem?

 

Best,

Yitao Yao

integrating GWPA into sup app

$
0
0

Hi experts,

am following this link to integrate GWPA generated app into SUP.

http://scn.sap.com/community/netweaver-gateway/blog/2012/09/05/connect-your-gateway-android-app-via-sup-server-in-only-3-steps#

 

  using SUP 2.2 sp2 C:\Sybase\UnwiredPlatform\MobileSDK22\OData\Android\libraries at i have .jar files

 

ClientLib,sup-client-util,SUPProxyClient-2.2.2

 

if i use these .jar files am getting error in  SUPHelper and LoginActivity classe at  LiteUserManager.

 

http://www.youtube.com/watch?v=e7voyyNdWM8&feature=youtu.be  he used

 

ClientLib,sup-json,SUPProxyClient-2.1.3 .so how to get these jar files

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.

How to re-generate MPC but do not change DPC when I change data model in SEGW

$
0
0

when I change the Data Model (for example. entity property name) in gateway builder (SEGW), click button "Genrerate Runtime", both the MPC classes and DPC classes are changed, and my code in DPC classes are disappeared, so is there any body knows how to only change the MPC classes,  but do not touch the DPC classes when I change the Data Model?

Grouping GatewayModels

$
0
0

Dear All,

 

 

How can we group Gateway models in NW Sp07? We have requirement to build single application using one service with multiple entities.

 

What is the best practice of approach for this scenario?

 

Thanks In Advance.

VKK.

Netweaver Gateway deployment options

$
0
0

Hi

 

We are planning to build OData services from SAP using Netweaver Gateway for consumption in a mobile app and I'm having some very basic questions.

 

When I tried looking that the most recommended deployment approach for NW Gateway, I got some contradictory results.

There's an old blog that quotes (and commented by SAP) that SAP recommends the cetral hub instance and a subsequent blog that says there's no clear indication on the right architectural option while there's an old sdn doc (stamped approved and all) from SAP which says the most recommended option is the embedded approach.

Since its been quite a while, is there any clear stance that SAP is taking now on the best deployment options or is it still based on the enterprise's existing landscape, security etc?

 

- If NW Gateway server is installed on ECC as an add-on in the embedded approach, is it then possible to retrieve data from other SAP systems( eg: BW, POS-DM)  through (RFC connections?) and build once single OData service?

 

- SAP says it recommends OData Channel approach for all NW Gateway development. Does OData Channel development differ based on which deployment option you chose? It mentions backend OData Channel and hub OData Channel. How different are they?

 

Thanks!

 

Arthi


Not able to consume the GW services in the mobile application

$
0
0

Hi Gurus,

 

I am facing an issue with consumption of the gateway services in the mobile application. I am using Sencha connector for connection.When I test the application on the browser it works fine, but when i test it on the emulator i receive the following error. Any Idea what might be going wrong.

 

[Log] Object (Login.js, line 173)

aborted: undefined

request: Object

async: true

headers: Object

X-Requested-With: "XMLHttpRequest"

__proto__: Object

id: 1

options: Object

dataType: "xml"

failure: function (response, request) {

method: "GET"

params: Object

success: function (response, request) {

url: "http://mbpr41db1.mb.mbil.net:8000/sap/opu/odata/sap/ZMB_user_authentication/"

__proto__: Object

timedout: true

__proto__: Object

requestId: 1

status: 0

statusText: "communication failure"

timedout: true

__proto__: Object

 

Any help apperciated

 

Regards

Saurav Anand

eCATT based test automation is now available for OData services as well ...

Concurrency control issues

$
0
0

I'm looking at concurrency control mechanisms for Gateway, but I'm wondering if the in-built conditional support works yet.

 

The problem I am experiencing relates to the "If-Match" header that is needed to test an ETag value. There is code to check conditions on a request - it is located in /IWCOR/CL_DS_HDLR_ROOT->HANDLE_CONDITIONS.

During testing I've found that the code here drops down to a kernel call to extract named headers in the IF-series from the http request.

Despite an If-Match header being clearly visible in the original request, the browser developer tool and another part of the ABAP, the kernel can't find it and returns nothing.

Result: It is decided that I never sent the prerequisite header, so I am told I should probably consider adding an If-Match header.

OK then, another one or the same one?

 

Has anyone else tried to use ETag checking and hit this obstacle?

Rules for OData datetime properties

$
0
0

There have been quite a few posts about problems with Edm.datetime properties in entities. Solutions offered are often on case by case basis, so it's hard to figure out why things have gone wrong and what the remedy is.

 

This is a short discussion (I hope!) to establish some rules for edm.datetime properties. If there are any exceptions to these rules, or some addtitional rules, please post.

 

Rule 1

Use the Edm typedatetime. Don't maintain dates as edm.string "for convenience"

 

Rule 2

Make the property nullable if a null value is possible. If there is a need for a value (mandatory) do not make it nullable.

 

Rule 3

The nullable attribute can only be correctly evaluated if the backend date contains '00000000' as a value. ABAP date values containing spaces (this is allowed unfortunately) will not be treated as null, but also not be able to convert to an edm.datetime - you will get a runtime error from the server.

 

Rule 4

Be aware of thefullproperty definition. Giving your "date property" a type of edm.datetime alone is not enough to ensure proper conversion during OData parsing. See rules 5, 6 & 7.

 

Rule 5

If the date property is part of a DDIC structure used for the entity definition, and that component is a DATS (elementary D type), then you can place a D type value in it directly, e.g.

 

Untitled-1 copy.png

Untitled-1 copy.pngUntitled-1 copy.png

 

Valid ABAP:

 

     ls_entity-date = sy-datum.


Dates of this type can fall into the "date is null but not valid" trap mentioned in rule 3.

 

Rule 6

If the date property isnotpart of a DDIC structure and the entity definition is "freeform", you can also place a D type value in it directly if you assign its backend data typing: e.g..

 

Untitled-1 copy.pngUntitled-1 copy.png

Untitled-1 copy.png

 

Dates of this type can fall into the "date is null but not valid" trap mentioned in rule 3.

 

Rule 7

If the date property is not part of a DDIC structure, the entity definition is "freeform" and there is no backend data typing, the target must be filled as if it were a timestamp; this is because the MPC generated property type is a packed type field. In rules 5 and 6, the MPC generated property type is a D type.

Note that the edm.datetime will contain an additional portion representing microseconds, which is not normally filled unless drawn from a high resolution timestamp (i.e. more detailed than sy-uzeit).

 

Dates of this typecannotfall into the "date is null but not valid" trap mentioned in rule 3.

 

Rule 8

You may also use TIMESTAMP as the component type in a DDIC structure entity base instead of DATS. This can be converted as per rule 7.

 

 

 

I'm sure there are more things we can add here: for example, I found that "json format" feed dates can look a bit "odd" - are they right or wrong?

 

Regards

 

Ron.

Unable to CREATE or VIEW a project in T-code "SEGW"

$
0
0

Hi,

 

As part of a training exercise, I need to first...
1) go to T-code "SEGW",
2) create a project/or use an existing one and
3) import an OData file

4) create an Android App

as instructed in the course titled course - Introduction to Mobile Solution Development for the Enterprise using the https://sapes1.sapdevcenter.com/webgui link.

 

But I  neither can CREATE nor VIEW an existing project in T-code "SEGW" (i.e. SAP NetWeaver Gateway Service Builder) in that environment. The error that I receive says "You are not authorized to create project".

 

Just wanted to know if anyone else has faced a similar issue earlier and what was the workaround used to resolve it.

 

NOTE: I have installed all the necessary plug-ins in Eclipse as mentioned in the below document:
http://scn.sap.com/docs/DOC-45809

Regards,
Aaron D'C

 

 

 


Library sapscc20jni could not be loaded

$
0
0

Hi Team,

 

I am trying to start the SAP Hana Cloud connector via the go.bat command. I dont get any error when i start the application i get the osgi prompt on my command window, but after i give the first Administrator login credentials on https://localhost:8443 i get the below error

 

HTTP Status 500 - java.lang.IllegalStateException: Cannot load the Cloud Connector native library. (exception java.lang.UnsatisfiedLinkError: com.sap.scc.jni.SecStoreAccess.getRecord(Ljava/lang/String;)[C)

 

type Exception report

messagejava.lang.IllegalStateException: Cannot load the Cloud Connector native library. (exception java.lang.UnsatisfiedLinkError: com.sap.scc.jni.SecStoreAccess.getRecord(Ljava/lang/String;)[C)

descriptionThe server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: java.lang.IllegalStateException: Cannot load the Cloud Connector native library. (exception java.lang.UnsatisfiedLinkError: com.sap.scc.jni.SecStoreAccess.getRecord(Ljava/lang/String;)[C) Check if you have installed the Visual Studio 2010 runtime libraries in the correct version. (vcredist.msi) The 64bit msi can be downloaded from http://www.microsoft.com/download/en/details.aspx?id=14632  org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:465) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:848) com.sap.scc.ui.rt.UTF8Filter.doFilter(UTF8Filter.java:23) 

 

root cause

java.lang.IllegalStateException: Cannot load the Cloud Connector native library. (exception java.lang.UnsatisfiedLinkError: com.sap.scc.jni.SecStoreAccess.getRecord(Ljava/lang/String;)[C) Check if you have installed the Visual Studio 2010 runtime libraries in the correct version. (vcredist.msi) The 64bit msi can be downloaded from http://www.microsoft.com/download/en/details.aspx?id=14632  com.sap.scc.jni.SecStoreAccess.getRec(SecStoreAccess.java:133) com.sap.scc.jni.SecStoreAccess.getRecAsString(SecStoreAccess.java:176) com.sap.scc.config.HttpsProxyValue.loadFromStorage(HttpsProxyValue.java:68) com.sap.scc.config.SccConfig.<init>(SccConfig.java:74) com.sap.scc.config.SccConfig.getInstance(SccConfig.java:56) org.apache.jsp.TunnelServices_jsp._jspService(TunnelServices_jsp.java:609) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:848) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:848) com.sap.scc.ui.rt.UTF8Filter.doFilter(UTF8Filter.java:23) 

 

root cause

 

 

I checked the log file under the log directory ljs_trace.log and i found the following entries before the native x64 libraries error.

 

2013 12 06 12:06:54#+0100#DEBUG#com.sap.scc.jni##anonymous#Start Level Event Dispatcher###Load library sapscc20jni|

2013 12 06 12:06:54#+0100#ERROR#com.sap.scc.jni##anonymous#Start Level Event Dispatcher###Library sapscc20jni could not be loaded

java.lang.UnsatisfiedLinkError: no sapscc20jni in java.library.path

  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)

  at java.lang.Runtime.loadLibrary0(Runtime.java:849)

  at java.lang.System.loadLibrary(System.java:1088)

  at com.sap.scc.jni.SecStoreAccess.initialize(SecStoreAccess.java:31)

  at com.sap.scc.jni.Activator.start(Activator.java:11)

  at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)

  at java.security.AccessController.doPrivileged(Native Method)

  at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)

  at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)

  at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)

  at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)

  at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1131)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)

  at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)

  at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)|

 

I have tried searching on the forums but there is no place where i find any information about this. Can anyone help me.

 

BTW i have already tried downloading the x64 libraries, installed the same and tried but the error does not change.

 

I have using the latest SAP HANA Cloud Connector -> sapcc-2.1.1-windows-x64

 

rgds

aditya

Gateway Response to SAPUI5 with ODataModel Create() method.

$
0
0

I am trying to use SAPUI5 OdataModel Create() method to insert row in sap using Gateway.

 

oModel.create(

'/EmployeeDetails', oEntry, null,

function(oData,response){
alert("SuccessFull");
},

function()
alert("Error Connecting to the SAP Server");});     

}

 

"CreateEntity" is the method that is getting triggered in SAP through Gateway. This methos returns two export paramters. One of the export parameter I manually created E_RETURN which says whether data insertion was successfull or failed.

 

After the Gateway call is done I am using created method fnSuccess to show the response that we getting from Gateway Server. But I am not sure how to encode the server response in success event on the ui5. I did lot of google every is explaining about retrving the data but no good example for data create and update. I need experts help to decode the Server response.

 

 

Gateway.png


Enquiries on adds on of Netweaver GWPAM

$
0
0

Hi expert,

 

When reading the GWPAM related doc, saw that there are two types add-on:

 

1. MS Visual Studio

2. MS Excel

 

May I know if that mean only these two integration are support OOTB while the other integration (MS project, pivot and word) are required self development using .Net?

 

Any advise?

iOS Generation fails using GWPA for iOS/Eclipse

$
0
0

Hi All,

 

generating an app based on an ODATA service for Android works, doing the same for iOS I get the following exception (for Eclipse 4.2. and 4.3 based on Java7/OSX 10.9):

 

!ENTRY com.sap.odata.dt.framework 4 0 2013-12-10 16:08:40.099

!MESSAGE Template Generation Wizard error, see error log for details.

!STACK 0

java.lang.NullPointerException

at com.sap.odata.dt.framework.utils.FileUtils.copyDirFromBundle(FileUtils.java:390)

at com.sap.iw.gw.oc.eclipse.ios.generator.ProxyGenerator.copySDMLibraryFolder(ProxyGenerator.java:235)

at com.sap.iw.gw.oc.eclipse.ios.generator.ProxyGenerator.generateProxy(ProxyGenerator.java:110)

at com.sap.iw.gw.oc.eclipse.ios.generator.IOSBaseAppGenerator.generateProxy(IOSBaseAppGenerator.java:186)

at com.sap.iw.gw.oc.eclipse.ios.generator.ListDetailsAppGenerator.generateApp(ListDetailsAppGenerator.java:84)

at com.sap.iw.gw.oc.eclipse.template.ios.list.IOSListTemplate.onFinish(IOSListTemplate.java:88)

at com.sap.iw.gw.oc.eclipse.framework.wizard.TemplateGenerationWizard$1.run(TemplateGenerationWizard.java:109)

at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)

at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)

at org.eclipse.swt.widgets.Display.syncExec(Display.java:4650)

at com.sap.iw.gw.oc.eclipse.framework.wizard.TemplateGenerationWizard.doFinish(TemplateGenerationWizard.java:103)

at com.sap.iw.gw.oc.eclipse.framework.wizard.TemplateGenerationWizard.access$2(TemplateGenerationWizard.java:101)

at com.sap.iw.gw.oc.eclipse.framework.wizard.TemplateGenerationWizard$2.run(TemplateGenerationWizard.java:171)

at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)

at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)

at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1028)

at com.sap.iw.gw.oc.eclipse.framework.wizard.TemplateGenerationWizard.performFinish(TemplateGenerationWizard.java:167)

at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)

at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)

at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)

at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)

at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)

at org.eclipse.jface.window.Window.open(Window.java:802)

at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:259)

at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:279)

at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)

at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)

at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)

at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)

at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)

at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)

at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)

at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)

at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)

at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:420)

at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)

at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)

at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)

at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)

at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)

at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)

at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)

at org.eclipse.equinox.launcher.Main.run(Main.java:1450)

 

Cheers

Olli

authorization of T code

$
0
0

can i get the authorization for following t-codes

 

OMS2

OMSF

OBYC

Missing Property Values in SAP NWGS

$
0
0

Dear All,

 

 

I have created Odata service to get material and material text. I could see that data is successfully fetching from SAP ECC and it is converting to XML string. But when I am checking in NWGS , material text property It is always coming as blank. There is no error in logs.

 

I could retrieve other kind of texts other than Material texts.

 

Could any one advice how to find the root cause that where am doing wrong?

 

 

Thanks in advance.

 

Kiran.

Odata service to trigger calculation in back-end

$
0
0

Hi all,

 

I have the following requirement. First I have to collect last years customer sales figures plus a calculated discount percentage from the ERP system (Odata GetEntity with key customer number). In the app the user can see the last years sales figures and can set sales estimates for the next year. Second I want to call another service (Function Module in ERP) with the changed sales figures as input. The FM calculates the discount percentage and sends it back. How can I build an Odata for this requirement? Should I use all sales figures as key fields? Is there an example available of such scenario?

 

Thanks in advance! 

Viewing all 750 articles
Browse latest View live


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