Command sequencing for a javascript command

Hi SDN community,
I am trying to execute a link in a web page that requires a command sequence.
The second command CMD_2 is a javascript function.
                  href="<SAP_BW_URL ITEM='GR_' MULTI='X' HIDDEN='X' CMD_1='ITEM=GR_01&MULTI=X&HIDDEN=' CMD_2='javascript:change_report1();' ">
however, the function change_report1 does not seem to execute.
Is this possible, or do you have any working examples.
Thank you.
Simon

Hi Simon,
Are this script is defined within an anchor tag like:
<a <YOUR_SCRIPT_CODE_HERE> />
Or else within which tag did you declare the script...

Similar Messages

  • ANSI escape sequence for "Command" key?

    I know there are escape sequences for ctrl (^), alt (~), shift ($), etc that can be used from the command-line, but I'm wondering if there's an equivalent way to invoke the command key (or the apple key or whatever you wish to call it) from a terminal?
    I'd appreciate any advice, thanks!

    Hi Evan,
       This is more than a failure of terminology. The use of certain key sequences cause the terminal to produce certain characters that are just like letters except that many processes take special action when these characters are encountered. These characters are called "control characters."
       For instance, type <Control>-v to "tell the shell" to not take special action on the next character produced. Then, if you type <Control>-c, the terminal will produce an End-of-Text character, ANSII character 3, and the shell will accept it as a literal character. However, it has no symbol for that character so it displays a pair of characters, "^C", in its place. Internally though, there is no carat and no 'C'; there is only the number three, which is the ANSII code for the End-of-Text character.
       The bash shell will substitute control characters for certain escape sequences in expanding words of the form $'string'. For instance, consider the following command:
    echo $'\003' | cat -v
    ^C
    Above, the first line is a command that you can cut-and-paste into your terminal. The second line is the output you would see if you execute the command. Bash replaces the $'\003' word with the literal control character and then "cat" converts that character to the pair of characters, "^C", to show you what had been there.
       Of course there are still terminology problems; you are not using the word "emulate" correctly. However, if there was such a meaning, I think that one would say that the character sequences "emulate" the control character, not the other way around.
       On the other hand, when you modify a key with the "Command" key, Macintosh programs treat that as an attempt to invoke a function of that program. No character is produced. In fact technically, the program never even sees the keystrokes. The system intercepts the key event and converts it to an AppleEvent.
       One tool on Macs specializes in producing AppleEvents and that is AppleScript. Fortunately, Apple wrote a utility to grant the shell access to AppleScript and that is the "osascript" command. That allows you to sort of imbed AppleScript in a shell script and that would allow you to send any program any event that the system would generate in response to a command key sequence.
    Gary
    ~~~~
       "Home life as we understand it is no more natural to us
       than a cage is to a cockatoo."
          -- George Bernard Shaw

  • Help with enabling TPM in Task Sequence for Dell Laptops

    Hi there,
    I would appreciate some advice on creating a task sequence for Win8.1 with TPM enabling for Dell laptops; I have BitLocker set up manually with a Group policy, but want to have TPM enabled in the task sequence. I have read older posts on sites such as windows
    noob, but can't see how to reference the CCTK and get TPM going for win8.1 in a SCCM2012 environment. 
    Obviously I haven't created this before so any help would be appreciated; I have noticed when I try to import my CCTK configurations into SCCM as it isn't a zip file I cannot do it.

    Luckily Dell wrote a whitepaper about that subject, see:
    http://en.community.dell.com/techcenter/extras/m/white_papers/20209083
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • How to create a sequence for an particular item in my apex form

    Hi friends,
    I created an database application, of a form with a report, and it is working fine...
    But in my form, i have a requirement....The below are the existing fields in my form
    issue no
    created by
    start date
    status
    priority
    due date
    Among these fields in my form i need to create a 'Sequence' for my field "issue no",
    So that whenever i opened the form the 'issue number' must generate automatically like 1 for the first time, 2 for the second time and so on..
    For that i created a sequence
    CREATE SEQUENCE "ORDERS_SEQ"
    MINVALUE 1
    MAXVALUE 999999999999999999999999999
    INCREMENT BY 1
    START WITH 1000
    NOCACHE
    NOCYCLE;
    But for validation where i need to write the sequence query for the particular item 'issue no'....i dont have any idea of where to write the validation query for the sequence..
    please tell where i need to write in step wise manner..please help me friends...
    As the below is my validated sequence query for item 'issue no'
    'select seq.issue_id.nextval into issue_no'
    This is my above validation query whether the query that i mentioned is right..if not let me know the validation query..
    And also i need where to apply this validation query in steps..
    Thanks in advance
    Regards,
    Harry...

    Harry,
    Rik is on the right track. Here is a sample insert trigger: Would need to substitute you sequence ORDERS_SEQ with my sequence las_log_seq, how you define or use timestamps is up to you.
    DROP TRIGGER LASDEV.BINS1_LAS_LOG_TBL;
    CREATE OR REPLACE TRIGGER LASDEV."BINS1_LAS_LOG_TBL"
       BEFORE INSERT
       ON las_log_tbl
       FOR EACH ROW
    BEGIN
       -- Description: Insert log_seq, creation_dt, creation_id,
       --              lst_updt_dt and lst_updt_id.
       -- Maintenance:
       -- Date        Actor          Action
       -- ====        =====          ======
       -- 07-Sep-2010 J. Wells       Create.
       :new.creation_id := nvl( v( 'app_user' ), user );
       :new.creation_dt := SYSDATE;
       :new.lst_updt_dt := :new.creation_dt;
       :new.lst_updt_id := :new.creation_id;
        SELECT las_log_seq.NEXTVAL
          INTO :new.las_log_seq
          FROM DUAL;
    END bins1_las_log_tbl;
    /Heff

  • Access sequence for stock transfer order

    Hi,
    My client is a paper industry. client is procuring raw materials from forest center. We are considering forest center as plant 1800 and paper mill as plant 1100. several depots has been created under forest center and considering them as storage location. goods receipt at forest center is happening through scheduling agreements. stock is transfered from forest center depots to mill through stock transport order.
    For each depots, freight value per MT is fixed for transporting goods from forest center to mill. Clients requirement is to maintain the rates for freight for each depots so that it will pick from condition records. No need to enter freight value in stock transport order.
    I have created an access sequence for combination of plant (1800) and forest center depots and maintained condition table. but it is not working as in stock transport order, there is no storage location option for supplying plant. In stock transport order supplying plant is forest center (1800) and receiving plant is mill (1100).
    Please guide me where to maintain the freight rate as this is mandatory for my client.
    Thanks
    Prasant

    Access seq with depot will not work becuse you don't have the storage location field in the header
    Rather create the diff pruchase group for each depot and assign them in STO based on your depot(storage location)
    and create the access sequence based on the palnt and purchase group than it will work.

  • How to create the Access sequence for the Vendor+material+plant combination

    Hi all
    Please let me know How to create the Access sequence for the Vendormaterialplant combination..
    Whats the use? What its effect in purhcase and taxe..
    brief me please

    Hi,
    you are asked to maintain the access sequence for the tax condition for which you are putting 7.5%.
    goto OBQ1 or img..financial accounting new...global settings.... taxes on sales and purchases ......basic settings.....
    find the tax condition type. see in it which access sequence is attached.
    if there is none then use JTAX used for taxes in India.
    or you can create the similar one for your.
    to create the same goto OBQ2.
    new entry or copy JTAX.
    and assign the access sequence to condition type.
    this will resolve your problem if you just need to assign the access sequence.
    regards,
    Adwait Bachuwar

  • One sequence for multiple lookup tables?

    I am sorry if this is off-topic, however can anybody advise what is better - use one sequence for all tables (lookup tables) or to create unique sequence for each table?
    Thanks
    DanielD

    Daniel,
    After you read this (http://asktom.oracle.com/pls/ask/f?p=4950:8:::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:2985886242221,), you may be sorry you asked.
    Scott

  • Is there a way to set up browse sequences for project with multiple TOCs and conditionalized modules

    I'm using RoboHelp 9 with WebHelp output.
    I've got five outputs, one of which contains Help for common functions, while the other four contain Help for licensed modules. When a user opens the Help for a licensed module, the user sees the core Help and the licensed Help. In addition, files are conditionalized so that searching for unlicensed content from a licensed Help module brings up nothing.
    I've been troubleshooting problems with the Previous Topic and Next Topic which, thanks to William, I learned are related to browse sequences. After trying assorted configurations, I've got a couple of questions:
    Does RH support only a single browse sequence in a project, even when the project has multiple outputs & TOCs?
    If RH supports only a single browse sequence, does that mean there is no way to create a unique browse sequence for each separate output?
    If RH supports multiple browse sequences, what is the workflow?
    I also maintain a 'master' TOC that contains all the modules, both common and unlicensed. What I've done for now is to autocreate a browse sequence based on the 'master TOC'. When I generate output for a licensed module, which is conditionalized, I only see the TOC for that module and, therefore, can only browse between books and subbooks in that module. I've also verified that topics that do not appear in the conditionalized module, such as for another licensed module, do not appear in the Search results list either.
    Carol

    Me again, Carol
    You also asked about the functional differences between WebHelp and WebHelp Pro, so let me elaborate.
    I'm aware of only two major differences (other than the extra benefits of feedback analytics reports and management of "Areas" with authentication in RoboHelp Server).
    The behavior of Browse Sequences as explained above
    The fact that Content Categories are not supported in WebHelp Pro for this latest version 9.
    As for the Browse Sequences you are trying to provide for different modules (licensed, etc.): Multiple Browse Sequences are included in a single .BRS file. The sequences are defined in the XML within the single file.
    As a workaround (for either WebHelp or WebHelp Pro) you could create a NGP Help.brs. which you have already created for one module; then backup and archive it. Then, create a modification for the different module before you generate again. The NGP Help.brs. will need to have the same name as your project so you will have to manage the desired .brs file into the project folder when you generate that version. All of your other choices (TOC, Index, Conditional Tags, etc.) would remain the same for the respective modules.
    Finally, I note that you are apparently generating WebHelp Pro right now even though you are not publishing it to the RH Server? This is really not the best practice. You should generate plain WebHelp for a web server that does not have RH Server on it (even though you may be getting away with it). As for your concern about "breaking" something; each output is placed in a different !SSL! folder automatically when you generate, so you should be able to generate WebHelp without interferring with the WebHelp Pro output. Then, you can re-publish to the RH Server using WebHelp Pro whenever the server is ready.
    John Daigle
    Adobe Certified RoboHelp and Captivate Instructor
    Evergreen, Colorado
    www.showmethedemo.com

  • Any prerequisites for using javascripts (JS) in SAP BPC 7.5NW (SP5)

    Hi,
    I keep getting evalution and parsing errors, every time I use a JS in my conversion files. It simple standard JS, like:
    js:parseInt(%external%)
    js:%external%.substring(2,5)
    etc
    Are there any prerequisites for using javascripts ??
    Is there anywhere I can debug these JS withing SAP BW ?
    Thank you,
    Joergen

    Gersh,
    It works now. I have implemented the below code (ENTITY needed to contain the variable as well). The relationship profitcenter and entity is very important as it derives the relevant profitcenters from the profit center hierarchy (e.g. all profitcenters under the legalentity node).
    //ALLOCATION PROCEDURE CONVERSION RATE
    //=====================================
    *FOR %ENT% = %ENTITY_SET%
    *RUNALLOCATION
    *FACTOR=1
    *DIM SEBACCOUNT WHAT=CONV_RATE; WHERE=<<<; USING=<<< ; TOTAL=<<<
    *DIM PROFCENT WHAT=DUMPC; WHERE=BAS(BPC_%ENT%);USING=<<<; TOTAL=<<<
    *DIM CATEGORY WHAT=FCSTCUR; WHERE=<<<; USING=<<< ; TOTAL=<<<
    *DIM ENTITY WHAT=%ENT%; WHERE=<<<; USING=<<<; TOTAL=<<<
    *ENDALLOCATION
    *NEXT
    Thanks
    Nico

  • BW error:  "invalid call sequence for interface when recording changes"

    I am getting the error "invalid call sequence for interface when recording changes" when I try to activate a datasource in BW.  Any ideas on how to resolve this error?
    Thanks.

    I already tried that.  This is what's happening..  When I get this error, if I try again it will activate and gets collected into a transport.  I moved this transport to our QA system.  As soon as I try to execute an infopackage under this datasource in QA, I get the error datasource   xxxxx must be activated.   Before the excecution of the infopackage, the datasource is in "Active version executable".   After I get the error message "datasource must be activated", the datasource in the QA system changes to "Active version not executable".   I am not sure all these issues are related back to the "invalid call sequence" error I am getting when I try to activate the data source.
    I also tried recollecting the transport from our Dev system to QA and it still gives the above errors.
    Any help?
    Thanks.

  • Create New Access Sequence for Free Goods

    Hi Guru,
    please help me, I need to do a new Access Sequence for Free Goods, different from standard SAP. (Vendor/Material/Purch. organization)
    The new sequence of access for "Vendor/Plant/Material", I have already created, but at the time that the use in condition, being created PO not shoot the discount goods. (despite having loaded a record condition with MBN1)
    Please help me, to create a condition of discount goods that shots for "Vendor/Plant/Material".
    Tank you
    Miki

    Thank you for your interest,
    but unfortunately I have already made this assignment Field.
    Please help me, there must be a way to run the discount goods.
    Tank you
    Miki

  • Access sequence for the partner is optional?

    Hello Experts,
    Is the access sequence for determining the partners is optional? What if no access sequence is mentioned in the partner determination procedure for any of the partner functions? Is there any other way of determining the partners exists other than access sequence?
    Could you please clarify?
    Thanks in advance!
    Regards,
    Swathi

    No, you must use access sequence. The only other way would be that you write your own function in which you prefill partners and trigger this function with event or if you write the same logic in on of the suitable badies.

  • Access Sequence for Plant/Tax code Combination  for JTAX

    Dear All
    i want to create a new access sequence for "Plant/Tax code" Combination.
    Please let me know the process for the same
    Regards
    Amey

    Hi,
    Goto- M/05.
    Create the condition table by selecting the fields Plant & Tax code.
    Assign this condition table in the Access sequence JTAX as per ur requirement.
    Create condition records (FV11) by choosing the requirec access sequence.
    Regards,
    Satpal

  • Creating sequences for all tables in the database at a time

    Hi ,
    I need to create sequences for all the tables in my database.
    i can create individually ,using toad and sqlplus.
    Can any one give me a code for creating the sequences dynamically at a time for all the tables.
    it is urgent ..
    Regards.

    I need to create sequences for majority of the tables that are having ID column
    which is sequences."The majority" is not the same as all. So you probably want to drive your generation script off the ALL_TAB_COLUMNS view...
    where column_name = 'ID'You need to think about this carefully. You might want different CACHE sizes or different INCREMENT BY clauses for certain tables. You might even (whisper it) want a sequence to be shared by more than one table.
    Code generation is a useful technique, but it is a rare application where one case fits all.
    Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • Urgent please .. condition found without access sequence for payment terms

    Dear All,
    I am seeing the pricing analysis. there is a condition type for which a value is found and it gave me certain payment terms. but when I tried to see the condition record, I am unable to find it.
    Message says ''The cash discount condition amount is not determined using condition technology, but directly from the terms of payment table"
    Please help in understading the meaning of these messge.
    When I looked at condition type, access sequence in not assigned.
    Thank You.
    Regards
    venkat
    Edited by: venkat Kumbham on Apr 28, 2008 3:09 PM

    Hi Venkat,
    We do not maintain an access sequence for cash discount. Its determined from the terms of payment defined by finance ( check Spro - Financial Accounting>Accounts Receivable and Accounts Payable>Business Transactions> Incoming invoice/Crdit Memos>Maintain Terms of Payment )
    Eg: 14 days 2%, 30 net
    You can select the relevent Terms of payment in the customer master.
    You will see the cash discount when you do the billing.
    Hope its clear...
    Rgds,
    sapdt

Maybe you are looking for

  • Limiting no. of records that can be entered in a block

    I'm trying to prevent users from entering more than 3 number of records within a block. Since I have to do this during the CREATE-RECORD process, I thought my logic would be within WHEN-CREATE-RECORD. Unfortuantely, WHEN-CREATE-RECORD seems restricti

  • Labels in SD without Packging

    Hi, I would like to have your advice about printing labels without delivery packaging. the organization needs the labels to be presented in the VL74 screen and I can't find the trigger to print it without pack the delivery first. I will be glad to ha

  • Google history

    Does anyone know how to clear the search history from the google search bar on a web page (which is my home page...http://www.google.com.au/)... not the google search bar on the safari tool bar. Thanks Matt

  • Error in posting Inbound IDOC

    Hi Gurus, I am trying to create Vendor by inbound IDOC by  enhancing the standard FM IDOC_INPUT_CREDITOR but IDOC is getting posted with status 51: Status 51: Trans. XK01 record 3 : Data record is not flagged as record type 2

  • Early 2011 MBP running slow on Mavericks

    My MBP is considerably slower since installing Mavericks.  A start-up takes nearly 2 minutes now.  Running multiple applications, and switching between them, will result in spinning beachballs.  Viewing a video inside a browser window will grind the