Performance Transactions & Details
Hai All,
I am Farooq, the only individual for a Company working on ABAP from about 3 months. Please let me know all the details with Transactions of Performance Tuning, SQL Trace, & different other Traces.
Now I have come across <b>ST01, ST02, ST03, ST04, ST05, ST06, ST07, ST11, ST14, ST20, ST22, ST30, ST33, ST35, ST36, ST37, ST62</b>. I am hardly aware of anything in these. I know little about <b>ST05</b> only & very interested to learn much more.
May be explaining all these may take much time & is not Possible here. So its OK even if U take your own time & send across any documents or mails to my ID, "[email protected]" when u r free. I would be very thankful to U. <b>THANKS a lot</b> in advance.
Best Regards & wishes.
Farooq
Farooq,
You can use SE30 for doing run time analysis of what is going on in the program which part has taken how much time .
What is the data base time and what is program run time all details are available in this transaction.
Using ST05 u can identfy which table is taking time to query, What index it is using .. by this we can decide to do secondary indexing in the table .
At times it will also be neceesary from Basis side to re-build the index, re-build the statistics tables which will also improvise the performance .
I will send u doucment on performance tuning for programming.
Regards
R. Ramvelu
[email protected]
Similar Messages
-
Inventory report with the last transaction details of each material
Hi,
is there any standard inventory report in SAP which gives us the last transaction details of each
Material,along with last procurement qty, value, date and last issue
details of Qty, Value & date.
Thansk in advance.Hi
try following t-code
MB5B u2013 Stock on Posting Date
or
2 s_p00_07000139 u2013 Stock Card and Inventory Material Report
Regards
Kailas Ugale -
Getting error Unable to perform transaction on the record.
Hi,
My requirement is to implement the custom attachment, and to store the data into custom lob table.
my custom table structure is similer to that of standard fnd_lobs table and have inserted the data through EO based VO.
Structure of custom table
CREATE TABLE XXAPL.XXAPL_LOBS
ATTACHMENT_ID NUMBER NOT NULL,
FILE_NAME VARCHAR2(256 BYTE),
FILE_CONTENT_TYPE VARCHAR2(256 BYTE) NOT NULL,
FILE_DATA BLOB,
UPLOAD_DATE DATE,
EXPIRATION_DATE DATE,
PROGRAM_NAME VARCHAR2(32 BYTE),
PROGRAM_TAG VARCHAR2(32 BYTE),
LANGUAGE VARCHAR2(4 BYTE) DEFAULT ( userenv ( 'LANG') ),
ORACLE_CHARSET VARCHAR2(30 BYTE) DEFAULT ( substr ( userenv ( 'LANGUAGE') , instr ( userenv ( 'LANGUAGE') , '.') +1 ) ),
FILE_FORMAT VARCHAR2(10 BYTE) NOT NULL
i have created a simple messegefileupload and submit button on my custom page and written below code on CO:
Process Request Code:
if(!pageContext.isBackNavigationFired(false))
TransactionUnitHelper.startTransactionUnit(pageContext, "AttachmentCreateTxn");
if(!pageContext.isFormSubmission()){
System.out.println("In ProcessRequest of AplAttachmentCO");
am.invokeMethod("initAplAttachment");
else
if(!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "AttachmentCreateTxn", true))
OADialogPage dialogPage = new OADialogPage(NAVIGATION_ERROR);
pageContext.redirectToDialogPage(dialogPage);
ProcessFormRequest Code:
if (pageContext.getParameter("Upload") != null)
DataObject fileUploadData = (DataObject)pageContext.getNamedDataObject("FileItem");
String strFileName = null;
strFileName = pageContext.getParameter("FileItem");
if(strFileName == null || "".equals(strFileName))
throw new OAException("Please select a File for upload");
fileName = strFileName;
contentType = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
BlobDomain uploadedByteStream = (BlobDomain)fileUploadData.selectValue(null, fileName);
String strItemDescr = pageContext.getParameter("ItemDesc");
OAFormValueBean bean = (OAFormValueBean)webBean.findIndexedChildRecursive("AttachmentId");
String strAttachId = (String)bean.getValue(pageContext);
System.out.println("Attachment Id:" +strAttachId);
int aInt = Integer.parseInt(strAttachId);
Number numAttachId = new Number(aInt);
Serializable[] methodParams = {fileName, contentType , uploadedByteStream , strItemDescr , numAttachId};
Class[] methodParamTypes = {fileName.getClass(), contentType.getClass() , uploadedByteStream.getClass() , strItemDescr.getClass() , numAttachId.getClass()};
am.invokeMethod("setUploadFileRowData", methodParams, methodParamTypes);
am.invokeMethod("apply");
System.out.println("Records committed in lobs table");
if (pageContext.getParameter("AddAnother") != null)
pageContext.forwardImmediatelyToCurrentPage(null,
true, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES);
if (pageContext.getParameter("cancel") != null)
am.invokeMethod("rollbackShipment");
TransactionUnitHelper.endTransactionUnit(pageContext, "AttachmentCreateTxn");
Code in AM:
public void apply(){
getTransaction().commit();
public void initAplAttachment() {
OAViewObject lobsvo = (OAViewObject)getAplLobsAttachVO1();
if (!lobsvo.isPreparedForExecution())
lobsvo.executeQuery();
Row row = lobsvo.createRow();
lobsvo.insertRow(row);
row.setNewRowState(Row.STATUS_INITIALIZED);
public void setUploadFileRowData(String fName, String fContentType, BlobDomain fileData , String fItemDescr , Number fAttachId)
AplLobsAttachVOImpl VOImpl = (AplLobsAttachVOImpl)getAplLobsAttachVO1();
System.out.println("In setUploadFileRowData method");
System.out.println("In setUploadFileRowData method fAttachId: "+fAttachId);
System.out.println("In setUploadFileRowData method fName: "+fName);
System.out.println("In setUploadFileRowData method fContentType: "+fContentType);
RowSetIterator rowIter = VOImpl.createRowSetIterator("rowIter");
while (rowIter.hasNext())
AplLobsAttachVORowImpl viewRow = (AplLobsAttachVORowImpl)rowIter.next();
viewRow.setFileContentType(fContentType);
viewRow.setFileData(fileData);
viewRow.setFileFormat("IGNORE");
viewRow.setFileName(fName);
rowIter.closeRowSetIterator();
System.out.println("setting on fndlobs done");
The attchemnt id is the sequence generated number, and its defaulting logic is written in EO
public void create(AttributeList attributeList) {
super.create(attributeList);
OADBTransaction transaction = getOADBTransaction();
Number attachmentId = transaction.getSequenceValue("xxapl_po_ship_attch_s");
setAttachmentId(attachmentId);
public void setAttachmentId(Number value) {
System.out.println("In ShipmentsEOImpl value::"+value);
if (getAttachmentId() != null)
System.out.println("In AplLobsAttachEOImpl AttachmentId::"+(Number)getAttachmentId());
throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
getEntityDef().getFullName(), // EO name
getPrimaryKey(), // EO PK
"AttachmentId", // Attribute Name
value, // Attribute value
"AK", // Message product short name
"FWK_TBX_T_EMP_ID_NO_UPDATE"); // Message name
if (value != null)
// Attachment ID must be unique. To verify this, you must check both the
// entity cache and the database. In this case, it's appropriate
// to use findByPrimaryKey() because you're unlikely to get a match, and
// and are therefore unlikely to pull a bunch of large objects into memory.
// Note that findByPrimaryKey() is guaranteed to check all AplLobsAttachment.
// First it checks the entity cache, then it checks the database.
OADBTransaction transaction = getOADBTransaction();
Object[] attachmentKey = {value};
EntityDefImpl attachDefinition = AplLobsAttachEOImpl.getDefinitionObject();
AplLobsAttachEOImpl attachment =
(AplLobsAttachEOImpl)attachDefinition.findByPrimaryKey(transaction, new Key(attachmentKey));
if (attachment != null)
throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
getEntityDef().getFullName(), // EO name
getPrimaryKey(), // EO PK
"AttachmentId", // Attribute Name
value, // Attribute value
"AK", // Message product short name
"FWK_TBX_T_EMP_ID_UNIQUE"); // Message name
setAttributeInternal(ATTACHMENTID, value);
Issue faced:
When i run the page for the first time data gets inserted into custom table perfectly on clicking upload button,
but when clicked on add another button on the same page (which basically redirects to the same upload page and increments the attachment id by 1)
i am getting the below error:
Error
Unable to perform transaction on the record.
Cause: The record contains stale data. The record has been modified by another user.
Action: Cancel the transaction and re-query the record to get the new data.
Have spent entire day to resolve this issue but no luck.
Any help on this will be appreciated, let me know if i am going wrong anywhere.
Thanks nd Regards
AvinashHi,
After, inserting the values please re-execute the VO query.
Also, try to redirect the page with no AM retension
Thanks,
Gaurav -
How to find out the customers who are not performed transaction
Hi Experts,
My all transactions in my cube and my customer records in my master data now i want to find out the customers how didn't perform transaction..
can somebody give me idea...
Thanks
Kiran KumarHi,
possible solution:
- make IObj customer as infoprovider (RSD1)
- Create a multiprovider having your cube (your trans data) and your customer master
- identify cube-customer with iobj-customer
- create a query on thi multi and filter one of the characteristic of your cube, e.g. document number or calendar day, with # (not assigned)
- drilldown the customer.
This will give you all the customers having no fact in your transactional data.
You can also have your query without the filter; in this case, one of your cube key figure will be 0 (or empty) for those customers...
hope this helps
Olivier.. -
Payment transaction details in the Vendor Master
Hi Experts
I have My client wants in the Vendor master data not allow access to the Payment ytransacion details for the Users ,I am trying to Supress it in the Account group but it is not happening pls help me to know why and any where in the SAP where we can block the Users not access to to the Vendor MAster data The payment Transaction details.
ThanksHi,
Use t.code OMSG, under general data - Payment transactions, you can select the required fields as Suppress.
regards
Vivek. -
I purchased a digital itunes giftcard through paypal but can't seem to find a 'code' to use to redeem the card. Could someone help me find where that code would be found? I can see the paypal transaction details. jgm22
-> iTunes Cards & Codes
-
Sales transaction details in OIC
Hi All,
Im new to OIC. I want to get the sales transactions details for the employee in OIC.
I want to know the table name which stores the sales transactions details in OIC.
I explores in cn_commission_headers_all. But couldn't find anything
Please provide some pointersHi,
In cn_commission_headers_all there is one column 'direct_salesrepid'.
You can find salesrep_id from cn_salesreps view.
You need to make joins between cn_calesreps and cn_commission_headers_all.
This was the one way.
The other way is:
Generally orders are collected in cn_comm_lines_api_all in which you will find the transactions made by each employee. There is a column callled employee_number.
Regards,
Krunal -
Credit Card Transaction details
Hi,
Can somebody tell me where can I can all the credit card transactions? through PRCC we will upload the transaction details. Where will those be saved? I want to fetch the transactions in a program. How can that be done?
Thanks a lot!1Solved by myself.
Solution:
DATA: BEGIN OF tc_key,
pernr LIKE pernr-pernr,
END OF tc_key.
DATA: letzt TYPE ptk34_letzt,
ccbel TYPE TABLE OF ptk34 WITH HEADER LINE,
inbel TYPE TABLE OF ptk34_inbel WITH HEADER LINE,
trans TYPE TABLE OF ptk34_trans WITH HEADER LINE.
tc_key-pernr = '00000119'.
import
letzt
ccbel
inbel
trans
from database pcl1(tc) id tc_key.
Now, ccbel has all the transactions. -
How to get GL transactions detail
How to get GL transactions detail to insert in 3rd party applicaton.? We need Journal Entry number, date, account number, debit and credit columns. We need detail table structure.
Thanks
ShafiqHi
About period balance.
To have the amount of the balance of a certain account you need to run the following query (you need to know the CODE_COMBINATION_ID of the account, the SET_OF_BOOKS_ID of the company, the PERIOD_NAME and the functional currency used)
select nvl(sum(bal.begin_balance_dr + bal_period_net_dr - bal.begin_balance_cr - bal.period_net_cr),0)
from gl_balances bal,
gl_code_combinations cc
where cc.code_combination_id = bal.code_combination_id
and bal.actual_flag = 'A'
and cc.code_combination_id = <your ccid>
and bal.period_name = <your period name>
and bal.currency_code = <your func currency>
and bal.set_of_books_id = <your sob id)
Hope this helps.
Octavio. -
RP(Returnable packaging) account and transaction details
Hi All experts,
could any one of you let me know the correct table to find out the followings:
1. RP(returnable packaging) account header details.
2. RP account item level or transaction details like opening balance, closing balance, bill of lading, posting type, reference document number and etc.
3. Summary list of status of each RP material involved in RP account with RP partner.
4. Full listing of all movements per RP material account during the statement period.
Kinldy guide me for the above mentioned questions.
Thanks,
MarkHi Mark-
Try using RLACCT. -
ICP -Cell Does not support Inter company transaction details
Hi All
I have trouble in ICP.... in the metadata i configured the ICP related account and entity are correct and plug account a....
i have written the rules like
Sub Transaction()
HS.SupportsTran "S#Fullline.A#111501.C1#FLW_ST.C2#AGINGACCTREC.C3#AGINGSPECS.C4#ALL"
HS.Supportstran "S#Fullline.A#154501.C1#FLW_LT.C2#AGINGACCTPAY.C3#AGINGSPECS.C4#ALL"
End Sub 'Transaction
in the ProcessICP transaction i assigned correct way but i try to save them the message was throw *" Cell Does not support Inter company transaction details"*
.... Help me urgent
or another way to create the ICP transaction like load the ICP Data ..if possible then how i do (format)?
Regards
KimiHyperion/Oracle includes examples of most of the product functionality in the sample applications. For ICT you will find examples of the metadata, data, rules, and more in the STAT application. Look under \Financial Management\Sample Apps\Statutory and you will see this syntax in the rules file:
Sub Transactions()
HS.SupportsTran "S#ActMon.A#RecltIC.C1#Closing"
HS.SupportsTran "S#ActMon.A#RecltIC.C1#Increases"
End Sub
Also check your scenario settings to ensure the frequency for IC transactions is correct.
--Chris -
AW01N - Mismatch in Aquition value and the transactional details
*Dear Gurus*,
I am facing a peculiar problem in Assets. When I am viewing any asset via AW01N, the total of APC transactions is not matching with the details as shown in transaction details given below.
I want to know, from where I can get the document wise break-up of the APC transaction value to identify the error. Kindly advise.
Regards
RaheemHi,
First please make a recalculation of values.
If there is no change, the 2 reports RACORR110_B and RACORR55 are used to correct the inconsistency.
please see the following link:
https://websmp203.sap-ag.de/fiaa-faq
press "Correction and Maintenance Reports" (below)
Here you will find:
- RACORR110.txt
- RACORR55.txt
The relevant note is 366848.
At first please run the report RACORR110. Please check the field ANLC-ANSWL bevor and after running the report. The report RACORR110_B accumulates the values of the asset line items and writes the result in the field
ANLC-ANSWL.
Attention: At first please run RACORR110 with test flag (makes no database update)
After this, please start the report RACORR55 to forward the values to the next fiscal year.
Regards Bernhard -
SQL query to get transaction detail from DEFERRED_TRAN_ID
Hi,
I'm using Oracle Advance Replication and get the transaction detail from Enterprise Manager Console.
So instead of using the console.
Is there a way any SQL query which get transaction details like SQL query fired, old and new column value etc from DEFERRED_TRAN_ID.
thanksquote:
Originally posted by:
lucapac
I have two tables: tblWorkers and tblSkills. tblWorkers has a
column, Skills, which is populated from a multiple-checkbox form
field with one or more skill_IDs from tblSkills, so each
tblWorkers.Skills consists of a list of one or more comma-delimited
values. For any Skill_ID, I need to generate a listing of all
Workers with the corresponding skill, so I have tried to do
something along the lines of SELECT WorkerName FROM tblWorkers
WHERE Skills IN (Skills, #FORM.Skill_ID#) ... or WHERE Skills IN
(ListFind(Skills, #FORM.Skill_ID#)) ... etc. ??? My results (once I
got data type mismatches out of the way) return all Workers, not
just those with the desired Skill. There must be an easy way to do
this ... How do people with a bit more CF/SQL experience than I
have do this???
As Kronin implied, we normalize our databases. If you don't
understand that answer, the book "Database Design for Mere Mortals"
is often mentioned on this forum. -
Hay all,
I want to create the query of report 'GL Transaction Detail Report', Format of that report will look like this
Cost Center Account Amount Attribute1 Attribute3 Attribute5 Source Type Source Doc Number Source Desc
=======================================================================================
600129 125478 *1500 * 124 125 25 Payable-Invoice xxxx xxxxxx
xxxx xxxxx x x xxxx xxxx xxxx Inventory xxxxx xxxxx
xxx xxxx xxxx xxxxx xxxx xxxxx Fix Assets xxxxx xxxxxx
Gl_Code Combinations Je.Header.Jesource
Functionality of report
=================
My User want see if there is amount 500 in amount column, what is the source of this amount,
From column 1-5 (Exc. col3) will be from Gl_Code Combinations ,Source Type column from Je.Header.Jesource,
There are Multiple source Types in Je.Header.Je_source column i.e Assets,Payable,
I am unable to find "amount",soucer_doc_number,Source_Desc column,
i m using EBS R12.1.3
Regards,
Nauman
Edited by: Nauman Mirza on May 28, 2013 3:54 AMwith it being receivalbes it will always be a CR in the journal so i have removed the xal accounted dr/cr and replaced with this
(TO_NUMBER (
DECODE (
ctld.account_class,
'REC', DECODE (SIGN (NVL (ctld.amount, 0)),
-1, -NVL (ctld.acctd_amount, 0),
NULL),
DECODE (SIGN (NVL (ctld.amount, 0)),
-1, NULL,
NVL (ctld.acctd_amount, 0)))))
ACC_CR,
(TO_NUMBER (
DECODE (
ctld.account_class,
'REC', DECODE (SIGN (NVL (ctld.amount, 0)),
-1, NULL,
NVL (ctld.acctd_amount, 0)),
DECODE (SIGN (NVL (ctld.amount, 0)),
-1, -NVL (ctld.acctd_amount, 0),
NULL))))
ACC_DR, -
Production order transaction details...
Hi,
I want to know from where we can get the last posting details of a particular Production order. Like in which table we can get the last transaction details of goods movement or activity movemnt details for a production order.
Regards,
Shree jHi
Thanks for providing the information. COOIS gives me the information relating to Goods movement and activity confirmation based on the option we select in the list.
But i want that system should show me both Goods movemnet+confirmation for activties at once only or combily. Can you suggest which table will be helpful to get this data.
Pls let me know the table where we can find out the Good movemnt and confirmation details relating to a Proudction order.
Regards,
Shree
Maybe you are looking for
-
My itunes suddenly crashes and I need to reinstall it. Iam using a windows 7 64 bit
I am using an Asus K43S notebook with a Windows 7 Home basic OS 64 bit. I have been having problems with my itunes and this problem is a persistent one. How can this be remedied.
-
What IP address to download updates for Acrobat Pro 9
Our firewall is blocking a lot of websites and I need to update my Adobe Acrobat 9 to get the latest updates. I am trying to get PDF Maker to work on Outlook 2013 and from what I've researched from a fresh install Acrobat 9 will need to be updated.
-
Premiere is ruining the quality of my videos. How do I fix the problem in my program?
My original root video files are beautiful HD BUT when I import them into Premiere Pro CS5.5 the quality drops tremendously. I have even exported the video to see if it was only the preview screen. That video was jumpy and moving like crazy when my o
-
Control chip blown on fire wire any one where i can get one
Any one know where i can get a fire wire control chip for a late 2009 20.5 imac
-
Can anyone tell me how to get data for field URL from infotype HRP1061? This field is not maintained in the table HRP1061, but when we generate SAP Query, it is automatically URL geting called for this table. Please help me how should I clode in my r