How to know the timings of the run time of thr report
Hi,
Can you please tell me how to know the run time of the query , i mean how much time it took for the query to dispaly the results .
Also we have these queries in the workbook. How to refresh the work book . is it enough if i refresh the query.
Thanks
Sruthi
Hi
How can we check in RSRT tcode?
And how can we do i RSRTRACE?
Can I know the procedure.
Similar Messages
-
How to Hide the Parameter field at run time....
Hi,
I have a parameter field which behaves differently depending on the User logged in.
It has the LOV coming from following SQL.
SELECT customer_name FROM Cust_mast;
If the user = 'INTERNAL' then the Where clause will be
WHERE cust_id in('DELL', 'SBC', 'BANK')
Else there will be no WHERE clause or the parameter field
should be hidden in the parameter form.
So my questions are:
1) How to hide the Parameter field during Run time?
OR OR OR
2) How to change the LOV select statement during Run time?
Thanks.
Ram.Hi Ram,
Is there any way to play with the sql query SELECT using DECODE ?I'm not sure of this part, maybe someone else can suggest a way.
However, what you want can be done in 2 other ways:
1. Build 2 reports. Both reports will just be duplicates of each other, only difference being that the 'LoV where clause' will be different. Now you can fire the appropriate report in many ways. For example, if the customer is alreay logged inside your custom application, and therefore you already know whether the user is internal of external, you can design your button or link which launches the report to contain logic such that one of the 2 reports is fired depending on who the user is.
1. Use a JSP parameter form, not a paper parameter form In this case, just build an HTML parameter form in the web source of your report. Use Java logic to populate the LoV drop-down list. When you have to launch the final report, just launch the paper-layout of the report. For example (you will have to modify this):
<form action="http://machine:port/reports/rwservlet?report=ParamForm.jsp+..." name="First" method="post">
<select name="selected_customer" onChange="First.submit()" >
<option value="">Choose a Customer Name
<rw:foreach id="G_cust_id" src="G_cust_id">
<rw:getValue id="myCustId" src="CUSTOMER_ID"/>
<rw:getValue id="myCustName" src="CUSTOMER_NAME"/>
<option value="<%=myCustId%>"><%=myCustName%>
</rw:foreach>
</select>
</form>
In the code above, you will have to make sure that your report's data model defines 2 CUSTOMER_ID's (like CUSTOMER_ID_INT and CUSTOMER_ID_EXT). These 2 will be internal and external Cust ID's. Use Java logic to show one of them.
Navneet. -
How to change the view criteria at run time for af:query
Hi,
I've a usecase where I need to change the view criteria of the af:query at run time.
Use case:
=======
1) Consider a check box (Show Emps Under Dept 10) in the query panel when user selects and clicks 'Search' button should show the employees under dept 10. If user searches without selecting the check box, the results should show all the employees in all the departments.
2) I need to have a check box always in the query panel. Its mandatory.
The way I implemented:
==============
1) Created a transient variable 'Show Emps Under Dept 10' in the EmployeeVO and also created a bind variable bind_DeptNo.
2) Create a view criteria 'AllEmployees' which has only the transient attribute as the view criteria item and whose value set to 'false' by default.
3) Created another view criteria 'EmpUnderDept' which has 'DepartmentId' as the view criteria item and whose value set to the bind variable 'bind_DeptNo'.
4) Dropped the view criteria 'EmpUnderDept' as the 'af:query' panel in the jspx page.
5) Overridden the queryListener as '#{EmpBean.empSearch}'
6) Has the below code in the empSearch method as below. When user selects the check box, applying the other criteria 'EmpUnderDept' and setting the bind variable to '10'.
public void empSearch(QueryEvent queryEvent) {
// Add event code here...
QueryDescriptor queryDesc = (QueryDescriptor) queryEvent.getDescriptor();
ConjunctionCriterion conCrit = queryDesc.getConjunctionCriterion();
List<Criterion> criterionList = conCrit.getCriterionList();
List criterionValues = new ArrayList();
Object criteriaValue = null;
int criteriaNo = 0;
DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
FacesContext facesContext = FacesContext.getCurrentInstance();
for (Criterion criterion : criterionList) {
AttributeDescriptor attrDescriptor = ((AttributeCriterion)criterion).getAttribute();
System.out.println("============== attrDescriptor.getName() =================== " + attrDescriptor.getName());
criteriaValue = ((AttributeCriterion)criterion).getValues().get(0);
if(criteriaNo==0) {
Boolean val = (Boolean) ((AttributeCriterion)criterion).getValues().get(0);
if (val.equals(true)) {
OperationBinding method = (OperationBinding) ADFUtil.findOperation("ExecuteWithParams");
if(method!=null) {
Map params = method.getParamsMap();
//params.put(key, value)
method.getParamsMap().put("bind_DeptId", 10L);
method.execute();
ADFUtil.invokeMethodExpression( "#{bindings.EmpUnderDeptCriteiaQuery.processQuery}", queryEvent);
} else {
//ADFUtil.invokeEL("#{bindings.ExecuteWithParams.execute}");
ADFUtil.invokeMethodExpression( "#{bindings.AllEmployeesCriteriaQuery.processQuery}", queryEvent);
But this approach is not working and its always showing all the employees in all the departments.
Please let me know if there is a way to change the view criteria at run time depending on the values set at run time for one of the view criteria items.
JDev version am using is '11.1.1.5'
Thanks,
LakshmanHi Shay,
It worked for me without overriding the executeQuery() method in the ViewImpl.java.
Instead of creating 2 view criteria, I created only one which has both transient variable and the DepartmentId = <bind_DeptId>. With the above code, it worked properly. Now I am using only one view criteria.
Thank you. -
How to call the Application configuration in run time.
hi guru,
i have created two Application configuraton and it working fine.
my question how to call the application configuration in run time.
Example :
Based on the user i want to change the Application Configuration.like Super user and Normal user.
Advance thank's
Regard's
Vivekanathan.SHi,
Please try out this way-
Have a look at this table -
WDY_CONF_APPLU - (Customizing Data for Web Dynpro Applications).
after you are done with the configuration--
Ge the config id for the given application from this table. And depending on the user get an entry from this table and display accordingly.
Please refer to these links -
different default layouts for different CONFIG_IDs
Get WDCONFIGURATIONID
Regards
Lekha -
How I know my answer to the security question, How I know my answer to the security question
How I know my answer to the security question, How I know my answer to the security question
Click here for information. If you can't reset them through the method described in that article or by sending yourself a rescue email(the email may take a few hours to arrive), contact the iTunes Store staff via the link in the 'Additional Information' section.
It isn't possible to create a rescue email address without correctly answering two of the questions. Nobody on these boards can reset them for you.
(94895) -
How to know which table in the database a form is accessing
Actually Im new to oracle applications,
Im getting an error when i open a form from system administrator responsibility saying that table doesnot exist.
My basic doubt is, how to know which table in the database a form is accessing.
Any response is higly appreciated.
Thanks,
Praveen
Edited by: user10239520 on Sep 10, 2008 7:07 AMTake a look at the following thread:
Is there a query log in EBS?
Re: Is there a query log in EBS? -
How to hide the Parameter field during Run time?
Hi,
How to hide the Parameter field during Run time?
I have a parameter field which behaves differently depending on the User logged in.
I am using reports 10G
For ex: I have 3 field created in JSP
CUSTOMER
PROVIDER
FROM DATE
END DATE
If the user = 'SUPER show all the parameter
CUSTOMER
PROVIDER
FROM DATE
END DATE
If the user is 'GATEKEEPER" Just show
PROVIDER
FROM DATE
END DATE
Can I do that?
Please help
Thanks.
KKhi, i'm not familiar much with JSP. but i think workaround is to create two window one which have 4 fields and the other which have 3. if user is SUPER then call the first screen otherwise if user is GATEKEEPER then call the second screen.
-
How to know about Description from the TransType...?
Hi All,
I have used SBO 2005 A PL 43 SP1 and have some queries below:
SELECT TOP 100 PERCENT T0.DocDate, T0.TransType, CAST(T0.BASE_REF as char) AS BASE_REF, T0.Warehouse, T0.CardCode, T0.CardName, T0.xInQty, T0.xOutQty, T0.Price, T0.Currency , T1.ItemName, T1.SuppCatNum, CAST(T0.InvntAct as char) AS InvntAct, T2.AcctName, T0.StatusDescr
FROM vwOINM_DEL0_02 T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode LEFT OUTER JOIN OACT T2 ON T0.InvntAct = T2.AcctCode
WHERE (T0.ItemCode = 'RO00 0465') AND (CAST(T0.TransType AS char(3)) + CAST(T0.CardCode AS char) IN ('13 ZZ0 Cash&Carry') OR (T0.TransType <> 13))
AND (T0.xDocDate BETWEEN CONVERT(DATETIME, '2008-01-01 00:00:00', 102) AND CONVERT(DATETIME, '2008-11-25 00:00:00',102)) ORDER BY T0.DocDate, T0.TransNum
TransType -
> is a field name on table "OINM"
How to know about Description from the TransType and where can we relate to the table?
example :
TransType Description
====================
15 Delivery
13 AR Invoice
59 Goods Receipt
60 Goods Issue
Please anybody can help me...?
Regards,
AgungYou can use function on sql side which to proper transid returns desciption.
The function is as
create FUNCTION [dbo].[trans](@trans integer)
RETURNS varchar(100)
AS
BEGIN
DECLARE @ret varchar(100)
select @ret =
case @trans
when 1 then 'oChartOfAccounts'
when 2 then 'oBusinessPartners'
when 3 then 'oBanks'
when 4 then 'oItems'
when 5 then 'oVatGroups'
when 6 then 'oPriceLists'
when 7 then 'oSpecialPrices'
when 8 then 'oItemProperties'
when 12 then 'oUsers'
when 13 then 'oInvoices'
when 14 then 'oCreditNotes'
when 15 then 'oDeliveryNotes'
when 16 then 'oReturns'
when 17 then 'oOrders'
when 18 then 'oPurchaseInvoices'
when 19 then 'oPurchaseCreditNotes'
when 20 then 'oPurchaseDeliveryNotes'
when 21 then 'oPurchaseReturns'
when 22 then 'oPurchaseOrders'
when 23 then 'oQuotations'
when 24 then 'oIncomingPayments'
when 28 then 'oJournalVouchers'
when 30 then 'oJournalEntries'
when 31 then 'oStockTakings'
when 33 then 'oContacts'
when 36 then 'oCreditCards'
when 37 then 'oCurrencyCodes'
when 40 then 'oPaymentTermsTypes'
when 42 then 'oBankPages'
when 43 then 'oManufacturers'
when 46 then 'oVendorPayments'
when 48 then 'oLandedCostsCodes'
when 49 then 'oShippingTypes'
when 50 then 'oLengthMeasures'
when 51 then 'oWeightMeasures'
when 52 then 'oItemGroups'
when 53 then 'oSalesPersons'
when 56 then 'oCustomsGroups'
when 57 then 'oChecksforPayment'
when 59 then 'oInventoryGenEntry'
when 60 then 'oInventoryGenExit'
when 64 then 'oWarehouses'
when 65 then 'oCommissionGroups'
when 66 then 'oProductTrees'
when 67 then 'oStockTransfer'
when 68 then 'oWorkOrders'
when 70 then 'oCreditPaymentMethods'
when 71 then 'oCreditCardPayments'
when 73 then 'oAlternateCatNum'
when 77 then 'oBudget'
when 78 then 'oBudgetDistribution'
when 81 then 'oMessages'
when 91 then 'oBudgetScenarios'
when 97 then 'oSalesOpportunities'
when 93 then 'oUserDefaultGroups'
when 101 then 'oSalesStages'
when 103 then 'oActivityTypes'
when 104 then 'oActivityLocations'
when 112 then 'oDrafts'
when 116 then 'oDeductionTaxHierarchies'
when 117 then 'oDeductionTaxGroups'
when 125 then 'oAdditionalExpenses'
when 126 then 'oSalesTaxAuthorities'
when 127 then 'oSalesTaxAuthoritiesTypes'
when 128 then 'oSalesTaxCodes'
when 134 then 'oQueryCategories'
when 138 then 'oFactoringIndicators'
when 140 then 'oPaymentsDrafts'
when 142 then 'oAccountSegmentations'
when 143 then 'oAccountSegmentationCategories'
when 144 then 'oWarehouseLocations'
when 145 then 'oForms1099'
when 146 then 'oInventoryCycles'
when 147 then 'oWizardPaymentMethods'
when 150 then 'oBPPriorities'
when 151 then 'oDunningLetters'
when 152 then 'oUserFields'
when 153 then 'oUserTables'
when 156 then 'oPickLists'
when 158 then 'oPaymentRunExport'
when 160 then 'oUserQueries'
when 162 then 'oMaterialRevaluation'
when 163 then 'oCorrectionPurchaseInvoice'
when 164 then 'oCorrectionPurchaseInvoiceReversal'
when 165 then 'oCorrectionInvoice'
when 166 then 'oCorrectionInvoiceReversal'
when 170 then 'oContractTemplates'
when 171 then 'oEmployeesInfo'
when 176 then 'oCustomerEquipmentCards'
when 178 then 'oWithholdingTaxCodes'
when 182 then 'oBillOfExchangeTransactions'
when 189 then 'oKnowledgeBaseSolutions'
when 190 then 'oServiceContracts'
when 191 then 'oServiceCalls'
when 193 then 'oUserKeys'
when 194 then 'oQueue'
when 198 then 'oSalesForecast'
when 200 then 'oTerritories'
when 201 then 'oIndustries'
when 202 then 'oProductionOrders'
when 205 then 'oPackagesTypes'
when 206 then 'oUserObjectsMD'
when 211 then 'oTeams'
when 212 then 'oRelationships'
when 214 then 'oUserPermissionTree'
when 217 then 'oActivityStatus'
when 218 then 'oChooseFromList'
when 219 then 'oFormattedSearches'
when 221 then 'oAttachments2'
when 223 then 'oUserLanguages'
when 224 then 'oMultiLanguageTranslations'
when 229 then 'oDynamicSystemStrings'
when 231 then 'oHouseBankAccounts'
when 247 then 'oBusinessPlaces'
when 250 then 'oLocalEra'
when 280 then 'oSalesTaxInvoice'
when 281 then 'oPurchaseTaxInvoice'
when 300 then 'BoRecordset'
when 305 then 'BoBridge'
when 260 then 'oNotaFiscalUsage'
when 258 then 'oNotaFiscalCFOP'
when 259 then 'oNotaFiscalCST'
when 261 then 'oClosingDateProcedure'
when 10 then 'oBusinessPartnerGroups'
when 278 then 'oBPFiscalRegistryID'
else '?' end
return @ret
end
and call it as
SELECT TOP 100 PERCENT T0.DocDate, dbo.trans(T0.TransType), CAST(T0 .... -
How to check data type of the field symbol at run time
Hi,
My code is as following:
LOOP AT <fs> ASSIGNING <wa_covp_ext>.
ASSIGN COMPONENT 86 OF STRUCTURE <wa_covp_ext> TO <f_zzname>.
IF sy-subrc = 0.
ASSIGN COMPONENT 158 OF STRUCTURE <wa_covp_ext> TO <f_pernr>.
IF sy-subrc = 0.
SELECT SINGLE sname INTO <f_zzname> FROM pa0001
WHERE pernr = <f_pernr>
AND endda GE sy-datum
AND begda LE sy-datum.
ENDIF.
ENDIF.
ENDLOOP.
This query is giving dump when <f_zzname> is type P length 8 and decimals 2, because it tries to put PA0001-sname into it which is type C length 30. So I want to check the type of <f_zzname> before the select statement. If it is character 30, then I will write the select statement else not.
How to check data type of the field symbol at run time? If it's not possible, then can somebody suggest a workaround? Thanks.check this ...
write describe statement ...
field-symbols : <f_zzname> .
data : sname like pa0001-sname,
typ(10).
assign sname to <f_zzname>.
describe field <f_zzname> type typ.
write : typ. <-- typ contains character type in this case ..
U can check if typ is of character(C) if so .. write the select statement ... -
Hi,
Not able to open PDF or do any changes even if the PDF opens. Run Time Error is shown every time when trying to open PDF. Please helpHi Shilpa ,
Please refer to the following link and see if that helps you out.
https://helpx.adobe.com/acrobat/kb/runtime-error-roaming-profile-workflows.html
Are you trying to access the PDF with Acrobat or Adobe Reader?
Regards
Sukrit Dhingra -
How to know what applications are currently running !!
how to know what applications are currently running !!
if it is in linux use "ps(Process Status)" command to know what is running currently.... for more see this link
http://www.computerhope.com/unix/ups.htm -
How can i set print mode at run time in smartforms???
Hi expert,
In smartforms how can I set print mode at run time.
I have one screen.In this screen one check box is there.If user select that check box then print should be come double side otherwise it is coming single side.
If it is possible then plz give me answer asap.Hi,
Set These settings
While calling smartform, paas control_parameters and output_options as mentioned below and set
user_settings = ' '.
It will send the smartform output to spool.
DATA: wa_output_options TYPE ssfcompop,
wa_ctrl TYPE ssfctrlop.
wa_output_options-tdimmed = 'X'.
wa_output_options-tddelete = 'X'.
wa_output_options-tdimmed = ' '.
wa_output_options-tddest = 'LOCL'.
wa_ctrl-no_dialog = 'X'.
CALL FUNCTION lv_fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = wa_ctrl
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = wa_output_options
user_settings = ' '
x_adrp = x_adrp
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards,
Kumar(Reward if helpful). -
How come i know the ip of the mail server at run time
i'm developing a mail distribution server that can be used to send and receive the mails. now i would like to know that how come i know the ip of the host to which i want to send the e-mail. e.g. if the request comes in from the user and contains the address [email protected] or [email protected] then how come i know the ip address of mail server of yahoo or hotmail
pls help
its urgentdear manish,
i seriously believe that you do not need to know the ip address of the host server of the destination address on the mail.u just need to route your mails through the SMTP server for your organisation where ur going to use this server.
regards,
suraj berwal. -
How to chang the number of plots in the plot legend during run time?
Hi, I am using waveform graph. At run time only i will come to know, how many plots should be plotted in the waveform graph. Based on the number of plots i have to change the plot legend. Is there any method to do the same?
Maybe something like this?
The inputs on the left are (from the top)
your array of data you want to plot (or anything that contains the number of inputs you have)
next one is an array of colorschemes (maybe you dont need this)
and the third is an array of booleans that are true if that "channel" should be plotted and false otherwise
/Anders
Message Edited by Tohatsu on 01-08-2008 08:56 AM
Attachments:
graph.JPG 10 KB -
How to load the object library at run time from within the script.
What i am trying to do from my library is that I wanted to load the object library file (.properties) file at run time through the script. I know that open script has a deprecated method "ft.loadObjectLibrary". Is there any other method other than the deprecated one?. Also is there a way that I can unload the library?
Thanks,
SriObject.border.fill.color.value = "255,255,255";
if you want to use rawValue of textfields to insert in there you will have to do
Object.border.fill.color.value = R.rawValue + "," + G.rawValue + "," + B.rawValue
Maybe you are looking for
-
How can i create a new usb connection (service) on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it ) i know its not a problem whit my carrier o data plan or sharing preferences on the ipone because when i use it un my laptop
-
I've done a clean install of Windows 7 to my laptop and so have of course lost my previous Firefox installation. I do have a sync account and have sync'd my bookmarks to my Android phone. I can't find an option in Firefox to sync bookmarks back to th
-
How do I read a pulsed input on an SCB-68 counter channel?
Hello all, I have been searching through the DAQ help and this board for a few hours now and I cannot find an answer that addresses what should be a simple problem. Let's start with hardware and software: I have a 6062E PCMCIA DAQmx card connected to
-
Back to My Mac in Mountain Lion
Hi, I have a Mid 2011 iMac running 10.8 (Mountain Lion) that is connected to the internet via AirportExpress and I would like to access this machine remotely via Back to My Mac. Unfortunately I cannot connect to the machine even though I can see it i
-
Workflow with images,file names and full captions.
I am working on my mother's memoirs, which will include a block of photo pages. Those pages will be laid out by a friend. I would like to use a contct sheet of some kind as a reference to what is to be included with what caption but am discovering