Command Sequence in Command URL

Hello everyone.  I'm having a problem with a command sequence using the Web Template as a Web Item.  The command resets data providers TOPN1 and TOPN3 to new queries. 
I have the following command sequence in a Web Template:
<SAP_BW_URL DATA_PROVIDER='TOPN1' CMD='RESET_DATA_PROVIDER' INFOCUBE='ZDL_M03' QUERY='ZZDL_M03_Q0001' CMD_1="DATA_PROVIDER=TOPN3&CMD=RESET_DATA_PROVIDER&INFOCUBE=ZDL_M03&QUERY=ZZDL_M03_Q0002&RRI=X">
The command sequence is working correctly in this Web Template, template SUBTEMPLATE.  However, this template is being called in another web template, MASTERTEMPLATE, via the web template item.   When the command is called as part of MASTERTEMPLATE, only the first DataProvider, 'TOPN1', is being reset.  The second dataprovider, 'TOPN3', is not being reset.
I am running BW 3.5.  Just to reiterate, when called as a standalone web template, the command sequence works correctly.  When called as part of another web template, the command sequence is only resetting the first dataprovider in the command sequence.  Has anyone come across something like this?  Any help would be appreciated.  Thanks.
Edited by: Peter Chiu on Jun 13, 2008 12:36 AM

Hi Peter,
I have a similar issue under BW 3.5 except that I have not had any success with command sequences. I have web templates that I use as menus to get to the web template that has the command sequence assigned to a button. When I change the command in the command sequence to handle either of the commands as a single command it works fine.
I noticed that you used double quotes on the CMD_1 string whereas examples I have seen use single quotes. I don't know if that is the issue.
I'm not helping you much but at least you know you are not alone with this issue.
If I have any success in overcoming it I will let you know.
Regards
Rob

