Help regarding adaptive RFC settings
Hi,
I am trying to make the WD tutorial flight list module work which uses adaptive RFC model...
I am in a bit of confusion as to the all the settings required to be made so that the RFC call works with no errors...
In the visual administrator --> Server --> Services --> SLD Data Supplier
am i supposed to give the login and server details of the SAP R3 system
or of the remote system which connects to the SAP R3 system... Please let me know as this is a big confusion i'm facing currently...
Hi,
Actually you dont connect Visual Admin directly to R/3,
But it goes like below.
1) In visual Admin --> SLD Data Supplier
You specify the connection parameteres with user name & password to connect to the SLD,
give localhost:50000 (if u are using SLD of local WAS)
give <RemoteSLDServer>:<port> (if u r using SLD of some remote server)
2) Now in SLD, you create a technical system, which will be connecting SLD to R/3 system.
3) Now using above technical System, you define & create Logical System (JCo Connections) in your content Administrator of Web Application Server, on which you will deploy your Dynpro Application.
Hence your application will connect to R/3 function modules using JCO's which will use technical system defined in SLD & which will be connected & authorized by configuration Visual Administrator.
Hope you will get clear idea from above.
Regards
Deepak
Similar Messages
-
Issue with adaptive RFC model - BAPI
Hello,
I created a simple web dynpro application (as a DC project in NWDS) which is using a bapi in an adaptive RFC model. I based my developments on the official tutorial from SAP and followed each and every step.
The first view shows a single field and an action button to trigger the bapi call. Based on the value entered (employee number), the other view should display a list of data (addresses).
The problem is that after I press the action button, it doesn't make it to the next view. The animated web dynpro icon shows up briefly but the page stays on the first view.
I've monitored user activity on the back-end (SM04) and noticed some activity for my user after the button is pressed so I assume, there is no connection issue.
Any help to solve that issue will be greatly appreciated!
Thanks,
LaurentHi,
Regarding navigation between different view in an WebDYnpro project please have a look into this very good tutorial... and this will solve your navigation problem..
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a137c339-0b01-0010-a688-a87b88706845">How to Navigate Inside Web Dynpro Component Interface Views</a>
and if need any help regarding Adaptive RFC in WebDynpro.. let me know.. Please reward points if helps..
Thanks and Regards
Avijit -
Need help changing an Adaptive RFC Model in WDJ
Hello All,
We have an existing application with few custom BAPIs are called. However we added few fields added to the custom BAPI. We could not figure out how to bring the new fields show up in used Model and context.
Any Help greatly appreciated.
Thanks.
PKHi ,
The following link help you.
Importing Models Using the Search Console - Developing Java Web Dynpro Applications - SAP Library
SAP Library - Development Manual
Now to call the FM you have to follow the steps:
1)In NWDS click on models->then right click it select import Adaptive RFC model
2)Here gave the name of the Model , package etc and the names of the JCo Destinations tht will be needed to call from R/3.
3)Give the Information abt the R/3 Host and username password of the R/3.Press Next
4)Now search for the Bapi you want to Use. Select it Press Next
5) press Finish. You have imported a Bapi from R/3.
Now you can play around with it according to your requirement..
You need to create the Context, Views to show the Data of the Bapi.
Hope this helps you out.
Thanks & Regards,
Durga Rao -
Hi,
Just a quick question.
After creating the WebDynpro using Adaptative RFC, i need to define the JCO destinations in WebDynpro Console.
The question is, in security step of JCO destinations, i need to identify the authentication method, and there is no UserMapping?
I need to make the WebDynpro available in Portal, and from what i understand, the system created in the portal only identifies the server where the Webdynpro are available, and not the SAP System. if this is true, the information inserted in JCO destinations, are the information used to to connect to SAP System, but there is no usermapping.
What should be done in this situations, where for each user portal are another userid and passowrd for backend system?
Thanks and regards
JohnHi John
There is no need of a user mapping to access information from the backend.Provided that you have assigned your WebDynpro iView to them, all portal users will be able to view the information derived from backend.
This is because the authentication method specified in the security settings is only for defining the JCo destinations for metadata. If you select User/Password, you must define a user and the corresponding password. This user is a technical user who does not need dialog authorization.
The name and the password assigned to this user should be known in the backend and the authorizations set so that he can access all the function modules in the SAP system.
So each time a portal user tries to access some data from the SAP backend via WebDypro application, it is not he who is being authenticated against the backend whereas it is the technical user on the SAP system itself who is being authenticated to fetch the information needed. Hence there is nmo need of a user mapping in this case.
If that is not clear then please go through this link.
http://help.sap.com/saphelp_nw04s/helpdata/en/94/3c1b40fcdd8f5ce10000000a155106/frameset.htm
Hope that helped.
Best Regards
Priya
P.S: Rewarding points for helpful answers is SDN's way of saying "Thank You!" -
Adaptive RFC 2 gives error: com/sap/ide/jco/service/internal/R3Service
Hi,
I've run into the following problem about NWDS. This happens as I create a Model. It appears there is a new version of the Adaptive RFC Model, which is called Adaptive RFC 2 Model.
1. Right click on Models, and select Create.
2. Double Click on Adaptive RFC 2 Model
3. The error pops up. It says "An error has occurred. See error log for more details. java.lang.NoClassDefFoundError". Then if you click details you get "An error has occurred. See error log for more details. com/sap/ide/jco/service/internal/R3Service "
If you know which log to have a look, or what this error is about please let me know urgently. Any help if much appreciated.
Thanks,
Ogeday IsiklarHi,
I am also getting same problem. Waiting for solution
Regards,
Pradeep Kumar -
Error while creating a Adaptive RFC Model
Hi all,
I am trying to create a Model using a Adaptive RFC Model, I assign a Model name and the logical system names, enter the details in SAP Logon Information for the Single server,here it gives me a Gateway error. What could be the issue here?
NB: In the Host Name , I tried with both the Host name of the r/3 server and also with the SAProuter string ( as we have the server at other place) ,still it doesnt work. and I am able to login to the R/3 system from the SAPLogon GUI from my desktop normally.
Is there any issue of the firewall related to this, if so whats the port number that should be opened so that i can connect to the r/3 system get the list of BAPIs present there into my Webdynpro application .
Need help on this
Regards,
VijayHi Lohi n Gopi ,
I have checked out with the your given suggestion of trying with the host name as well as IP address and also typing all the details,without copy pasting the details . In both the cases it gave the " Connect to gateway failed " error mesg.
But one intersting thing here that i observered when trying with hostname, IP address, or SAProuter string is as follows .
<b>with IP address</b>
<i>Connect to SAP gateway failed
Connect_PM GWHOST="ipaddress",GWSERV=sapgw10,ASHOST="ipaddress",SYSNR=10
LOCATION CPIC(TCP/IP) on local host
ERROR patner not reached(host "ipaddress",service=3310)</i>
<b>with SAProuterString</b>
<i>Connect to SAP gateway failed
Connect_PM GWHOST="SAProuterString",GWSERV=sapgw10,ASHOST="SAProuterString",SYSNR=10
LOCATION SAPRouter on " some HostName"
ERROR hostname unknown</i>
<b>with HostName</b>
<i>Connect to SAP gateway failed
Connect_PM GWHOST="hostname",GWSERV=sapgw10,ASHOST="hostname",SYSNR=10
LOCATION CPIC(TCP/IP) on local host
ERROR hostname "hostname " unknown</i>
Is there any firewall port blocking issue here ?if so , whats the port that needs to be opened ?
Appreciate your help.
Thnks,
NR -
How to find out the destination of an "Adaptive RFC Model - DEPRECATED"
Hi All,
How to find out the destination of an "Adaptive RFC Model - DEPRECATED" of an running application
and Where is the destination created in the server .
I have got the code of the running project from NWDI .
Thanks in Advance
Regards
Piyas KumarHi,
I am not sure I fully understand the question, but as per the guide
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50f7192d-2808-2d10-189b-df3fa5f71abf
Excerpt from Page 7
Caveat Confector!1
ARFC1 destinations were created using the Web Dynpro Content Administrator tool. This tool is
still available for compatibility reasons, but the destinations it creates are not used by ARFC2
models!
Instead, you should use the u201CDestinationsu201D tool found on the Configuration Management screen of
the NetWeaver Administrator.
Therefore I think if you look up the application in the WD content Admin, there you can find out what kind of JCO/RFC connections are belonging to it. You can find it on http://<host>:<port>/webdynpro/dispatcher/sap.com/tcwdtools/Explorer
Browse your application here, and then select the JCO Connections tab on the right hand side.
I hope this helps.
Best Regards,
Ervin -
Looking for a beginner guide - Adaptive RFC call BAPI in Web Dynpro Java
Hi,
im new in SAP Developeing. I developed some basic web Dynpro applications (after some tutorials) and they are all working.
Now i want to build an Web Dynpro application with an adaptive RFC Model.
I already imported the adaptive RFC Modell with a function Model (BAPI Z_...) from the R3 System successfully.
But if i deploy the application i will get following error:
com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type extern:mypackages.com.types.BapiModel:mypackages.com.types.Zmbs_Bapi_Dispo_Orderdata could not be loaded: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:305)
at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:234)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:449)
at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:387)
at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:416)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:83)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initMapping(MappingInfo.java:125)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:121)
at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.doInit(MappedNodeInfo.java:215)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker$1.fillSldConnection(DataTypeBroker.java:90)
at com.sap.dictionary.runtime.ProviderFactory.internalResolveLogicalNameToJCODestination(ProviderFactory.java:377)
at com.sap.dictionary.runtime.ProviderFactory.resolveLogicalNameToJCODestination(ProviderFactory.java:322)
at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:181)
at com.sap.dictionary.runtime.ProviderFactory.getProvider(ProviderFactory.java:146)
at com.sap.dictionary.runtime.DdDictionaryPool.getProvider(DdDictionaryPool.java:97)
at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:79)
at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:48)
at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:149)
at com.sap.dictionary.runtime.DdBroker.getStructure(DdBroker.java:180)
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:303)
... 49 more
Caused by: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection.
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:152)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnectionUnMapped(SystemLandscapeFactory.java:178)
at com.sap.tc.webdynpro.services.sal.sl.core.SystemLandscapeInternal.getJCOClientConnectionUnMapped(SystemLandscapeInternal.java:62)
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker$1.fillSldConnection(DataTypeBroker.java:77)
... 59 more
Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to load client to connect to SLD. Please check your SLD connection settings using the Visual Admin.
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory$1.run(SystemLandscapeFactory.java:754)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getClient(SystemLandscapeFactory.java:747)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.readJCODestinationFromSLD(JCOClientConnection.java:511)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:439)
at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:233)
at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:218)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:129)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:150)
... 62 more
Caused by: com.sap.sldserv.exception.SldServiceRuntimeException: Failed to create CIM client. Check via 'Visual Administrator' tool if the secure store is operational.
at com.sap.sldserv.SldApplicationService.getCimClient(SldApplicationService.java:117)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory$1.run(SystemLandscapeFactory.java:751)
... 70 more
Caused by: com.sap.lcr.api.cimclient.CIMClientException: java.net.MalformedURLException: URL must have a host part
at com.sap.lcr.api.cimclient.ClientFactory.createConnection(ClientFactory.java:466)
at com.sap.lcr.api.cimclient.ClientFactory.createClientImpl(ClientFactory.java:413)
at com.sap.lcr.api.cimclient.ClientFactory.createClient(ClientFactory.java:363)
at com.sap.sldserv.SldApplicationService.getCimClient(SldApplicationService.java:113)
... 71 more
........Looks like a have a Problem with JCO.
Is there a good guide, which explains the Basic steps in developeing Web dynpro applications and BAPI ?!thank you guys for all the answers.I have to read all the documentations.
to my szenario:
I installed on my notebook the Trial Versions of:
SAP NetWeaver Application Server 7.00/Java AS 7.00
SAP NetWeaver Developer Studio Version: 7.0.14
All my basic Web Dynpro Applications in Java are running (even with Adobe Interactive Forms) on the local NetWeaver Trail- Web AS Trail perfectly.
Now i want to connect per RFC to another SAPERP Server, which is in the intranet.
I did the whole RFC tutorial with the flights -
http://help.sap.com/saphelp_nw04/helpdata/en/c3/76b45d9688e04abe1a1070410ddc1e/content.htm (also with the JCO codeing etc)
so my web dynpro application should work.
I think I have to configure - like ramesh said something on the NetWeaver Trail.
So what do i need and configure excactly on my Netweaver Trial to work with RFC - to call the BAPIS in the other System?
- SLD ? JCO ?
If i over Web Dynpro - Content Administrator - >
it says "Connection to System Landscape Directory (SLD) could not be opended successfully." and all the buttons
create Jco destinations etc. are greyed out.
I didn´t configured the SLD and JCO in the Netweaver yet. -
Mapping with multiple Adaptive rfc's
Hi Experts,
i have 4 radio buttons, i need to create a single adaptive rfc model, to which i need to create a one ECC system rfc and APO system rfc(multiple backend systems). how to add the two rfc systems of logical system name to a single logical system name or Meta data, so that i can assign to a single radio button.
In the same way for model data also if so how?
1. radio button(Ecc rfc and Apo rfc)
2.radio button (Ecc rfc and Apo rfc)
3.radio button(Ecc rfc and Apo rfc)
4.radio button (Ecc rfc and Apo rfc)
help me in doing step by step.
thanks in advance
Thanks&Regards
jayHi Bhargava,
thank you for your effort.
The node structure of web service looks like this:
NewAWS2Model
-Context
Number
NameFirst
NameLast
Street
HouseNo
PostCode
City
-NewOperartion
In
-Request_NewOperation
---NewOperation
---Response
-Response_NewOperation
This web service give no response back. He just starts the BPM Process. Everything works well, except for passing ALL values of the parameters in Context: Number, Name, Street...
When I have two streets, I want that two streets will be saved in parameter street and so on...
Additionally, here is the method created by application for this web service:
public void initRequest_NewOperation( ) {
//@@begin initRequest_NewOperation()
//$$begin Service Controller1(-482113598)
com.sap.demo.changedataportaldc.wd.models.newaws2model.NewAWS2Model newAWS2ModelModel = createAndMapModelInstance_0("com.sap.demo.changedataportaldc.wd.models.newaws2model.NewAWS2Model");
com.sap.demo.changedataportaldc.wd.models.newaws2model.Request_NewOperation request_NewOperation = wdContext.nodeRequest_NewOperation().createAndAddRequest_NewOperationElement().modelObject();
com.sap.demo.changedataportaldc.wd.models.newaws2model.NewOperation newOperation = new com.sap.demo.changedataportaldc.wd.models.newaws2model.NewOperation(newAWS2ModelModel);
request_NewOperation.setNewOperation(newOperation);
com.sap.demo.changedataportaldc.wd.models.newaws2model.Context in = new com.sap.demo.changedataportaldc.wd.models.newaws2model.Context(newAWS2ModelModel);
newOperation.setIn(in);
com.sap.demo.changedataportaldc.wd.models.newaws2model.Response_NewOperation response_1 = new com.sap.demo.changedataportaldc.wd.models.newaws2model.Response_NewOperation(newAWS2ModelModel);
request_NewOperation.setResponse(response_1);
I hope this are the inforamtion you need? Or is there something else?
Thank you very much
best regards
Anna -
What is adaptive RFC and How to Use it
hi friends
what is the adaptive RFC
what is the use of it
how we can use it
explain me anyone
and send pdf also
thanks
ramu.Hi,
To give u a brief idea.
rfcs are used to call data from the backend that is R/3.We use the Bapis from the R/3 system which have some pre defined functionality and data is populated in the correspoding ui elements in webdynpro interface.earlier Rfcs were used but now we have adaptive rfcs in which
if there are changes in the backend(R/3 system) such as changes in the datatype,structures,fields would be automatically be refllected in the rfcs and there would be no errors in web dyn pro even if there is a change in the back end
to be more specific folow this link
http://help.sap.com/saphelp_nw70/helpdata/EN/41/38bc8f813719488ddc9d9b21251ec3/frameset.htm
and try out this application
to use the rfcs firstly check out this document for configurations
Important Configurations for Calling ABAP Function from Java Web Dynpro Application
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07753b9-fa0c-2a10-64a8-c6754c45396e
heres the application.
Creating a Web Dynpro Application Accessing ABAP Functions
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/355b9c90-0201-0010-d2a8-89fece426526
regards
Nikhil Tapkir -
Problem in import adaptive RFC
Hi,
I am trying to import a simple RFC using Import adaptive RFC model.
There is no problem in the RFC execution, since i have tested it.
Problem is output is not getting displayed. The output field is blank.
Note:
RFC while importing, is in warning state(yellow triangle). But no error or warning in back-end.
Please let me know what is the mistake.
Thanks & Regards,
Krish.Any help would be really appreciated...
I was trying to create/Maintain JCo destions on Web Dynpro Content Administrator caught up with the 500 Internal Server Error
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
For further information about the Web Dynpro error page, error analysis and a description of well-known error situations, see SAP note 1113811.
Root Cause
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:869)
at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractSystemLandscapeFactory$1.checkStatus(AbstractSystemLandscapeFactory.java:310)
at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:483)
at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.updateJCOClientStatus(JCOConnectionsDetails.java:534)
at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.addJCOClientToList(JCOConnectionsDetails.java:750)
... 73 more -
Hi Experts
Some time ago, when i used NW EHP SP01, i developed an application using Adaptive RFC in Web Dynpro.
I call RFC BAPI_REQUISITIO_CREATE from ECC.
Now i have instaled NW EHP SP04, and when i tried to used this application i have this error:
java.lang.NullPointerException: while trying to invoke the method com.sap.mw.jco.IMetaData.getFieldCount() of an object loaded from local variable 'metadata'
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:181)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:149)
at teclogica.com.br.purchase_request.purchasemodel.Bapi_Requisition_Create_Input.<init>(Bapi_Requisition_Create_Input.java:54)
at teclogica.com.br.purchase_request.purchaserequestapp.PurchaseRequestApp.wdDoInit(PurchaseRequestApp.java:140)
at teclogica.com.br.purchase_request.purchaserequestapp.wdp.InternalPurchaseRequestApp.wdDoInit(InternalPurchaseRequestApp.java:349)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:227)
at com.sap.tc.webdynpro.progmodel.components.Component.initController(Component.java:254)
This happen in the method wdDoInti of component controller when i create the Model:
Bapi_Requisition_Create_Input createRequisitionInput = new Bapi_Requisition_Create_Input();
I tried to reimport the model, but didn't work.
The RFC Destinations are created and working.
Someone could help me, please?
Regards
Marcos BrandaoHi Marcos,
I would rather say first check the status of JCOs. Then delete the model node from context and even from DC. Now freshly import the model, create a model node in context and then bind it to the input structure of the BAPI before you call the code.
Even in the code, check if you bind the instance of input structure of the BAPI to the model node in conext before you execute the model instance.
Regards,
Tushar S -
Best Scenarios when to use IDOC Adapter, RFC Adapter and Proxy
Please provide me links/weblogs which demonstrate the full scenario that when to use IDOC Adapter, RFC Adapter and Proxy when working with sender R/3 system.
Regards
RachitHi abhinash,
Check these links for java proxy
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
for ABAP Proxy ...
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
for RFC .....
RFC-xi-SOAP Scenario
How to send RFC response message back to XI File/FTP adapter?
https://weblogs.sdn.sap.com/pub/wlg/3865//Troubleshooting [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
Hope you will find them useful ..
Regards
Abhi -
Hi, I developed a custom application in webdynpro and made it to work and in the mean time the sneak preview license expired. I have reinstalled the sneak preview but cannot get the application to work. I had saved the old application in my hard drive and the cannot reimport the model. Any help in this regard is highly appreciated.
Best regards,
Srini.I found one problem was missing object in the SAP system. Once I got that in place I was able to make the application work. I still have a problem with the Adaptive RFC import. This is the error I get.
I get this exception in a pop up.
"An internal error has occured. See error log for more details. "
Plug in Name - Web Dynpro Model Editor Services
Plugin Id - com.sap.ide.webdynpro.service.modeleditor
Class - com.sap.ide.webdynpro.modeleditor.wizards.model.
creation.ModelDialog
Method - nextPressed
Message - Internal error - see detail information in
exception trace.
Exception - org.eclipse.swt.SWTException: Failed to
execute runnable
(Java.lang.NullPointerException)
Where can I see more information? what is possiblit=y wrong.
Also I cannot connect to SAP system from the IDE. So I am missing something. But I could run the old application that accesses SAP without problem.
Any help in this regard is highly appreciated.
Best Regards,
Srini. -
Adaptive RFC and multiple systems; Mapping JCO_DESTINATIONS by code?
Hi,
I have just learned <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/82/76a2406546ba15e10000000a1550b0/frameset.htm">here</a> that I can access several R/3 systems with the adaptive RFC model by using URL parameters like:
http://<hostname>:<port>/webdynpro/dispatcher/local/ESSProject/ESSApp?
<b>sap-wd-arfc-useSys=WD_MODELDATA_DEST:ABC&
sap-wd-arfc-useSys=WD_RFC_METADATA_DEST:ABC</b>
The parameters are a mapping of the original JCO_DESTINATION (WD_MODELDATA_DEST) called by the WebDynpro application to the target system which instead should be called (WD_MODELDATA_DESTABC).
Does someone know wheather this mapping can be done by java coding? For example before the execute method will be called.
Best regards,
MarcusHi,
This for If you send destination params are different u sent it thru URL param only.
For that u need generate URL by using the application .
For that purpose u need to create two applications u can call the first application in second application u can create URL and send Destination params with URL only.
Other wise u can create the par file that would be configured in portal and thru worksets u can pass the params like u mention the destinations.
Or at the time generationg URLS only u can add the destination names.
Thanks,
Lohi.
Maybe you are looking for
-
Sale order 'value changes' after invoice creation
Experts, A sale order was created / shipped / invoiced. The invoice did not go to accounting because of credit auth error. We have a procedure to fix it and then release it to accounting (transaction VFX3). All OK until this point. While fixing the a
-
Recently I updated my iMac to OS X Yosemite 10.10.1. All was operating smoothly for a few weeks until one day i started up and logged in my dock was nowhere to be seen. The desktop screen started flashing black replacing my desktop image. None of my
-
My ipod touch is lost but i have the serial number how do i track it?
plz help
-
Manual for GPS Cradle no.6120 for Palm TX
Hi all! I have Palm TX and GPS Cradle no.6120, but no manual for this cradle. Where is possible to find this manual? If impossible my quations are: 1. Is GPS receiver already integrated in this cradle? If not, what kind of antenna can be inserted in
-
Can't download Dredd iTunes Extras
I recently purchased Dredd on iTunes and cannot download the iTunes extras. Keep receiving the same error: There were problems downloading some purchased items. For more information on the items that could not be downloaded, click below. There was a