on 07-11-2007 3:54 PM
Hello Friends,
I need to extend the functionality of an existing web dynpro application. so I import the project in NWDS and I try to search the SAP JCO connection but did not find out.
I went into the model ; there are three model, and I looked in each model class, but did not find the SAP JCO declaration..
Any idea, where I can look for SAP JCO declaration ?
kind regards,
Haider
Hi,
Two see the Two JCO Destination (MODELDATA and METADATA).
Open your Project in Webdynpro Perpestive and got to second TAB navigator.
Go to the src node => Packages => here you will see the file ProjectProperties.wdproperties which stores all the destination created to access the SAP r3 (BAPI).
Search your jco destination (METADATA and MODELDATA).
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Just follow this steps for getting JCo Destination:
1] Select one of the Model and Right click and say Re-Import.
The screen appeared will show you the jco connection details.
Provide here the necessary login details.
The next screen will show you the two Destination for this Model that you have to maintain in portal.
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Berthe,
That nice of you, I have got now the SAP JCO desination name; now I want to know which model is using which JCO reference ?
and secondlly can any one tell me why there are 8 SAP JCO ref / destiation name in one single project ? I mean one wont be enough there ?
Thirdlly; I also want to know, if these ref OR SAP JCO destination name are being used in coading ? so i am looking for the place where these sap jco are being use....
Regards,
Hi,
<u>
Your 1st question :</u>
In the Web Dynpro Explorer
1.Expand the <i>Model</i> node
2. expand the <i><model name></i> node
3. expand <i>Model classes</i> node
4. double click on any items or node into the <i>Modelclasses</i> node
5. go to Window menu->Show view-><b>properties</b>
---
In the properties view you have <i>Model Setting</i> node, and into it there is the <i>modelInstance_defaultLogicalSystem</i>
<u>Your 2nd qauestion : </u>
The best practice regarding the model is to use one model for one business unit. Of course for one model you have 2 JCO one for the meta data and one for the application. So if you have 8 JCO it means you have 4 models and 8 connection to your SAP sytem. somtimes it could be to hudge to have so many connection. It is possible to reduce the JCO connectionnumber.
<u>Your 3nd question : </u>
There are using at each time you call a BAPI.
regards
Thanks berthe,
Its gr8 help, I have found the "modelInstance_defaultLogicalSystem"
Now in model class settings I am also seeing abapname which is my case something "Z_RFC_Post", I assume this is the RFC which is being called form this model class, but when I went into the implementation, I mean inside the coading, I cant see the call to this RFC / BAPI...
So where i can see which RFCs this model class is calling, and at what place....
point award for your gr8 help
Regards,
Thanks,
If you want to search somthing in your code such as the BAPI's calling do :
1. go to the menu <i>Search</i>
2. Click on <i>Files...</i>
3. in the <i>Containing text:</i> type : <b>execute()</b>
4. In the <i>Search result View</i>, double click on one line
5. go to <i>implementation</i>
6. type the combinaison <i><ctrl>+<f></i> to find out something
7. type down : <b>execute()</b>
8. and <i>search</i>.
normally, you will find a line like this :
wdContext.current<nodeName>Element().modelObject().execute();
regards
gr8, I have found something like:
wdContext.current<nodeName>Element().modelObject().execute();
1- so there the <nodeName> is the RFC name right ?
2- is it possible to see the list of all RFC being called form one model
3- is it possible to see the list of all RFC being called from one application ?
Regards,
I would really appreicate if you pls provide me some docu also, where I can read the stuff you are sharing with me ?
I have a lot of stuff to read already now ;)....
Somehow, what you want is how to profile your application. So to do it :
1. go to your server : <i>http://<ipserver>:50000/</i>
2. click on <i>SAP NetWeaver Administrator</i>
3. log you as an <b>administrator</b>
4. click on<i> Analysis</i> menu
5. click on <b>Performences</b>
6. click on <i>Application Profiler</i>
7. in the <b>Show </b>dropdwon list select <i>All Applications</i>
8. Find out your application and select it
9. <i>Start profilling</i>
10. navigate to your application
11. <i>stop profilling</i> and check out the result
Good luck because you will have lot of information
Sorry I don't hava any doc, the most information I gave to you was from my own experience.
King regards
ps : create new posts to ask your questions, it easier after to find out subjects.
Some one in this thread also told me to re-import the mode, which I did successfully while providing the login information ...
So I want to confirm one thing, if my login works successfully, it means, I can reach till r3 system or not ?
I just want to confirm this because, right now our basis team has trouble in establish the connection because of firewall issue etc.......
Regards,
I'm not so sure, but if you can access to the model for re-importing, it seams, at least, you can communicate with R3.
Nevertheless, if you want to be extremely sure about your communication, check out the JCO connection in the Web dynpro Content Administrator from your server. In that place, you will find out some tools to verify the communication with your R3 and your JCO.
Hello Shah,
You have click in Window -> Show View -> Properties to see these properties.
Regards,
Edson Thomaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
check out :
http://<yourserver>:50000/webdynpro/welcome/Welcome.jsp
and <b>Content administrator.</b>
In that view select your apoplication and you will see your JCO easily !!!!
Regards
Thanks Arun,
But as described in this blog, that while opening the mode class, one can see the ModelClass Settings" and "Model Settings", this I cant see in my model class.
When I open the model class, click on properties, then I can just see the properties of hte model class, and three tabs NAME; TYPE; and Str field name.....
Any idea where I can look for Modelclass setting and model setting ?
Regards,
IN blog its also written <b>"You will find this dictionary under the Dictionary entry in the project hierarchy (same name as your Model). As soon as you select your model's Dictionary, you will see the property "Logical System Name"</b>
but when I select this dictonary , ( same name as the model ) did not find the logical system name ?
Any one has any suggestion for me, what I am doing wrong ?
Regards,
Message was edited by:
Shah H
Message was edited by:
Shah H
You have this property in the same properties that you change the values of UIElements, you have selected this or the properties tab in the structure??
Regards,
Edson Thomaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Edson,
I need same as you mentiond:
I went into open the models then I open one of them, comes model classes, I open the model classes, and reach to the last node: lets say Z_fkd. I did right click over this node then edit.
Now there are some tabs as overview; properties methods, relations implementation, and I click on properties, there are some properties defiend as name type and structure field name... but I cant see the one you specified ?
Any idea what I am doing wrong ?
Regards,
Hi,
If you like see the JCO of the model, go to any structure in the model (Model -> <Model Name> -> Model Classes -> <Structure>) and right click and edit, now go to tab properties and see the modelInstance_defaultLogicalSystem.
Regards,
Edson Thomaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
To get the JCO destination information, goto <i>http://<yourserver>:50000/webdynpro/welcome/Welcome.jsp</i>
and then click on <i>Content Administrator</i>
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.