ABAP Unite : how to get the generated log
Hi all,
I'm looking for a way to get the log of the execution of a program linked abap unit tests.
Imagine that I'm using se38 transaction, I launch Program >> test >> Unit Test.
It give me a result screen with the result of defined assert.
What I need is a way to do my own program that can access to this result in order to export them to a specific extarnal test management tool.
So, I would like to know the transaction code of the abap unit transation, the table filled by the log and so on ...
Thanks for help,
Kind Regards
Morgan
Hello Morgan,
there is no API to access ABAP Unit results in release 6.40 und 7.00. You will have to wait for 7.10.
Sorry
Klaus
PS: You may try to access Code Inspector Results meanwhile.
Similar Messages
-
How to get the current logged in username from windows and put it into an AS var
Hello,
I was hopeing someone would know how to get the current logged in username from windows and put it into a var, so I can create a dynamic text box to display it.
Thanks in advance
MichaelJust for everyone’s info, this is the script I have used to get the logged in windows username into flash ---- not and air app.
In the html page that publishes with the .swf file under the <head> section:-
<script language="JavaScript" type="text/javascript">
function findUserName() {
var wshell=new ActiveXObject ("wscript.shell");
var username=wshell.ExpandEnvironmentStrings("%username%");
return username;
</script>
The ActionScript:-
import flash.external.ExternalInterface;
var username:String = ExternalInterface.call ("findUserName");
trace (username); // a quick test to see it in output -
Confition type FRC1- how to get the change log,
Hi,
When the condition type FRC1 automatically gets deleted (deletion flag),. and we are not able to see the change log for the same.
how the Conditions are deleted. Or if at all any one has deleted, how to get the change log,Check in
m/06
go to utilities
change log
If not found consult BASIS consultant -
How to get the job logs from sm35 by using the queue id and session name?
hi all,
can any one please let me know how to read the job log from sm35 by using the session name and queue id. i have the job name and job count but is it possible to download the job log by using the queue id and session name.
FYI..
i want to read this job log and i want to send it to an email id.
-> i am using the job_open and submitting the zreport via job name and job count and then i am using the function module job_close.
but this is not working in my scenario i have the queue id and session name by using this two i want to get the job log is there any function module available or code please provide me some inputs.
thanks in advance,
koushikHi Bharath,
If you want to download it to the local file then you can follow the instructions in the below link.
How to download Batch Input Session Log?
Regards,
Sachin -
How to get the user logged at worklist (Adf Form - Human Task)
Hi,
I have an Adf Form Based on Human Task and and need to get the user logged at Worklist Application.
Anyone know to make this ?
Thanks.
Victor JaburHi, thanks for your reply, but i discover a better way to make this:
public String getLoggedUserWorklist(){
String user = "";
try{
Map parameters=AdfFacesContext.getCurrentInstance().getPageFlowScope();
IWorkflowServiceClient wfSvcClient = WorkflowService.getWorkflowServiceClient();
ITaskQueryService queryService = wfSvcClient.getTaskQueryService();
String contextId = (String)parameters.get("bpmWorklistContext");
IWorkflowContext context = queryService.getWorkflowContext(contextId);
user = context.getUser();
}catch(Exception e){
user = "";
return user;
} -
How to Get the SSO Logged user information in database trigger
I need to track which SSO user is inserting data into a table , so how can i get the information of that user in a database trigger on that table
thanksTry using portal30.wwctx_api.get_user returns a varchar2 (PUBLIC) or the Username that is logged in
I need to track which SSO user is inserting data into a table , so how can i get the information of that user in a database trigger on that table
thanks -
How to get the print logs to appear in the application logs folder of windows server 2008 r2
Dear All,
I am a SIEM professional at an IT firm. i am facing a problem. My SIEM solution has an agent for windows. this agent reads only logs from the application, security and system folder of windows event viewer. In server 2008 r2 the printer logs are clustered
in and application and services/microsoft/windows/print services folder. The requirement of my management is that the siem solution should also be able to montior compliance of print policies. that can only be done once the the print logs are viewable in any
of the three event vieweer folders i.e application, system.security. how can i configure windows to make its print logs visible in any of these three folders ?this may be helpful...
http://social.technet.microsoft.com/Forums/windowsserver/en-US/fe8892cc-fb6d-49c7-8b2d-c1f17df8e085/2008-r2-use-advanced-security-audit-policy-to-log-print-jobs?forum=winserverprint
or post here...
http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverprint
Best,
Howtoto -
How to Get the Current Logged user location ID in SharePoint online
Hi All ,
Please suggest me how we can get the SharePoint online current Login user
Location ID
Actually i want to show the weather report in my SharePoint online site (App Part in SharePoint Online Site)
Suppose SPO user Login From India(Delhi) so that i want to show the India(Delhi) weather report
If Login user from US(dallas) so that US user see the US(dallas) weather report
Thanks
Deepak Chauhan
SharePoint 2010 & 2013 and Office-365 Branding and Front End Customization, UI Design@Mohamed
Derhalli ,
Suppose SPO user Login From India(Delhi) so that i want to show the India(Delhi) weather report
If Login user from US(dallas) so that US user see the US(dallas) weather report
so without using how we can show the weather report can you please suggest me how we can show the weather report
Reply ..
Thanks
Deepak Chauhan
SharePoint 2010 & 2013 and Office-365 Branding and Front End Customization, UI Design -
How to get the user log from the entried planning data ???
Dear All,
Could you help me to give the suggestion regarding that please .. ?? :).
I have requirement to get the last user who in charge in modifying the planning data.
Or in the other words, i'm gonna get the log from the entried planning data.
e.g.
1. Phase 1 - My Friend:
Create the planning data :
Country Sales
INA $1000
2. Phase 2 - I update it and create new record.
Country Sales
INA $1500 < modified >
USA $400 < new >
Could i get the log from those records ??
The log can be contain:
the created user & modified user ??
I just read the article regarding status and tracking system in BPS, but could i cover that requirement ??
(Because i got that the status and tracking system for creating a workflow for planning).
Or ..
Is there other way that can fulfill this requirement ???
Really need your guidance all.
Regards,
Niel.Dear Mayank,
Tks a lot for your responses.
I've tried it but in BPS version..
I saw in the document there is GUID (unique ID), could you explain me what the objective is ???
I work out to plan to store the user created, date created, and planning level information in the log data.
What do you think ..
Is it better to display them in the BEx Report / another manual planning layout ???
What did you display the log data in your case ??
Still need your guidance ..
Really - really thanks.
Niel. -
How to get the Change Log Table name of the ODS from the system table
Hi,
I have a list of ODSs in the system and I am interested in finding the corresponding Change Log Table and the number of records in that table.
Can any one please tell me the name of the system table where this information is stored.
I dont want to get in this information manully (from the Contents tab of the ODS maintenane).
Regards,
Harikiran GunnalaHi
Go to SE16
Give the table name as "RSTSODS".
For User application field give CHANGELOG as input
and execute. You will get all the list of Changelog tables Along with below mentioned data
PSA
Version
To
Valid from
Object Status
Technical ODS name
Program Name
Maint Program
Object Name
Last changed by
UTC Time Stamp in Short Form
Partition number
Regards
Raj -
Trex Result in the ABAP API - how to get the context
Hi all
I have an ABAP application in which I would like to know and display the context of the result like on the sdn.
E.g. a search for Trex could look like:
"...configure Trex is done by..."
- showing bold text where the search criteria appears.
Is there a function module able to provide this information? (e.g. SRET_INDEX_STORAGE_SEARCHING?)
Or is there another functionality available in the ABAP-context?
All ideas are more than welcome
Thanks in advance
Peter MichaelHi Helmut and Peter,
there is a FM -> TREX_EXT_SEARCH_DOCUMENTS which will return exactly what you are looking for.
You pass it the index, etc AND the query string (eg."Trex") as VALUE1 in the structure TREXS_QUERY_ENTRY.
It will return a list of type TREXT_RESULT_DOCS. The CONTENT field is where the text was found as a string.
Regards,
Robin -
How to get the PGW2200 logs??
help
Hello Rajendran,
This depends what kind of logs do you need.
You have normally call logs and platform logs.
1. MDL trace: For call logs
2. Platform logs: for system logs like cpu usage etc.
3. You can export the entire configuration also.
Refer the beneath link. It explains all!
http://www.cisco.com/en/US/products/hw/vcallcon/ps2027/products_tech_note09186a008010aaa1.shtml
Thanks,
Aby -
How to get the selection parameters from logical database into one of the t
Hi Sap ABAP Champians,
How to get the selection parameters from logical database into one of the tab in the tabstrip selection-screen.
Please help me for this
Thanks
BasuHi
Thanks, that will work, but then I'll have to insert code into all my reports.
I can see that "Application Server Control Console" is able to rerun a report.
This must mean that the Report Server has access to the runtime parameters.
But how?
Cheers
Nils Peter -
How to get the information of the log related to t.code generated by basis.
In the log generated by the basis personnel we found the details of user and corresponding t.code used details. How to get the information reg. which document he went into using this t.code? For example me29 t.code used by 'x' user. The log is showing time date t.code and user. By using me29n which document he attended is the requirement. How to get this information. Let me know it pl.
TSThanks all for the help.
Here is my solution. A mix from Julian and Thomas.
In future I will encapsulate the code in a function module.
DATA: BEGIN OF usr_tabl OCCURS 10.
INCLUDE STRUCTURE uinfo.
DATA: END OF usr_tabl.
DATA: th_opcode(1) TYPE x.
DATA: LV_TID LIKE SY-INDEX.
CONSTANTS: opcode_list LIKE th_opcode VALUE 2.
CALL 'ThUsrInfo' ID 'OPCODE' FIELD opcode_list
ID 'TAB' FIELD usr_tabl-sys.
CALL FUNCTION 'TH_USER_INFO'
EXPORTING
CLIENT = sy-mandt
USER = sy-uname
IMPORTING
TID = LV_TID.
read table usr_tabl with key tid = lv_tid.
IF sy-subrc = 0.
CASE usr_tabl-type.
WHEN 2.
write :/ usr_tabl-type, 'SYSTEM'." (system)
WHEN 4.
write :/ usr_tabl-type, 'GUI'." (Gui)
WHEN 32.
write :/ usr_tabl-type, 'RFC'."(RFC)
WHEN 202.
write :/ usr_tabl-type, 'PLUG-IN'." (Plug-in &).
endcase.
ENDIF. -
How to get the material list displayed in CU50 transaction into ABAP report
How to get the 'KMAT" type material list displayed in CU50 transaction into ABAP report?
I am getting the entire BOM when i am using the FM CS_BOM_EXPL_MAT_V2 in to the table in the report.
But I want only the material list displayed in CU50.Hi,
Could you please tell us how you found a solution to your problem?
Thanks & regards
Hassan
Maybe you are looking for
-
Script Logic to Calculate average or sum based on parent member involving
Hi ! freinds, I am trying to write script logic to calclate sum of previous 2 months for one group account having 100 childrens and write to DIFFERENT INPUT ACCOUNT . Please suggest the best practive to calculate the value. I tried with : *WHEN *IS
-
Still possible to download Acrobat X Pro?
3 years ago I purchased Acrobat X Pro for download. My computer crashed and I want to install it on a new computer now but I can't find any download link to Acrobat X Pro version. It is still possible to download Acrobat X Pro? Also: I have a serial
-
Access to EHS data from system outside of SAP
We are creating a Formulation tool in a SQL database with a Access front end which will need to use EHS Specification data and eventually push the Formulation data back into the SAP EHS Spec database. I would like this new database to have Real-Time
-
Anyone using Tascam DM-3200 with Logic
Anyone using the Tascam DM-3200 with Logic? Sure seems like an easy solution combination of converters and DAW control, plus onboard effects.
-
Hi, I use Photoshop Touch ver. 1.5.1 on an Android 4.1.2 device and Ps CS6. The problem is: the Pictures from Photoshop (psd-files) are not displayed on PS-Touch? I save the picture on two ways: in the cloud and on th sd-card. What is the Problem? Ca