Dynamic target

hi all,
I have one Form, 3 frames(A, B, C) and 3 buttons(A, B, C) on a jsp page. I like data to be display to frameA when I click on buttonA, or B to B, or C to C.
How do I do that?
thanks all

<frameset rows="20%,30%,50%">
      <frame name="A">
      <frame name="B">
      <frame name="C">
</frame>
<form method=post action="a.html">
<input type=submit name=A  value=A  target=A >
</form>
<form method=post action="b.html">
<input type=submit name=B  value=B  target=B>
</form>
<form method=post action="c.html">
<input type=submit name=C  value=C  target=C >
</form>

Similar Messages

  • File Adapter : Dynamic Target Directory

    Hi EveryBody,
    I have an IDOC to File Scenario in which based on some field value X in IDOC i need to send the file to Different locations under the same FTP Server.
    For Example : if X = 01 then Target folder T1
                            X = 02 then Target folder T2.
    Can somebody help me out on the same.Possibly this can be done by Dynamic Configuration.Can somebody send me some links.
    Regards,
    Zabiulla

    Hi,
    First of all I would suggest to avoid the mail communications for the query.
    Its against the SDN rules.
    please read [Rules of Engagement|/thread/117188 [original link is broken];.
    About Solution, you need not have to go for Dynamic Target Directory
    You can use the Variable substitution concept here.
    In the Target directory pass the %Var1%
    and use Var1 ---> payload:<fieldName>
    Refer to the last part of this link to understand this better,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    For dynamic configuration you can also refer below link
    Dynamic configuration of Receiver FTP File channel
    Thanks
    Swarup

  • SOAP adapter and dynamic target URL

    My scenario: synchronous communication ABAP Proxy <=> XI <=> External WebServices.
    There is a need to have configurable (dynamic) target URL for SOAP Adapter. This target should be configurable from ABAP Proxy. Any idea how can I achieve my goal?
    Some additional notes why I need configurable target URL. I've multiple WebService instances which has identical interfaces and the only difference is target URL. I see no need to define for each webservice different SOAP Adapter. The other thing is that customer want to have configuration of destination (target) url on backend system (where ABAP Proxy is used).

    Check http://help.sap.com/saphelp_nw70/helpdata/EN/29/5bd93f130f9215e10000000a155106/frameset.htm
    It's possible to set the URL for Soap dynamically.
    To process adapter attributes in the message header of the XI message, set the Use Adapter-Specific Message Attributes indicator and the Variable Transport Binding indicator.
    You can evaluate the following attributes in the message header:
    Description: You can set the entire URL.
    Technical name: TServerLocation

  • Dynamic target direcoty - no mapping used

    Hi All,
    I have a file to file scenario like this.....
    source:
    \folder1\source1.xml
    \folder2\source2.xml
    \folder3\source3.xml
    target:
    \test1\source1.xml
    \test2\source2.xml
    \test3\source3.xml
    The files from diffarent folders should be moved to the corresponding target directories(dynamic directory) with same file name.
    for example,
    source1.xml from the source directory folder1 should be copied to target directory test1 with the file name source1.xml.
    here the target path depends on source directory.
    I know it works with ASMA. but here in my scenarion iam not using any mapping. How can we get the target directory when there is no mapping.
    please help me to solve this..

    The files from diffarent folders should be moved to the corresponding target directories(dynamic directory) with same file
    name.
    for example,
    source1.xml from the source directory folder1 should be copied to target directory test1 with the file name source1.xml.
    here the target path depends on source directory.
    If you want that both source and target files have the same name, then just enable the File Name ASMA in both the sender and receiver File Channels.
    Now your requirement is also to send File1 to Folder1 and not to Folder2, you have to maintain different interfaces/ scenarios....one from SOurce1 to Target1 and similarly for Target2/ 3.....since you are not using any mapping!
    Regards,
    Abhishek.

  • ECATT: Dynamic target system for pattern REF possible?

    Hello
    I am using eCATT on a Solution Manager (NetWeaver 700). I have to run the test scripts on several different SAP systems.
    Therefore, I would like to know whether it is possible to set the target system within the pattern <b>REF </b>(<i>executes another eCATT test script, either on local or remote system</i>) <b><i>dynamically</i></b>?
    Definite proof that this is <b>not </b>possible is also welcome.
    I am aware that I can replace the REF pattern by a corresponding ABAP...ENDABAP coding, e.g.:
    FUN ( BAPI_USER_EXISTENCE_CHECK , BAPI_USER_EXISTENCE_CHECK_1, <target_system> ).
    Replace by:
    ld_rfcdest = id_rfcdest.
    ABAP.
      CLEAR: ls_return.
      CALL FUNCTION 'BAPI_USER_EXISTENCE_CHECK'
        DESTINATION ld_rfcdest
        EXPORTING
          username = id_username
        IMPORTING
          return      = ls_return.
    " NOTE: Not necessary to handle RFC exceptions -> done by eCATT framework
    ENDABAP.
    " evaluate ls_return...
    However, I would prefer - if possible - to use the REF pattern.
    Regards,
       Uwe

    Hello
    In case you may need this functionality here is (one possible) solution.
    The testscript <b>ZUS_SDN_ECATT_DYNAMIC_TARGET</b> calls testscript ZUS_SDN_LOGICAL_SYSTEM_GET dynamically on different target systems.
    Testscript ZUS_SDN_ECATT_DYNAMIC_TARGET:
    *ECSC     Test Script
    *ECTD     Test Data Container
    *ECSD     System Data Container
    *ECTC     Test Configuration
    ls_execute = is_execute.
    ABAP.
      APPEND ls_execute TO lt_execute.
    ENDABAP.
    et_execute = lt_execute.
    FUN ( ECATT_EXECUTE , ECATT_EXECUTE_1 ).
    CHEVAR( &EXCEPTION = ' ' ).
    EXIT( &EXCEPTION <> ' ' ).
    **FUN ( ECATT_LOG_DISPLAY , ECATT_LOG_DISPLAY_1 ).
    The funny part of this script is the <b>FUN </b>pattern where I call function module <b>ECATT_EXECUTE</b> which is used to execute testscripts (or test configurations). As IMPORTING parameter we have a structure <b>START_PROFIL </b>where we can set the <b>SYSTEMDATA</b> (container) and the <b>TARGETSYSTEM</b>.
    Hopefully I will find the time to explain this testscript and its possible use and implications in more detail in a blog.
    Regards,
      Uwe

  • Implementing Dynamic Target Locations

    I want to change the Target Location dynamically as it moves through the ETL process.
    My Directory structure is
    \in - new flat files are pushed into this directory for processing
    \staging – new flat files are picked and moved to this directory for processing
    \staged – the processed files are moved to this directory
    \error – errored files moved to this directory for further investigation
    The moment the files are pushed into the \in directory, the ETL/OWF process will be called.
    The ETL process will move the files into \staging directory and OWB mappings are called to do the staging process.
    Once the staging process is done, the files are moved to \staged directory.
    If there are errors in the files
    will be moved to /error directory.
    Is this possible to accomplish this using OWB/OWF ?
    I am using OWB 9.2.0.2.8 and OWF 2.6.1.5.2.
    Thanks

    Any Help gratly appreciated.. Please throw some light !!
    Thanks
    Shree

  • Passing dynamic target thru value interaction

    We have a requirement where if we click on the column data having prj no it should navigate us to one of the two reports on a dashboard page.
    How can we program & so that we can select which page it should navigate to.
    We are currently navigating/passing the value by using Column Properties> Column Format> Value interaction> Type: navigate.
    We are providing the target path here, how can we make this target path as dynamic.
    Thanks,
    Pankaj

    Hi pankaj,
    add 2 reports in navigation of value interaction...
    And give captions for 2 report to identified by user which report need to select..
    Now whenever you click on the project no. it shows 2 reports to navigate...
    Now click on the desired one...
    Hope this is what you want...

  • XSLT for dynamic target field names

    Hello,
    I got a requiremt where I need to create target field names from input values.
    Input XML -
    <?xml version="1.0" encoding="UTF-8"?>
    <Createelement_MT>
    <Field Name="A">
    <Value>1</Value>
    </Field>
    <Field Name="B">
    <Value>1</Value>
    </Field>
    </Createelement_MT>
    Expected OutPut XML -
    <?xml version="1.0" encoding="UTF-8"?>
    <Createelement_MT>
    <Statement><TableName><table>XYZ</table>
    <access>
    <A> 1 </A>
    <B> 2 </B>
    </access>
    </Statement></TableName>
    </Createelement_MT>
    The value of the attribute 'Name' of field 'Field' should be the name of target field.
    XSLT:
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml"/>
    <xsl:template match="@*|node()">
    <xsl:copy>
    <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
    </xsl:template>
    <xsl:template match="Createelement_MT">
    <xsl:element name="statement">
    <xsl:element name="TableName">
    <xsl:element name="table">ABC</xsl:element>
    <xsl:element name="access">
    <xsl:for-each select="Field">
    <xsl:element name="{@Name}">
    <xsl:value-of select="Value"></xsl:value-of></xsl:element></xsl:for-each>
    </xsl:element>
    </xsl:element>
    </xsl:element>
    </xsl:template>
    </xsl:stylesheet>
    Error:
    Error: at xsl:element on line 15 of file:///......: XTDE0820: Invalid element name. Invalid QName {}
    Please help me with the xslt code for this requirement.
    Thanks!

    Hi,
                Please try this code
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:output method="xml"/>
         <xsl:template match="/">
              <Createelement_MT>
                   <Statement>
                        <TableName>
                             <table>XYZ</table>
                        <access>
                             <xsl:for-each select="Createelement_MT/Field">
                                  <xsl:variable name="field" select="@Name"></xsl:variable>
                                  <xsl:element name="{$field}">
                                  <xsl:value-of select="Value"></xsl:value-of>
                                  </xsl:element>
                             </xsl:for-each>
                        </access>
                        </TableName>
                   </Statement>
              </Createelement_MT>
         </xsl:template>
    </xsl:stylesheet>
    input xml
    <?xml version="1.0" encoding="UTF-8" ?>
    - <Createelement_MT>
    - <Field Name="A">
      <Value>1</Value>
      </Field>
    - <Field Name="B">
      <Value>1</Value>
      </Field>
      </Createelement_MT>
    output xml
    <?xml version="1.0" encoding="UTF-8" ?>
    - <Createelement_MT>
    - <Statement>
    - <TableName>
      <table>XYZ</table>
    - <access>
      <A>1</A>
      <B>1</B>
      </access>
      </TableName>
      </Statement>
      </Createelement_MT>
    One small request, if you think your question has been answered,could you please kindly, if possible, close this thread.
    regards
    Anupam

  • Use of SOAP Receiver Adapter in a recursive way with dynamic Target URLs

    Hi all,
    I have a following scenario.
    1. I have to call a webservice with a URL http://myserver.com/default.aspx?action=index
    This will return a list of xml filenames as below
    <?xml version="1.0" encoding="UTF-8"?>
    <filelist>
      <file uuid="test1" />
      <file uuid="test2" />
      <file uuid="test3" />
      <file uuid="test4" />
    </filelist>
    2. Now I have to call the same webservice with a change in action so that the url looks like
    URL - http://myserver.com/default.aspx?action=fetch&uuid=
    for all the filenames in the list
    So in essence, I have to create a dynamic URLs recursively like
    http://myserver.com/default.aspx?action=fetch&uuid=test1
    http://myserver.com/default.aspx?action=fetch&uuid=test2 and so on
    3. And with each call to the URL in step 2, the incoming xml is to be mapped to an IDoc.
    I will be creating a ABAP proxy to initiate the calls.
    I would like some ideas so as to have a less complex approach to the solution.
    Regards,
    Neeraj

    Hi,
    dynamic SOAP URL - adapter specific properties (http receiver adapter)
    Dynamic configuration payload - https://media.sdn.sap.com/javadocs/NW04/SPS15/pi/com/sap/aii/mapping/api/DynamicConfiguration.html
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get
    (StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","THeaderSOAPACTION");
    String a = http://something.abcd/applicationName/xmlMessage //set the value of actual action here
    conf.put(key, a);
    return "";

  • Dynamic target Directory

    Hi All
          I have a scenario in which all my master IDOCS should flow form R3 to XI and form XI to the FTP Server's respective Folder loaction.
    The Folder option is storewise , so for example for ST01 , the corresponding WP_PLU should be placed at ST01 folder location in the ftp server.
    there is an UDF written foe file naminf convention:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http:" + "/" + "/" + "sap.com/xi/XI/System/File", "FileName");
    Calendar cal = Calendar.getInstance();
    Date date = cal.getTime();
    String s = date.toString();
    String a1 = s.substring(8,10);
    String b = s.substring(4,7);
    String b1="a";
    if(b.equals("Jan"))
    {b1="01";}
    if(b.equals("Feb"))
    {b1="02";}
    if(b.equals("Mar"))
    {b1="03";}
    if(b.equals("Apr"))
    {b1="04";}
    if(b.equals("May"))
    {b1="05";}
    if(b.equals("Jun"))
    {b1="06";}
    if(b.equals("Jul"))
    {b1="07";}
    if(b.equals("Aug"))
    {b1="08";}
    if(b.equals("Sep"))
    {b1="09";}
    if(b.equals("Oct"))
    {b1="10";}
    if(b.equals("Nov"))
    {b1="11";}
    if(b.equals("Dec"))
    {b1="12";}
    String c = s.substring(24);
    String sDate = a1b1c;
    String e = s.substring(11,13);
    String f = s.substring(14,16);
    String g = s.substring(17,19);
    String sTime = efg;
    String d = a.substring(9,25);
    String Idoc = d;
    String RecieverFilename = "WPDBBY_"Idoc"_"sDate"_"sTime".txt";
    //<Receiver Filename> ; //you have to give the filename that has to be generated in the receiver adapter.
    conf.put(key, RecieverFilename);
    return a;
    Could any1 please help how to add the directory to it,please let me know the code as i am not a JAVA developer
    regards
    Prajna

    Hi,
    add this extra code
    DynamicConfigurationKey DIR_NAME = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    String Dirname = "";
    //write logic to generate a dynamic directory and make sure that this directory exists in FTP
    //(or) the Receiver file channel Channel has access rights to create the folder.
    conf.put(DIR_NAME, Dirname );//now put that Dirname value generated here
    Also Make sure that in the receiver file channel Adapter Specific message Attributes is checked along with FileName & Directory.
    Thanks,
    Gujjeti.
    Edited by: Praveen Gujjeti on Nov 21, 2008 1:07 PM

  • Dynamic Target Directory name: DEV QUA and PRD

    Dear All,
    Scenario Idoc to File:
    I need to configure file directory's dynamically - when the object is moved to D, Q and Prd. for that am using plant and location to differenciate.
    InExample: D:\SX\Common\ <plant><location>
    TinAdvance
    Swarna.

    Swarna wrote:
    Dear All,
    >
    > Scenario Idoc to File:
    >
    > I need to configure file directory's dynamically - when the object is moved to D, Q and Prd. for that am using plant and location to differenciate.
    >
    > InExample: D:SXCommon <plant><location>
    >
    > TinAdvance
    > Swarna.
    I am assuming that the plan and location fields are part of the data structure and the path D:SXCommon will always remain the same in all the environments.
    In that case, you can write a generic UDF for this that will handle in Dev, QA and PRD
    use this blog to help you - Dynamic Configuration vs Variable Substitution - The Ultimate Battle for the File Name

  • Dynamic target directory with variable substitution

    Hi everyone.
    I'm trying to save a file in a folder with receiver adapter.
    This folder is determined in runtime and passed to the adapter with variable substitution. My problem is that in RWB i get a error like this : 'Content of variable XXXXX is not safe'
    Does anybody have done a variable substituion for output directory receiver file adapter?
    Regards,
    Inigo.

    Hi,
    Check this links,
    /people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    Regards,
    Phani

  • Issue while passing Target URL dynamically in SOAP Receiver Adapter

    Experts,
    I am stuck with an issue while passing the Target URL dynamically.
    The UDF required for this works just fine. I can see the Target URL in Dynamic Configuration header(The Key is TServerLocation) in SXMB_MONI but the request that I am sending is not reaching the web service.
    Some posts have suggested to hard code the Target URL as http://.
    Below is the error that I am getting when I hard the Target URL as http://:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>RecoverableException</code>
                   <text>com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:453)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:131)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:834)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    When I hard code the Target URL as Test (any dummy value), the error that I get is different. (Detailed error shown below)
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>RecoverableException</code>
                   <text>com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: no scheme
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:453)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:131)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:834)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    I've referred the post [Dynamic URL for SOAP receiver adapter;.
    I am on PI 7.0.
    Any help in this regard is highly appreciated.
    Best Regards,
    Vijay

    Issue resolved... by doing this:
    DynamicConfigurationKey key2 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "TAuthKey");
    conf.put (key2, "username");
    In the advanced tab of the communication channel, set the flag "View Authorization keys", and then added "username" (user to access the dynamic target url) and the password (2 times).
    That's it...

  • Dynamic Name for Yellow Interface Table

    Hi All,
    Can anybody guide me how to use dynamic name for Yellow Interface Target Table.
    Eg: T_SESSIONID.
    I tried
    1)Refreshing the SESSIONID in a Variable V1 and using T_#V1 directly
    2) Refreshing the T_#V1 in a Variable V2 and using #V2
    But its not creating properly.
    Please guide.

    You want to create dynamic target table name right?
    You can refresh a variable like #GET_SESSION
    #GET_SESSION= SELECT <%=odiRef.getSession("SESS_NAME")%> FROM DUAL
    My tmp table name like TMP_#GET_SESSION
    then in your package refresh #GET_SESSION variable and you can use it.
    I hope this can be helpful
    Thanks

  • "Dynamic" performance instances in a monitor

    'm trying to create a monitor in SCOM on the performance counter "BizTalk Msgbox Host Queue Length".
    I use the BizTalk Server 2013 management pack. As i don't want to make a monitor for each "Host" instance (A lot of work with 30+ BizTalk producation servers), i target the monitor to the "BizTalk Host" class which comes with the MP.
    When I select the performance counter and select a host instance manually it selects: "HostInstance:BizTalkDB:BizTalkServer" Example:
    "process:biztalkmsgboxdb:BiztalkServer01" as the instance.
    Will it work to use a dynamic target class type as the instance something like this? "$Target/Property[Type="BizTalk!Microsoft.BizTalk.Server.2013.BizTalkHost"]/Name$:BizTalkMsgBoxDb:$$Target/Host/Host/Property[Type="MicrosoftWindowsLibrary6172210!Microsoft.Windows.Computer"]/NetbiosComputerName$"
    I've tried alot of combinations with the class type, but does't seem to work. Thanks in advance!

    Hi,
    It seems like that you have posted a similar thread here:
    https://social.technet.microsoft.com/Forums/en-US/9d56c423-723c-4fa9-b440-2c93d369744a/monitor-biztalk-host-queue-length-and-suspended-msgs-wscom?foru
    Hope Sophia's reply can be helpful.
    Regards,
    Yan Li
    Regards, Yan Li

Maybe you are looking for

  • HT2311 error 45054 with iTunes

    Downloaded latest itune 11.1 or something, now theres an error 45054 saying I haven't got access privaleges and then a second box comes up with an error 45054. Any ideas?

  • Cannot create new dictionary in DS

    In Dictionary, when choosing option Bulk Load, I could browse .xml file as Source File in section 'Load from this source file', but the section 'Load into this target' is inactive - I couldn't change anything to specify New Dictionary Name. Is this a

  • Find while typing is a killer on a large spreadsheet

    I'm a casual user of Numbers '09 (2.0.4) on Mac OS X 10.6.4 on a Mac Pro. I just tried using Find on a 2-sheet, 10,000+ row spreadsheet of products. I gave up after a several attempts because of the dreadful performance. Numbers starts searching as I

  • Iweb displays one thing and shira, firefox and safari something different

    I uploaded my site and noticed text that should be white was grey. I made a whole page on this as pictures are better than words sometimes. This problem isn't major but just unexplainable and timee consuming. The link is http://web.mac.com/sebastianm

  • Do I have to bring in my laptop if I have a charger problem?

    The charger doesn't work on any laptop so what's the point of dragging the 17 inch laptop through the mall right?? or no??