Trace of an event
Hello All ,
Please guide me how to trace an event if I am creating any procurement through portal instead of transaction , I know SWELS if we created a transaction from GUI , but how to achieve the trace if I am doing it from POrtal .
Hi Santhosh,
There is an interface IF_WD_PORTAL_INTEGRATION from which the events get subrscribed...
Check for the class may be CL_WDR_PORTAL_INTEGRATION that implemented this interface and debug by placing the break-points.
Hope this could help you.
Regards
Narin.
Similar Messages
-
How to trace the curser event in cs3 using js?
is it possible to trace the curser event like the menu event tracing?,
means how?
thanks
subhaHi subha,
re: "i dont know where to get that BeforePrint.jsx, but by using scripting guide i able to trace the menu events."
All of the scripts shown in fragmentary form in the Scripting Guide are included in the associated scripts archive on the InDesign Scripting home page.
The BeforePrint.jsx script shows how to cancel the display of the Print dialog box; I assume that the same techniques will work for the Save dialog box. No time to check right now.
Thanks,
Ole -
Live Trace misses ETW events without user-specified context data
Hi there.
Currently using MessageAnalyzer for capturing and analyzing ETW debug logs. But in analysys grid I see only events *with* any extra event data and no events *without* it.
This events are ok:
<event symbol="someevent1" value="68" version="0" channel="MyApp/debug" level="win:Verbose" opcode="win:Info" template="Message" message="$(string.MyApp.event.68.message)"></event>
This events are totally missed:
<event symbol="someevent2" value="69" version="0" channel="MyApp/debug" level="win:Verbose" opcode="win:Info" message="$(string.MyApp.event.69.message)"></event>
There is no difference if "template" attribute omitted, empty string or targets empty template.
In Event Viewer and .elt traces captured with xperf I see *all* events, so there is problems with manifest or application itself. Is it feature of MessageAnalyzer or some kind of bug?
MessageAnalyzer 1.2 (build 4.0.7285.0), windows 8.
Thanks.This sounds similar to another bug report we received internally. In that case, the message are dropped by message analyzer, but TraceFmt and other tools show these missing events. Hopefully we can address in our next release.
Sorry for the inconvienience, and hopefully we can fix this soon.
Paul -
Hi Experts,
This is the audit script, I need to include to capture RPC event along with this.
Can you please help
USE [BDADissemination]
GO
/****** Object: StoredProcedure [dbo].[prcInsertBD81] Script Date: 02/07/2014 07:38:09 ******/
SET
ANSI_NULLS ON
GO
SET
QUOTED_IDENTIFIER ON
GO
CREATE
PROC [dbo].[prcInsertBD81]
@ProcessDate
varchar(8),
@BD81_acc_cde
varchar(7),
@BD81_del_id
varchar(7),
@BD81_del_seq
varchar(3),
@BD81_acc_typ_cde
varchar(2),
@BD81_brn_cde
varchar(2),
@BD81_partner_cde
varchar(2),
@BD81_age_dte
varchar(8),
@BD81_instr_typ
varchar(1),
@BD81_instr_alpha
varchar(6),
@BD81_instr_version
varchar(3),
@BD81_ps_ind
varchar(1),
@BD81_tran_amt
varchar(16),
@BD81_tran_qty
varchar(12),
@BD81_con_chg_ind
varchar(1),
@BD81_con_nte_ind
varchar(1),
@BD81_consid
varchar(16),
@BD81_prce
varchar(9),
@BD81_del_tran_cde
varchar(2),
@BD81_trade_cap
varchar(1),
@BD81_trade_typ
varchar(2),
@BD81_rvsd_del_id
varchar(7),
@BD81_DealerCode
varchar(5),
@BD81_OrderNumber
varchar(12),
@BD81_UnitTrustQty
varchar(16),
@BD81_RandIndicator
varchar(1)
AS
INSERT
INTO Deals (
procs_dte,
acc_cde,
del_id,
del_seq,
acc_typ_cde,
brn_cde,
partner_cde,
age_dte,
instr_typ,
instr_alpha,
instr_version,
ps_ind,
tran_amt,
tran_qty,
con_chg_ind,
con_nte_ind,
consid,
prce,
del_tran_cde,
trade_cap,
trade_typ,
rvsd_del_id,
DealerCode,
OrderNumber,
UnitTrustQuantity,
RandIndicator
SELECT
@ProcessDate,
@BD81_acc_cde,
@BD81_del_id,
@BD81_del_seq,
@BD81_acc_typ_cde,
@BD81_brn_cde,
@BD81_partner_cde,
@BD81_age_dte,
@BD81_instr_typ,
@BD81_instr_alpha,
@BD81_instr_version,
@BD81_ps_ind,
cast(@BD81_tran_amt
as DECIMAL(18, 2))
/ 100,
@BD81_tran_qty,
@BD81_con_chg_ind,
@BD81_con_nte_ind,
cast(@BD81_consid
as DECIMAL(18, 2))
/ 100,
CASE @BD81_instr_typ
WHEN 'E'
THEN
cast(@BD81_prce
as DECIMAL(18, 2))
/ 10000
ELSE
cast(@BD81_prce
as DECIMAL(18, 2))
/ 100
END,
@BD81_del_tran_cde,
@BD81_trade_cap,
@BD81_trade_typ,
@BD81_rvsd_del_id,
@BD81_DealerCode,
@BD81_OrderNumber,
cast(@BD81_UnitTrustQty
as DECIMAL(18, 2))
/ 100000,
@BD81_RandIndicator
GO;
GO
ShashikalaThis is the audit script, I need to include to capture RPC event along with this.
I'm not sure I understand your question. Do you want to capture the RPC completed event when this stored procedure is called for auditing purposes? In that case, you can capture the RPC completed event to a file with a filtered Extended Event
session or SQL Trace, depending on the version of SQL Server you are using.
To create an unattended SQL Trace, create the desired trace using Profiler with the filter (proc name) and columns. Then export the trace definition script, modify it to provide the desired trace file path and properties. You can run it
continuously with a SQL Agent job that (re)creates it every time SQL Agent starts.
Dan Guzman, SQL Server MVP, http://www.dbdelta.com -
Is it possible to trace the mouse event using java script in indesign cs3?-request urgent
Hi friends,
am writing js for indesign cs2, i want to know the things whether it is possible for tracing the curse position in indesign application using javascript? i need it to know for both cs2 and cs3
thanks in advance
by
subhato Subha:
I definitely do not know enough to answer your question.
But on June 14, 2007, Dave Saunders started a topic
(this forum) titled "Am I making progress".
Posts 23 and 32 there could be helpful, but I may
have misunderstood your phrase "tracing the
cursor position".
Roger Purves -
How to follow/trace an event in Xcode
How do you trace a Cocao event/message? For example, how do you follow a touch event on a UITableView cell on the iPhone screen up to the tabbleView:didSelectRowAtIndexPath: callback of a UITableViewController based class?
If I put a breakpoint in the tabbleView:didSelectRowAtIndexPath: callback I can see a call stack. How can I put breakpoint within the Cocoa/Core/Library stuff ? It seems like I can only see source code for either bottom end ( int main(int argc, char *argv[]) or top end ( didSelectRowAtIndexPath ... ) It does not seem possible to put a breakpoint on th Cocoa/core/library functions in in between.
I did figured out I could add breakpoints for something like the global 'sendEvent' but that is quite low level and still pretty far from an actual target object. How can I trace objects in between?OOPS!!
I posted my question in the wrong community -
제품 : ORACLE SERVER
작성날짜 : 2003-08-04
trace event를 세팅에 대하여
init.ora에 특별한 파라메터를 세팅하므로서 memory나 디스크 corruption에대해
분석할 수있는 방법이 있다. 이러한 파라메터들은 performance에 영향을 줄 수
있으므로 정상적인 상태에서는 세팅하지 않는다. 여기서는 event information을
모으기 위한 시간을 절약하는데 목적이 있으며 몇개의 event 세팅의 보기를 보여
준다. 여기서 보여지는 것 말고도 많은 event들이 있으며 그것들은 그때그때의
필요에 의해 세팅되어 진다.
Event trace를 하기 위한 방법에는 두 가지가 있다. 첫번째는 init.ora에 세팅
하는 것이며 이것은 모든 세션에 영향을 미친다. 두번째 방법은 alter session
set events 명령어를 이용하는 것이며 현재 세션에만 영향을 미친다.
Syntax는 다음과 같다.
Event = "event syntax | , LEVEL n | : event syntax | , LEVEL n | .. "
sql 문장을 이용한 syntax는 다음과 같다.
SQL> alter session set events 'event syntax LEVEL n: event syntax
LEVEL n: ...';
예를들어 콘트롤 화일의 전체 내용을 보기 위한 syntax는 다음과 같다.
SQL> alter session set events 'IMMEDIATE TRACE NAME CONTROLF LEVEL 10';
event syntax는 여러개의 키워드를 가지고 있다. 첫번째의 키워드는 event
number이거나 special keyword, 즉 IMMEDIATE일 수 있다. Event number는
오라클 에러 번호이거나 internal error code일 수 있다. Event code는
그 값에 따라 action이 발생되는 커널의 logic에 의해 결정된다. 이러한 내부
event code는 /rdbms/mesg/oraus.msg 화일에 있다. 다른 operating system에
서는 상기 화일이 binary format이거나 text가 아닐 수 있다. Internal event
code는 10000 - 20000의 범위에 있다.
만약 IMMEDIATE라는 키워드가 첫번째 나온다면 이것은 unconditional event
임을 나타낸다. 그리고 그 결과는 이 명령어가 사용된 직후 발생된다. 이러한
명령어는 alter session 라. 명령어에서만 효과가 있고 init.ora에서 설정된
문장은 효과가 없다.
두번째와 세번째 키워드는 각각 대부분 TRACE와 NAME이다. TRACE라는 키워드는
output이 trace file로 dump될 것을 의미하며 NAME이라는 키워드는 실제 event
name 바로 앞에 온다. TRACE말고도 다른 키워드가 올 수 있으나 그것들은 오라
클의 개발팀을 위해 사용된다. 마지막 키워드는 event name으로 실제 dump할
내용을 정한다.
만약 IMMEDIATE 키워드를 사용하지 않는다면 얼마나 오래동안 trace를 할지를
지정해야 한다. FOREVER 키워드를 사용했을때에는 해당 session이나 instance가
살아있는 시점까지 event는 살아있게 된다.
Event 문장 다음에는 대부분의 event에서 LEVEL 키워드가 세팅된다. 만약 level
이 없다면 errorstack을 dump하는 동안 exception이 발생할 수 있다. 일반적
으로 LEVEL은 1에서 10까지의 범위를 갖는다. 10은 그 event에 대해서 전체
내용을 전부 dump할 것을 의미한다.
예를들어 LEVEL을 1로 했을때에는 control file을 dump할때 control file
header만을 dump하지만 10이면 전체 내용을 dump한다. BLOCKDUMP키워드 일때
에는 LEVEL은 특별한 의미를 가지며 그것은 datablock의 실제 주소가 십진수로
표시된다.
이제 몇개의 예를 들어 보자. 다음은 init.ora 에 세팅될 수 있는 내용이다.
EVENT = "604 TRACE NAME ERRORSTACK FOREVER"
EVENT = "10210 TRACE NAME CONTEXT FOREVER, LEVEL 10"
첫번째 문장은 process가 ORA-604를 만날때마다 error stack을 dump하게 될 것
이다. 두번째 문장은 디스크에서 캐쉬로 블록을 읽을때 block integrity를 체크
하는 event이다.
다음 문장들은 SQL을 통해서 event를 세팅하는 예를 보인다.
SQL> ALTER SESSION SET EVENTS 'IMMEDIATE TRACE NAME BLOCKDUMP
LEVEL 67109037';
SQL> ALTER SESSION SET EVENTS 'IMMEDIATE TRACE NAME CONTROLF
LEVEL 10';
SQL> ALTER SESSION SET EVENTS 'IMMEDIATE TRACE NAME SYSTEMSTATE
LEVEL 10';
첫번째 문장은 데이타블록 67109037을 trace file로 dump할 것이다. 모든
오라클 데이타베이스의 데이타블록은 block number와 file number의 유일한
값으로 되어 있다. 상기예에서 67109037은 block number와 file number와의
십진표현법이다. 이러한 정보는 operating system dependent하다. 두번째
문장은 전체 콘트롤화일의 내용을 trace file로 dump한다.
세번째 문장은 system state 를 trace로 dump한다. (system state는 현재
RDBMS에 의해 잡혀있는 object에 대한 정보를 보여주며 process state dump는
특정 process에 잡혀있는 object에 대한 process state dump를 보여준다)
이러한 정보는 system hang problem과 같은 문제의 분석에 유용할 수 있다.
EVENT NAMES
여기서는 사용가능한 event에 대한 감각을 익히기 위해서 몇개의 event name을
들어 설명한다.
- ERRORSTACK
오라클은 어떤 process가 특별한 에러를 만났을때 그에 관련된 정보를 저장하기
위해 "error stack"을 생성한다. Oracle foreground process는 에러 메세지를
받는다. Application 운영중에는(Developer/2000 Forms) 에러와 관련된 자세한
정보를 foreground process는 받지 못한다.
이 event는 전체 에러 스택을 trace로 dump해 주며 oracle error를 debugging
하는데 유용하게 이용할 수 있다. 예를들어 application이 ora-604와 함께
실행이 중단되면
SQL> alter session set events '604 trace name errorstack forever';
은 에러 스택을 trace file로 생성시켜 줄 것이다.
- SYSTEMSTATE
이 event는 전체 system state를 dump하며 이것은 모든 프로세스의 state dump
를 포함한다.
Performance degradation, process hang이나 system hang을 분석하는데 있어서
유용하다.
SQL> alter session set events 'immediate trace name systemstate
level 10';
- EVENT CODE 10013 AND 10015
이것들은 corrupted rollback segment 문제를 분석하는데 사용될 수 있다.
이러한 경우에 데이타베이스는 startup 할 수 없고 ora-1578에러를 발생한다.
만약 원인이 rollback에 있는 것으로 판단됐을때 init.ora에 상기 event를 세팅
하면 trace 화일을 생성할 것이다. syntax는 다음과 같다.
Event = "10015 trace name context forever"
- EVENT CODES 10210 AND 10211
이것들은 block checking,가 event checking event들이다. 일반적으로 디스크
블록이 캐쉬로 읽어들여질때 기본적인 integrity checking이 수행된다. 상기
event들을 세팅하므로서 오라클은 부가적인 check을 하게되며 이것은 block
corruption을 분석하는데 결정적이다. PMON은 항상 block checking을 가능한
상태로 유지하고 있다. 정상적인 상태에서도 block-checking이나 index-
checking을 수행하는 것이 좋을 수도 있으나 over head가 있다.
Event = "10210 trace name context forever, level 10"
- EVENT CODES 10231 AND 10232
정전으로 인해 디스크의 한 블록 전체의 내용이 없어질 수 있다. 그런 상황에서
그 테이블의 자료를 살려내기 위해 일반적으로 export를 받는다. 그러나 full
table scan은 bad block을 만났을때 실패할 것이다. 이러한 상황을 피해가기
위해 event 10231의 세팅이 필요하다. 이 event는 full table scan시
corrupted block을 skip할 것이다. Event 10232가 세팅된다면 corrupted
block을 trace file로 dump된다. 이러한 event를 세팅하기 위해서는 몇몇 조건
들이 필요하다.
. 이러한 블록은 오라클에 의해 soft-corrupted되어야 한다. 즉 오라클이
corrupt block을 발견할 때 그 블록에 어떤 bit을 세팅하므로서 손상되었다고
표시한다. 오라클이 soft-corrupt block을 하기 위해서는 event 10210을 세팅
해야 한다. 그러므로 event 10210과 함께 10231이 쓰이는 것이 권장된다.
. 인덱스를 이용하여 해당 블록을 접근하는 것은 안되며, 단지 full table
scan만이 수행 되어야 한다. 만약 손상된 테이블을 export하려면 이러한 event
를 init.ora에 세팅해 놓아야 한다.
SQL> alter session set events *10231 trace name context off*;
Event = "10231 trace name context forever, level 10"
첫번째 문장은 세션에서 lock-checking 을 더 이상 하지 않게 하며 두번째는
block-checking을 실행하게 된다.
Reference Documents
<Note:1051056.6>
<Note:21184.1>Thanks Ray.
I was wrong. The event is fired even if i enable it before the callback VI registration.
The problem was that, just to discover if the callback VI was called, i put some code in its block diagram that would have changed the state of a boolean control placed on its front panel, every time the callback VI was called.
Apparently this is not allowed and the boolean didn't change its state.
I solved linking the code in the callback VI to a boolean placed on another front panel (in this case on the main VI one). In this way i succeded whatching the boolean state change. -
How to trace the EVENT's source which triggers the process chain
hello Friends,
I am currently involved in a new project, which does'nt have any documentation of the system. There is a process chain which is triggered by the event ( say..... "BI_START") and it gets triggered every day night,.......
But the problem I have is, I could'nt trace where this EVENT gets triggered....
Can you please advice me how to trace plz...... Thanks very much for your time.....
Thanks,Check in SM37 or in the tables TBTCO or TBTCP with below selected fields.
JOBNAME = Background job name
SDLSTRTDT = Planned Start Date for Background Job
SDLSTRTTM = Planned start time for background Job
SDLUNAME = Initiator of job/step scheduling
PRDMINS = Duration period (in minutes) for a batch job
PRDHOURS = Duration period (in hours) for a batch job
PRDDAYS = Duration (in days) of DBA action
PRDWEEKS = Duration period (in weeks) for a batch job
PRDMONTHS = Duration period (in months) for a batch job
PERIODIC = Periodic jobs indicator ('X')
STATUS = State of Background Job, S = Released, F = Finished
AUTHCKMAN = Background client for authorization check
EVENTID = Background Processing Event
EVENTPARM = Background Event Parameters (Such as, Jobname/Jobcount) -
Event Trace not showing anything?How to config?
Hi Experts,
We have two development clients 450, 460 .. usally develop in 450 and test the functionality in 460.
Now most of the workflows are not displayed in Tcode 'SWEL'. I checked the event trace but it is swithced "ON".
Regards,
RoopsHi Roops,
Try clearing the Buffer..:-)
Then use, SWE4/SWELS - EVENT TRACE ON/OFF
Then check the Event Trace: SWEL - DISPLAY EVENT TRACE
If these all do not work then check, how are the WF Triggering and is there Triggering Event Binded Correctly to the WF. Is the Event Linkage Active there..?
Check these links:-)
http://****************/Tutorials/Workflow/Workflow.htm
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
/people/sapna.modi/blog/2007/02/19/workflows-for-dummies--introductionpart-i
http://help.sap.com/saphelp_nw04/helpdata/en/9b/572614f6ca11d1952e0000e82dec10/frameset.htm
Regards,
Kanika:-) -
'CHANGE' event not triggering for BTE 2214 on park/change from FBV1/FBV2
I have designed a workflow template for FI parking. If the parked document is rejected, i need to trigger FIPP 'CHANGE' event for sending workitem to approver when someone changes the parked document. In SWEL event trace, the 'CHANGE' event is not getting raised.
So i implemented a BTE 000002214 and now i am able to raise 'CHANGE' event and capture it in workflow. But this is only working when i park a document using FV50 transaction and later change it.
But when i park a document using FBV1 and then make changes from FBV2, the 'CHANGE' event is not being triggered in SWEL. Should i implement some other BTE like 2218 etc? Can you please help?Hi Gokul,
You can try handling the SAVE event instead of the CHANGED event.
T-code FBV2 will not allow you to save the document unless you make some changes.
Try implementing BTE 2218 and revert.
Thanks,
Sreekanth -
Subtype event not triggering and supertype event triggers twice!!!!!!
Hi,
We have created a subtype for object bus2030 and also an event created for that. My workflow should trigger whenever an inquiry is created.
I've maintained this as triggering event in SWDD and done type linkage is SWE2 and everything looks fine.
When i simulate or create event the WF is triggered but when create inquiry in VA11 WF does not triggers.
I've checked SWEL for event trace but no event is triggered at all... Am i missing something... I've done almost everything that i used to do...
Even synchronized buffer!!! nothing paid me a solution...
Infact the same was working with 3.1i system but after migration to ECC6 we had to create new WF template for the same Process.
Now I also see that the supertype bus2030-created event is triggered twice but, obviously no receiver type exists. But the zbus2030 event is not being triggered at all!!!!
Kindly help me understanding my mistake...
Regards,
PBHope you have already set the deletegation in SWO6.
Now, event dont get triggered automatically, jus because they are defined in object. They have to be explicitly published in thesystem.
Check for a suitable user exit in your transaction, which makes use of function module to create the event, from that you know how to proceed.
If you dont find user exit, try other triggering techniques such as change documents, logistics, BTEs... etc.
regards,
Sandeep Josyula -
FI-CA version 605 : BRF Trace not triggered or displaying
Hello colleagues,
We are on FI-CA version 605, using BRF for Collections/Dunning (not BRFPlus).
In the Dunning proposal (FPVA), when I click on "Trace Active" and run dunning, I don`t see any BRF trace after the run is completed.
Supposedly in version 605, the Note 1289497 is not relevant, hence I don't have to implement the Trace logic in Events 315 and 1799.
I thought I would check with this group before logging an OSS Request.
Your insights would bre really appreciated.
Thanks and regrds,
Ivor M.Hi Ivor,
The note 1289497 is not relevant for FI-CA 605. This note is relevant until 604.
BRF is a standard Tool for FI-CA 605 (by using the note 1466868 you can use BRF+ here. See also following SDN paper: http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b05dcf53-603f-2f10-1e84-f5f90974471e).
You can switch BRF trace in FPVA directly. The standard FKK* function modules for Events 0315 and 1799 should be implemented. You can see the BRF-trace in the dunning history (FPM3) than.
Best regards,
Tomas
SAP Development Support FI-CA -
Custom Events and Listeners between classes
I've got a project I've been working on for weeks that I'm
having yet another problem with. I'm trying to learn AS3 which is
why it's taking so long but that's not important for this post.
I wanted to create a custom event class so that I could make
sure the event does not interfere with other "COMPLETE" events that
are being passed between classes. In other words, I have a few
things that need to complete prior to a function being called...
one is some XML being loaded and another is a font loaded. So, I
thought I would create a custom FontLoaded class that extends Event
and make the type something like "FontLoadedEvent.LOADED". That way
I could listen for the XML "Event.COMPLETE" and this font event
also.
Please tell me if I'm going down the wrong path here but I
don't seem to be getting the dispatched event for my new custom
event. Also, how does one detect if it's being dispatched other
than if the eventListener is fired? Any other ways to test
this?You can trace the event to see if it dispatched.
Also, this is not a good case to create a new event. Custom
events are used to store additional information. MouseEvent exists
because Event doesn't have localX, localY, etc. properties. Since
you don't seem to be throwing additional properties, you can use a
regular event.
trace(dispatchEvent(new Event("panelFontsLoaded"));
addEventListener("panelFontsLoaded", onFontsLoaded);
Static consts are used to help debug typos. The event type is
just a string, often stored in a const. -
How to find out the source of an event trigger
Hello Experts,
An event is starting a total of 5 jobs daily, I would like to find out how that event is triggered
I checked in ST13 for all the jobs that were running / finished just before those 5 jobs started but no luck - None of the job is matching for all the days
Checked in SM62 for event history, however it wont show the source of that event
Checked tables "BTCEVT*" - They doesn't even show how that event is called
Could you please assist?
Thanks,
SubbuHi Subbu,
You can try to trace the event using below transaction codes..
SWEL - Display Event Trace
SWELS - Switch Event Trace On/Off
SWE4 - Status Change Event Trace
RSWELOGD - Delete Event Trace
SWEM - Configure Event Trace
Regards,
Prithviraj -
Terminating event 'Created' in ABAP OO context
Hi,
I need a little help here. A lot of times I have used terminating event ‘Created’ for different BOR types – and asynchronous tasks where users are asked to create an object using call transaction from a work item.
Now I am struggling with the same in ABAP OO and have an issue:
The goal is to have a terminating event raised on a custom class - and received by a work item if a customer is fully created, that is the general part, the company code part and the sales area part.
Raising the event is working great. I have put in a class in trx. SWEC together with a function module which set the class as object type if the condition is fulfilled.
Then in trx. SWED I have entered another function module to set the key for class together with object_por-catid = ‘CL’.
Then when a customer master record is created I can see in the event trace that the event is raised with the correct key.
No I want to receive the new object into my asynchronous dialog task. I define the event as terminating event – and in the code call transaction XD01.
When the work item is created I find a waiting event linkage in trx. SWE3 – of cause without key; this is unknown until after creating.
But after executing the workitem and raising the event the workitem does not receive the event and is therefore not completed.
Is this approach not possible in ABAP OO – or do I miss something in the class definition / coding?
The event is defined as public instance – I have not coded any event handler method.
Thanks,
Claus.Hello Claus,
Interesting question, unfortunately not with a simple answer.
The issue is that you are waiting for an instance event without a key. Your object raises an event with a key => No match.
If you raise the created event without a key, you won't be able to match up two near-simultaneous creations with their corresponding work items. Same thing if you wait for a static event.
So how does SAP do it with BOR events? By breaking the rules of course!
They do some hidden trickery to bypass this problem by doing an 'Export to Memory' of the work item ID, and the CREATED event raising code bypasses the usual event linking mechanisms and looks for it's creator by retrieving the memory variable. I don't have the exact spots of code in my head, but a bit of debugging should find it.
So what can you do? Given that you have full control of the class you could do something similar and maybe also create some kind of temporary key consisting of the Work Item ID and raise an event with that, or you could maybe skip the transaction concept completely and run the create GUI entirely within your WF step - maybe a custom screen gathering the initial data and then create the object via BAPI. Time to get creative!
Hope that helps,
Mike
Edit: Or you could do the quick and dirty solution and just use the BOR events for the step and instantiate the class during the binding back to WF...
Maybe you are looking for
-
Acrobat 9 dosen´t ask me for the file name!
hi, i have problem with Acrobat 9 Pro on Mac. Adobe PDF Printer doesen´t ask for filename. All Pdf´s save on my Desktop! i tested with Textedit, Word 2004 and Vectorworks 2009. My System is iMac intel 2,16 MHZ, OSX 10.4.11, 2GB Ram. Thx for Help SH
-
How can I transfer Albums created in Fotos in the ipad to the mac?
Hello, I created an Album in Fotos app in the ipad with some pictures I had previously imported from the mac, once edited in the ipad. Now, I want to transfer the album back to the mac, but to my suprise, it does not syncronize. How can I do it? Than
-
Hi, could someone please explain how i can insert sequence numbering in PDF. I would like the number to start at 0001 and when the next person opens it it will be 0002 and so forth. It will be opened by many people in reader. thanks in advance.
-
ManagedBean getter Method called multiple times
Hi, i have notice that the get method is called so often if i initialize a List. Maybe you see a solution? ManagedBean @ManagedBean(name = "videoBean") @SessionScoped public class VideoManagedBean extends GeneralManagedBean { @PostConstruct
-
Route two separate networks via RJ45 on the router E900. is it possible?
Good day! I wonder if the E900 router can be used to route two separate networks. Not via wifi, but via RJ45. eg 192.168.0.1 and 192.168.1.1 If possible, I would like to know how? I thank the attention.