Should i Map thecommon RFC Model to component contrl or custom controller?
In my webDynpro project , I have two modules one is DirectCustomer and InDirectCustomer. so i have set of RFS's in a single RFC model. In this RFS's some are common to both the modules. some are independent to each other. so i have created two controller component one for each module.Then i mapped the independent RFC'c to each controller seperately. But now the RFC's which are common to both modules to map, Better, should i map to existing Componentcontroller or should i create new customcontroller (like commoncontroller).
which i option is better, can u suggest me. I feel that, The common RFC's will be mapped to component controller, bcz it the Base controller for the both customcontroller , indrectly to the viewcontroller.
Can any body give me the suggestion on this
Hi Vishal,
As far as I know it's recommended to use a custom controller for every RFC. This makes sense because if the RFC changes some day you only have to do changes in the specific custom controller.
Similar Messages
-
Should i Map thecommon bapi's to component controller or custom controller?
Hey Can any body give the clarification for this doubt
we have one web dynpro component , It contains some views. Created some BAPIs. Now we have two different applications in the same component. So we have created the two controllers for each application. the created BAPI's are mapped to o each controllers with respect to application. . Now we have a small doubt, the Bapis which common are common to both application not binding to any of that two controllers. so the common bapis should be map to the component controller or created one more controller like util Controller.
Once bapis mapped to any of this we can add this controllers to views. Please suggest which one is better, either mapping bapi's to component controller or custom controller.
vijayHi Raj, thks for the quick responce again. I made small mistake in the sentence.Plz look at now again
In my webDynpro project , under that i have created only single WebDynpro component with two applications .I have two modules(applications) one is DirectCustomer and another one is InDirectCustomer. so i have set of RFS's in a single RFC model. In this RFS's some are common to both the views. some are independent to each other. so i have created two custom controllers one for directCustomer another for Indirectcustomer.Then i mapped the RFC' model objects to each custom controller seperately . But now the RFC's which are common to both views to map, Better, should i map common RFC model objects to existing Componentcontroller(which comes by default when create the webDynpro component) or should i create new customcontroller (like commoncontroller).
which i option is better, can u suggest me. I feel that, The common RFC's will be mapped to component controller, bcz, it the Base controller for the both customcontroller , indrectly to the viewcontroller.
Wht is your suggestion on this disign issue? -
Can not create an new rfc model, NW DevStudio SP11
Hi,
I have installed the NetWeaver Developer Studio SP11
and now if I create a ref model I get this exception:
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: com/sap/tc/logging/LogController)Fran,
it's in SAP Service Marketplace at http://service.sap.com/notes. Some Notes are replicated to SDN, unfortunately not all of them. What's missing are most of the Notes under component BC-*, which is the one for Web AS.
In case you can't get into the Marketplace, here's the text:
SAP Note No. 832994
Short text NoClassDefFoundError during adaptive RFC model
import
Component BC-DWB-WD-JAV
Web Dynpro Tools - Java
Long text
Symptom
You import an adaptive RFC model with Web Dynpro tools, and the system
issues the following error message:
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NoClassDefFoundError: com/sap/tc/logging/LogController)
Other terms
Reason and Prerequisites
You use SAP NetWeaver Developer Studio with Support Package 11.
Solution
The Eclipse installation directory contains a "plugins" folder. This
folder, in turn, contains the "com.sap.mdi" plug-in folder. Open the
"plugin.xml" file located in the relevant plug-in directory in an
editor.
Insert the following line in the list of required plug-ins:
<import plugin="com.tssap.sap.libs.logging" />
The contents should look as described below. The change becomes
effective once you have restarted the IDE.
<?xml version="1.0" encoding="utf-8"?>
<plugin id="com.sap.mdi" name="%pluginName" version="2.0.0"
provider-name="SAP AG">
<runtime>
<library name="lib/SAPmdi.jar">
<export name="*"/>
</library>
</runtime>
<requires>
<import plugin="com.sap.mw.jco"/>
<import plugin="com.tssap.sap.libs.logging" />
</requires>
</plugin>
Regards,
Markus Meisl
SAP NetWeaver Product Management -
SRM RFC Model Error in Webdynpro JAVA
Hi All,
When I create a model from Any R/3 RFC in Webdynpro(JAVA) and map the RFC model context to Controller Context then every thing works fine, but when I create model from SRM RFC(Model is created with no problems at all) and map the SRM Model context to Controller Context, then I get below error:
com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type com.cnsl.srm.model.types.Bbp_Category_Id could not be loaded: com.sap.dictionary.runtime.DdException: Type com.cnsl.srm.model.types.Bbp_Category_Id does not exist
Is there any thing specific to SRM that we have to do on the Webdynpro(JAVA) side to be able to call the SRM RFC. Kindly suggest me. Also please if you can forward me to forum thread/blog in case there is any.
-Shekhar.Hi,
Please look at this thread. Similar problem
Webdynpro Services Exception
WebDynpro using BAPI has an error
Regards,
Marcin Gajewski -
Can i Bind more than one Model object to the Custom controller or not
Hi All, I trying to bind more than one model object to the custom controller, Both the model objects contains same attribute name called ( output). Both model objects created on to top of the BAPI. So when i bind first model object to the custom controller will work fine. When i am trying to bind the second model object to the same controller. This second model object also having the same attribute name called "output" . So it is giving an error of "Duplicate context element "Detail". Rename or uncheck duplicate elements.
can i assign more than one model object to the single controller or not?
But in the reference document, it has given that , we can create model object with more than one bapi.So in this case if both the bapis contains any element with the same name will also be problem. Any body give me the solution.
Initially we have created one custom controller for each model object. But later i realized that, why con't we use same controller for all the model object. Because, the custom controller context is the public context. this context shared across all the view controllers.
The concept which I am trying to do is right or wrong?Hi Vishal,
of course, you can bind one controler to many models. When the same name occours you can simply RENAME binded node in controler.
Regards
Bogdan -
Should I have one JCo connection per RFC model?
Hello SDN,
I got a JCo doubt.
Should I have one JCo connection per RFC model in a DC? or Can I have the same JCo connection for several models in such Web Dynpro Development Component?
I will appreciate any help.
Thank you.Hi Gustavo,
Ideally, we use one JCo connection for all the models in all the DC's in a big project.
If you see the SAP delivered XSS/ESS/MSS solutions they are also using one JCO (SAP_R3_Human_Resources) for all the dc's in one solution.
Suppose you are not using SSO and you have different models with different JCO, now if you want to change the backend client, you have to change all the JCO connections.
So having one JCO, helps easy maintenance of connections across different applications in a big project/solution.
Regards,
Shubham -
I need to call the method execute() of RFC model in my webdynpro inside a task.
Input Parameters of abapi are in the context of webdyinpro that is mapped to BPM context. The problem is that when i run abapi inside wdDoInit() method of webdynpro , the context of webdynpro not yet initialized.
What webdynpro method i must use to run my abapi???The issue is that the usage of embedded components comes with a few caveats you need to be aware of. E.g. the following:
Using Web Dynpro component usages at runtime, data is set to Web Dynpro context elements at a certain point of time in the Web Dynpro componentu2019s lifecycle. Consequently data processing of data that is set from an outside (loader) Web Dynpro component, for example from the process desk, should be done afterwards. Referring to the hook methods of a Web Dynpro component, this is after the component controlleru2019s wdDoInit() method.
Source: http://help.sap.com/saphelp_nwce711/helpdata/en/48/cae1791e774da5e10000000a421937/frameset.htm
Hence, the WD context has not yet been injected from the outside in the wdDoInit() call. -
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 -
Calling RFC from view/component controller
I've got a model node in the component controller's context which is mapped to a node in a view controller. Now, when binding the model's input node with an array and executing the RFC from within an event handler in the view controller, everything goes just fine.
Now, I want to put this functionality in the component controller, so I created a method there, copied the code and call it from the view controller's event handler. When the RFC is called, the input table always contains just 1 element, of which the fields are all initial.
Any thoughts on what might be going on here?Hi friend,
I too faced the problem what you faced.
Near to it.
Ill explain you .
YOu have your model node.
1st you will map that to component controller And from there to view controller.
After that you will bind the elements in this node to some elements in your view after that .
For example
Model class name:-Lok_model.
In the DOINIT method:-
write this code.
Lok_model k = new Lok_model(); wdContext.nodeLok_model().bind(k);
Suppose you have a button in the onaction you write this code.
wdContext.nodeLok_model().currentLok_modelElement().modelObject().get_details();
Ill expalin you about this statement Lok_model() is the node in my view which is mapped from the model and by using that i am calling the method get_details() which is in my model class Lok_model.By this data will be automatically populated into the view elements which are being binded to the model attributes.
Hope this helps you,
Lokesh -
How to use two RFC models in one Data Source for a Interactive Form UI Elem
Hi
I want to use two RFC models (two Function Modules from a SAP Backend system) in one context node of a View Controller in order to pass it as the data source to a Interactive Form UI element. Can I use the data binding mechanism directly or have I to copy the data into a Value Node within the view controller.
Thanks for helping
René Morel
SAP (Schweiz) AGRene,
You can create a local context node in component controller and copy the data from both the RFC's to this node, then bind it to the view controller. Then you can make this view context node as the datasource of the interactive form.
Regards,
Anand -
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 -
Error while importing a Adaptive RFC Model
Experts,
I am trying to import an Adaptive RFC Model. Before importing I need to speciy the connection parameters in the import wizard. I am using the single server method to connect and have specified all the parameters correctly. I have not specified a SAP router as I am using a test system. when I click next on the Model import wizard I get an error.
The trace shows-
[code]ConnectionFailed Exception : com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
Connect_PM GWHOST=test833, GWSERV=sapgw00, ASHOST=test833, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host 10.3.82.177, service 3300)
TIME Fri Jun 29 08:54:18 2007
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -10
MODULE nixxi_r.cpp
LINE 8715
DETAIL NiPConnect2
SYSTEM CALL SiPeekPendConn
ERRNO 10061
ERRNO TEXT WSAECONNREFUSED: Connection refused
COUN
at com.sap.ide.jcb.core.service.connection.internal.ConnectionManager.connect(ConnectionManager.java:220)
at com.sap.ide.jcb.core.service.connection.internal.ConnectionManager.connectToSingleServer(ConnectionManager.java:206)
at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.internalConnectToServer(SAPLogonPage.java:1769)
at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.access$2300(SAPLogonPage.java:46)
at com.sap.ide.jcb.core.wizardpages.SAPLogonPage$9.run(SAPLogonPage.java:1730)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:136)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:261)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.connectToServer(SAPLogonPage.java:1699)
at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.performFinish(SAPLogonPage.java:1805)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard.initializeReimporter(ModelWizard.java:1410)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard.performPostSapLogonPageForReimport(ModelWizard.java:1433)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:85)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.reimportModel(ModelEditorCallback.java:218)
at com.sap.ide.webdynpro.service.modeleditor.ModelService.reImportModel(ModelService.java:207)
at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.reImportModel(ServiceWithUI.java:120)
at com.sap.ide.webdynpro.tsmodel.application.actions.ReimportModelAction.run(ReimportModelAction.java:11)
at com.sap.ide.webdynpro.projectbrowser.actions.PBReimportModelAction.run(PBReimportModelAction.java:77)
at com.sap.ide.webdynpro.projectbrowser.actions.PBDevelopmentObjectAction.runInternal(PBDevelopmentObjectAction.java:80)
at com.sap.ide.webdynpro.projectbrowser.actions.PBDevelopmentObjectAction.run(PBDevelopmentObjectAction.java:61)
at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
Caused by: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
Connect_PM GWHOST=test833, GWSERV=sapgw00, ASHOST=test833, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host 10.3.82.177, service 3300)
TIME Fri Jun 29 08:54:18 2007
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -10
MODULE nixxi_r.cpp
LINE 8715
DETAIL NiPConnect2
SYSTEM CALL SiPeekPendConn
ERRNO 10061
ERRNO TEXT WSAECONNREFUSED: Connection refused
COUN
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1125)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3138)
at com.sap.ide.jcb.core.service.connection.internal.ConnectionManager.connect(ConnectionManager.java:216)[/code]
Can someone tell me problem..
Thanks in advance,
VineethIn service file if entry is not there... give the enty like
<b>sapgw<Inst.No> 33<Inst.No>/tcp
sapgw<Inst.No>s 48<Inst.No>/tcp</b>
where <Inst.No> = System Number of your R/3 system(00 or 01...)
In host file....
ip of the server name of the server.... -
Login failed error while importing an adaptive RFC model
Hi there,
I am trying to import a adaptive RFC model for a BAPI from a 46D system, to which I have connected using VPN from my WAS J2EE server. I have given the login details as Single server(Not load balancing), and given the user login details. However, I am not able to proceed further because it gives me the error 'Name or password is incorrect, please re-enter'. This is strange because I am giving the correct name and password, and I am able to login to this system through SAP GUI using same logon credentials.
I am confused as to what it is expecting to move forward. I have tried changing case of the user name, restarting my WAS etc. The client is correct, and the login language is EN.
Could anybody have any clues or have you faced a similar problem?
thanks in advance,
LMI have had the same problem.
I think whoever programmed the logon routine at that point should be fired immediately and banned from programming for life! Logging on is a very basic and well-understood task, and programmed gozillions of times since 1940s. Common sense and unwritten rules of programming dictate simply if you make something case-sensitive, then you should accept an input in its original form (i.e. password in smalls, or whatever) but not change it to uppercase and then work case-sensitively. Either this, or you program everything case-insensitively.
Fire that programmer or give him to us gollumvoice -
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 -
How to set the tables parameter to a BAPI using adaptive RFC model
Hi,
I have a BAPI ZBAPI that has a tables parameter ZPernr of type ZTable with two elements pernr and name.
I used adaptive RFC model and created model classes for the BAPI.
My question how do i set list of pernr and name to the tables parameter in the webdynpro for java.
I have the following methods available
ZBAPI input = new ZBAPI();
1.ZTable table = new ZTable();
table.setPernr(pernr);
table.setname(name);
input.addZPernr(table);
how do i set the table parameter for multiple pernr and name
2.
add all the pernr and name to list and set that list to input in the following way
input.setZPernr(list) and list of typecom.sap.aii.proxy.framework.core. AbstractList
out of two methods mentioned which one is correct.
Please let me know the solution
Thanks
Bala DuvvuriHi Bala,
In your code:
List pernrList = new ArrayList();
pernrList should be declared as the type of class HROBJECT ( The structure name in the model e.g. the node PERFWARN type is Zhrecmfm_002_Perfrat_Warning_Input )
Try this:
HROBJECT pernrList = new HROBJECT();
pernrList.setPernr(pernr);
input.setPernr_List(pernrList);
// call BAPI execute method
If you want to pass list of pernrs, you can pass in alternate way
IPrivate<viewname>.I<nodeame>Node prNode = wdContext.node<node>();
IPrivate<viewname>.I<nodeame>Element prEle;
for (int i = 0; i < table.size(); i++) {
HROBJECT pernrList = new HROBJECT();
pernrList.setPernr(pernr); // Set the pernr from current record
prEle = prNode.create<nodeame>Element(pernrList);
prNode.addElement(prEle);
// call BAPI execute method
Once I execute the BAPI how do i iterate thru second table parameter PERNR_PERFRAT to get pernr and performance rating text
Say your node name is PERNR_PERFRAT
for (int i = 0; i < wdContext.nodePERNR_PERFRAT().size(); i++) {
wdContext.nodePERNR_PERFRAT().getPERNR_PERFRATElementAt(i).getPernr();
wdContext.nodePERNR_PERFRAT().getPERNR_PERFRATElementAt(i).getPerfrat();
Regards,
Siva
Maybe you are looking for
-
Trying to figure out how to use a headset with my MacBook Pro utilizing Rosetta Stone software that's already loaded on my laptops
-
I am trying to retrieve the information embedded in the info tag in outlok MeetingItem/AppointmentItem . Does anyone know how could I access this information programatically from c#. I am able to retrieve store, MeetingItem and AppointementItem but t
-
Comparison operators startsWith, endsWith ?
Hi, it would be helpful to have the predefined comparison operators starts with and ends with. I know that this is only a small thing and could easily be worked around with the CP operator, like this contains pattern "STRING*" and contains pattern "*
-
I started a photo creation project but can't open it.
I saved a .PSE photo creation project. Why can't Elements version 9 open a project created in Elements 8? Mary Lou
-
Hi there, The process I have just won't start :( It compiles fine It deploys fine but when i try to invoke it from the Console it won't start no errormessages appear, the "Initiating a test instance" page just stays open no messages in log files... n