How to find out particular work item is trigger by particular transaction
Hi,
can any one tell how to find out particular work item is trigger by particular transaction. in swfrevtlog we ill get custom obj type and also super business obj type,but i need to identify this work item id is triggered by this transaction. can any one help,
Thanks in advance
Hi,
Sorry, but I don't believe that's possible. Even if you can identify the program, there could be multiple transactions that executed it.
The only possible way, I think, would be to add an enhancement / badi which uses the callstack to determine the calling transaction at the time he event is raised (and then stores it somewhere).
But that's not very elegant.
Why do you need to know the triggering transaction? To influence the workflow? If so, another approach might be this: pass the transaction code as an additional parameter to the workflow event & then pass that to the workflow.
cheers
Paul
Similar Messages
-
How to find out the selected item in the lsit
Hi all,
How to find out the selected item in the list,can any please post some examples which easy to understand,because iam not a good programmerThis sample program uses a checkbox as selection, you could also use a HOTSPOT.
report zrich_0002 no standard page heading.
data: imara type table of mara with header line.
data: check_box(1) type c,
report_lines type i.
start-of-selection.
* Create the gui status with BACK button in standard place
* and a READ button in the application toolbar
set pf-status 'CHECK'.
select * into corresponding fields of table imara from mara up to 100 rows.
loop at imara.
write:/ check_box as checkbox, imara-matnr, imara-matkl.
hide imara-matnr.
endloop.
report_lines = sy-linno - 1.
top-of-page.
write: 'List of materials'. uline.
top-of-page during line-selection. write: 'Material.....'. uline.
at user-command.
case sy-ucomm.
when 'READ'.
check_box = space.
set pf-status 'CHECK' excluding 'READ'.
do report_lines times.
read line sy-index field value check_box.
if check_box = 'X'.
write:/ 'You have selected material',
imara-matnr.
endif.
enddo.
endcase.
Regards,
Rich Heilman -
How to find out whether certain items are /will be rendered?
Hi,
this is what i'm trying to do - from inside an apex session i'm trying to find out all the items that will be rendered (in the same application on a certain page)
It seemed to be easy:
for c1 in(
SELECT ITEM_NAME
FROM apex_application_page_items a
where application_id = :APP_ID
and ... --- certain other conditions
and my_function_render(condition_type, condition_expression1, condition_expression2) = 1
loop
--- if item rendered process the item
end loop;I found an (undocumented) API wwv_flow_check+ that seemed to fulfill all my dreams, but
here's what happened:
check_condition - although i converted the condition_type back to condition code with help of apex_standard_conditions, the program works only with PLSQL_EXPRESSION and EXISTS.
All other conditions in use (i tried ITEM_IS_NOT_NULL, REQUEST_NOT_EQUAL_CONDITION, ITEM_IS NULL, VAL_OF_ITEM_IN_COND_EQ_COND2, NEVER) return in an error
ORA-06503: PL/SQL: Function returned without value
Is there some trick for the check_condition function to accept all the other condition types as well or should i write those cases into my program? It seems pretty easy, but feels like reinventing the wheel...
database 10.2.0.4, apex 3.1.1
Thanks,
Andres
P.S i also tried the who other functions in the package
check_cond_plsql_expresion works fine
but check_condition_sql_expresion throws
ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML??
AndresHi,
this is what i'm trying to do - from inside an apex session i'm trying to find out all the items that will be rendered (in the same application on a certain page)
It seemed to be easy:
for c1 in(
SELECT ITEM_NAME
FROM apex_application_page_items a
where application_id = :APP_ID
and ... --- certain other conditions
and my_function_render(condition_type, condition_expression1, condition_expression2) = 1
loop
--- if item rendered process the item
end loop;I found an (undocumented) API wwv_flow_check+ that seemed to fulfill all my dreams, but
here's what happened:
check_condition - although i converted the condition_type back to condition code with help of apex_standard_conditions, the program works only with PLSQL_EXPRESSION and EXISTS.
All other conditions in use (i tried ITEM_IS_NOT_NULL, REQUEST_NOT_EQUAL_CONDITION, ITEM_IS NULL, VAL_OF_ITEM_IN_COND_EQ_COND2, NEVER) return in an error
ORA-06503: PL/SQL: Function returned without value
Is there some trick for the check_condition function to accept all the other condition types as well or should i write those cases into my program? It seems pretty easy, but feels like reinventing the wheel...
database 10.2.0.4, apex 3.1.1
Thanks,
Andres
P.S i also tried the who other functions in the package
check_cond_plsql_expresion works fine
but check_condition_sql_expresion throws
ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML??
Andres -
How to find out Particular column value in DB
Hi All,
I have to find out Particular column value in DB .can U tell me the Query for that.There is one way:
Re: How to write the Query -
How to find the UWL work item types source system?
Hi Gurus,
How to find the Universal Work List work item types source system?
Thanks in Advance,
DharaniHi Dharani,
You can achieve this by personalizing the view for UWL.
Click on right side context menu of iView, click on personalize view
Here you will get list of Available Attributes not Displayed select System ID in that.
Save your settings and now you can see the task is from which system.
This will solve your problem.
Regards
Kedar Kulkarni
Reward points if useful -
How to find out an Inventory Item History
Hi All,
Greeting you all.
I would like to know is there a way to find out the whole history of an Inventory Item starting from the Copying or Applying template.
I'm looking for a way by which we can Identify whether an Inventory Item has been created by copying from some other Item or by Applyiing some template.
Thanks in advance.
Thanks / Shekhar S
Edited by: user12121192 on Aug 26, 2010 1:50 PM
Edited by: user12121192 on Aug 26, 2010 1:51 PMHi Mcertini,
Thank you for your response.
I'm not looking for the Item cost history.
I'm looking for the Item creation source.
How an Item got created, Manually OR By Copying from another OR By Applying a template OR By Importing Items etc?
Thanks
Shekhar S -
How to find out which "purchased items" are not authorized?
I have an iPhone 5, and my son has an iPod touch that are both synced to iTunes on my MacBook Pro. Since I upgraded the MBP to Yosemite, I can no longer sync the apps on the iPod; it always responds with "The iPod could not be synced because this computer is no longer authorized for purchased items that are on this iPod".
The iPod contains apps that are purchased with my Apple ID, and apps purchased with my son's own Apple ID. I have deauthorized all computers from both accounts, and authorized iTunes again for both accounts; however, trying to sync the iPod continues to generate this error message.
Is there any way to find out out which specific app(s) are generating this conflict? If I knew which of the (more than 300 in total) apps cause this conflict, I could probably remove/reinstall/do something about them; but as it stands, the error message doesn't help me at all.I have an iPhone 5, and my son has an iPod touch that are both synced to iTunes on my MacBook Pro. Since I upgraded the MBP to Yosemite, I can no longer sync the apps on the iPod; it always responds with "The iPod could not be synced because this computer is no longer authorized for purchased items that are on this iPod".
The iPod contains apps that are purchased with my Apple ID, and apps purchased with my son's own Apple ID. I have deauthorized all computers from both accounts, and authorized iTunes again for both accounts; however, trying to sync the iPod continues to generate this error message.
Is there any way to find out out which specific app(s) are generating this conflict? If I knew which of the (more than 300 in total) apps cause this conflict, I could probably remove/reinstall/do something about them; but as it stands, the error message doesn't help me at all. -
How to find out the table names related to fields of Transactions
Hi All,
My Task is to extract the data from diff tables whose names i need to find out . I was given with the transactions like Me31k,Me32k,Migo,Miro etc. Can anyone Plz suggest me on how to do this apart from debugging the transaction or runnig the SQl Tracer .<b>Go to SE93-> give ->msc3n double click program -> in top include you`ll find the tables OR search key word "tables" in program .</b></u>FYI
tables: dfbatch, " Dynprofelder
bncom, " allg. Kommunikationsstruktur
mtcom, " Kommunikations-WA Mat.stamm
makt, " Materialkurztexte
mbew, "#EC NEEDED
t001w, " Werke
t001l, " Lagerorte
mara, " Konzerndaten zum Material
marc, " Werksdaten zum Material
mard, " Lagerortdaten zum Material
mch1, " Chargendaten
mcha, " Chargendaten werksbezogen
mchb, " Chargenbestände
mchx, " Bewert.arten zu werksübergr. Ch
mchuwl, " Arbeitsvorrat Charge Benutzer
thead, " SAPscript: Text-Header
cdhdr, " Header Änderungsbelege
cdshw, " Positionen Änderungsbeleg
t148g, " Feldauswahl Sonderbestände
t148zt, " Texttabelle Zustandsschlüssel
t149c, " globale Bewertungstypen
t005u, " Provinzschlüssel Texte
t005t, " Bezeichnung der Länder
tvfmt, " Materialgruppe Export Bezeichn.
bwtty, " Bewertungstyp
rmclm, " E/A Felder Klassifizierung
inob, " Umschlüsselung Klassif.objekt
kssk, " Zuordnung Objekt <-> Klasse
klah, " Kopfdaten Klassen
t134, " Materialarten
prdkzt, " Texte zum Periodenkennzeichen
*prdkzt. "#EC NEEDED
Hope thisll give you idea!!
P.S award the points.
Good luck
Thanks
navjot -
Sql:How to find out Particular column Value in DB?
Hi,
I have to findout particular column value inDB ( I don't know table Name ).
can U tell me query for above.I want to find the 'name of that 27 year old male train passenger'. I don't know in which country. can you help me please... :-(..commmooon..
-
I'm searching for the answer for:
Are there any script tools which find all place in apex , where functions/ packages/ procedures be used ?
-> want find where p_my_function is using. (Item level, page level, ....)
Thank in advanced
Hendrik
Edited by: Hendrik Schmidt on Dec 13, 2010 12:46 AMBased on the APEX views (*Home > Utilities > Application Express Views*) I've been using this, run in the parsing schema for the application. It's set up to look at one application at a time as this is the best fit for our requirements:
with search as (
select :search_term search_term from dual)
, app_source as (
select
'Application Computation' component
, null page_id
, null sequence
, aac.computation_item name
, null point
, aac.computation_type type
, to_clob(aac.computation) source
, s.search_term
from
apex_application_computations aac
, search s
where
nvl(aac.condition_type, 'None') != 'Never'
and ( aac.computation_type like 'SQL%'
or aac.computation_type like 'PL/SQL%')
and regexp_like(aac.computation, s.search_term, 'ni')
union all
select
'Application Process'
, null
, aap.process_sequence
, aap.process_name
, aap.process_point
, aap.process_type
, aap.process
, s.search_term
from
apex_application_processes aap
, search s
where
aap.application_id = :app_id
and nvl(aap.condition_type, 'None') != 'Never'
and regexp_like(aap.process, s.search_term, 'ni')
union all
select
'Application Tree'
, null
, null
, aat.tree_name
, null
, null
, to_clob(aat.tree_query)
, s.search_term
from
apex_application_trees aat
, search s
where
aat.application_id = :app_id
and regexp_like(aat.tree_query, s.search_term, 'ni')
union all
select
'LOV'
, null
, null
, aal.list_of_values_name
, null
, null
, to_clob(aal.list_of_values_query)
, s.search_term
from
apex_application_lovs aal
, search s
where
aal.application_id = :app_id
and aal.lov_type = 'Dynamic'
and regexp_like(aal.list_of_values_query, s.search_term, 'ni')
union all
select
'Page Process'
, aapp.page_id
, aapp.execution_sequence
, aapp.process_name
, aapp.process_point
, aapp.process_type
, aapp.process_source
, s.search_term
from
apex_application_page_proc aapp
, search s
where
aapp.application_id = :app_id
and nvl(aapp.condition_type, 'None') != 'Never'
and regexp_like(aapp.process_source, s.search_term, 'ni')
union all
select
'Page Region'
, aapr.page_id
, aapr.display_sequence
, aapr.region_name
, aapr.display_position
, aapr.source_type
, aapr.region_source
, s.search_term
from
apex_application_page_regions aapr
, search s
where
aapr.application_id = :app_id
and aapr.source_type in ('Report', 'PL/SQL', 'Tabular Form', 'Tree')
and nvl(aapr.condition_type, 'None') != 'Never'
and regexp_like(aapr.region_source, s.search_term, 'ni')
union all
select
'Page Item'
, aapi.page_id
, aapi.display_sequence
, aapi.item_name
, aapi.region
, aapi.item_source_type
, to_clob(aapi.item_source)
, s.search_term
from
apex_application_page_items aapi
, apex_application_page_regions aapr
, search s
where
aapi.region_id = aapr.region_id
and aapr.application_id = :app_id
and nvl(aapi.condition_type, 'None') != 'Never'
and nvl(aapr.condition_type, 'None') != 'Never'
and ( aapi.item_source_type like 'SQL%'
or aapi.item_source_type like 'PL/SQL%')
and regexp_like(aapi.item_source, s.search_term, 'ni')
union all
select
'Page Computation'
, aapc.page_id
, aapc.execution_sequence
, aapc.item_name
, null
, aapc.computation_type
, to_clob(aapc.computation)
, s.search_term
from
apex_application_page_comp aapc
, search s
where
aapc.application_id = :app_id
and nvl(aapc.condition_type, 'None') != 'Never'
and ( aapc.computation_type like 'SQL%'
or aapc.computation_type like 'PL/SQL%')
and regexp_like(aapc.computation, s.search_term, 'ni')
union all
select
'Page Validation'
, aapv.page_id
, aapv.validation_sequence
, aapv.validation_name
, null
, aapv.validation_type
, to_clob(aapv.validation_expression1 || '/' || aapv.validation_expression2)
, s.search_term
from
apex_application_page_val aapv
, search s
where
aapv.application_id = :app_id
and nvl(aapv.condition_type, 'None') != 'Never'
and ( aapv.validation_type like 'SQL%'
or aapv.validation_type like 'PL/SQL%')
and regexp_like(aapv.validation_expression1 || aapv.validation_expression2, s.search_term, 'ni'))
select
page_id
, component
, sequence
, name
, point
, type
, search_term
, count(*) over (partition by search_term) func_use_count
from
app_source
where
search_term is not null
order by
page_id nulls first
, component desc
, sequence
, name
, point
, type;Edited by: fac586 on 13-Dec-2010 09:14
Note that this is on an APEX 3.0 installation. There may be more potential locations to be checked in later versions. -
Hi all,
Currently we have one application which is developed in Jheadstart10g, and Jdev10.1.2.
Can anybody explain , how to findout the flow of an application?
how to see the java code ?
In advanced search it is using searchbean how to see the code .
I want to add new Uix component in my uix form how t o add it .
How to bind values to that component .
What are the files and properties I need to update .
Thanks and Regards,
V.Nagavalli.I suggest you start with reading the JHeadstart Developers Guide.
You can see the java source code of JHeadstart by typing Ctrl-minus in your project and then type in the class name, for example JhsDataAction.
Steven Davelaar,
JHeadstart Team. -
How to find out userid of purchase requisition at each item level
for a particular requisition at each item is released by a some user, how to find out these user name.
ex.
pur.requi pur req item ueser_id
10092188 00001 ?
10092188 00002 ?
10092188 00003 ?
10092188 00004 ?
in the above data purchase requisition is same but purchase
requisition items are different. in this i want to find out user
id of releaser for each item of particul purchase requisition.dear friend
in table
there is group
tabkle : eben
field: FRGGR
you get it easily.
rewards are expecting:
vivek -
How to find out names of reports using a particular view
hi guys,
i am newbie here, i jsut want to know how to find out which reports are using a particular view
many thanks in advance for your helpIf you go to the Properties for the Folder in Discoverer Administrator, there is a Dependents tab that should list any workbooks using the folder. This only works for workbooks saved to the database, so won't help with any created using Discoverer Desktop. If you are gathering statistics and have the The Discoverer V5 EUL business area and its workbooks installed, it can tell you about Folders Used as well. It contains information about queries run whether the workbook is saved to the database or to the file system, but wouldn't contain inforamation about workbooks that had been created but not run.
-
How to find out Max threads count for Custom Work Manager??
Hi All,
How to find out Max threads count for Custom Work Manager??
I have created 1 WM & targeted it to a cluster of 2 MS. Later I created Max thread Constraint = 300 & assigned that to my WM.
I need to check how many threads maximum were created by my WM after lets say 1 completed day.
The idea behind that is to understand if .. 300 is enough or need to increase the same way as we do it for JDBC datasource like.. Active connections Max count.. etc.
Any Idea?
regards,
TanmayHi Ashish,
Thanks for your response.
The monitoring page that you are suggesting does not indicate the max thread count reached for a particular WM.
For example, If I have Sample WM with 300 Max Thread Constraint, is there a way for me to check how many threads have been used out of 300??
Any pointers in this regard are appreciated.
Thanks,
Tanmay -
How to find out Address no for each item
Hi All,
how to find out address no (ADRNR) for each item in the PO (ME23N).
will it created by automatically or mannually?
Please Very urgent.
Thanks,
Subbu.Hey Subbu,
We meet again
check
table EKPO
for each line item for a particular PO
there u have adrnr.
This is the address number for each line item
Maybe you are looking for
-
I am using flash 9. Whenever I moves the action pane it attaches to either space like main stage or any other panel group. Please advice me how can I disable this pannel docking?
-
Smartview webf run time prompts upon submit are not picking up from the POV
Hi , I am in Planning 11.1.2.1 and using Smartview 11.1.2.1.103. After connecting to Planning Webform from Smartview, i am saving a composite form which should launch a Business Rule with run time prompts attached to the webform upon submit. The busi
-
when i hit the x on the browser it warns me that im going to close x amount of tabs. then gives me an option to cancel or close. Before I upgraded it would ask me if I wanted to save my tabs but now it doesnt ask that any more. How can I get this fea
-
Hi, I have mentioned HSBC bank in Ranking order and in Master record have mentioned in HDFC, As per my understanding it will take ranking order right? If i am wrong please do correct me. Thanks,
-
Questions about the content of download meeting recording .zip file
I tried posting this on the resurrected Connect forum, but my Adobe ID wasn't recognized there.... Concerning the files that are included in the .zip file of the meeting recording that can be downloaded: 1) Is there any documentation describing the f