Is it posible to return warning message from HOST concurrent Program
Is it posible to return warning message from HOST concurrent Program?
Exit 0 -> successful
Exit >1 is an error
is there anyway to send the warning status through Host cooncurrent program ?
Thanks
Sachin
I do not have access to a test instance to try this, but I believe "exit 2" will make the host concurrent program complete with a warning status. Can you pl try this and post your results here ? :-)
HTH
Srini
Similar Messages
-
Not able to do 'cd $DIRECTORY_NAME' from host concurrent program
Hi Friends
I am trying to run the below from a host concurrent program:
cd /interface/j_dcgr07/DDCGRI/incoming
and I am getting
/ddcgri/applmgr/CUSTOM/xxdc/11.5.0/bin/XXDCIMAGECOPY.prog: line 43: cd: /interface/j_dcgr07/DDCGRI/temp: Not a directory
but now when I log into the mid-tier as the concurrent program user I am able to do a "cd" for the same directory.
Has anyone else encountered the same error? What could be the issue here? We are on Oracle 11.5.10.2 on AIX 5.3 (64 bits).
Thanks in advance !
Regards,
Shashankuser8094949 wrote:
The directories exists. Below is the output:
$ ls -l /interface/j_dcgr07/DDCGRI/temp
total 0
$ ls -l /interface/j_dcgr07/DDCGRI/
total 10
drwxrwx--- 2 tmoss j_dcgr07 2 Sep 28 2010 archive
drwxrwx--- 3 j_dcgr07 j_dcgr07 4 Jun 7 10:40 incoming
drwxrwx--- 2 j_dcgr07 j_dcgr07 2 Sep 28 2010 invalidfiles
drwxrwx--- 3 j_dcgr07 j_dcgr07 3 Sep 28 2010 outgoing
drwxrwx--- 2 j_dcgr07 j_dcgr07 2 Sep 28 2010 src
drwxrwx--- 2 j_dcgr07 j_dcgr07 2 May 27 03:02 tempIs "j_dcgr07" the owner of the application tier node files?
Thanks,
Hussein -
Warning messages from ME_PROCESS_REQ_CUST method CHECK
Hello All,
I am facing below mentioned issue with BADI ME_PROCESS_REQ_CUST
1: how can we issue warning messages from BADI ME_PROCESS_REQ_CUST method CHECK?
2: Check method is called twice if I click on check button in ME52N.
ThanksHI ,
You can use Below
include mm_messages_mac. "useful macros for message handling
if ur condition .
mmpur_message_forced 'W' 'ME' '083' text-001 '' '' ''.
endif.
text-001 : text element for your description .
BUt Warning Message will not keep the screen on error page . it will be better to use 'E' for error if you want
mmpur_message_forced 'E' 'ME' '083' text-001 '' '' ''.
regards
Deepak.
Edited by: Deepak Dhamat on Oct 21, 2011 8:20 AM -
CCMS issue: "Determining warning messages from CCMS"
Hi!
We have a performance problem by accessing of solution in tcode DSWP.
We retrieve the warning: "Determining warning messages from CCMS"
In order to solve or analyse this problem I have the following questions:
1) How collects CEN the data from satelite systems?
1a) how? --> RFC, etc.
1b) mode? --> Push, Pull, etc.
2) How the data will be transfered from CEN to tcode DSWP?
Any helpful information will be appreciated.
regards
ThomHi Thom,
Have you already installed CCMS agents, the will speed up communication? That's definitely required in your situation with many systems connected to SolMan.
See [http://service.sap.com/monitoring|http://service.sap.com/monitoring]
You can also check CPU, Memory, as recommended by Afi, but I expect that this will not be the bottleneck.
Response times depend on the number of connect systems, number of activated monitoring objects (MTE nodes), number of server, instances.
If you are not satisfied with performance, I would recommend to open a customer message on component SV-SMG-OP or SV-SMG-MON-SYS.
Best regards,
Ruediger -
Tcode DSWP, Determining warning messages from CCMS
We use SAP Solution Manager 4.0, SPS 13 for System Monitoring of almost 100 systems.
We configured SOLMAN as CEN system and activated the CCMSPING with push option.
For almost the 2/3 of the systems we configured SAPCCM4X agents.
Our current problem is a performance issue in tcode DSWP. When we try to enter into one of the solutions there (by pressing on it) we get the following warning:
Determining warning messages from CCMS
It tooks a while and then it is possible to access the desired solution.
My important question is of course:
How can this issue be solved?
Is there some techniques to analyse and change the problem
How can I check whether all the agents work in push mode and that we do not use standard CCMS methods that can cause the RFC load?
Thank you very much for any helpful information
Regards
ThomHi Thom,
Have you already installed CCMS agents, the will speed up communication? That's definitely required in your situation with many systems connected to SolMan.
See [http://service.sap.com/monitoring|http://service.sap.com/monitoring]
You can also check CPU, Memory, as recommended by Afi, but I expect that this will not be the bottleneck.
Response times depend on the number of connect systems, number of activated monitoring objects (MTE nodes), number of server, instances.
If you are not satisfied with performance, I would recommend to open a customer message on component SV-SMG-OP or SV-SMG-MON-SYS.
Best regards,
Ruediger -
Hyperlink warning message from HLINK.dll
Hi,
I have a access file (Created in Win Xp and Access 2000) which has forms. I have a hyperlink in one of the forms which opens a word file and merges data with the word doc.
Now I am supposed to make it work in Win 7 and Office 2010.
When I click on the link, it opens the file once and completes the procedure. As soon as this is done, I get warning message from HLINK.dll as "some files may contain viruses....etc". When I click OK, it open same file again does same processing. So
same file is generated twice.
I believe that if the warning message is suppressed, it wont generate second file. Please help me to suppress the warning message.
And if you feel there is some other solution to this, please suggest.
TIA
Regards,
NareshHi
Naresh,
You may disable warning messages hyperlink in Office 2010 by the steps below:
===========
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious
problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs.
1.
Click
Start, and then click Run.
2.
In the
Open dialog box, type regedit, and then click
OK.
3.
In Registry Editor, locate one of the following registry subkeys:
o
HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common
o
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Common
NoteYou only have to modify one of these registry
subkeys. You do not have to modify both of them.
Note If the Security subkey already exists, skip to Step 6 after selecting the Security subkey.
4.
Click the registry subkey, point to
New on the Edit menu, and then click Key.
5.
Type Security, and then press ENTER to name the key.
6.
On the
Edit menu, point to New, and then click
DWORD Value.
7.
Type DisableHyperlinkWarning, and then press ENTER to name the entry.
8.
In the right pane, right-click
DisableHyperlinkWarning, and then click Modify.
9.
In the
Edit DWORD Value dialog box, click Decimal, and then type 1 under
Value data.
Note A value of 0 enables the hyperlink warning message. A value of 1 disables the hyperlink warning message.
10.
Click
OK.
11.
Exit Registry Editor.
For details, refer to the KB articles:
http://support.microsoft.com/kb/829072
http://support.microsoft.com/kb/925757
Best Regards,
Sally Tang -
CCMS: Determining warning messages from CCMS
Hi!
We use SAP Solution Manager 4.0, SPS 13 for System Monitoring of almost 100 systems.
We configured SOLMAN as CEN system and activated the CCMSPING with push option.
For almost the 2/3 of the systems we configured SAPCCM4X agents.
Our current problem is a performance issue in tcode DSWP. When we try to enter into one of the solutions there (by pressing on it) we get the following warning:
Determining warning messages from CCMS
It tooks a while and then it is possible to enter into the solution.
My important question is of course:
How can this issue be solved?
Is there some techniques to analyse and change the problem
As I know there are two ways of sending/retrieving the data:
via RFC (pull)
via CCMS (push)
Which method is faster?
Is there some changes in CCMSPING possible? (interval for sending/retrieving the data)?
Is there some other settings (likw profile parameters e.g. rdisp/...) that could be performed to solve the problem?
Thank you very much for any helpful information
Regards
ThomHi Thom,
The CCMSPING agent uses two methods to check availability. One is to connect to the message server using "Ping monitoring" the other method is to check whether you can actually login on the application server and that requires an RFC connection. When you configure Availability monitoring you will see you can configure either or both methods depending on what your requirements are.
The data is collected and stored in a memory segment reserved for monitoring. The agent connects to this segment on your monitored systems and transfers it to your CEN at the set intervals where it is cached. Edit: sorry if confusing, this method used by sappccm4x agent. CCMSPING connects directly to your application server message service to check availability.
You keep asking which is faster but as mentioned you may require both methods depending on your requirements.
Factors like how busy your application servers are(RFC calls require free dialog work processes) and how long the agent should wait before receiving a response will effect the performance which is why you are able to adjust ping timeout and frequency. How many systems are being monitored and how much data is being transfered from those systems is another factor to consider.
Regards,
Nelis
Edited by: Nelis Lamprecht on May 15, 2008 3:11 PM -
Call / make a NACE-Message from an ABAP Program
Hi all,
Does anyone knows how to call / make a NACE-Message from an ABAP Program?
Is there a possibility to call a functionmodul with the needed basic informations (doc. number, sales-org etc.) which will start the NACE Message Procedure?
Reason:
We have make IDOCs for order confirmation, delivery and billing - and make the NACE ALE/EDI Messages.
But we have the problem that we are using Z-Reports for Mass-Printing the documents. So we have no active NACE Messages for printing and we want to send the IDOCs at the moment when we print out the docs.
It's not possible, to change the business procedures and/or using SAP standard mass print prg. because this is too complicated (we think at the moment).
Regards,
DanielHi,
Use this function module.
CHECK xscreen = space.
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
msg_arbgb = syst-msgid
msg_nr = syst-msgno
msg_ty = syst-msgty
msg_v1 = syst-msgv1
msg_v2 = syst-msgv2
msg_v3 = syst-msgv3
msg_v4 = syst-msgv4
EXCEPTIONS
OTHERS = 1.
Regards,
Nisrin. -
Need to call OAF API from JAVA concurrent program
Hi Gurus,
I am trying invoke an OAF Application method which generate the Batch ID. I am trying the invoke the same from JAVA Concurrent program. Below is teh code used,
package oracle.apps.ego.item.cp;
import java.sql.Connection;
import java.sql.DriverManager;
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import oracle.apps.ego.item.common.server.EgoBatchHeader;
import oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl;
import oracle.apps.fnd.cp.request.CpContext;
import oracle.apps.fnd.cp.request.JavaConcurrentProgram;
import oracle.apps.fnd.cp.request.LogFile;
import oracle.apps.fnd.cp.request.OutFile;
import oracle.apps.fnd.cp.request.ReqCompletion;
import oracle.jbo.ApplicationModule;
import oracle.jbo.ApplicationModuleCreateException;
import oracle.jbo.ApplicationModuleHome;
import oracle.jbo.JboContext;
import oracle.jbo.domain.Number;
import oracle.jdbc.internal.OracleCallableStatement;
public class XX_EGO_BATCH_CREATE implements JavaConcurrentProgram {
static LogFile log = null;
public void runProgram(CpContext ctx){
//Obtain the reference to the Output file for Concurrent Prog
OutFile out = ctx.getOutFile();
EgoBatchHeader v_header = new EgoBatchHeader();
//Obtain the reference to the Log file for Concurrent Prog
log = ctx.getLogFile();
log.writeln("Batch Number Creation", 0);
ApplicationModule am = null;
try{
//Write your logic here
log.writeln("Batch Number Creation", 0);
log.writeln("definition of batch num",0);
Number batch_num;
Number ssid = new Number(10000);
String jdbcUrl =
"jdbc:oracle:thin:apps/[email protected]:10201:ARERP4";
ApplicationModule am_Member = null;
log.writeln("Before Calling Create method",0);
am_Member =
create("oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl",
jdbcUrl);
log.writeln("assigning ssid"+ssid,0);
EgoImportBatchHeaderAMImpl bheader = new EgoImportBatchHeaderAMImpl();
log.writeln("bheader object is :"+bheader,0);
log.writeln("calling getBatchObjectForCreate"+bheader,0);
v_header = bheader.getBatchObjectForCreate(ssid);
//System.out.println("v_header is :" + v_head);
log.writeln("calling createBatch"+v_header,0);
batch_num = bheader.createBatch(v_header);
log.writeln("Batch Number is :"+batch_num ,0);
out.writeln("This will be printed to the Output File");
log.writeln("This will be printed to the Log File", 0);
//Request the completion of this Concurrent Prog
//This step will signal the end of execution of your Concurrent Prog
ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL,"Completed.");
//Handle any exceptional conditions
catch(Exception e){
log.writeln("Exception2 occurred here !!"+e,0);
log.writeln("calling createBatch"+v_header,0);
public static ApplicationModule create(String amDefName,
String jdbcConnStr) throws ApplicationModuleCreateException, Exception {
ApplicationModule am = null;
try {
OracleCallableStatement conn = null;
// Setup the hashtable of JNDI initialization parameters
log.writeln("inside create method .. ",0);
Hashtable env = new Hashtable(2);
env.put(Context.INITIAL_CONTEXT_FACTORY,
JboContext.JBO_CONTEXT_FACTORY);
env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
// Create an JNDI initial context
Context ic;
ic = new InitialContext(env);
// Lookup a home interface (factory) for the AppModule by name
ApplicationModuleHome home =
(ApplicationModuleHome)ic.lookup(amDefName);
if(home==null){
log.writeln("home is null... .",0);
}else{
log.writeln("home is not null"+home,0);
// Create an instance of the AppModule using the home/factory
am = home.create();
if(am!=null){
log.writeln("am is not null"+am,0);
}else{
log.writeln("am is null",0);
// Connect the application module to the database
am.getTransaction().connect(jdbcConnStr);
} catch (NamingException ex) {
log.writeln("NamingException occurred here !!"+ex.getMessage(),0);
ex.printStackTrace();
throw new ApplicationModuleCreateException(ex);
}catch(Exception ex){
log.writeln("Exception occurred here !!"+ex.getMessage(),0);
ex.printStackTrace();
throw new Exception(ex);
return am;
I am not able to call the web server and facing issues. Please let me know if you can help me to get a solution to this.
Thanks in advance
VeerendraHi Zafar,
I got an error saying :
Batch Number Creation
Batch Number Creation
definition of batch num
Before Calling Create method
inside create method ..
home is not nulloracle.jbo.server.ApplicationModuleHomeImpl@11d2572
Jul 9, 2008 5:04:21 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
Exception occurred here !!JBO-25002: Definition oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl of type ApplicationModule not found
oracle.jbo.NoDefException: JBO-25002: Definition oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl of type ApplicationModule not found
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:358)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:340)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:700)
at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:401)
at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
at oracle.apps.ego.item.cp.XX_EGO_BATCH_CREATE.create(XX_EGO_BATCH_CREATE.java:139)
at oracle.apps.ego.item.cp.XX_EGO_BATCH_CREATE.runProgram(XX_EGO_BATCH_CREATE.java:57)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Exception2 occurred here !!java.lang.Exception: oracle.jbo.NoDefException: JBO-25002: Definition oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl of type ApplicationModule not found
calling [email protected]9c -
How can i get the source code from java concurrent program in R12
Hi 2 all,
How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
Regards,
Zulqarnainuser570667 wrote:
Hi 2 all,
How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
Regards,
ZulqarnainDid you see old threads for similar topic/discussion? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Source+AND+Code&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Calling a request set from a concurrent program
Hi,
I am trying to call a request set( say RS1) from a concurrent program ( say CP1). I have used fnd_submit.set_request_set and related APIs, and I am able to submit the request set. But the problem is that I have to either hard code the request set parameters in the concurrent program CP1( which I am currently doing), or define the parameters in the concurrent program CP1 and pass the parameters while calling the request set requests. The second method does not work because the request set has around 30 requests, and it is not possible to accept the parameters for all those requests from CP1.
What I would like to do is to define a parameter in CP1 which accepts the request set name( or short name), and then pop-up a window which shows the sub-requests in the request set so that I can enter the parameters of each request within the request set. ( something similar to $FLEX$)
Have anyone done such a thing? Does anyone know if it is possible?
Any suggestions are welcome!Hi,
Sharing parameters will not work because my request set has many requests and none of them have any common parameters. I am looking for a solution which will show me all the programs in the request set with the default values so that I can change the parameter values if required.
Thanks,
Sridhar -
Purging RPD Cache from a Concurrent Program
Hi,
I need to purge RPD Cache from a Concurrent Program.
Can anyone suggest me how the shell script should be and pre-requisites to execute it from Conc Prog.
I am trying with SAPurgeAllCache method of Caching Mechanism..
Thanks,
Vencyhi,
See this below links
it may helpful to you
http://obiee101.blogspot.com/2008/03/obiee-manage-cache-part-1.html
http://oraclebizint.wordpress.com/2008/02/11/oracle-bi-ee-101332-scheduling-cache-purging-phase-2-using-java-and-delivers/
or else see this forums link
Purging the Cache with iBots
Regards
Naresh
Edited by: Naresh Meda on Feb 19, 2009 1:49 AM -
Spawning child program from parent concurrent program.
Hi All,
I am trying to spawn multiple child programs from Parent concurrent program, Parent concurrent program is having execution method as HOST.
Here is how I designed it.
1. Parent Concurrent program (Parent Conc program with execution method as HOST).
2. Host file is abc.prog calls PLSQL package xyz.main.
3. xyz.main has logic to launch multiple child programs - (Child Conc program with execution method as PLSQL stored proc) using fnd_request.submit_request utility.
All the child programs are getting launched but are in INACTIVE/NOMANAGER state. Could you please let me know how to overcome this issue.
Both Parent and child programs are added to standard concurrent manager. This issue is only coming when parent program as execution method as HOST if parent program execution method is PLSQL stored procedure then child programs are running fine..
I also tired initializing apps in HOST file (abc.prog) before calling PLSQL package xyz.main.
Thanks.
Sham.hi,
even i was facing the same issue. while submitting the child requests through fnd_request.submit_request i tried the following:
FND_REQUEST.submit_request (
application => 'Application Short Name',
program => 'Program Executable Name',
description => 'Program Description',
start_time => NULL,
sub_request => FALSE,
argument1 => 'Input 1',
argument2 => 'Input 2' );
After this the Programs were submitted successfully. -
How to send information/warning message from CRM to B2B application
Hi,
I need to send information/warning mesage from CRM to B2B application.
I am using FM CRM_MESSAGE_COLLECT to send the required message to application log first and then implemented a BADI called CRM_ISA_BASKET_MSGS for reading that message to dispay it in Internet Sales.
When I am passing message type as E in FM CRM_MESSAGE_COLLECT ,it is correctly showing it in B2B internet sales application as an error message but when I tried to pass message type as I/W it is not dispaying the message in B2B internet sales application although that information/warning message is being displayed in application log in CRM
Can anyone pls provide some useful inputs for passing information or warning message type from CRM to Internet Sales allpication??
BR,
BykamYou need to fire the action from B2B, maybe when the b2b is all loaded you can call a FM in CRM that will handle some validations, this FM will return a result, store it in a session attribute, and put a condition in the JSP that will handle the response, inside this condition (if the attribute session is not empty) print a block, a label or something in html, css class will help to put some colors and maybe make a custom alert block.
-
Hello all,
Today i got an email that i was answering so many times the basic questions....i feel sad that i got a warning message that my account will be deleted..I am sorry first of all as i answered basic question, but the warning message which i got made me feel sad...As per my knowledge correct me if iam wrong i twice or thrice i answered basic questions. last year i didn't answer much and i also not aware of the rules and engagements which are changed from 2007 , unfortunately i got few messages from SDN and i rectified my mistakes and stopped replying to some questions for example copy pasting others code,questions related to dates, interview questions.....
I am sorry to the SDN for answering basic question for twice or thrice... But only thing which felt me very sad is the message which quotes my id will be deleted...
People still asking basic questions and interview questions..I want to know what are the steps that SDN is taking for the people who asking these type of questions.
Regards,
Nagaraj> this is why because i am sure most of the people won't go through the links of rules of engagement..
I think everyone should invest some effort in reading rules etc. Those who are to lazy to do so will not have their questions answered by me. If we all refuse to answer basic questions asked by lazy people we will increase the value of the forums in general and especially the forum search.
So, in short:
stop answering basic questions and you'll help improve the forums
or
continue to answer basic questions and you'll only help lazy people for as long as your account will last.....
Your choice
Jurjen
Maybe you are looking for
-
Export import - using TOAD FOR ORACLE and ORACLE DATABASE 10G EXPRESS or s
Hi all, Could you please kindly help me? I am using TOAD FOR ORACLE to export a table to flat file A. The tool just supports to distinguish fields by "spaces". And the web page of ORACLE DATABASE 10G EXPRESS to import the data from flat file A to ano
-
Identify document elements, mark as XML?
Hi all, Currently working on a Web-to-print project using InDesign Server CS5 and JavaScript. What I'd like to do is enable the following to happen: A user uploads an .indd document (OK with this!). A JS script loops through the document and identifi
-
Formula for ascending column of numbers
Hi, I never use Numbers so forgive a crazy simple question. I have a list of names and other details in Numbers. I'd like to add a column to the very left that, for each row, has a number corresponding to each "record". These numbers would ascend fro
-
Open Question to Adobe - Why Should I Stay?
Okay, there are now thousands of posts complaining about Adobe Creative Cloud. There are over 31,000 signatures gathered in protest. So far, Adobe is eerily silent. So I am asking Adobe, why should I stay with you? Why? Why should I use Creative
-
My question is to anyone that can help..I downloaded 2-300 photos on my iPad and want to reload a few hundred more. The last time I did this I lost the first batch of photos I loaded a week before. How do I just add without losing what is already on