Moving WebDynpro apps to production
What is the best reference for defining transport procedures to move WebDynpro apps from dev to test to production? Is there an operations guide that includes transporting WebDynpro apps?
HI,
For software component versioning,build and transporting install JDI and configure it more details you can find in the following URL's
http://help.sap.com/saphelp_nw04/helpdata/en/63/7a4d40eae76f13e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e1/b5443e02a9ab4186a6e1240a9a2455/frameset.htm
https://websmp101.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000512226&
https://websmp101.sap-ag.de/J2EE
https://media.sdn.sap.com/public/eclasses/nwbcil/Java_Development_Infrastructures_files/Default.htm#nopreload=1
https://websmp102.sap-ag.de/instguidesnw04
Hope this helped you
Regards,
RK
Similar Messages
-
Hi All,
I have installed Clusterware 11gR2 on two node cluster Solaris 10 U9 SPARC.
After that I run Oracle Database installer and clicked next.
In Installation Options I checked ""Create and Configure Database".
After that I got the error message:
PRCI-1113: Directory /u01/app/grid/product/11.2.0/gridhome does not exist
and OUI terminate.
Information from logs:
INFO: Completed background operations
INFO: Moved to state <installOptions>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: InstallOptions UI Entering & Exiting processInput
INFO: Validating view at state <installOptions>
INFO: Completed validating view at state <installOptions>
INFO: Validating state <installOptions>
INFO: Completed validating state <installOptions>
INFO: InstallOptionsAction Actions.transition called
INFO: selectedInstallOption is :INSTALL_DB_AND_CONFIG
INFO: inventory location is/u01/app/oraInventory
INFO: Is CRS Installed true
INFO: inventory location is/u01/app/oraInventory
WARNING: Error while invoking SRVM..
Refer associated stacktrace #oracle.install.driver.oui.SRVMInstallExceptionHandler:384
SEVERE: [FATAL] PRCI-1113 : Directory /u01/app/grid/product/11.2.0/gridhome does not exist.
Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:385
[root@gt1000a /u01/app/oraInventory/logs]#
Please help me resolve that issue.
Regards,
DanielFor clusterware I am using grid user and for Oracle database oracle user.
Here is the output from env command:
[root@gt1000a /export/home/11g]# env
MANPATH=/usr/share/man:/opt/VRTS/man:/usr/dt/man:/usr/man:/usr/openwin/share/man
DTSOURCEPROFILE=true
TERM=xterm
SHELL=/bin/bash
SDT_NO_TOOLTALK=1
GTK_RC_FILES=/etc/gtk/gtkrc://.gtkrc-1.2-gnome2
WINDOWID=96471252
OLDPWD=/tmp/deinstall2011-09-10_12-04-39-AM/logs
DTHELPSEARCHPATH=//.dt/help/root-10.182.43.169-0/%H://.dt/help/root-10.182.43.169-0/%H.sdl://.dt/help/root-10.182.43.169-0/%H.hv://.dt/help/%H://.dt/help/%H.sdl://.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv
LC_ALL=ja_JP.PCK
USER=root
DTDEVROOT=
XFORCE_INTERNET=True
OPENWINHOME=/usr/openwin
DTXSERVERLOCATION=remote
XMBINDDIR=/usr/dt/lib/bindings
GNOME_KEYRING_SOCKET=/var/tmp/keyring-I5BqD8/socket
SESSION_MANAGER=local/gt1000a:/tmp/.ICE-unix/12267,inet6/gt1000a:32901,inet/gt1000a:32902
SESSION_SVR=gt1000a
HELPPATH=/usr/openwin/lib/locale:/usr/openwin/lib/help
MAIL=/var/mail/root
PATH=/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb:/sbin:/usr/sbin:/opt/VRTS/bin:/opt/VRTSvxfs/sbin:/opt/VRTSdbed/bin:/opt/VRTSob/bin:/opt/VRTScps/bin:/opt/VRTSvcs/bin:/opt/VRTSodm/bin:/usr/lib/vxvm/bin:/usr/sfw/bin:/usr/ccs/bin
LC_MESSAGES=ja_JP.PCK
PWD=/export/home/11g
START_SPECKEYSD=no
EDITOR=/usr/dt/bin/dtpad
DTAPPSEARCHPATH=//.dt/appmanager:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C
LANG=ja_JP.PCK
TZ=Japan
SDT_NO_DTDBCACHE=1
XFILESEARCHPATH=/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S
PS1=[\u@\h \w]#
SESSIONTYPE=altDt
HOME=/
SHLVL=2
DTSCREENSAVERLIST=StartDtscreenSwarm StartDtscreenQix StartDtscreenFlame StartDtscreenHop StartDtscreenImage StartDtscreenLife StartDtscreenRotor StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank
GNOME_DESKTOP_SESSION_ID=Default
G_FILENAME_ENCODING=@locale,UTF-8
LOGNAME=root
AB_CARDCATALOG=/usr/dt/share/answerbooks/ja_JP.PCK/ab_cardcatalog
DTDATABASESEARCHPATH=//.dt/types,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/types/C
XMICONSEARCHPATH=//.dt/icons/%B%M.pm://.dt/icons/%B%M.bm://.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B
DTUSERSESSION=root-10.182.43.169-0
DISPLAY=10.182.43.169:0.0
GTK_IM_MODULE=iiim
XMICONBMSEARCHPATH=//.dt/icons/%B%M.bm://.dt/icons/%B%M.pm://.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B
G_BROKEN_FILENAMES=yes
dtstart_sessionlogfile=/dev/null
COLORTERM=gnome-terminal
_=/usr/bin/env
[root@gt1000a /export/home/11g]#
oracle user profile:
[root@gt1000a /export/home/11g]# cat /export/home/oracle/.bash_profile
export ORACLE_BASE=/u01/app/oracle
export GRID_HOME=/u01/app/grid/product/11.2.0/gridhome
export GRID_BASE=/u01/app/gridbase
export CRS_HOME=/u01/app/grid/product/11.2.0/gridhome
export CRS_BASE=/u01/app/gridbase
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export LANGUAGE_ID=JAPANESE_JAPAN.JA16SJIS
export NLS_LANG=JAPANESE_JAPAN.JA16SJIS
export LD_LIBRARY_PATH_64=$ORACLE_HOME/lib
export LD_LIBRARY_PATH=$ORACLE_HOME/lib32
export CLASSPATH=:/JRE:/jlib:/rdbms/jlib:/network/jlib
export PATH=$PATH:/u01/app/oracle/product/11.2.0/db_1/bin:/u01/app/grid/bin
[root@gt1000a /export/home/11g]#
Edited by: nagardd on Sep 15, 2011 8:07 AM -
Inluding java webdynpro apps into portal transport packages
Hi All,
Platform: EP7 SPS13, solaris, oracle DB
I would like to know how to include java webdynpro apps into portal transport packages.
I was reading documentation but I was not able to accomplish this.
I have modified Pcd.TransportApplication.Export.ExcludeSystemObjects = false
in pcdStartup.properties file.
Transport export includes all my java webdynpro iviews, and export property RESOLVE REFERENCES is set to true in order to setup dependences to be included.
After importing in QA portal, I can see my java webdynpro iviews, but no webdynpro application exists and iviews won't work.
Any idea will be appreciated.
Regards.Hi Claudio Roca ,
You ca nmove web dynpro applications to different landscapes in two ways
1) In NWDS u need to set Message server Port and server port of Quality or production depending on ur requirement
In NWDS ..In Menu you can find
Windows->perferenece there u need to do settings
and u need to deploy ur webynpro application
2) you can deploy .ear file in Visual Admingoto Visual Admin there u can find deployment button click it and deploy ur .ear file
Please reward points if it is helpful
Thanks
Srikanth -
How to move Oracle APPS 12 setup data to new APPS 12 production environment
Dear All
I need to know , how we can move Oracle APPS 12 setup data to new APPS 12 production environment?? What is the easy and secure way, we dont want to do the new installation of APPS 12 and re-setup the things....
cheersHi,
Can you please explain more regarding to move setup from DEV to PROD instance.The steps are documented in the iSetup manual, so have you gone through the documentation?
Also we would install PROD with multi tier nodes, and HA cluster. So in that case what would be the change to move the setups from DEV to PROD, as DEV is single node TEST APPS 12 installation.iSetup is helpful in moving the functional setup between the two instances. If you want to create an identical copy of your DEV instance to PROD instance (provided that both instances contain no data), then you can use "Rapid Clone" -- See (Note: 799735.1 - Rapid Clone Documentation Resources, Release 11i and 12).
Regards,
Hussein -
I am in middle of Oracle 10.2.0.3 pachest installation and getting this error:
Error in writing to file '/u01/app/oracle/product/10.2.0/lib/libocr10.so'
I shutdown database and listenter prior to start of upgarde.
Any idea? OS AIX 5.2hi,
>
create spfile='/u01/app/oracle/product/10.2.0/db_1/dbs'
2 from
3 pfile='/u01/app/oracle/product/10.2.0/db_1/admin/ora/pfile/initora.ora';
create spfile='/u01/app/oracle/product/10.2.0/db_1/dbs'
ERROR at line 1:have you startup the database in nomount stage with pfile.. if so.
then
create spfile form pfile='/u01/app/oracle/product/10.2.0/db_1/admin/ora/pfile/initora.ora';
use this command
a spfile will be created inside /dbs/
now restart the DB and give startup command and check the instance status..
as mentioned above export the Oralce_home and Oracle_sid..
regards,
Deepak -
How to consume a ABAP webservice in a webdynpro app?
Hi,
I have a BAPI in ABAP that is exposed as a webservice. I want to use this to build a webdynpro app so that i can consume this webservice. This BAPI returns the Employee data. As soon as the person logs into the portal i am going to pass his login id to this BAPI so that it retrieves the Employee data for that user id. But i need to know the procedure of consuming this webservice in a webdynpro app. Any pointers in this regard will be greatly appreciated.
Thanks,
Arun E VHi Arun,
Consumption of a web service is univesal I guess so it wont matter if it is an ABAP webservice. For consumtion of webservice in Web Dynpro you can go through the following tutorials
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/using%20car%20rental%20web%20service%20with%20web%20dynpro.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/using%20car%20rental%20web%20service%20with%20web%20dynpro.pdf</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20an%20email-client%20using%20web%20dynpro%20and%20web%20services.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20an%20email-client%20using%20web%20dynpro%20and%20web%20services.pdf</a>
Do reward points if it helps
Regards
Sid -
Consuming ABAP Webservice in Webdynpro app
Hi,
I have wrote a webdynpro app for consuming ABAP webservice. I used the procedure in the link below
http://wiki.sdn.sap.com/wiki/display/WDJava/ConsumingABAPWebServiceinJavaWD
Everything seemed to be went well, I created model and Webservice destinations. I have written the code for calling the webservice, which does not return data as part of response. I mean though the RFC returns data at the backend,its not showing the returned records in the webdynpro table.
I have also tried checking the same by setting external break point. when the webservice is executed from my webdynpro app,it goes to the ABAP debugger and i could clearly see the records in the export parameters of RFC,but the same is not returned in the reponse object.
Could any one let me know what could be missing. Any help is greatly appreciated?
I have used the following code in Init method of my View
Request_ZMYRFC input=new Request_ZMYRFC (model);
wdContext.nodeRequest_ZMYRFC ().bind(input);
ZMYRFC req= new ZMYRFC (model);
req.setPUserid("EDLAS00C");
req.setPLtc("E");
input.setMYRFC (req);
IWDMessageManager manager = wdComponentAPI.getMessageManager();
try
wdContext.currentRequest_ZMYRFCElement().modelObject().execute();
wdContext.nodeResponse().invalidate();
wdContext.nodeZMYRFCResponse().invalidate();
wdContext.nodeReturn_res().invalidate();
wdContext.nodeItem_res_ret().invalidate();
wdContext.nodeILtcg_res().invalidate();
wdContext.nodeItem_res_ltcg().invalidate();
catch(Exception e)
manager.reportException(e.getMessage(), false);
Thanks
Santhoshsantosh,
Check provider system defination in nwa for webservice.After this mapp the provider system and service group after wd app deployed.This is mandatory while consuming webservice in webdynpro for latest versions of CE7.11 or later.for reference check this article/document. http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50d70a19-45a3-2b10-bba0-807d819daf46
Thanks,
Murthy.
Edited by: Murthy Karaka on Mar 22, 2010 12:59 PM -
Passing an XML file from WebDynpro app to ABAP function module
Hi all,
I'm stuck with a problem, and am hoping one of you could let me know how to proceed:
I need to pass an XML file (or at least the entire content of the XML) from my WebDynpro application to a backend ABAP function module. What I tried was this:
In my WebDynpro app, I read the XML and convert the content into one long string (using java.io.FileReader and java.io.BufferedReader). In my ABAP function module I created an import parameter of type String. I then imported the ABAP Function module into my WebDynpro app as a model. I then tried to pass the XML string to the ABAP module. What happens is this:
If the size of the string (XML) happens to be less than 255 characters, then it works. That is, the string is passed to the ABAP function module and I can see the contents. However, if the XML string happens to be greater than 255 characters, then it does not work. The string at the ABAP side is empty. Surprisingly, the ABAP module does not throw an error either. It just displays an empty string.
Could you please tell me what the problem is?
Thanks & Regards,
BijuHi Biju ,
Welcome to SDN.
If the import parameter is defined as type string it should work, however did you check whether your application pass it properly?
I have applications using strings as import parameters working fine. (webapplications (BSP) to RFC)
Regards
Raja -
Can I execute a function module in my Webdynpro App ?
Hi,
Can I execute a function module in my Webdynpro App ? I mean, it's not a BAPI.
Is it possible ? which is the procedure to follow ? (comparing to a bapi procedure).
Thanks for your help !
Regards from Mexico. =)
DiegoHi Diego,
the warning icon indicates that you're using a function module that has not been externally released. If the corresponding function module has been defined by SAP, its interface might be changed in an incompatible way within one of the next releases, e.g. removing / renaming a parameter or structure field. Stability is only guaranteed for BAPIs or external released function modules.
From the point of view of the model import it does not make any difference. If import does not work, there seems to be some other problem. Maybe the function module has not been activated in the R/3 system. Or check the log file or the import log page which will be the last page of the import wizard.
You might want to import some other none external released function module in order to verify that model import of these kind of function module works.
Kind regards,
Lothar Bender -
hi
i have manually created a database called ora.i have done all the relative tasks.i can open the database by startup nomount pfile.but when i try to create spfile from pfile, it is showing an error that it is already created.when i give the startup command the
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/db_1/dbs/initora.ora'
above error occurs.acutally my pfile is in another location and it is trying to open it from another loc.ihave added the line
export ORACLE_SID=ora in bashrc file.Already there is one database called orcl and it is also been added to the
bashrc file.
Pz solve it for me.hi,
>
create spfile='/u01/app/oracle/product/10.2.0/db_1/dbs'
2 from
3 pfile='/u01/app/oracle/product/10.2.0/db_1/admin/ora/pfile/initora.ora';
create spfile='/u01/app/oracle/product/10.2.0/db_1/dbs'
ERROR at line 1:have you startup the database in nomount stage with pfile.. if so.
then
create spfile form pfile='/u01/app/oracle/product/10.2.0/db_1/admin/ora/pfile/initora.ora';
use this command
a spfile will be created inside /dbs/
now restart the DB and give startup command and check the instance status..
as mentioned above export the Oralce_home and Oracle_sid..
regards,
Deepak -
I have installed an Oracle 11gR2 on Oracle Linux Server 6.6 (Virtualbox). I have the users grid and oracle11g. Add groups and install grid infrastructure first as a grid user and install database as oracle user as in documentation successfully.
I have following users and groups as
[grid@orcl11g ~]$ id grid
uid=501(grid) gid=502(oinstall) groups=502(oinstall),492(vboxsf),501(grid),503(dba),505(asmdba),506(asmadmin),507(asmoper)
[grid@orcl11g ~]$ id oracle11g
uid=500(oracle11g) gid=502(oinstall) groups=502(oinstall),500(oracle11g),492(vboxsf),503(dba),504(oper),505(asmdba)
.bash_profile edited for oracle11g user as
"export TMP=/tmp
export ORACLE_HOSTNAME=orcl11g
export ORACLE_UNQNAME=ora11g
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=ora11g
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
.bash_profile edited for grid user as
"export TMP=/tmp
export ORACLE_HOSTNAME=orcl11g
export ORACLE_UNQNAME=+ASM
export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/grid
export GRID_HOME=$ORACLE_BASE/product/11.2.0/grid
export ORACLE_SID=+ASM
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
When I log on as grid user. I check the followings:
[grid@orcl11g ~]$ crsctl check has
CRS-4638: Oracle High Availability Services is online
[grid@orcl11g ~]$ srvctl status database -d ora11g
Database is running.
[grid@orcl11g ~]$ sqlplus sys as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:17:37 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
SQL> select status from v$instance;
STATUS
STARTED
Till here everything seems to be OK!!!!
When I log as oracle user. I check the followings:
[oracle11g@orcl11g ~]$ sqlplus sys as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:21:46 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
Connected to an idle instance.
SQL> select status from v$instance;
select status from v$instance
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initORA11G.ora'
Also when I log on as a grid user again and use following commands to shutdown and start database again the STATUS of instance is again STARTED not OPEN.
[grid@orcl11g ~]$ srvctl stop database -d ora11g -o normal
[grid@orcl11g ~]$ srvctl start database -d ora11g
And also when I edit /etc/oratab file. I change N to Y for +ASM. But when restart system it seems not changed value is N again.
+ASM:/u01/app/grid/product/11.2.0/grid:N # line added by Agent
ora11g:/u01/app/oracle/product/11.2.0/dbhome_1:Y
NOW QUESTIONS!!!!!
1. Why I can't change the status of database to OPEN as grid user?
2. The status is always STARTED when querying v$instance. İs it status of +ASM or database?
3. When checking database as grid user it seems to be Database runnning... If running why it is not in OPEN state? What is running means here?
4. When I log on as oracle user and query v$instance, then error shown above occured. And also when startup the database then another error occured as in above. WHY?
5. When I edit /etc/oratab file manually why second row saved but the first one is changed after restart the system?
6. Normally, which user have to start, stop or manage database? I think that oracle user is necessary for managing database and the grid user is only for managing ASM and Oracle Restart.
PLEASE HELP ME TO SOLVE THIS CHAOTİC SİTUATİON!!!
Thanks,
DBA_84I have installed an Oracle 11gR2 on Oracle Linux Server 6.6 (Virtualbox)
Pl identify exact version of 11gR2 to 4 decimal places. As noted in your other thread - Failed to start oracle-ohasd, error: Inappropriate ioctl for device ohasd failed to start at roothas.pl - you will need a minimum version of 11.2.0.3 for Linux 6.x - using a lower version may result in unexpected issues or problems. -
Ello,
I create a base manually
when I execute the command
sqlplus /nolog
connect /as sysdba
@Oracle_express\app\oracle\product\11.2.0\server\rdbms\admin\catalog.sql
a the end I have the error
Comment created.
Comment created.
Grant succeeded.
DOC>######################################################################
DOC>######################################################################
DOC> The following PL/SQL block will cause an ORA-20000 error and
DOC> terminate the current SQLPLUS session if the user is not SYS.
DOC> Disconnect and reconnect with AS SYSDBA.
DOC>######################################################################
DOC>######################################################################
DOC>#
DECLARE
ERROR at line 1:
ORA-06553: PLS-213: package STANDARD not accessible
Disconnected from Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
Somebody have an idea for resolve my issue please ??
ThankTRy this may help u
CLASSY DBA: ORA-06553: PLS-213: package STANDARD not accessible -
ABAP session id with a webdynpro app
Hi....
I have a custom webdynpro app that makes JCO calls to ABAP.
So when i open the abap debugger (debugging remotely from the java webdynpro) i can see that sy-uname
is in fact the user that logged into the portal....
What I am wondering is this....
Is there a way to get a unique session id (or guid) on the abap side for that users session? when the user logs off of the portal, there session closes on the abap side as well...if they logged into the portal then they
would have a new session on the abap side as well....
I need to find a way to get this session id on the abap side.maybe this function module?
TH_GET_SESSION_ID -
Hi Everyone hope you can help.
All i would like to know is:
If you have created a webdynpro and would like to bypass the default way of obtaining a JCO connection i.e)
Not using the GUI under the webdynpro admin console in the portal and defining the JCO (Meta and Model) there.
I have looked everywere and i can not find any documentation supporting "Writing your own JCO connection" inside the webdynpro app as a pooled connection.
I used to do it in EP5 like this:
public class Test {
private IPortalComponentRequest request; //used for SSO
public void setRequest(IPortalComponentRequest value){
request = value;
private void BuildConnection(){
IJCOClientService clientService = (IJCOClientService) request.getService(IJCOClientService.KEY);
poolEntry =
clientService.getJCOClientPoolEntry("PROD_SYSTEM", request);
sapConnection = poolEntry.getJCOClient();*/ }
private void closeConnection(){
poolEntry.release();
} //end Juan
The API that i used is not included in the webdynpro development lib.
Can anyone show me how to get the SSO cookie using the webdynpro API inside the webdynpro app. I need this cookie to include it into the required parameters during the JCO connection creation.
Thanks in advance!Hi Diego
There is tons of information on this.
Check this post
Re: Problem accessing R/3 with SSO ticket from the EP6.0
and also links in this post.
For Web dynpro app to R/3 these simple points should help
-> Go to your Security provider service in VA , select the authentication template ticket and provide options for CreateTicketLoginModule with the one given in this document
http://help.sap.com/saphelp_nw04/helpdata/en/cb/ac3d41a5a9ef23e10000000a155106/content.htm
->Go to your key storage service in VA and export out the certificate and import this into R/3
->Go to your Content administration for Web Dynpro and switch the security settings in your JCO destinations to use 'useSSO' instead of userid and password , this applies only for the destination that fetches application data. The meta data destination can be configured to use userid and password.
Thats about it.
Regards
Pran
P.S is this '=(' the mexican hat -
Please guide me for user authentication and authorization in WebDynPro App
Hi,
I just study the WebDynPro to develop the SAP Portal. I've ever developed the Web-based App using J2EE. So when i developed the Web-based App i have to develop the control of the user authentication and authorization on each page for example ,checking the session of the user whether they can access this page or whether session is expired or not,. So i have no idea with the WebDynPro and the SAP Portal because i never had experience for both WebDynPro and Portal.
I need to ask you some question to clarify my doubt :
1. SAP Portal is web page that include every enterprise application with in one page and user log-in to them just on time, isn't it?
2. If i integrate WebDynPro with SAP Portal, which one will do the authentication and authorization?. I mean that, Do i have to develop the code to check authentication and authorization in the WebDynPro App or Let the SAP Portal manage them?
3.Could you please suggest the best practice for authentication and authorization in webDynPro.
Many Thanks
Noppong Jin most case you don't have to write code to deal with session, authentication and authorization.
1. yes,
2. no, no code needed. you just set an attribute to your application, which make the the authentication required. when user access this page, portal will display the logon page
3 you can put some authorization related code in web dynpro for specific requirement, search this doc "Protecting Access to the Web Dynpro Car Rental Application Using UME Permissions"
Maybe you are looking for
-
SAP posting period error while mainting stock in MB1C
Hi, Error Description:- While I am maintain the stock in MB1C i got an error i.e. Error:- Postingonly possible in periods 2006/12 and 2006/11 in company code CLC1 ( CLC1 is mycompany code.) To resolve this error I did some pre-requisite, First :-
-
I can't post to any other forum
I tried to post to Apple.com > Support > Discussions > User Tips Library > User Tips Library and I was denied permission. ?!@## Why can I only post to Unix board? X TiG4/667 Mac OS X (10.2.x) TiG4/667 Mac OS X (10.2.x) TiG4/667 Mac OS X (10
-
Problems with BI Reports in WebUI
Hello, I have linked some planning web templates in the CRM WebUI, but every time a user changes the report, the session isn't closed so the lock of the data is still active. Even if the user press log out, the portal sessions are still active. Is it
-
Application Object Linking - Upgrade
Hi All, I have an issue in my upgrade project. I'm triggering a mail from my workflow which is supposed to link with the relevant invoice when I check the attachment list in FB03 transaction. I.e. Whenever a mail is triggered a link is placed for the
-
Dynamic configuration of Message ID
Hi All, We have a scenario where the Input message is the IDoc. Is it possible to acheive the following in mapping: - Check the data in a particular field of the IDoc. - Fetch the Message Id from Dynamic cofig. - Edit the message ID (prefix it with a