Similar Messages

  • WAD 3.5 URL - Command Sequence Filter and set_hierarchy_state in same url

    Hey folks,
    i need your help with following command sequence:
    The Filter command works perfekt, but the second command 'set_hierarchy_state' doesnt work. I really tried everything, read blogs and how-to's...  please help me out:
    &CMD=LDOC&TEMPLATE_ID=KPAS_TEST&FILTER_IOBJNM=0DISTR_CHAN&FILTER_VALUE=30
    &FILTER_COLLAPSE=&FILTER_SIGN=E%26CMD_1%3DCMD%3DSet_Hierarchy_State%26
    DATA_PROVIDER%3DSFS_INTEC%26IOBJNM%3D0DISTR_CHAN%26HIERARCHY_NAME%3D
    AP_IP_FS_GESIPA%26ACTIVE%3DX
    This command works:
    &CMD=LDOC&TEMPLATE_ID=KPAS_TEST&CMD_1=CMD%3DSet_Hierarchy_State
    %26DATA_PROVIDER%3DSFS_INTEC%26IOBJNM%3D0DISTR_CHAN%26ACTIVE%3DX
    and this works:
    &CMD=LDOC&TEMPLATE_ID=KPAS_TEST&FILTER_IOBJNM=0DISTR_CHAN
    &FILTER_VALUE=30&FILTER_SIGN=E&FILTER_COLLAPSE=
    but i need the combination of both single commands

    Hi..
    I solved my own problem..
    that's the command sequence that works:
    &CMD_1=DATA_PROVIDER%3DSFS_LOCHER%26FILTER_IOBJNM
    %3D0DISTR_CHAN%26FILTER_VALUE%3D30%26FILTER_SIGN%3DE
    %26FILTER_COLLAPSE%3D&CMD_2=DATA_PROVIDER%3DSFS_GRUPPE
    %26FILTER_IOBJNM%3D0DISTR_CHAN%26FILTER_VALUE%3D30
    %26FILTER_SIGN%3DE%26FILTER_COLLAPSE%3D
    &CMD_3=CMD%3DSet_Hierarchy%26DATA_PROVIDER%3DSFS_INTEC
    %26MULTI%3DX%26IOBJNM%3D0DISTR_CHAN
    %26HIERARCHY_NAME%3DAP_IP_FS_GESIPA%26ACTIVE%3DX

  • Command sequence too long

    I am putting together a web template with a button that should automatically filter structures on two different dataproviders.
    Here's my command sequence URL:
    <SAP_BW_URL DATA_PROVIDER='DP'
    FILTER_IOBJNM='9DLWWASJARRDZ6WOY7WWA39G7'
    FILTER_VALUE_1='71IMI689IBYS87IHVTZ0TCYDA'
    FILTER_VALUE_2='F5C7W9WFPUU3S8JSGJRGIO5F5'
    FILTER_VALUE_3='80B8DZ6DOAPN41LVBDRVFH2EE'
    FILTER_VALUE_4='9NWL81CA7S8535FW9ZMYIQBMX'
    FILTER_VALUE_5='7YB1YNE13ZYI6F29HNTOJBPKZ'
    FILTER_VALUE_6='F0I4NP9MRXGNY7TN2B29R57C4'
    CMD_1='DATA_PROVIDER=DP_2&FILTER_IOBJNM=0YV5RI7DNTJKFZARAAGAIBDPU&
    FILTER_VALUE_1=4SOUXJTCNPHLKJ53AYM0B1LSK&
    FILTER_VALUE_2=EXYHBWXTKPFNV5EDOPEY4DY4M&
    FILTER_VALUE_3=D92NJZD7QBK48T4G1Y4M3JS67&
    FILTER_VALUE_4=8GJ7M67YXFFUE86IONBF2099B&
    FILTER_VALUE_5=81S1ATFOAI6638S7NTQ23TY4U&
    FILTER_VALUE_6=15KVM3ABYR6LKK22TLJUG1XV2'>
    The first DP filter works, but DP_2 only sets the first four filters, since the command only recognizes the first 250 characters. I tried breaking it up into multiple commands: for example, CMD_1 sets the first three, CMD_2 sets the last three, but it only shows the results from the last command.
    How can I get this to work? Is there any way around the 250-character limit on a command? If not, is there some kind of attribute to the filter command that tells BW to keep the existing filters in place while adding additional filters?
    Thanks,
    Jason

    There are only nine total columns in both of these structures, so I might be able to exclude the columns I don't want to see within 250 characters...the only problem is that FILTER_SIGN doesn't seem to work. Here's my new URL:
    <SAP_BW_URL DATA_PROVIDER='DP'
    FILTER_IOBJNM='9DLWWASJARRDZ6WOY7WWA39G7'
    FILTER_VALUE_1='71IMI689IBYS87IHVTZ0TCYDA'
    FILTER_VALUE_2='F5C7W9WFPUU3S8JSGJRGIO5F5'
    FILTER_VALUE_3='80B8DZ6DOAPN41LVBDRVFH2EE'
    FILTER_VALUE_4='9NWL81CA7S8535FW9ZMYIQBMX'
    FILTER_VALUE_5='7YB1YNE13ZYI6F29HNTOJBPKZ'
    FILTER_VALUE_6='F0I4NP9MRXGNY7TN2B29R57C4'
    CMD_1='DATA_PROVIDER=DP_2&FILTER_IOBJNM=44GMJ8XO8WAH6F39TQUQ33C97&
    FILTER_SIGN=E&FILTER_VALUE_1=8P7FXUFEQHUJL9KLAT6VFUSS6&
    FILTER_VALUE_2=5AKSQD4FJA2JRWKH2DT5EB8B9&
    FILTER_VALUE_3=18KK6ZB9LV0D24TZBYGL70GNM'>
    I've tried FILTER_SIGN=E and FILTER_SIGN_1=E, but neither seem to work.
    Message was edited by: Jason Kraft

  • Problem in using Command sequences in Javascript in WAD

    Hi,
    I have created a WAD template in BEx 3.5 with multiple Web items (Tables & Charts). On the WAD there is an input field wherein the user enters the date and clicks on a button. The button click invokes a Javascript function to process certain commands (build together in a command sequence).
    The command sequence is as follows:
    SAP_BW_URL_Get() + "&CMD=PROCESS_VARIABLES" + "%26SUBCMD%3DVAR_SUBMIT" + "%26VAR_NAME_1
    %3DZTD_LODT" + "%26VAR_VALUE_EXT_1%3D" + datef.DATE_1.value + "%26VAR_NAME_2%3DZTD_DTR" +
    "%26VAR_VALUE_EXT_2%3D" + datef.DATE_1.value + "&CMD_1=ITEM%3DCHART_1%26CAPTION%3D" + c_hdr_1
    + "&CMD_2=ITEM%3DCHART_2%26CAPTION%3D" + c_hdr_2;
    Note: datef.DATE_1.value, c_hdr_1 and c_hdr_2 are custom run time variables declared in my HTML / Javascript function.
    The data providers by default are executed for the current date if no date is entered by the user which is the case when the web application is first executed.
    The first command is to re-execute the Data Providers to get the data as per the date entered by the user. This command is for changing the relevant variables in the variable screen and executing it to get the data from the data providers.
    The second and third command modify the caption of the web items CHART_1 and CHART_2 respectively.
    When i execute the command sequence the first command seems NOT to be executed(expected change in data not visible in the web items) while the second and third command seem to be executed as the heading of web items is modified.
    Before building the command sequence i had tested the each of the commands in isolation and it worked as expected i.e.
    First Command: The data in the web items changed as per the date entered by the user
    Second & Third Command: Heading of the web item changed
    Why is the first command in the command sequence not getting executed with the desired result?
    Looking forward to your views / clues which might help resolve this issue.
    regards
    Nitesh

    Hi Bala,
    Refer the below thread...
    Web Application Designer

  • Command sequence in javascript

    Hi,
    I'm trying to get this command sequence to work. It sets the data_provider_id to a query view. The data from this query view is then displayed in a chart (chart_1), keeping filter values (RRI).
    The last part (to change the value of caption for Dropdownbox_3 to test) doesn't work
    SAPBWOpenURL(SAP_BW_URL_Get() + "&CMD=RESET_DATA_PROVIDER&DATA_PROVIDER=DP" +
      "&DATA_PROVIDER_ID=P_STD_M_0SD_C55_08&ITEM=CHART_1&RRI=X" +"&CMD_1=CMD%3DITEM%3DDROPDOWNBOX_3%26CAPTION%3DTEST");
    Does anyone have an idea?
    Best Reagards
    Olof Trönnberg

    Hi,
    setting item properties is a command without specifying a command.
    So please use:
    SAPBWOpenURL(SAP_BW_URL_Get() + "&CMD=RESET_DATA_PROVIDER&DATA_PROVIDER=DP" +
      "&DATA_PROVIDER_ID=P_STD_M_0SD_C55_08&ITEM=CHART_1&RRI=X" +"&CMD_1=ITEM%3DDROPDOWNBOX_3%26CAPTION%3DTEST");
    not &CMD_1=CME%3dITEM%3d....
    Heike

  • Reinitailizing a variable after executing a command sequence

    I am trying to set a condition where when a command is sent to a particular operation that it will only do it once and then stop until the command is sent again. The operation in LV resides in a while loop with many other simultaneous operations, so if the command is not changed or reset, it would contiune to execute while I dont want it to. The command is a string that is sent by an external device at irregular intervals.
    If I were doing something like this in VB or C, the command sequence would look something like:
    IF command = "xyz" then
    {does the operations}
    command = ""
    END IF

    I have included 2 examples for you (in LV 6.0).
    The first illustrates how to compare the current string with the past string using a shift register. This vi enables you keep the string showing the last setting, but if you want to repeat this same setting then it wouldn't work.
    The second vi shows how to reset the string to an empty string, so if the string contains something then the operation will run. The last setting will be lost using this method, but repeats will work.
    I hope this makes things a little clearer for you..
    Kim
    Attachments:
    String_selector.vi ‏17 KB
    String_selector_2.vi ‏17 KB

  • What is the exact GPIB command sequence when calling viclear

    I am experiencing some call box lockup problem and viclear is the possible root. What is the exact GPIB command sequence when I call viclear? I need this information to work with Agilent to find the root of the problem. Thanks! I need the exact GPIB commands sent to the equipment.

    Hi,
    viClear calls the ibclr NI-488.2 function. The ibclr function sends the following bus commands according to the NI-488.2 Software reference Manual:
    ibclr calls the board function ibcmd to send the following commands using the designated access board:
    � Talk address of access board
    � Unlisten (UNL)
    � Listen address of the device
    � Secondary address of the device, if applicable
    � Selected Device Clear (SDC)
    Hope this helps.
    DiegoF.
    National Instruments

  • 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...

  • WAD: command sequence.

    Hello everyone,
    in WAD, how can I execute a command of a command sequence if a previous command terminates with errors?
    For example, a button has 3 command: C1, C2 and C3.
    For standard, if C2 terminates with error, C3 not run.
    Instead,  I want to execute the command C3 even if the command C2 exits with error.
    In other words, I want to execute C1, C2 and C3 always.
    How can I achieve this goal?
    Thank you very much.
    Antonio

    Hi Antonio,
    You can make this by an ABAP Program or a Process Chain.
    Best Regards,
    Amine

  • PCL escape command sequence on the printer

    Hi All,
    I have a Toshiba e-series printer that needs some customerization. The issue I have has to do with automatic feed i.e the printer uses "manually feed paper".
    The toshiba printer driver for SAP says..."Input Tray Selection
    No PJL control is available, so it should be implemented using PCL escape command sequence.
    *Automatic <esc>&l17H*
    *Drawer 1 <esc>&l01H*
    *Drawer 2 <esc>&l4H*
    *LCF <esc>&l5H*
    *Drawer 3 <esc>&l5H*
    *Drawer 4 <esc>&l21H*
    **Bypass Tray <esc>&l2H** "
    I dont know how/where this PCL would be changed. Can you assist please?

    I'm pretty sure this needs to be changed in the printer initialization string of the SAP device type for each format.  Here's how:
    SPAD - Full Admin
    Device Type tab - enter in your device type
    Click the implemented formats (F6)
    Go into Change mode
    Double click a format
    Double click printer initialization
    This is the code you need to alter. 
    Try to find the section for PCL.01.  You may see a string like your examples but commented out (# in front of it).  Uncomment and change to the desired command.  Normally all need to change are the characters between the & and the H.
    PM1K

  • Basic question on jtag command sequence

    Hi,
    I have a very basic question on creatng JTAG Command sequences for Virtex 7 FPGAs. I was going through the pdf ug470_7Series_COnfig.pdf
    http://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf
    In CHapter 6, Table 6.3, 6.4 and 6.5 , some commands sequences have been mentioned. I want to understadn how to form command sequences based on the tbales given here. What does "X" mean in these tables? Which columns here (TDI, TMS, TCK) are used for creating command sequences? Is the length of each command fixed to 32 bits?
    Rgds
    Sapan
     

    Try this out.
    login as dns.
    create sequence suggest_seq
    grant select on seggest_seq to usr
    login as usr.
    create synonym sugest_seq_usr for dns.suggest_seq
    select suggest_seq_usr.nextval from dual
    Maybe you missed the select grant on the sequence .

  • Place a command in the command queue through code

    our bussiness needs require that the oracle lite server may send a command to the olite client. such a command may be an upgrade or install or exec file.
    we have a problem placing commands in the command queue of the device so that the device may later pick them up and execute them.
    if the client is not connected to the server through the specified protocol (rapi, http etc) then the command is not placed in the queue but it is marked as failed. this happens when we send commands through our code, but if we attempt to do it through the mobile manager then when the client is not connected the command is placed in the queue and when the handheld connects, it pulls the command.
    my question is how should we alter the code below so that the command (install in this example) is placed in the queue when a fail to connect happens.
    code in java:
    private void jButton12MouseClicked(java.awt.event.MouseEvent evt) {                                      
    ResourceManager rm = null;
    String url="...";
    String user="myuser";
    Command Installcmd = null;
    try {
    ResourceManager.initialize(url);
    rm = ResourceManager.getInstance();
    User usr = rm.getUser(user);
    this.Installcmd = dm.getCommand ("Install");
    for (Enumeration e = usr.getDevices(); e.hasMoreElements();) {
    Device dev = (Device)e.nextElement();
    list4.add("Device");list4.add("------------");
    list4.add("Device Name:"+dev.getName());
    list4.add("Device Type:"+dev.getType());
    list4.add("User Id:"+dev.getUserId());
    if (dev.isEnabled()) {
    DeviceCommand dc = new DeviceCommand (cmd, dev);
    dc.send (DeviceCommand.HIGH_PRIORITY,null );
    rm.commit();
    } catch (Throwable e) {
    e.printStackTrace();
    JOptionPane.showMessageDialog(null, e.getMessage(),"Error",0);} finally {
    try {if (rm != null) ResourceManager.destroy();
    our problem lies on how we place the command in the command queue of the particular device. thank you for your time and efforts

    dc.queue();
    so simple:)

  • Java -version is it a java command or OS command.

    java -version is it a java command or OS command.
    I am in a bet. I said its a java command and it will be same no matter what the OS is. What do u genius say

    java -version is it a java command or OS command.
    I am in a bet. I said its a java command and it will
    be same no matter what the OS is. What do u genius sayWhat do you mean "java command." There isn't really such thing as a "java command." At least, the term does not have a standard definition.
    java is the name of the executable that is the JVM. It wouldn't have to be. You could change it to whatever you like. You could also change it so that "java" invoked some other executable.
    The -version argument is supported by Sun's VM on several OSes, but it is not inherent to Java, it wouldn't have to be supported on all VMs, or on all OS versions of a specific VM. Is there a VM out there that doesn't support -version? I don't know, but there could be. And if there's not today, there could be tomorrow. There's certainly no requirement that a VM support that option.
    In short, the answer to your question is [url http://en.wikipedia.org/wiki/Mu]Mu.

  • What is the diffrence between OMB plus command and OMB command

    what is the diffrence between OMB plus command and OMB command?
    are they both TCL command?

    Hi Alena,
    Welcome to SDN.
    Check this
    EXIT in Loops and Modularization Units
    Basic form
    EXIT.
    Effect
    Within a loop structure:
    Terminates looop processing (DO, WHILE, LOOP, SELECT).
    Within subroutines and other modularization units (but not in a loop structure):
    Leaves the subroutine or modularization unit (FORM, MODULE, FUNCTION, TOP-OF-PAGE, END-OF-PAGE).
    Outside loop structures and modularization units (report processing):
    Terminates report processing and triggers list display.
    But not sure about
    atexit() .. ,may use in Object Oriented Programming.
    (C++)
    "At exit-command in module pool."
    Mohinder
    Edited by: Mohinder Singh Chauhan on Aug 1, 2008 8:06 AM

  • How to put echo command and other command in same line in Terminal

    Hello everyone. I use GeekTool (v3.0.1) and was wondering if I could put an "echo" command and another command in a shell script such that the output would be 1 line only instead of 2 lines for the 2 commands. How do I do that?

    This is why I think iTunes, in its present form, is completely unsuited for cataloging eBooks. However you can do what you want to do with the existing tags. Since a picture is worth a thousand words, here's a screen cap for you to illustrate how:
    And the various other sorting options:
    Give all that a try and see how it works for you.

Maybe you are looking for

  • Mac Pro 3,1 (Early 2008, 10.6) Slow startup, no chime

    Hello all. Purchased this one from a friend of mine bc my own Mac Pro (we both bought them at the same time, back in Feb., 2008) had issues with video card and bad memory sticks. So this Mac Pro was his, he barely used it and since i want to continue

  • Regarding Legacy systems

    Hello Experts, Could anyone explain me step by step what is mean by Legacy system? And how it is related to SAP? All your inputs will be appreciate it!!! Thanks in advance. Best Regards, SS

  • MP530 Wireless Printing Read Failure?

    For years I have been printing from my MacBook Pro (OS X 10.6.8) wirelessly to my Canon MP530.  Now suddenly I get the following error message - MP530 Unable to open printer (read failure)!  I tried resetting the printer but that didn't work.  I cabl

  • Unable to access the following endpoint

    I'm getting 'Unable to access the following endpoint(s): http://localhost:8888/oracle/apps/ego/extfwk/service/ValuesetServiceSoapHttpPort How do you change the endpoints?

  • Medruck modification

    i have modified medruck standard script, i have few things to be done. 1) how can we change or rather control format of text printed at me22n application level in item text tab.    in print preview i want to control the format of the text . 2) while