Run SAPehpi for ABAP + standalone Java
I have run SAPehpi several times for NW04s ABAP+JAVA. Because ABAP and JAVA are on the same server,
the process is very smooth and easy.
Now I try the same thing on a NW04s with ABAP and JAVA on seperated servers.
Could you share your experience on how to coordinate the dual stack with each on different server?
Blogs and links are very helpful.
Thanks a lot!
Why do you need a sequence if they are standalone systems?
I normally in any other scenario apply ABAP and then JAVA so I would proceed in the same way.
Don't forget the backups :-D
Regards
Juan
Similar Messages
-
Hi all,
I have recently started learning Web Dynpro for ABAP.
I have worked in WebDynpro for Java.
1)I wanted to understand pros and cons of WebDynpro for ABAP and Java.
2)What are the functionality that are available in Web Dynpro for Java but not in Web Dynpro for ABAP.
3)What should be preferred when considering performance issues - WD for ABAP of Java?
Any Web Log or Link in this context will be helpful.
Thanks a lot,
RashmiHi,
OOPs ABAP uses Classes and Interfaces which uses Methods and events.
If you have Java skills it is advantage for you.
There are Local classes as well as Global Classes.
Local classes we can work in SE38 straight away.
But mostly it is better to use the Global classes.
Global Classes or Interfaces are to be created in SE24.
SAP already given some predefined classes and Interfaces.
This OOPS concepts very useful for writing BADI's also.
So first create a class in SE 24.
Define attributes, Methods for that class.
Define parameters for that Method.
You can define event handlers also to handle the messages.
After creation in each method write the code.
Methods are similar to ABAP PERFORM -FORM statements.
After the creation of CLass and methods come to SE38 and create the program.
In the program create a object type ref to that class and with the help of that Object call the methods of that Class and display the data.
see the links below, Understand them and start developing.
chk out the links below:
General Tutorial for OOPS
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
Have a look at these links for OO ABAP.
http://www.sapgenie.com/abap/OO/
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
http://www.allsaplinks.com/
http://www.sapgenie.com/abap/controls/index.htm
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
SDN Series:
https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/35eaef9c-0b01-0010-dd8b-e3b0f9ed7ccb [original link is broken]
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
Basic concepts of OOPS
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
http://www.henrikfrank.dk/abapuk.html
http://www.erpgenie.com/abap/OO/
OOPS in ABAP
oops consept in abap
ABAP with OOPS
http://www.abap4.it/download/ALV.pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
http://www.erpgenie.com/abap/controls/alvgrid.htm
OOPS with ABAP
https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=37566
/people/rich.heilman2/blog/2005/07/27/dynamic-internal-tables-and-structures--abap
http://www.sapgenie.com/abap/OO/
Regards
Srinivas.K
Message was edited by:
Armin Reichert -
Possibilities Web Dynpro for ABAP versus JAVA
Hello,
I would like to know whether WebDynpro for ABAP and Java have the same options, abilities and possibilities. e'm I able to produce the same results with WebDynpro for ABAP as Java. I would like to standardize on just one of the two and be sure that it will to limit me later.
Thanks in advance.Hi Maurice,
If you make have to make a choice you have to consider the followings:
- Which release do you have? Java version is available since 6.30/6.40, the ABAP only as of 7.00.
- Performance. If you have your WD4ABAP and backend (eg ERP) in the same system you gain a lot of performance
- Other small difference, that Java version has a much nicer graphical editor, which I miss from the ABAP version
These are, which came to my mind.
Best regards,
Peter -
Time out parameters for ABAP and JAVA instance
Hello All,
We are looking for Time out parameters for our ABAP and JAVA instances.
As users are complaining that they are getting time out error
while they are trying to access Cprojects from Portal.
I was able to check/collect the ABAP instance parameters from SMICM Tcode.
Can anybody tell me which parameters we need to look for JAVA instance.
Thanks in advance.
Regards,
Amber Sjstart/shutdownTimeout
(jstartup/shutdown_timeout)
Specifies the shutdown timeout, i.e. the grace period for the AS Java instance to shut down before the Java process terminates itself. Unt is in Seconds. Default is 120
j2ee/ms/connectTimeout
(jstartup/wait_for_scs)
Specifies the timeout for the first connection to the message server. The AS Java instance fails to start if this timeout expires.Unt is in Seconds.Default is 60
j2ee/ms/reconnectTimeout
(jstartup/wait_for_reconnect)
Specifies the timeout for the reconnecting to the message server.The AS Java instance shuts down when this timeout expires.Unt is inSeconds.Default is 3600 (one hour)
Thanks -
Links for ABAP and JAVA Admin + Troubleshooting
Hi Gurus,
Can anyone send me the useful links for Admin + Troubleshooting in SAP BASIS i.e. ABAP and JAVA ?
Also, which are the Routing Maintenance Tasks in SAP BASIS ?
Any / All help is most welcome and would be rewarded with suitable points.
Many Thanks in Advance ,
Regards,
- IshanHello Balaji,
Yes, you can connect the JAVA user adminsitration with the Single CUA.
Make use of the JAVA UME feature for this.
http://help.sap.com/saphelp_nw04/helpdata/en/49/9dd53f779c4e21e10000000a1550b0/content.htm
Regards,
Ammey Kesarkar -
Individual business system for ABAP and Java Stack
Hi All,
I need to send message from a system to XI via ABAP proxy and Java proxy. The sender's ABAP and Java proxy use the same message interface to communicate with XI. Should I create one business system for the ABAP stack and one for Java stack of the sender system?
Thanks + Best Regards
JeromeAre you sending same message type from ABAP proxy and Java Proxy to XI?
If you have ABAP proxy, why do you need Java Proxy? Actually you cannot create any Java proxies on ABAP bases systems. What kind of system sender is? Java proxies are created for pure Java based applications.
Let me know if I didnt understand your question correctly. If so, please explain in detail why you need both proxies and what is your sender application.
--Archana -
i have a AS-ABAP System and AS-JAVA system.
Can i have a single CUA for AS-ABAP system and aS-JAVA system or i should have seperate CUA for ABAP and JAVAHello Balaji,
Yes, you can connect the JAVA user adminsitration with the Single CUA.
Make use of the JAVA UME feature for this.
http://help.sap.com/saphelp_nw04/helpdata/en/49/9dd53f779c4e21e10000000a1550b0/content.htm
Regards,
Ammey Kesarkar -
Can we have same system Id for ABAP and JAVA in CRM 7.0 ?
Hi,
After installing CRM 7.0 ABAP, I want to install CRM7.0 Java using same system id as of ABAP. Is it possible ?
Regards,
Vivek GaurWell I found the solution for it. It looks more of a bug in sapinst that it doesn't allow to change userid !
All you need is to to create users ora<sid> and <sid>adm before running it and assign the required groups to them and it would work fine
Thanks Markus for you keen interest in my issue
Regards,
Vivek Gaur -
Dear all,
I know this is an already discussed topic and I found some useful stuff around this.
But I'm thinking more in the direction where we have restriction in case we go one the other way. What I got so far is that we have to go with Java in case we would like to develop stuff for mobile devices. So Java is a must for mobile devices.
What about ADS (adobe document servces) could this be used from both languages?
HCM (Birth of a child) to change the standard ... Java or ABAP?
many thanksHi Maurice,
If you make have to make a choice you have to consider the followings:
- Which release do you have? Java version is available since 6.30/6.40, the ABAP only as of 7.00.
- Performance. If you have your WD4ABAP and backend (eg ERP) in the same system you gain a lot of performance
- Other small difference, that Java version has a much nicer graphical editor, which I miss from the ABAP version
These are, which came to my mind.
Best regards,
Peter -
What are the basic settings required to run webdynpro for abap application?
Hi,
i want some information regarding settings(HOST,Port) to run our application through Browser.What are the settings can i give to run my Application.and also i got some problem that when i create a VIEW it didnt shows the Standard Toolbar of Consisting of all UI Elememts.Is this problem is related Installation?
Thanks & Regards
RaviHi Ravi,
This will be helpful please check.
http://help.sap.com/saphelp_nw04s/helpdata/en/43/e86de5008b4d9ae10000000a155369/content.htm.
Reward points if useful.
Regards,
Muneesh Gitta. -
Hello colleagues!
I have some doubts regarding installation EHP4 ABAP and Java on the same host. We download installation CDs with EHP4, but SAPInst differs than previous SAPInst.
In installtion guides I didn't find any information about dual installtion (ABAPJava on one host). Does anybody try to install ABAPJava on one host? In my thoughts, I should install Central System ABAP and then install Central System Java. Are my thoughts right?Hi,
If you are installing new ERP EHP4 system then for ABAP and Java there will be seperate installation.
And you can install both system on same host but SID will be different.
For more information, please check SAP note 855534.
Thanks
Sunny -
Comparison between WebDynpro for ABAP vs. WebDynpro for Java ??
Hi,
Can someone tell me when should we go for WebDynpro for ABAP and when WebDynpro for Java. Is there any link where SAP recommends the one for the other.
Thanks in advance
Regards
MukeshHi Mukesh,
Both are having its own strengths!! )
I think it all depends on your project requirement and the availabel resources.
If the developer is good in OOPs ABAP then he must go for Web Dynpro ABAP. But if anyone is good in JAVA then that person should go for Web Dynpro JAVA.
*In Short almost all Features supported in webdynpro ABAP are also Possible in webdynpro Java.
1] Webdynpro Java
Supports,
webservice
RFC Models
Accessing Portal information in Java
Easy sending E-mail
Strictly follows MVC architecture which seperate Business logic and Process flow.
Webdynpro Java is webbased programming model to develop SAP Applications.
Easy to learn
Easy to integrate in Enter prise portals.
Dynanamic Programming
*Easy access to R/3 Via RFC technology (Models)
2] Web Dynpro ABAP
As the name suggests Web Dynpro for ABAP uses exactly the same meta model as its cousin Web Dynpro for Java. A Web Dynpro component, a Web Dynpro view, a Web Dynpro model, a Web Dynpro controller have the same semantics both for ABAP and Java. The main difference is the designtime environment, the development infrastructure and the runtime environment.
The designtime environment is properly embedded in the ABAP Workbench where Web Dynpro artifacts are simply a new category like BSP applications or classical dynpro based applications before. Also no surprises regarding the development infrastructure. The correction and transport system keeps track on all changes that are done, versions them and helps to propagate the Web Dynpro application from development to production like you would do with ordinary BSP or dynpro-based applications.
Last not least the execution platform is the ABAP server that produces application content ready to be integrated in the NetWeaver Portal seamlessly. Features like portal eventing can be used between applications written in ABAP or applications developed with Java.
Hope this helps and solve your Problem
Cheers,
Darshna. -
When to use 'Web dynpro ABAP' and when to go for 'Web Dynpro Java'
Hi,
I am trying to learn 'Web dynpro ABAP' from tutorials available on SDN as i am presently working in ABAP. I am also Java learned.
Please tell me the selection criteria for using Web Dynpro component / application using ABAP or JAVA.
Regards,
TanayaHi,
Go through this
Web Dynpro: ABAP or Java?
WebDynpro for ABAP Vs Java
Re: Javascript future in Webdynpro (JAVA and ABAP)
Javascript future in Webdynpro (JAVA and ABAP)
PradeeP -
How to insert message in OC4J JMS from standalone java client.
Hi,
I have been following available examples for creating standalone java clients to insert messages in JMS queues.
I am able to insert using java client when the SOA suite and the standalone java code are on same machine.
package producerconsumerinjava;
import javax.jms.*;
import javax.naming.*;
import java.util.Hashtable;
public class QueueProducer
public static void main(String[] args)
String queueName = "jms/demoQueue";
String queueConnectionFactoryName = "jms/QueueConnectionFactory";
Context jndiContext = null;
QueueConnectionFactory queueConnectionFactory = null;
QueueConnection queueConnection = null;
QueueSession queueSession = null;
Queue queue = null;
QueueSender queueSender = null;
TextMessage message = null;
int noMessages = 5;
* Set the environment for a connection to the OC4J instance
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory");
env.put(Context.SECURITY_PRINCIPAL, "oc4jadmin");
env.put(Context.SECURITY_CREDENTIALS, "mypass");
env.put(Context.PROVIDER_URL,"ormi://myserver.company.com:12402"); //12402 is the rmi port
* Set the Context Object.
* Lookup the Queue Connection Factory.
* Lookup the JMS Destination.
try
jndiContext = new InitialContext(env);
queueConnectionFactory =
(QueueConnectionFactory) jndiContext.lookup(queueConnectionFactoryName);
queue = (Queue) jndiContext.lookup(queueName);
catch (NamingException e)
System.out.println("JNDI lookup failed: " + e.toString());
System.exit(1);
* Create connection.
* Create session from connection.
* Create sender.
* Create text message.
* Send messages.
* Send non text message to end text messages.
* Close connection.
try
queueConnection = queueConnectionFactory.createQueueConnection();
queueSession =
queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
queueSender = queueSession.createSender(queue);
message = queueSession.createTextMessage();
for (int i = 0; i < noMessages; i++)
message.setText("Message " + (i + 1));
System.out.println("Producing message: " + message.getText());
queueSender.send(message);
queueSender.send(queueSession.createBytesMessage());
catch (JMSException e)
System.out.println("Exception occurred: " + e.toString());
finally
if (queueConnection != null)
try
queueConnection.close();
catch (JMSException e)
System.out.println("Closing error: " + e.toString());
But when the SOA Suite is remote, I am struggling to get the settings correct
Till now, here is what I have figured out from looking at blogs/tars etc on the Net:
1. I need to use ApplicationClientInitialContextFactory instead of RMIInitialContextFactory (http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13975/jndi.htm)
2. The project should have a META-INF/application-client.xml file, which may be dummy (http://www.wever.org/java/space/Oracle/JmsTar1). Question is, my code is there in a single absolutely standalone code..how I can use this application-client.xml and where it has to be placed.
Errors:
When trying to run exact same code on local server that tries to enqueue JMS on remotee serverer
Exception occurred: javax.jms.JMSException: Unable to create a connection to "xxxxxxx.yyyyyy01.dev.com/10.42.456.11:12,602" as user "null".
Any help is greatly welcome.
As an exercise, I copied this complete code on the server and then ran locally using a telnet client...it worked. So the problem is coming when accessing the server remotely.
Rgds,
Amit1. I need to use ApplicationClientInitialContextFactory instead of RMIInitialContextFactoryNot necessarily.
2. The project should have a META-INF/application-client.xml fileThat's only necessary if going the ApplicationClientInitialContextFactory route.
There are two types of JMS client applications you can write -- a pure/plain Java app, and an "AppClient". That first is your everyday run-of-the-mill Java application, nothing special. That latter is a special, complicated beast that tries to act as a part of the whole client/server/J2EE architecture which provides you with a semi-managed environment. Either can be made to work, but if all you need is JMS access (using plain OC4J JMS factory/queue names and not JMS Connector names), then the first is easier to get working (and performs a tiny bit better as well due to being a lighter-weight solution).
I think the problem you are having might be: When you use the plain Java client solution, you do not have any type of management, and that includes user management. With no user management (and if the JMS server is not configured to allow anonymous connections) you need to include the username and password in the call to createConnection. (I think it may be that this is actually true in the AppClient case as well -- I avoid using the AppClient model as much as possible so my memory there is weaker.)
If you prefer to go the AppClient route, I would point you to a demo I wrote which had a functioning example, but Oracle seems to have removed it (and all of the 10.1.3 demos?) from OTN. :-(
Hmm, it seems to still be available on the wayback machine:
http://web.archive.org/web/20061021064014/www.oracle.com/technology/tech/java/oc4j/1013/how_to/index.html
(Just look down the page for "With OEMS JMS (In-Memory and File-Based)" -- there is an .html document with info, and there is a .zip file with source code.)
Question is, my code is there in a single absolutely standalone code..how I can use this application-client.xml and where it has to be placed.The app client in my demo had the following directory structure:
myjavaclient.class
jndi.properties
META-INF\MANIFEST.MF
META-INF\application-client.xml
META-INF\orion-application-client.xml
When you use ApplicationClientInitialContextFactory I think it just looks under .\META-INF for the .xml files.
-Jeff -
ADS in ABAP and JAVA on different servers
Dear community,
I need to run ADS with ABAP and JAVA on different servers but after read and apply every step on The ADS Configuration Guide, still getting doubts and problems. Those steps work succesfully on a server with ABAP+JAVA on same server. Those are the problems:
When I perform the report test FP_TEST_00 i get this error:
ADS: com.adobe.ProcessingException: Problem accessing d(200101)
I haven't found a a detailed procedure to set on ABAP and JAVA on different servers...
Do you know any procedure to set this scenario??
As a result, I don't know which role i must assign to adsuser on Java UME because i did not found any SAP_ADSCALLER role as i have ridden on some forums or blogs...
I try to set ADS on ABAP+JAVA on different servers by this official guides:
The ADS Configuration Guide:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30a9630b-4f89-2a10-6fab-e311b3ffd9a6
The ADSConfiguration Guide for Print Scenarios
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a04ef746-4c89-2a10-0f8e-eb2b3460fb7c
Thanks in advance
Kind regards
ScottieHI again,
ADS_AGENT now has sap_all but still same problem:
Creating or Changing the Destination Service, On Visual Administrator/Destinations/HTTP/ FP_ICF_DATA_<SID>
When I set the URL http://<hostname>:<HTTP_port> i am getting error Received HTTP response 502
- If I paste the http://<hostname>:<HTTP_port> +
- Enter the appropriate client number of the system, where the service user ADS_AGENT exists into the client field. Keep the other fields System ID and Language empty +
- Under Logon Data, choose BASIC in the Authentication field. +
- Enter ADS_AGENT in the Username field and enter the same password as given for this service user in the SAP NetWeaver AS ABAP in the Password field
- Choose Save and Test and Received HTTP response 502 appears.
But if I paste on Explorer http://<hostname>:<HTTP_port>/sap/bc/fp/form/layout/fp_test_00.xdp, request User (ADS_AGENT) +Pwd and work ok, so error only appears by Visual Administrator...
Anybody knows how can resolve this doubt?
Thanks in advance
Maybe you are looking for
-
Problem loading content from iTunes library and Netflix
Everytime I try watching a TV episode, movie, or Netflix show, I get an error sign with loading the content. It's not restricted to Netflix and also includeds recently purchased and saved items through iTunes library. What can I do to resolve this
-
External sound system is not working
Hi, the sound system is not working for my MacBook. It is working perfectly for my PC, however, when I plug it into my mac, every sound playing is being paused (e.g. iTunes are being paused on the second playing). What could be the issue?
-
SAFARI does not start after installation
the problem: after installation the safari browser does not start. system: windows XP profesional 2002 service pack 2 ... regards
-
Greeting, I have the following codes in struts1.3.5. It works fine under Firefox, but it does not work at all under Internet Explore (IT) at all. Any clues why under IE it does not work? <html:link action="/private/search"> <input type="button" value
-
Hello, I am creating the URL iview. The web site I am accessing it automatically pops up another window. Is there any way that it can be prevented to show up the pop up window? Fareed