Logging the use of transaction PA41
Hi,
We have SAP HR implemented. I am trying to configure logging of transaction PA41 (ie. whenever an ID executes PA41, the ID and the time of access is logged ).
I tried using SM19 to set up the logging. However, SM19 does not allow me to log just transaction PA41. I think SM19 will log all transactions.
Would be grateful if anyone could advise if they had encountered similar issue and how to go about solving this.
Thanks in advance for the help.
regards,
tim
Hi Sum,
Try out using transaction STAT.
Enter STAT-> Enter User, Transation, Start Date, End date->Select Continue
It should display the statistical records.
Hope it helps.
Please award points if it is useful.
Thanks & Regards,
Santosh
Similar Messages
-
Log the Container managed Transaction ID
Can I somehow log the Container managed Transaction ID (or some transaction
identifier) for the method (when I encounter some problems and I am debuging
it) or how do I get a reference to the TransactionManager object inside the
weblogic server to fetch it.
What version of WLS are you using?
WLS 6 lets you get a reference to the TransactionManager or the current
transaction. Take a look at the JTA docs for more info.
-- Rob
Stefan Tamasi wrote:
>
> Can I somehow log the Container managed Transaction ID (or some transaction
> identifier) for the method (when I encounter some problems and I am debuging
> it) or how do I get a reference to the TransactionManager object inside the
> weblogic server to fetch it.
Coming Soon: Building J2EE Applications & BEA WebLogic Server
by Michael Girdley, Rob Woollen, and Sandra Emerson
http://learnweblogic.com
-
What is the use of transaction code FAGLGA15
What is the use of transaction code FAGLGA15.What is its functionality.Please help.
Hello,
Yes, you are right. Before ECC 6.0 version the TC: KSU5 has been used for actual assessment. Now in ECC 6.0 the same transaction code has been changed to FAGLGA15. You can execute the actual assessment in test run and if it is ok then run in background.
Thanks
Para -
What is the use of transaction code VF24
what is the use of transaction code VF24. if possible please provide some documentation
Hi,
The main use of VF24 transaction code : edit work list for invoice list.
This enables the user to understand the processes left during the combine processing of invoices.
like which are left for releasing to accounts, which have still pending payment posting, with respect to the invoice list consisting of the combination of invoices.
invoice list is a combination of different invoices with same critierias. so to check and process these invoice lists collectively this function is used.
regards,
siddharth.
regards,
Siddharth. -
Hi expert
I use Berkeley DB with lots of short transactions.
It seems the performance is limited because commit will cause disk flush/sync. To improve performance I commit several sequential transactions with NOSYNC flag, then commit last transaction with SYNC flag and so on.
My question is after SYNC commit, does the log of previous NOSYNC transactions also been flushed and durability will become OK at this moment?
If not does log_flush() works?
ThanksHello,
The log is always sinked up to some point, so when you
commit a later transaction with the DB_TXN_SYNC flag, all earlier
transaction log records will be forced to disk.
Thanks,
Sandra -
Hi all,
The above transaction is used to created (among other things) to use ABAP code to manipulate the values on a condition record. The calculation routine no. is attached to the condition and the code is executed. So far so good...
My question is a yes/no question:
Is it possible to create an addtional condition record from the code executed on an current condition record ? or: can you code that you create an addtional record at this transaction ?
Thanks.ok
-
Use Single Transaction Option / MergeTransactions Property Not Limiting To Single Transaction
I have a SSRS report which contains a List. Within the List is a sub-report. Although the option "use single transaction when processing the queries" has been selected for the Data Sources of all reports/sub-reports, and all reports use the same
Shared Data Source, multiple transactions are utilized. I have also set the MergeTransactions property of every SubReport to True.
It is critical that the report use only one connection to the Data Source when it is executed (limited licensing issue with old DBMS - UniData).
For my other SSRS reports, which contain sub reports but the sub reports are not within a List, the "use single transaction when processing the queries" option works as expected and a single connection is made to the Data Source when the report
is executed.
Is there something I can do to force a single transaction to be used in this situation? I am running SQL Server 2008 R2 Enterprise Edition SP3. I found this fix for the problem for SQL Server 2008: kb 974404 (won't let me insert links).
Thanks, KevinWendy,
Thank you for responding. The reports all use the same shared datasource. However, they do not use shared datasets. Each DataSet calls an SQL Server Stored Procedure located in the same SQL Server Database. When this report is executed, multiple connections
are opened to the DBMS from which the data is actually fetched, which can only occur of SSRS is executing multiple Stored Procedures in parallel. I have confirmed this behavior by logging which Stored Procedures are executed and when. I have confirmed the
behavior in the other DBMS by running a command which lists all licenses used. Several connections are listed from the User which is used exclusively for the SSRS reporting. All of these connections are opened at the same time (within fractions of
a second) that execution of the SSRS report begins.
As to whether multiple transactions are used by SSRS, I can only assume they are, since multiple connections are opened and queries are executed concurrently. I should state again that I am concerned about connections made, not transactions in SQL Server.
I have many other reports, some of which call the same Stored Procedures as the problematic report. When these other reports are executed, and the "use single transaction..." and MergeTransactions options are set, only one connection is opened though
several queries are executed. It is only when a sub report is placed in a list that multiple connections are made and queries are executed concurrently even though the afore mentioned options are set.
I can provide further details about the DBMS where the data reported on resides and how queries are executed against this database from an SQL Server Stored Procedure if you require it. However, I have ensured there is no parallel code and that SSRS is initiating
the concurrent connections by executing the Stored Procedure which the Sub Report reports on multiple times in parallel. I can also provide the report definitions if you need them.
Thanks,
Kevin -
Use of Transaction code: MBNL
Hi,
Can someone explain with example what is the use of Transaction code: MBNL
Thanks in advance
RegardsHi,
Enter subsequent delivery (transaction code MBNL)
In goods-receipt-based invoice verification, you can post goods receipts as subsequent deliveries for previous goods receipts by referencing the original goods receipt document. In this process, the system copies the original reference document number (MSEG-LFBNR) to the new material document, thereby maintaining the link between the goods receipts and the corresponding invoice.
Subsequent deliveries are useful, if, for example:
You reverse a goods receipt after you have entered the corresponding invoice and then want to post another goods receipt
You post a return delivery and want to enter the next goods receipt with reference to the return delivery document so that the link with the invoice remains intact.
You can use the subsequent delivery function for the following business transactions:
Goods receipt (movement type 101)
In this case, you post a further goods receipt for a purchase order (for example, in the case of partial deliveries or additional deliveries).
Return delivery (movement type 122)
In this case, you post another goods receipt after you have entered a return delivery (also refer to Return Delivery).
Reversal of goods receipt (movement type 102)
In this case, you post another goods receipt after you have reversed a goods receipt.
Best regards
Erika -
Hi all,
Could anyone please tell me the use of Transaction code IP30.
Actually we have scheduled some order but they did not get created when the date of creation came. Then we ran IP30 transaction code to see their deadline.
Then scheduled object got converted into the service order but the service orders dont have sold-to party (consumer nos.).
Please guide me how should we use IP30 Transaction and what should i do so that service order can have consumer no. when they get created.
Thanks and Regards
MahavirHi,
Please tell me is it necessary to run the IP Transaction code for each maintenance plan that we have scheduled?
Yes if it is needed that the plan should generate orders it needs to be scheduled either in backgroud job or needs manually executed.
Can a service order be generated automatically without running IP30 if we have scheduled a maintenance plan?
Yes you can get a service order (PM Order ) against this plant maintenance order with control key as pm03 you can get PR from PR You can get service order agin here MM intergration if the auto po concept used then auto po (service order) gets generattted.
But if u want to avoid lengthy process u can use IP10.
During each IP10 run if call falls within the date u will get maint call object that is pm order -
>pr------->po
pm order----->fo (frame work order)
pm order -
>service contract -
>value / qty
(These tab u will get in pm order operation header genarl data)
Hope this is in line with your requirement.
Thanks and Regards
Ramesh -
What is the use Transactionoption in SSIS?
Hi experts,
Can you pls explain the use of Transaction option in SSIS package ? I am little confuse on the part.
ThanksHere is an other example:
http://microsoft-ssis.blogspot.com/2011/01/ssis-transactions.html
But it requires enabling the windows service Microsoft Distributed Transaction Coordinator (MS DTC).
An alternative option is to use SQL Server transactions:
http://microsoft-ssis.blogspot.com/2011/09/ssis-transactions-with-tsql.html
Please mark the post as answered if it answers your question | My SSIS Blog:
http://microsoft-ssis.blogspot.com |
Twitter -
Type of error in the log file while using using call transaction mode u2018Eu2019
Hi Gurus,
Please Answer for this qusetion urgently
what type of error exactly you will be seeing in the log file while using call transaction mode u2018Eu2019?
Thanks/
Radha.Hi,
Can you be clear.
In call transaction , no error logs are created, you have to handle the errors explicitly using the structure BDCMSGCOLL.
Whenever you use E mode then if the transaction encounters any of the errors i.e. data type mismatching or invalid values etc, it will stop at that screen.
You can handle the errors in call transaction in the following method.
create a table using the structure BDCMSGCOLL.
then
loop at ......
CALL TRANSACTION 'XK01' USING I_BDCDATA MODE 'N' UPDATE 'S' MESSAGES INTO I_MESGTAB.
endloop.
SORT I_MESGTAB BY MSGID MSGV1 ASCENDING.
DELETE ADJACENT DUPLICATES FROM I_MESGTAB.
LOOP AT I_MESGTAB.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = I_MESGTAB-MSGID
LANG = I_MESGTAB-MSGSPRA
NO = I_MESGTAB-MSGNR
V1 = I_MESGTAB-MSGV1
V2 = I_MESGTAB-MSGV2
V3 = I_MESGTAB-MSGV3
V4 = I_MESGTAB-MSGV4
IMPORTING
MSG = MESG1.
IF I_MESGTAB-MSGTYP = 'S' .
WA_SUCCMESG-MESG = MESG1.
APPEND WA_SUCCMESG TO I_SUCCMESG.
else IF I_MESGTAB-MSGTYP = 'E' .
WA_ERRMESG-MESG = MESG1.
APPEND WA_ERRMESG TO I_ERRMESG.
ENDIF.
ENDLOOP.
Hope this is clear.
Thanks and Regards. -
Whats the use of having pragma autonomous transaction
Hii All,
The below is the procedure developed by our predecessors.We are making use of this for writing our debug messages.
I'm aware of pragma autonomous transaction ,this allows my code to run independently of the calling program.
But here we are just using utl_File and we are neither using any DML(Inserting error messages into a table) or DDL statements in the below code.
What is real use of having pragma autonomous transaction.???This code is working in the same way even without the pragma...I dont' find any difference .
Please let me know the use of having pragma autonomous transaction in the below procedure and where it actually comes into usage.
Create or replace Procedure logmesg
p_file_name in varchar2,
p_mesg_text in varchar2,
p_dir_path in varchar2 default fn_get_debug_path,
p_file_ext in varchar2 default 'log',
p_append_flag in varchar2 default 'Y'
) Is
pragma autonomous_transaction;
l_utl_file utl_file.file_type;
l_append_flag varchar2(1);
l_mesg_text varchar2(32000);
l_file_name varchar2(3000);
l_dir_path varchar2(32000);
l_delimeter_occurance number;
l_buffer_str varchar2(32000);
Begin
if trim(p_dir_path) is null then
l_dir_path := fn_get_debug_path ;
else
l_dir_path := p_dir_path;
end if;
l_mesg_text := p_mesg_text;
l_append_flag := nvl(p_append_flag,'Y');
l_file_name := p_file_name||'_'||to_char(sysdate,'ddmmyyyyhh')||'.'||p_file_ext;
l_append_flag := Case l_append_flag
When 'Y' then 'a'
When 'N' then 'w'
End;--l_append_flag
Begin
l_utl_file := utl_file.fopen(l_dir_path,l_file_name,l_append_flag);
Exception
When Others Then
l_utl_file := utl_file.fopen(l_dir_path,l_file_name,'w');
End;
if dbms_lob.getlength(l_mesg_text) > 32000 then
loop
exit when dbms_lob.getlength(l_mesg_text) < 32000;
l_delimeter_occurance := dbms_lob.instr(l_mesg_text,chr(32),1,1);
l_buffer_str := dbms_lob.substr(l_mesg_text,l_delimeter_occurance-1);
utl_file.put_line(l_utl_file,l_buffer_str);
l_mesg_text := dbms_lob.substr(l_mesg_text,l_delimeter_occurance+1);
utl_file.fflush(l_utl_file);
end loop;
end if;
utl_file.put_line(l_utl_file,l_mesg_text);
utl_file.fflush(l_utl_file);
utl_file.fclose(l_utl_file);
End logmesg;
/HerePlease let me know the use of having pragma autonomous transaction in the below procedure and where it actually comes into usage.Seems it is redundant in that procedure, and doesn't add any value, since the procedure isn't doing anything 'transactional'.
I would remove it. -
ITS Transaction Launcher to ECC logs on using previous ID of previous user
Hi
we're using ITS to open transactions in SAP ECC.
however, the user ID logs on to ECC using transaction launcher ITS does not log off each time we log off from CRM. even different users of CRM using same pc, the ECC will remain open using the first person ID.
detail problem as follow
1. Johnlogs on to CRM using his user ID
2. John calls ECC tcode from transaction launcher ITS
3. John logs on to ECC using his user ID
4. John logs off from CRM
5. then from same pc, Angel logs on using her own user ID
6. Angel calls ECC tcode from transaction launcher ITS. this time she does not need to log on as ECC as it is still open under John - which we don't want
any lead is really appreciated
JDHi
we're using ITS to open transactions in SAP ECC.
however, the user ID logs on to ECC using transaction launcher ITS does not log off each time we log off from CRM. even different users of CRM using same pc, the ECC will remain open using the first person ID.
detail problem as follow
1. Johnlogs on to CRM using his user ID
2. John calls ECC tcode from transaction launcher ITS
3. John logs on to ECC using his user ID
4. John logs off from CRM
5. then from same pc, Angel logs on using her own user ID
6. Angel calls ECC tcode from transaction launcher ITS. this time she does not need to log on as ECC as it is still open under John - which we don't want
any lead is really appreciated
JD -
What is X-CorrelationID in the OEG 11g transaction log ? How can I get it ?
Hi May I have question here:
what is X-CorrelationID in the OEG 11g transaction log ? How can I get it through policy path and keep it's value ?
Thanks.
CliffThe most common scenario would be to use attribute expansion, so if you configure a field with the following:
${id}
Then the value of the field will be expanded to the correlation id valiue.
For example if you wanted to use the id in a log statement you could have something like the following:
The message ${id} was presented by subject: ${authentication.subject.id}
Which at run time would be expanded to:
The message Id-12345-12345 was present by Clive
If the id has the value Id-12345-12345 and authentication.subject.id has the value Clive
Thanks,
D -
Migrating from non-logging Informix to Oracle (use of transactions)
I wonder what happens when I migrate an Informix non-logging database to Oracle. Since my database doesn't use transaction (that's to say: a single DML sentence defines a transaction and transactions using begin/commit/rolback trans are not used), applications are written with no transaction philosophy. But Oracle is ANSI-compliant and then when I execute a DML sentence, a transaction begin and it'll finish until I send commit or logout. Then, even when migration is ok, my applications will create very large transactions.
What should I do? Is there some parameter to configure Oracle in such way it create single-DML transaction (I heard there's something like that in SQL*Plus, but I'm not sure)? Or should I rewrite applications sending commits after every sentence (The worst case, I think)?
Thanks in advance
Omar MuqozHi Oscar,
Without actually viewing the Client application code, I can only make general assumptions..
You will have to change the client code anyway in order for it to work with Oracle e.g. Informix E/SQL -> Oracle Pro*C. The E/SQL Client code will have to be updated to reflect various changes in the DB environment; for example:
1. The use of REF CURSORS (passing them back to the client code)
2. Changes to the hardcoded Informix SQL statements to make them Oracle friendly (especially OUTER joins if you migrating to Oracle 8i)
3. Altering any E/SQL code that dynamically builds SQL statements (to make sure these SQL statements are syntactically correct in the Oracle model).
4. DB Connection methodologies.
5. Changing Informix #include files to reference equivalent Oracle #includes
6. Differences in date structs and how E/SQL and Pro*C handle dates (Oracle did not support milliseconds until 9i)
7. Exception handling.
8. Datatype changes between Informix and Oracle.
Again, there is no simple solution. A migration project that migrated the DB and Applications 'in tandem' would make it easier to remove logic from the client code and place it in the server (always a good thing) but this may not be feasable in your case.
Maybe you are looking for
-
[Solved]Black screen after "waiting for udev uevents to be processed"
Hello friends, Starting from late Dec., my laptop goes black screen after "waiting for udev uevents to be processed", after updating kernel to 2.26.32.*. The strange thing is that even the screen is black, the keyboard is working. For example, I can
-
TS1347 After one week, my i phone 5s has lost my calendar. I need to retrieve it
Help? I just upgraded from i phone 4 and all my old phone was transferred to the new one by Verizon store guy. The calendar was working just fine yesterday, but I tried to add two items today and could not get them entered, plus I lost what was alre
-
Is there a way to customize the &smartbar for my application? Specifically, I want to stop the behavior of when paging past the last record of a resultset, a new blank record is created. I would like to either intercept the call this button is making
-
I have with followring code loadet galleri.swf on another whit on (release) indframe = 90; gotoAndPlay (this.udframe); on (release) ( LoadMovieNum ( "galleri.swf", 1); I am looking now for a code to close: on (release) ( LoadMovieNum ( "galleri.swf",
-
Cropping And Streaming On The Fly
Hello! I'd like to do something but I'm not entirely sure if it's possible. What I would like to do is have a large (probably 720p / 1080p) video, and then on the fly, be able to stream a cropped version of it. Essentially to allow a user to 'zoom' i