Work proccess in "Commit" action status
Hi
My all work processes hangs intermittendly in action "Commit". It only lasts for about 60 seconds then everything is back to normal.
Network between database and Central Instance seems fine. No relating errors in SM21.
Is it possibly a kernel issue?
Regards,
CJ
Hi David,
David Wong wrote:
I've got the same issue too...
[http://img6.imageshack.us/img6/7929/79509167.jpg]
For your case there's a SAP Note that solve the issue:
Read and implement SAP Note 813386 Unable to logon to due to updating of INDX table
@Cornelius, from you we are waiting some feedback to follow up the thread.
Regards, Fernando Da Ros
Similar Messages
-
Work Processes stuck at action Commit
Hi All
Our 4.6C system has developed a strange performance problem.
We are finding situations where multiple work processes are all in status Commit, and remain so until the either time out or cancelled. They are performing quite different workloads, don't appear to be waiting for any locks, and don't actually appear to be committing from an AS/400 view. Has any one else encountered this. I've attached an SM50. We are also opening in OSS call. But I thought I'd tap the real knowledge as well.
No Ty. PID Status Reasn Start Err Sem CPU Time Report Cl. User Action Table
2 DIA 11886 Running Yes 1 SAPMV45A 410 GALLACL Sequential read VBAK
22 DIA 11907 Running Yes 65 ZSDRP022 410 PERCHAM Sequential read VBPA
23 DIA 11908 Running Yes 2 SAPLM61X 410 OBRIENC Sequential read MSSQ
6 BGD 11890 Running Yes 20600 ZMMRP007 410 BATCH Direct read SER03
1 DIA 11885 Running Yes 2298 SAPLOLEA 410 NAIRNPA Commit
3 BGD 11887 Running Yes 9737 SDRQCR21 410 BATCH Commit
7 BGD 11891 Running Yes 886 SAPLZCGF 410 CHECKER1 Commit
14 DIA 11899 Running Yes 1690 SAPMM07M 410 KILDEAV Commit
15 DIA 11900 Running Yes 1400 SAPLOLEA 410 BULLIOR Commit
19 DIA 11904 Running Yes 543 SAPLOLEA 410 STEVENA Commit
25 UPD 11910 Running Yes 1 RSM13000 410 MACINTK Commit
31 BGD 11917 Running Yes 834 SAPLZCGF 410 CHECKER1 Commit
32 BGD 11918 Running Yes 14505 SAPLZCGF 410 CHECKER1 Commit
0 DIA 11884 waiting Yes
4 BGD 11888 waiting Yes
5 BGD 11889 waiting Yes
8 BGD 11893 stopped CPIC Yes 3 SAPLRSAP 410 BW_REMOTE
9 DIA 11894 waiting Yes
10 DIA 11895 Running Yes 410 CAMPBEC
11 DIA 12218 Running Yes SAPLTHFB 410 JONESST
12 DIA 11897 Running Yes 3 SAPLRSAP 410 BW_REMOTE
13 DIA 11898 waiting Yes
16 DIA 12219 waiting Yes 1
17 DIA 11902 waiting Yes
18 DIA 11903 waiting Yes
20 DIA 11905 waiting Yes
21 DIA 11906 waiting Yes
24 UPD 11909 waiting Yes
26 ENQ 11911 waiting Yes
27 DIA 11912 waiting Yes
28 DIA 11914 waiting Yes
29 DIA 11915 waiting Yes
30 BGD 12230 waiting Yes 1
33 SPO 11919 waiting Yes
34 UP2 11920 Running Yes SAPLIEP2 410 CAMPBEC
Regards
SteveHi Christian,
Whilst we do use SAVACT(*SYNCLIB), I take SAP offline to reach the sync point then bring it back online once reached. This happens between 03:00 & 03:45. Typically the problems start at about 08:00.
From the 400 the locked WP's are at RUN status and the end of the call stack is
Program
Rqs or
Lvl Procedure Library Statement
< CommitEDRS QSYS 0000000217
QXDA_SQL QSYS 0000008031
QSQXCUTE QSYS 0000025220
QSQSTATS QSYS 0000004693
OUTPUT QSYS 0000004984
WRITE_LOG QSYS 0000005790
QQQDBLOG QSYS 0000002909
QQQDBMWL QSYS 0000000150
< YP7eachmon QSYS 0000000027
PurgeNode QSYS 0000000017
locksl2 QSYS 0000000015
I'll add that we are on V5R3, PTF's as latest APAR, ASCII Kernel patch 2307, lib_dbsl patch 2303.
The problem can affect dialog jobs just moving between screens, or background jobs. I suspect but haven't confirmed, that the background jobs are using BDC sessions.
Thanks
Steve -
Overriding Commit action does not work
Hello
I am using Jdeveloper 10g (9.0.5.1), and created a simple uix input form with Create and Commit operation buttons. It works very nicely.
However, I am trying to override the Commit action because i would like to present a confirmation message for the commit process.
I followed the Online help to override Commit action as f
1- Changed the event property from 'action' to 'Commit'
2- right click the datapage and selected "Go to Code"
3- inside the DataAction Class i wrote the following
public void onCommit(DataActionContext ctx)
System.out.println("test override commit");
if (ctx.getEventActionBinding() != null) ctx.getEventActionBinding().doIt();
When i run the sample and add a new record, then press the Commit button, The function onCommit is called and the System.out.println is executed however, the Commit operation does not seem to work and the commit button is still enabled, no changes are seen in the database. When the commit is pressed one more time, the commit seems to work fine.
I repeated the procedure over and over again, still no result
I believe that overriding action buttons is important for developing non-trivial Web Applications. I appreciate any response
thanksI am not sure why you used this method to get your application module:
svc = (ApplicationModule)ctx.getBindingContext().findDataControl("ApplicationModuleDataControl").getDataProvider();
Does your code get something different than doing it this way:
ctx.getBindingContainer().getApplicationModule()
The following scenario did not work because it did not pick up the values from the messageLovInput and the 2 messageTextInput fields. The fields are in the DataActionContext request object but they don't get written to the database, so I had to add the setAttribute methods in order to attempt to get it to work but there are still other problems that have arisen doing it this way (i.e. can't get the new dbsequence id for additional inserts into another table within the onCommit).
1. Drag and drop a Commit button on the page.
2. In the action I put the following code:
public void onCommit(DataActionContext ctx){
// Do validation here
//In order to get the data in the database, I had to add the following 5 lines of code:
ViewObject vo = ctx.getBindingContainer().getApplicationModule().findViewObject("NetView1");
Row row = vo.getCurrentRow();
row.setAttribute("NetId",ctx.getBindingContainer().getHttpServletRequest().getParameter("VB_NetId"));
row.setAttribute("PermittedCount",ctx.getBindingContainer().getHttpServletRequest().getParameter("VB_PermittedCount"));
row.setAttribute("Frequency",ctx.getBindingContainer().getHttpServletRequest().getParameter("VB_Frequency"));
//Commit
ctx.getBindingContainer().getApplicationModule().getTransaction().commit();
}I don't think it should be this difficult to get the onCommit event to work. -
Error Invoking Web Service Action: Status (500): null
Hi forum
I am getting an "Invoking Web Service Action: Status (500): null" error when invoking a web service action block . The BLS transaction used as a web service outputs a text string which I tested using an xacute query . while executing the transaction as a web service the tracer tells me that there is no output .
Best regards,
Antonio
I am using an xMII 11.5 installation .
[INFO ]: Execution Started At: 04:17:46
[DEBUG]: 00000.01600 Begin Transaction 'TMP45B360D9-0E02-2CF7-C4B4-F3C0B41C29E0'
[DEBUG]: 00000.01600 Begin Sequence Sequence : ()
[DEBUG]: 00000.01600 Begin Action WebService_0 : ()
[ERROR]: Error Invoking Web Service Action: Status (500): null
[ERROR]: ACTION FAILED: End Action WebService_0 : ()
[DEBUG]: 00000.11000 Begin Sequence Sequence_0 : ()
[DEBUG]: 00000.11000 Begin Action Tracer_0 : ()
[INFO ]:
[DEBUG]: 00000.11000 End Action Tracer_0 : ()
[DEBUG]: 00000.11000 End Sequence Sequence_0 : ()
[DEBUG]: 00000.11000 End Sequence Sequence : ()
[DEBUG]: 00000.11000 End Transaction 'TMP45B360D9-0E02-2CF7-C4B4-F3C0B41C29E0'
[INFO ]: Execution Completed At: 04:17:46 Elapsed Time was 94 mSJamie,
Yes Indeed, I was calling inside a web service action another BLS transaction . Now , I am using a call to the transaction using the runner . It worked fine .
Thanks, -
Item Could not commit action because it is currently in focus error.
Hi experts,
we developed addons for our client in 2007 B version.
Recently we upgraded our client server from SAP 2007B to 8.8.
The addons worked fine in 2007B.when we upgraded to 8.8 the error is occuring like
"Item-could not commit action because item is currently in focus [66000-23]"
when i disable a textbox(already it is focus) in my form the above error is occuring.
But this error was not happened with 2007B.
Please tell me is there any solution with out changing the code(i am unable to change the code).
Thanks in advance.
Edited by: vivek.Y on Jun 11, 2011 5:15 PMHi Jonathan,
Besides setting the focus and trying to disable the control, it was still throwing exception. So I tried a following:
Work around for this issue.
Try
oForm.Items.Item("ControlWithFocus").Enabled = False
Catch ex As Exception
Dim oItem As Item = oForm.Items.Item("AnyOtherItem")
oItem.Click(BoCellClickType.ct_Regular)
oForm.Items.Item("ControlWithFocus").Enabled = False
End Try
This is a trick where you can set focus to another control and set enable to false.
Hope this helps.
Regards,
Kashif Ali
Edited by: Kashif Ali on Sep 21, 2011 11:43 AM -
How to save the modified rows in jspx page usind adf default commit action
Hi,
We are displaying some columns of the database table in jspx page. Here we are using adf commit action to save these values to database which is updating all the rows by default. In this page there are some editable columns which the user can miodify. How can we update only these modified rows using default adf commit action. Also we want to update last_updated_date column of that particular row which is modified in the UI from backing bean .
Can anyone please help us in solving this.
Thanks in advanceUser,
A key question - what are you using for the model layer (ADF Business Components, JPA, EJB, etc)?
How are you determining that a "commit" action is updating rows (even those which haven't changed)?
If you are using ADF Business Components - have a read in the documentation about history columns - the use case you describe (updating the last_udpdated_date column) is supported "out-of-the-box" for this.
John -
Handling DB sequences for create and commit actions on ADF tables
Hello,
Most of the tables will have sequences used for primary keys and there will be columns like created_On and created_By columns. But my table does not require user inputs for these columns. So when commit button is clicked on the table how to handle these columns. The commit action should refer the sequence and enter SYSDATE and username for created_on and created_by columns.
what is the workaround for this ?
Thanks.Use groovy expressions as default values for the EO fields - adf.currentDate and adf.context.securityContext.getUserName()
For the sequence see the ADF documentation:
http://docs.oracle.com/cd/E16162_01/web.1112/e16182/bcentities.htm#sm0147 -
Hi ALL,
Iu2019m doing the PO confirmation on Web UI (SNC 7.01), after Publishing the PO the header status(that is confirmation status) immediately changes to u201CConfirmedu201D but the Action status on PO item level would not change immediately and after doing manual refresh it shows the u201CConfirmedu201D status.
Please reply on above.
Thanks,
SanjayHi Nidhi,
You said, you are unable to get the Action status. Do you mean, the status in the mail which you are getting when you change the current processor or when you change the status? If this is the case, you need to select the correct smart form to trigger a mail when an action been done on a support message.
Let me know whether this is what for you are looking for. If not, please give details for what you are looking for.
Regards,
Satish -
Executing subroutine after commit work, not on commit work
Hi All,
I want to execute my sub-routine after commit work, not on commit work.
If any one have answer please mail me at [email protected]Not sure if this helps you but this event is fired, when commit work is fired.
Christian
report test.
class lcl_event_handler definition.
public section.
class-methods: on_commit_finished
for event COMMIT_FINISHED
of CL_OS_TRANSACTION_END_NOTIFIER.
endclass.
set handler lcl_event_handler=>on_commit_finished.
commit work.
class lcl_event_handler implementation.
method on_commit_finished.
break-point.
endmethod.
endclass.
But check also oss note 704577 -
Adding / modifying commit actions using jclient/swing for bc4j - JUNavBar
I'm trying to add some custom code to perform when I hit commit on my form.
<btw> I'm using jdeveloper 9.0.4 and am working on a jclient/Swing form.
I am using the default hiddenJUNavigationBar with the project.
For starters I am just trying to get
System.out.println ("It works");
to work for whenever I perform a Commit. I placed this code in the following place
private void commit_action(ActionEvent e)
System.out.println("It works");
hiddenNavBar.doAction(JUNavigationBar.BUTTON_COMMIT);
This work for 2 of 3 areas. It works when selecting commit from the menu, and when pressing Alt-C (by using default code), but it does not work when pressing the commit icon.
I have done some toying around with my own button and I have gotten the button to perform the commit by using the following
hiddenNavBar.getButton(JUNavigationBar.BUTTON_COMMIT).doClick();
But I would really like for it to work with the default nav bar /buttons.
Is there any way to do this? A few years back using "infobus" we used
navBar.addVetoableNavigationBarButtonClickListener() but things have obviously changed.
Thanks,
JohnOk, I added a my own button to the nav bar and when it is pressed I can run
my code and then call a regular commit by using:
navBar.getButton(JUNavigationBar.BUTTON_COMMIT).doClick();
after executing my code.
So my only questions now are:
1. can I emulate how the default nav bar changes icons (greys out) when there is no record updates eligible to be committed. I know how to set the icons differently for enabled and disabled. Can I get to the row State or something here?
2. Is it possible to just disable the default commit button but not the rollback button. I see in jdeveloper you can turn them both off (remove them), but I would like to keep the rollback button. I wouldn't mind keeping the commit (to view), but not allow it to function, just as a test to make sure my custom button works the same as it.
Thanks,
John -
Incorrect Action Status in Opportunity
Hi,
I have created a new action profile (by copying a standard one), assured the relation to the new opportunity type, maintained conditions etc. In testing:
- no planned activity is generated
- the action status is incorrect
I have double-checked all setting, I cannot figure out what is wrong. I will appreciate your help.
Regards,
HoratiuHi Horatiu,
Where exactly you are finding results such as:
no planned activity is generated
- the action status is incorrect
rgds
Hari -
SQVI Report for generating Sales Transaction's Action status
Hi
I have a requirement to generate a report to get Sales order's 'ACTION' details like its Status (mandatory).
I tried the tables:
CRMC_LOG_PROF - Customising table to maintain log profile
CRMC_OBJ_LOG - Customising Table for linking log profile to Business obj
but
no result.
Can anyone tell in which table I should work on it?
Please ask me, if my question is not clear.
Regards
PravinHi
Only Basis team have the access for Sp01 t-code.
so Is there any alternative t-code for SP01 to check the spool request for Print and Fax ?
please help
Regards
Pravin -
Work orders and updating user status (via IW32)
Hello All,
I was given a design to create a program that will retrieve all open work orders. The program needs to check on all the purchase orders for that work order to check if order quantity matches the received quantity and the invoice quantity. If it matches, I will do an IW32 to change the user status to 'AIP' (All Invoices Paid). If there are no invoices or purchase orders, I will again, do an IW32 to change the user status to 'AIP'.
And since this is my first time to work on a PM ticket, I'm not very familiar with the tables being used. I've tried looking for a list of PM tables. One table I got is AUFK (Order Master Data). I searched through the table and it has the fields for Sales Order Number (KDAUF) and Item Number (KDPOS). Is this the Purchase Order related to the work order? Also, is there a way I can see or verify it through a transaction? I tried looking into transaction IW33 but I couldn't find any Purchase Order Number there. Also, how do you know if a work order is open or not? Is there a field that indicates it?
I was thinking if there are any BAPI's I can use to change a work order's user status instead of doing a CALL TRANSACTION 'IW32'? I saw a function module, RFC_CHANGE_PM_ORDER, that does a remote function call to IW32 but this has dialogs. I'd appreciate any input.
Many thanks in advance!
Regards,
KristineHi
You can use the BAPI - BAPI_ALM_ORDER_MAINTAIN to maintain orders.
Given below few order related tables
AUFK -Production order headers
AFIH -Maintenance order header
AUFM -Goods movement for prod. order
AFKO -Order header data PP orders
AFPO -Order item
RESB -Order componenten
AFVC -Order operations
AFVV -Quantities/dates/values in the operation
AFVU -User fields of the operation
AFFL -Work order sequence
AFFH -PRT assignment data for the work order(routing)
JSTO -Status profile
JEST -Object status
AFRU -Order completion confirmations
This may help you.
Thanks & Regards,
Govind. -
Save button is not working for ONE CLICK ACTION
Hi All,
We have embeded a custom table view in a standard component.While we are editing the first row of the table view by ONE CLICK ACTION & pressing the SAVE button of overview page,then the record is saved in the database. But if we edit any row other than the 1st one,the save button is not working.
We have used transaction context here for simple object.
lv_tx_ctxt = lr_ent_bt->get_transaction( ).
my_tx_context->add_tx_context( lv_tx_ctxt ).
Please suggest how we can focus on the current line which we are editing & can save the record in database?
Thanks.Hi Hakan,
Probabaly this is not my problem. I know that how bt one click we can get the desired row.
Let me briefly explain you my requirement and currently where I am stuck.
I have a assignment block ( custom) in the main overview page with a custom table view ( ie in the view we are displayng entries in the table view ) and the user can press edit button on any row and that will open the particular row in edit mode . User will change the value in any of the columns and press save button on the main component and the custom changes will be saved in the database.
Now the problem that we are facing is when we are chnaging the first row it si working but when we are doing chnages in the 2nd row or 3rd row changes are not saved ( not even in the table view that is getting displayed) .
*Let me briefly tell you the approach that we took . Since our table view uses a simple object ( which is not a related object with BTORDER so we need to explicitly save the simple object entities to transaction context and for doing that we have redefined the eh_onsave method in the overview page) .
*Now the save button is in overview page so to pass the entry from our custom table view to overview we are using custom controller . The custom controller 's collection wrapper only has the first entry of the table view custom_controller->collection_wrapper->get_next is failing which is the reason why the 2nd entry is not getting saved.
Can you tell me how i can get all the table entries in my custom controller's collection wrapper?
Let me know if you have any other questions. -
Dialog work process in stop gui status
Hi,
there are lots of dialog work process are stuck status due to stop gui error.
stop gui work process are not getting released automatic from the system due to this many users are facing problem and they are getting sap slow problem.
to resolve the issue we have to kill the work process manually from the system by using tcode sm66.
kindly help to resolve the issue.
Regards,
Koushal SolankiHi,
kindly find the log below
M *** WARNING => ThAdXDelUser: delete T149
M *** ERROR => ThCheckEmState: no em context for T2/M0 [thxxmem.c 381]
M *** ERROR => ThCheckEmState: no em context for T2/M0 [thxxmem.c 381]
C
C Wed May 19 09:01:40 2010
C build_stmt: reallocating stmt buffer: 2304 -> 3312 characters
C build_stmt: reallocating stmt buffer: 3312 -> 4328 characters
C build_stmt: reallocating stmt buffer: 256 -> 2000 characters
C build_stmt: reallocating stmt buffer: 2816 -> 3822 characters
C build_stmt: reallocating stmt buffer: 3822 -> 4823 characters
C build_stmt: reallocating stmt buffer: 512 -> 2000 characters
C build_stmt: reallocating stmt buffer: 2048 -> 3050 characters
C build_stmt: reallocating stmt buffer: 3050 -> 4052 characters
M
M Wed May 19 09:01:42 2010
M *** ERROR => ThCheckEmState: no em context for T2/M0 [thxxmem.c 381]
M
M Wed May 19 09:01:57 2010
M *** ERROR => ThCheckEmState: no em context for T2/M0 [thxxmem.c 381]
M
M Wed May 19 09:04:46 2010
M *** ERROR => ThCheckEmState: no em context for T2/M0 [thxxmem.c 381]
B ***LOG BY4=> sql error 60 performing SEL on table NRIV [dbtran#4 @ 7588] [dbtran 7588 ]
B ***LOG BY0=> ORA-00060: deadlock detected while waiting for resource [dbtran#4 @ 7588] [dbtran 7588 ]
B dbtran ERROR LOG (hdl_dbsl_error): DbSl 'SEL'
B RSLT: {dbsl=99, tran=1}
B FHDR: {tab='NRIV', fcode=33, mode=2, bpb=0, dbcnt=0, crsr=1,
B hold=0, keep=1, xfer=0, pkg=0, upto=0, init:b=0,
B init:p=(nil), init:#=172, wa:p=0xc0000004440b6120, wa:#=172}
B dbtran ERROR LOG (hdl_dbsl_error): DbSl 'SEL'
M Wed May 19 08:57:25 2010
M *** ERROR => ThCheckEmState: no em context for T2/M0 [thxxmem.c 381]
C
C Wed May 19 08:58:57 2010
C OCIStmtExecute() failed with -1=OCI_ERROR
C SQL error 60:
C *** ERROR => Error 60 in stmt_fetch() from oci_execute_stmt(), orpc=0
[dbsloci.c 12990]
C *** ERROR => ORA-60 occurred when executing SQL stmt (parse error offset=0)
[dbsloci.c 13011]
dispatcher log
Wed May 19 15:13:43 2010
ERROR => DpWPCheck: max_hold_time W2 exceeded (T140=msb85 ) [dpxxdisp.c 15928]
ERROR => DpTmRetErr: DpTmSend [dpxxdisp.c 13138]
Maybe you are looking for
-
Error Conversion foreign curr. (Data Records were recognised as incorrect)
hi all I am working on SAP BW 3.5 version on Production Server I am fetching Data from SAP R/3 system to BW 3.5 systems for SD Order and Billing Data is correctly Loaded for SD Orders and when I am trying to Load Data for SD Billing,I am got the foll
-
Moving photos between accounts??
I have an account for everyone, then a user account for work. How do I move some pics from my everything account to my iPhoto library in my work account? Help please!
-
What is the difference from RTPSessionMgr and RTPManager?
I find some people dont use RTPManager but RTPSessionMgr. I don't know the difference from the RTPSessionMgr and RTPManager.Help me!! RTPSessionMgr belongs to the package of com.sun.media. There is another pakcage name com.ibm.media. I want to know h
-
Implementing the Scheduler on Solaris
We are implementing the OBIEE scheduler on Solaris 9. We followed the steps in the bookshelf and run the run-sch.sh file. The scheduler log is created as a zero byte file and the process does not come up. Has anyone implemented the scheduler on Solar
-
hello all, i am writting this code .....first select is working fine for me as i am getting 5 entires in table itab which i am expecting... but for second when i loop itab itab then at that time i should get one record in table itab2 out of second