How to get terminate status and number of all steps executed in Teststand
Hi ! Could someone teach me,pls?
1. Query:
How can i get the sequence status of Terminated?
Aim:
I want to Terminate sequence execution while something wrong happened, then i want to aquire the Terminated Staus.
My action:
i add a ActiveX API step into a callbacks file called SequenceFilePostStepFailure , but i can't get the value well
2. Query:
How can i get the number of all steps executed in Cleanup of one sequence?
Aim:
I want to get the number of all steps executed include Setup, Main and Cleanup, after i terminating the sequence
My action:
call a variable from RunState.NumStepsExecuted . but it only the number of steps executed from Setup or Main or Cleanup , not all.
Thank you in advance!
Solved!
Go to Solution.
AllanXu wrote:
Hi ! Could someone teach me,pls?
1. Query:
How can i get the sequence status of Terminated?
Aim:
I want to Terminate sequence execution while something wrong happened, then i want to aquire the Terminated Staus.
My action:
i add a ActiveX API step into a callbacks file called SequenceFilePostStepFailure , but i can't get the value well
2. Query:
How can i get the number of all steps executed in Cleanup of one sequence?
Aim:
I want to get the number of all steps executed include Setup, Main and Cleanup, after i terminating the sequence
My action:
call a variable from RunState.NumStepsExecuted . but it only the number of steps executed from Setup or Main or Cleanup , not all.
Thank you in advance!
1. Execution.GetStates() - look at the termination status. Termination is an execution specific state, not a thread state.
2. You could use a PostStep callback and do the counting yourself (e.g. in a file global or station global variable), however there is a performance cost to poststep callbacks so it depends on whether or not it's worth the performance cost in your particular use case.
Hope this helps,
-Doug
Similar Messages
-
How to get system status and user status ?
how to get system status and user status for the given production order?
In which PP table we can
find these?
Thanks&Regards
SatishHi Ram,
Use the FM "STATUS_READ" to read both the system and user statuses for an Order.
Alternatively, the following tables store the user and system status info:
JSTO- Status object information
JEST- Individual Object Status
Hope this helps.
Let me know if u need further information.
Regards,
Sonal -
How to get system status and user status of service order
Hi,
I want to show user status and system status for service order in my report and i am using CRM_ORDER_READ function module to read the status, but it is returning lot of status records, could anyone please suggest how to get the system status and user status for service order.
I did not find any clue for how to get user status, i can see the user status when i open the transaction using CRMD_ORDER.
Regards,
Kamesh BathlaHi,
Go to CRM_JEST table give your service order guid and get the status, pass this status into TJ02. You will get the status of your order.
Regards
Srinu -
Java Printing Service (JPS) How to get printer status and pending jobs list
Hi,
I am trying to determine what is the current status of a printer in my computer as well as what is the list of pending printing jobs at any moment.
I want to monitor activity on a printer in my computer, so I can capture and log the jobs that are sent to my printer over time.
I would like to do so by monitoring the printer pending jobs list (if that can be retrieved through any java method) and make a log of changes in that list.
Any advice on how to get the list of pending jobs of a printer?
I checked the API and JobState class seems to be a descriptor of one single job... I suppose the method to retrieve a list of pending jobs in a printer would return an array of JobState objects... but I have not being able to find yet such method...
Thanks in advance,
JNModerator Action:
This post has been moved from the Java Programming,
to the ADF forum, for closer topic alignment.
*... and Comment:*
Get help from people that work with ADF.
They may have already done something like this. -
How to get last row and sum of all columns in one query
Hi ,
is there a way to get last record for a column and sum of all record for another column in the same query.
Best Regards ,You should define your requirements properly for volunteers to help here..
Your data is not good enough to provide you accurate solution. Reason being you dont have a proper column which differentiates between first and last entry.
The solution becomes easy based on your desgin.
I have introduced a grouping column called "id" and a time column called "time_of_insert" (only this way you can confidently say that you can differentiate between first and last (also a fool proof solution) --- you may optionally use sequence(instead of date though if you say you may end up inserting two rows at the same time, then probably sequence would be a better choice to differentiate rather than a timestamp field) etc...)
With your sample data something like this can be done to achieve your desired result.
WITH dataset AS
(SELECT 1 id,10 used, 8 remain,systimestamp+1/24 time_of_insert FROM DUAL
UNION ALL
SELECT 1 id, 1, 7,systimestamp+2/24 FROM DUAL
UNION ALL
SELECT 1 id,2, 5,systimestamp+3/24 FROM DUAL
UNION ALL
SELECT 1 id,1, 0,systimestamp+4/24 FROM DUAL
UNION ALL
SELECT 1 id,0, 0,systimestamp+5/24 FROM DUAL
UNION ALL
SELECT 1 id,1, 4,systimestamp+6/24 FROM DUAL)
SELECT *
FROM (SELECT SUM (used) OVER () sum_all,
FIRST_VALUE (remain)
OVER (PARTITION BY id ORDER BY time_of_insert DESC)
last_row
FROM dataset)
WHERE ROWNUM = 1;
Output:
SUM_ALL LAST_ROW
15 4
Cheers,
Manik. -
How to get the 4 digit number associated with a SAP icon ( ICON_MAIL )
Hi Friends,
Could anyone please tell me how to get the 4 digit number associated with a SAP icon ( ICON_MAIL ).
eg: - For ICON_GREEN_LIGHT the four digit id code is '@08@' (which you can get from ICON table )and the associated 4 digit number is'1003'.
Similarly I want to get the 4 digit number for ICON_MAIL(e-mail icon)
<b><REMOVED BY MODERATOR></b>
Ashiq
Message was edited by:
Alvaro Tejada GalindoYou can use this report...It's not mine...
REPORT zdummy_atg_2.
TABLES: ICON.
INCLUDE <ICON>.
FIELD-SYMBOLS: <F>.
SELECT * FROM ICON.
ASSIGN (ICON-NAME) TO <F>.
WRITE: /(5) <F>, 20 '@',21 ICON-ID+1(2),23 '@',ICON-OLENG,
ICON-BUTTON,ICON-STATUS,ICON-MESSAGE,ICON-FUNCTION,
ICON-NAME.
ENDSELECT.
Greetings,
Blag. -
How to get acknowledgement status for PO
Hi!
I would like to write a program which gets the acknowledgement status from IDoc Processing for a given purchase order number.
How can I do that? In which table can I find the link between IDoc and PO? How to get the status?
Thanks in advance
ChristianEDIDS -- table
Check in the below link to update the staus and find the application objectof an idoc
http://www.sapgenie.com/sapedi/idoc_abap.htm#Getting%20IDocs%20linked%20to%20Application%20documents -
How to get the unoccupied material number in a number range
How to get the unoccupied material number in a number range.for example, I wang to get a number between 1500000 and 1599990 which is unoccupied as my material number to be created. Is ther any FM or codes?
Dear,
You can get this information from Tcode SNUM or you can access database table NRIV. -
How to get the status of service in rac
Dear all,
how to get the status of service in rac.
SQL> show parameters service;
NAME TYPE VALUE
service_names string DEVDB, DEVDB1, devdb
[oracle@rac1 ~]$ srvctl status service -d devdb -s devdb
PRKO-2120 : The internal database service devdb cannot be managed with srvctl.user7244870 wrote:
Dear all,
how to get the status of service in rac.
SQL> show parameters service;
NAME TYPE VALUE
service_names string DEVDB, DEVDB1, devdb
[oracle@rac1 ~]$ srvctl status service -d devdb -s devdb
PRKO-2120 : The internal database service devdb cannot be managed with srvctl.
Internal services cannot be managed with srvctl utility. Check if you have any user defined service in dba_services
SQL> desc dba_services
Name Null? Type
SERVICE_ID NUMBER
NAME VARCHAR2(64)
NAME_HASH NUMBER
NETWORK_NAME VARCHAR2(512)
CREATION_DATE DATE
CREATION_DATE_HASH NUMBER
FAILOVER_METHOD VARCHAR2(64)
FAILOVER_TYPE VARCHAR2(64)
FAILOVER_RETRIES NUMBER(10)
FAILOVER_DELAY NUMBER(10)
MIN_CARDINALITY NUMBER
MAX_CARDINALITY NUMBER
GOAL VARCHAR2(12)
DTP VARCHAR2(1)
ENABLED VARCHAR2(3)
AQ_HA_NOTIFICATIONS VARCHAR2(3)
CLB_GOAL VARCHAR2(5)http://docs.oracle.com/cd/B19306_01/rac.102/b14197/srvctladmin.htm -
How to get a service notification number for given serial number
Please, someones know how to get a service notification number based on serial number.
In our process the notification can be created as first step (IW51) or can be created starting from service order (IW32).
Thanks in advance.
LucaHi pooja,
actually standard service request numbers are configured in spro->crm->transactions->Settings for Service Requests->Number Ranges. here they are maintain service request,incident,problem number ranges..
so when ever your creating any service request then that number range will appear in that object id.
you have to get that object id in your custom field get_method and based on that you have to change your number..
example:
current = me->bo.
current->get_property_as_string( EXPORTING iv_attr_name = 'OBJECTI_ID' RECEIVING rv_result = lv_id ).
here you will get object_id based on that you have to write your own logic to display custom value.
" write your custom logic to populate custom field. pass that custom field value into returning parameter.
value = custom_value.
Thanks & Regards,
Srinivas. -
How to get Invoice status value in oracle payable
Hi guys,
I am new in oracle apps plz tell me how to get invoice status value of prepayment invoice type in payable.
Navigation ->Payables->Oracle Payables ->Invoices->Inquiry->Invoices ->go to Invoice status block and open to Status LOV
plz provide me sql query to find those status lov values and accounted values for any supplier & invoice num.
it's urgent plz .......................
Thanks guys.......The invoice approval status does not come from any table / lookup.
Instead, Oracle builds it by calling the ap_invoices_pkg.get_approval_status function.
You can also call it by passing invoice_id, payment_status_flag and invoice_type_lookup_code.
All these 4 columns are present on the ap_invoices_all record.
Hope this helps
Sandeep Gandhi
Independent Consultant -
How to get the iphone serial number in application?
hello, everyone
i really want to konw how to get the iphone serial number in aplication ? As it's different from uniqueIdentifier ....
thank youMichele is correct - sneep will help you get the serial from the running domain on the M3000 ,
and it is a good idea to install STB on your machines.
If that isn't possible for you, then sneep can be downloaded directly from [http://www.sun.com/sneep]
I believe that on this platform, sneep gets the serial from the output of prtconf.
There is a minor correction to be made :
After installed SNEEP use "man sneep" for all technical details.The sneep man page is not linked into the shared man pages, so you need to use
man -M /opt/SUNWsneep/man sneep
with out going to OK prompt (Banner)It is worth noting that the serial shown in the OBP banner is not the product serial
that you will find on the physical serial tag.
The banner "serial" is the decimal equivalent of the host ID, which you normally get in hexadecimal from the "hostid" command. -
How to get the current month number
Hi everyone,
Does anybody know how to get the current month number in Oracle Discoverer Worksheet calculation?
I try to use EUL_DATE_TRUNC(CURRENT_DATE, 'MM'), but instead I got 01-AUG-00.
If I change the data display format to MM, it will give me "08" but if I use TO_NUMBER function to convert it to number I get error "invalid number"
Is there anyway to get the current month value in number? ThanksScott,
Thank you so much! It works perfectly! :)
Hope you have a great day ahead!
Cheers,
Angeline -
Newbie: how to get account firstname and lastname in SIM
I have the following xpres code that retrieves all the account ids in SIM - this is working. However, how can i get the firstname and lastname of all of the returned account Ids. Some code example will be appreciated:
<invoke name='getUsers' class='com.waveset.ui.FormUtil'>
<ref>:display.session</ref>
</invoke>Is this in a form or a workflow? If a form, you'll probably want to use the getObject FormUtil method. Also, there's a bunch of useful methods on the actual LocalSession object represented by display.session - look in the javadocs to see what you can do...
Not hugely useful I know, but pretty hard to suggest options with (a lot) more context...
This is an example of using getObject from a UserForm - you would replace the <select> statement with the accountId of your target users returned from getUsers (probably using a dolist to iterate the result set), and replace fullname with firstname and lastname:
<block>
<defvar name="requestorObj">
<invoke name='getObject' class='com.waveset.ui.FormUtil'>
<ref>:display.session</ref>
<s>User</s>
<select>
<ref>requester</ref>
<ref>WF_CASE_OWNER</ref>
</select>
</invoke>
</defvar>
<concat>
<invoke name="getAttribute">
<ref>requestorObj</ref>
<s>fullname</s>
</invoke>
<s> [</s>
<get>
<ref>requestorObj</ref>
<s>accountId</s>
</get>
<s>]</s>
</concat>
</block> -
How to get current month and last month dynamically??
how to get current month and last month dynamically
like
month = getCurrentMonth();
lastmonth = getcurrentMonth() -1;
please help
thankshi :-)
/* depracated but can be still useful */
java.util.Date dtCurrent = new java.util.Date();
int month = dtCurrent.getMonth();
int lastmonth = dtCurrent.getMonth() - 1;
System.out.println("* " + month);
System.out.println("* " + lastmonth);
/* better to use this one */
Calendar cal = new GregorianCalendar();
int imonth = cal.get(Calendar.MONTH);
int ilastmonth = cal.get(Calendar.MONTH) - 1;
System.out.println("*** " + imonth);
System.out.println("*** " + ilastmonth);
regards,
Maybe you are looking for
-
24" iMac for Recreational FCS/P Use?
I'm into recreational video editing and want to step up from FCE into something more robust, but I don't want to make the leap to a Mac Pro yet (need to let my salary catch up with my taste). Just have a few Qs before I make the purchase. - Will the
-
Postfix error after update to 10.6.8
Dear readers and admins After I did update SLS from 10.6.7 to 10.6.8, I got a problem with postfix smtp server. I did google around and found some note, that it is a problem, that a launchd org.postfix.master is running and thath's why the com.apple.
-
[SOLVED] ADF BC : event mechanism
hi I'm not sure what I am looking for, but I was wondering if ADF BC had some kind of "event mechanism" to "notify the view of changes in the model"? For example, what if I would like to be "notified" (in my view implementation), if a change to some
-
Hi, I would like to know if exists a free tool to generate automaticaly a class model object or a class mapping from the source code of an application? Thanks for your help! Nicolas
-
Working with Validation of Data
Hi. VC Experts. I am currently working with VC 6.0. Where I am working with Validation of Data. we have fields like Emp, Earea, Joining date (month & Year), Ending date((month & Year) etc., Here we have one push button 'sele