How change the Date parameter based on server date
Hi,
We are using Query browser to connect to Bex Query.In BEx Query we have a date prompt which is mandatory.So by using Query prompt selector the dashboard has been created.But in our scenario the date has to be picked up from current system date/Server date and it has to change automatically when ever the dashboard has been opened.How to achieve this.
Regards,
Venkat
Using the query prompt selector, the date will be listed in the drop down box. Here you can see only the date available in the server. Use the "Insert selected items" option you can pass the current date using =today() function.
But the pain behind using the query prompt selector on date you have scroll a lot to search for a specific date, on this case i would suggest you to take the calender component to trigger the query. You have the same flexibility to pass the current date in this component.
Similar Messages
-
How change the graph dynamically based on pivot table.
Hi,
My Report having pivot table and bar chart. Organization Name column set as pivot table prompts in pivot table.So Organization Name is appear as dropdown list.If i choose the diffrent Organization Names the pivot table data is according to the Organization Name but no changes in chart.How change the Graph dynamically based on pivot table.
Please help on this.ok.I created pivot table with 4 columns and created chart using pivot table chart options but all 4 columns are displaying chart.But I need only 2 column in chart ..unable to edit the only chart in pivot table.Please help on this.Thank you..
-
How do i change the enable_row_shipping parameter in oracle11g?
Here is my Oracle version..
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning and Real Application Testing options
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for Linux: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production
SQL>
I do want to change the below parameter value from TRUE to FASE. How do i change this value? since this is hidden parameter.
enablerow_shipping
Regardsalter system set "_enable_row_shipping"=false;maybe with scope=spfile, test it.
why you would set it? -
Using Field-Symbols in a user exit to change the importing parameter
Please don't ask why but I need to use a user exit, changing the importing parameter. I decided that I could do this using field-symbols.
Please excuse my ignorance but I have never used field symbols for something such as this.
Here is my goal: Loop through an internal table (im_document-item). When I find what I need I want to make a change to this line (not so hard if I am looping into a field symbol) and also append a line to the end of the table im_document-item.
I have the following so far:
DATA: wa_item TYPE accit,
wa_item_out type ACCIT_SUB.
FIELD-SYMBOLS: <document> type acc_document,
<accit> TYPE ACCIT.
LOOP AT im_document-item ASSIGNING <accit> where saknr = '0000211000'.
* Modify the curent line
wa_item = <accit>
* Append a new line into table im_document-item.
ENDLOOP.
How can I use field-symbols to append a line to this table? Please note that the table in question (im_document-item) is an importing only parameter.
Regards,
Davisthat will allow me to append an initial line with <accit> pointing to the line. Therefore I just have to modify <accit> and the new line will then have my changes?
Yep, that is exactly it. So after the APPEND statement, simply fill the fields of the <accit>.
append initial line to im_document-item ASSIGNING <accit>.
<accit>-field1 = 'Blah'.
<accit>-field2 = 'Blah'.
Regards,
Rich Heilman -
How is the -gm parameter effecting query runtime in detail?
During test I found out, that the parameter -gm seems to have some dramatic impact onto runtime of queries. In Detail I found a something like factor 0.5 to 0.6 inside my tests for a smaller system:
-iqtc 12000
-iqmc 12000
-iqlm 1000
-gm 100
-m
-iqrlvmem 6000
When setting -gm 1001, runtimes for a single query goes up from about 10 to about 40s.
So how is the -gm parameter effecting IQ in detail?When IQ starts it allocates threads based on the -iqmt parameter. If you don't set it, then it is computed as something like:
-- 60 threads for each core up to 4
-- 50 threads for each core after 4
-- number of connections (-gm option)
-- add 6 more just for good measure
Let's assume that your IQ instance has 16 cores and you have -gm set to 100 . IQ would allocate 946 threads (60*4+50*12+100+6). We have to add 1 more thread to this, too. Before we can allocate threads, we have 1 thread that is running to start the server.
On my 16 core system, here are the threads allocated at startup for various values of -gm:
-gn 10: 857 threads
-gn 100: 947 threads (notice the +1 from the above algorithm?)
-gn 1000: 1847 total threads
There are two major deductions from the thread total: IO threads and SA/user threads.
Of the threads, 40% are supposed to be held in reserve to handle IO tasks (sweeper and prefetch threads are set to 10% each and apply to main and temp cache) via the Prefetch_Threads_Percent and Sweeper_Threads_Percent options. I am double checking this area just to make sure. There was some work done on this in the v16 timeline.
For user threads, I don't see you having set -gn. Assuming that -gn is not set, then IQ will reserve 5 + -gm threads (105). Not a problem. IQ will grab 5 more threads than are allocated via the above algorithm, but that's OK.
Things go a bit wrong on you when your -gn is set to the recommended value of 1.5 * -gm. What happens is that we are computing the number of threads needed based on -gm (100 or 1000). However, we are actually allocating threads based on -gm (105, 1005, 150, or 1500 depending on the default or best practices used).
Imagine that -gn is set to 1.5x -gm. Of the 1847 threads allocated, 1500 are held in reserve for user connections. Read that as threads for the catalog only. There would be just 347 threads left over. But don't forget the IO threads either. Now all of a sudden there are no threads left for any work in IQ. We are thread starved. When IQ gets into a thread starvation mode, we have little or no threads left over to do work in IQ. At that time, we use the one guaranteed thread that each user connection has to do all work. This holds true for worker thread starvation as well as IO thread starvation.
One of two things is happening in your case. You are either thread starved and forced to run everything single threaded or your system has so many threads that it must spend too much time maintaining threads that are not being used.
If you can run sp_iqsysmon in '-debug' mode you can look at the "Thread Manager" section to check out the thread usage and allocations.
Mark -
Please provide me how change the Materil using BAPI...?
Hi Guru's,
could please provide me how change the Materil using BAPI...
please provide the BPAI name and step by step process...
if ou provide any program logic that would be helpfull to me...
thanks in advance
Srinivas....Hi,
THis is code .
*& Report Zs_MATMAS_BAPI
*& This program demonstrates how easy it is to create Material master
*& data using BAPI_MATERIAL_SAVEDATA
*& The program also generates a report post-execution displaying errors
*& as well as successful uploads
REPORT Zs_MATMAS_BAPI.
TABLES
FLAGS *
DATA: F_STOP. " Flag used to stop processing
DATA DECLARATIONS *
DATA : V_EMPTY TYPE I, " No. of empty records
V_TOTAL TYPE I. " Total no. of records.
STRUCTURES & INTERNAL TABLES
*BAPI structures
DATA: BAPI_HEAD LIKE BAPIMATHEAD, " Header Segment with Control Information
BAPI_MAKT LIKE BAPI_MAKT, " Material Description
BAPI_MARA1 LIKE BAPI_MARA, " Client Data
BAPI_MARAX LIKE BAPI_MARAX, " Checkbox Structure for BAPI_MARA
BAPI_MARC1 LIKE BAPI_MARC, " Plant View
BAPI_MARCX LIKE BAPI_MARCX, " Checkbox Structure for BAPI_MARC
BAPI_MBEW1 LIKE BAPI_MBEW, " Accounting View
BAPI_MBEWX LIKE BAPI_MBEWX, " Checkbox Structure for BAPI_MBEW
BAPI_RETURN LIKE BAPIRET2. " Return Parameter
*--- Internal table to hold excel file data
DATA: IT_INTERN TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
*--- Internal table to hold Matetrial descriptions
DATA: BEGIN OF IT_MAKT OCCURS 100.
INCLUDE STRUCTURE BAPI_MAKT.
DATA: END OF IT_MAKT.
*--- Internal to hold the records in the text file
DATA : BEGIN OF IT_DATA OCCURS 100,
WERKS(4), " Plant
MTART(4), " Material type
MATNR(18), " Material number
MATKL(9) , " Material group
MBRSH(1), " Industry sector
MEINS(3), " Base unit of measure
GEWEI(3), " Weight Unit
SPART(2), " Division
EKGRP(3), " Purchasing group
VPRSV(1), " Price control indicator
STPRS(12), " Standard price
PEINH(3), " Price unit
SPRAS(2), " Language key
MAKTX(40), " Material description
END OF IT_DATA.
SELECTION SCREEN. *
SELECTION-SCREEN BEGIN OF BLOCK SCR1 WITH FRAME TITLE TEXT-111.
PARAMETER : P_FILE TYPE RLGRAP-FILENAME OBLIGATORY DEFAULT " Input File
'C:\Material_master.XLS'.
PARAMETER : P_MAX(4) OBLIGATORY DEFAULT '100'. " no.of recs in a session
PARAMETERS: P_HEADER TYPE I DEFAULT 0. " Header Lines
PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
SELECTION-SCREEN END OF BLOCK SCR1.
AT SELECTION-SCREEN *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
*--- Validating file
PERFORM VALIDATE_FILE USING P_FILE.
START-OF-SELECTION
START-OF-SELECTION.
*--- Perform to convert the Excel data into an internal table
PERFORM CONVERT_XLS_ITAB.
IF NOT IT_DATA[] IS INITIAL.
*--- Perform to delete Header lines
PERFORM DELETE_HEADER_EMPTY_RECS.
ENDIF.
END OF SELECTION. *
END-OF-SELECTION.
*--- Perform to upload Material Master data
PERFORM UPLOAD_MATMAS.
Form : validate_input_file
Description : To provide F4 help for file if read from PC
FORM VALIDATE_FILE USING F_FILE TYPE RLGRAP-FILENAME.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
CHANGING
FILE_NAME = F_FILE
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2.
IF SY-SUBRC 0.
MESSAGE S010(ZLKPL_MSGCLASS). " 'Error in getting filename'.
ENDIF.
ENDFORM. " validate_input_file
*& Form CONVER_XLS_ITAB
text
FORM CONVERT_XLS_ITAB.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = P_FILE
I_BEGIN_COL = P_BEGCOL
I_BEGIN_ROW = P_BEGROW
I_END_COL = P_ENDCOL
I_END_ROW = P_ENDROW
TABLES
INTERN = IT_INTERN.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*--- Perform to move the data into an internal data
PERFORM MOVE_DATA.
ENDFORM. " CONVERT_XLS_ITAB
*& Form MOVE_DATA
text
FORM MOVE_DATA.
DATA : LV_INDEX TYPE I.
FIELD-SYMBOLS <FS>.
*--- Sorting the internal table
SORT IT_INTERN BY ROW COL.
CLEAR IT_INTERN.
LOOP AT IT_INTERN.
MOVE IT_INTERN-COL TO LV_INDEX.
*--- Assigning the each record to an internal table row
ASSIGN COMPONENT LV_INDEX OF STRUCTURE IT_DATA TO <FS>.
*--- Asigning the field value to a field symbol
MOVE IT_INTERN-VALUE TO <FS>.
AT END OF ROW.
APPEND IT_DATA.
CLEAR IT_DATA.
ENDAT.
ENDLOOP.
ENDFORM. " MOVE_DATA
*& Form DELETE_HEADER_EMPTY_RECS
To delete the Header and empty records
FORM DELETE_HEADER_EMPTY_RECS.
DATA: LV_TABIX LIKE SY-TABIX.
IF NOT P_HEADER IS INITIAL.
LOOP AT IT_DATA.
IF P_HEADER > 0 AND NOT IT_DATA IS INITIAL.
DELETE IT_DATA FROM 1 TO P_HEADER.
P_HEADER = 0.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
CLEAR IT_DATA.
*--- To delete the empty lines from internal table
LOOP AT IT_DATA.
LV_TABIX = SY-TABIX.
IF IT_DATA IS INITIAL.
V_EMPTY = V_EMPTY + 1.
DELETE IT_DATA INDEX LV_TABIX..
ENDIF.
ENDLOOP.
CLEAR IT_DATA.
*--- Total no of recs in file
DESCRIBE TABLE IT_DATA LINES V_TOTAL.
IF V_TOTAL = 0.
MESSAGE I013(ZLKPL_MSGCLASS). " No records in the file
F_STOP = 'X'.
STOP.
ENDIF.
ENDFORM. " DELETE_HEADER_EMPTY_RECS
*& Form UPLOAD_MATMAS
to upload Material Master data
FORM UPLOAD_MATMAS .
LOOP AT IT_DATA.
Header
UNPACK IT_DATA-MATNR TO IT_DATA-MATNR.
BAPI_HEAD-MATERIAL = IT_DATA-MATNR.
BAPI_HEAD-IND_SECTOR = IT_DATA-MBRSH.
BAPI_HEAD-MATL_TYPE = IT_DATA-MTART.
BAPI_HEAD-BASIC_VIEW = 'X'.
BAPI_HEAD-PURCHASE_VIEW = 'X'.
BAPI_HEAD-ACCOUNT_VIEW = 'X'.
Material Description
REFRESH IT_MAKT.
IT_MAKT-LANGU = IT_DATA-SPRAS.
IT_MAKT-MATL_DESC = IT_DATA-MAKTX.
APPEND IT_MAKT.
Client Data - Basic
BAPI_MARA1-MATL_GROUP = IT_DATA-MATKL.
BAPI_MARA1-BASE_UOM = IT_DATA-MEINS.
BAPI_MARA1-UNIT_OF_WT = IT_DATA-GEWEI.
BAPI_MARA1-DIVISION = IT_DATA-SPART.
BAPI_MARAX-MATL_GROUP = 'X'.
BAPI_MARAX-BASE_UOM = 'X'.
BAPI_MARAX-UNIT_OF_WT = 'X'.
BAPI_MARAX-DIVISION = 'X'.
Plant - Purchasing
BAPI_MARC1-PLANT = IT_DATA-WERKS.
BAPI_MARC1-PUR_GROUP = IT_DATA-EKGRP.
BAPI_MARCX-PLANT = IT_DATA-WERKS.
BAPI_MARCX-PUR_GROUP = 'X'.
Accounting
BAPI_MBEW1-VAL_AREA = IT_DATA-WERKS.
BAPI_MBEW1-PRICE_CTRL = IT_DATA-VPRSV.
BAPI_MBEW1-STD_PRICE = IT_DATA-STPRS.
BAPI_MBEW1-PRICE_UNIT = IT_DATA-PEINH.
BAPI_MBEWX-VAL_AREA = IT_DATA-WERKS.
BAPI_MBEWX-PRICE_CTRL = 'X'.
BAPI_MBEWX-STD_PRICE = 'X'.
BAPI_MBEWX-PRICE_UNIT = 'X'.
*--- BAPI to create material
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
HEADDATA = BAPI_HEAD
CLIENTDATA = BAPI_MARA1
CLIENTDATAX = BAPI_MARAX
PLANTDATA = BAPI_MARC1
PLANTDATAX = BAPI_MARCX
FORECASTPARAMETERS =
FORECASTPARAMETERSX =
PLANNINGDATA =
PLANNINGDATAX =
STORAGELOCATIONDATA =
STORAGELOCATIONDATAX =
VALUATIONDATA = BAPI_MBEW1
VALUATIONDATAX = BAPI_MBEWX
WAREHOUSENUMBERDATA =
WAREHOUSENUMBERDATAX =
SALESDATA = BAPI_MVKE1
SALESDATAX = BAPI_MVKEX
STORAGETYPEDATA =
STORAGETYPEDATAX =
IMPORTING
RETURN = BAPI_RETURN
TABLES
MATERIALDESCRIPTION = IT_MAKT
UNITSOFMEASURE =
UNITSOFMEASUREX =
INTERNATIONALARTNOS =
MATERIALLONGTEXT =
TAXCLASSIFICATIONS =
RETURNMESSAGES =
PRTDATA =
PRTDATAX =
EXTENSIONIN =
EXTENSIONINX =
IF BAPI_RETURN-TYPE = 'E'.
WRITE:/ 'Error:' ,BAPI_RETURN-MESSAGE ,'for material:' ,IT_DATA-MATNR.
ELSEIF BAPI_RETURN-TYPE = 'S'.
WRITE: 'Successfully created material' ,IT_DATA-MATNR.
ENDIF.
ENDLOOP.
ENDFORM. " UPLOAD_MATMAS
Thanks
Sarada -
Change the input parameter in Check Status screen
Hi,
I have a requirment to change the input parameter option in the check status screen. Currently when we search the SC using the date and staus from the extended search it picks the SC created date and displays the SC, my requirement is to make the date as the approved date insted of SC created date with the status as aprpoved.
Please suggest if this is possible with the help of any Badi.
Regards
GGLI managed to find the solution myself. If anyone is interested, just follow those steps here:
http://apple.stackexchange.com/questions/44913/make-a-custom-keyboard-layout-the -system-default-even-for-the-login-screen
(terminal skills required tho) -
How change the report graph color in teststand
how change the report graph color in teststand?
Michael,
You might also be able to customize the style sheet associated with the report. The TestStand Help provides some information about how to customize ATML or XML style sheets to change report colors based on the status of test steps.
Please take a look at the following topics; are these helpful?
ATML Report Style Sheets
Modifying Cell Background Color Based on Step Status in ATML Test Results 5.0 Reports
XML Report Style Sheets
Modifying Cell Background Color Based on Step Status in XML Reports
Tom
TestStand Documentation -
Change the credential in embedded LDAP server
when i try to change the password credential of embedded server, server was not taking the change.
Any idea what could be the reason...
Thanks in advance,
SriniYou can use JNDI to modify the data in the embedded LDAP server. http://e-docs.bea.com/wls/docs81/secmanage/ldap.html#1100263 will get you started...
Mike
Weblogic/J2EE Security Blog: http://monduke.com -
Changing the Application Parameter in the mass copied iviews
Hi,
I have copied the standard package iviews,pages,roles to a custom folder.Now I want to change the "Application Parameter" of the all copied iviews.Is it possible to do the mass change of a single parameter in all the copied iviews?
If possible,please suggest how to achieve the same.
Thanks,
RajaniHi,
Yes, you can use the Multiple Property Replacement feature : [Multiple Property Replacement|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/0f/764b87dfb948fcb13fd7695e157892/frameset.htm].
Regards,
Pierre -
HT204266 how change the app store associated with my apple id on my ipad?
I move from canada to australia how change the app store associated with my apple id on my ipad?
I have try to set evry thing with my new australian data but it told me the it`s not possible...
What I can do?
Thanks and Regardsyou could go to settings, then itunes and app stores. you should see an option caleed apple id with your apple id to the side of it. click on it and select the option view apple id. you will have to type in your password. then you will see the details of your acoount. next, select the option called country/region. you will be able to select australia from the list of stores. you willl then change your billling adress (you should be directed). Fill in your adress in australia with your zip code and you will be done.
-
Change the ITS connection to Message Server
Hi Gurus,
Our project is using EP7 to access ECC 6 via ITS web access. EP7 -> ITS -> ECC 6
Currently, we has configured Group access via Message Server on ECC 6. We notice that, the ITS is still connected to Single Application Server on ECC 6. Do anyone know how to change the ITS connection to Message Server instead of Dedicated Application Server?
Please help.
Thanks,
HauCheeHello,
Let's say your ITS port is 8000
The way to distribute load of integrated ITS requests to the different Dialog instances is to call port 8001 of the message server... That's it...
So basically the rule is:
Always call the message server hostname + defined ITS port number + 1
So in your EP7 system object you define your ITS as:
http://ECCITSMessageServer.domain.com:8001/...
Same rule apply in the WebAS section of that EP system object.
Then, the message server will redirect the request to one of the available dialog instances of integrated ITS on port 8000.
You will be able to see the redirection happenning by using an HTTP sniffer program like HTTPWatch ($$).
Regards,
Marc. -
How change the name of iPod?
How change the name of iPod?
When you plug the iPod into iTunes you should see it along the sidebar (the list Library, Store, Shared, Genius and Playlists). Just click on the iPod in that list and it should allow you to edit it
-
How imstall the BI7 on windows 2003 server
Hi
How imstall the BI7 on windows 2003 server please advise .
thanks in advence
with best regards
jainendra prajapatiHi,
Just install Netweaver 7.0 system following installation guide on https://service.sap.com/instguides and then after installation finished install BI_CONT add-on.
Then your BI 7.0 system will be ready.
Thanks
Sunny -
Adobe Illustrator in out Terminal Server environment. How is the licensing work for Terminal Server installations?
You can find all forums here:
https://forums.adobe.com/welcome
Maybe you are looking for
-
Where is the best place to get iMac memory upgrades? The cheapest place? I'm looking for high quality product as well (4GB upgrade) Thanks!
-
Converting String to UnitValues?
Hello, how would i convert a string object to a UnitValue object? Say i have a an editbox.text where the user entered the string "2 in". How do i make it a unitvalue so i can convert it to another unit? regards, Stephan
-
Weblogic.system.home
I need help getting WL6.0 to do what Ihave been doing in 5.1. I have a piece of servlet code that uses:T3ServicesDef services = T3Services.getT3Services();services.config().getProperty("weblogic.system.home")to get the weblogics root directory. This
-
Hi experts, What do Inflow and Outflow in Snap shot scenario (Inventory) represents. Can we consider Inflow as issues and Outflow as Receipts ? Regards, Bhadri M.
-
Graphical Documentation Editor
I need to update some documentation for an ABAP program. In SE38, when I select "Change Documentation" it launches the old line editor, which I find almost unusable. How can I edit the documentation using the RTF editor? That was the default on my