How To Remap Contexts in Dynamically..

Dear Experts,
in My scenario, I have one View,  this view using for both Create and Chance Options, But I map only Same Context of  ctxInputCreate.
But When i Using this View on Chance mode CtxtinputCreate Context to Map to CtxinputChange.
ctxtInputChange, CtxtInputCreate are same elements and same cordiality all same..
I don't what i fallow method write or not.
for Change and Create view i am using only one context which is mapped to Create Model.  When I changing time Just I Copy this context to Change Model Context. So its Working Fine. But Problem is one User Working in Two Windows on browser one Window working on Create and one Window working Change then its Conflict. so How To Avoid this Conflict.
Please Anyone Suggestion Designee time Context Mapping to Change Dynamically.
Sincerely

Friends its Stupid quetion.. Sorry.. leave this thread.
Regards

Similar Messages

  • Read GP context data dynamically

    Hi Experts,
    I am trying to achieve following
    1) First WebDynpro GP callable object u2013 FirstCO
    Has a GP output node as data node. DataA
    This data node fields/attributes are decided dynamically in the program
    2) Second WebDynpro GP callable object - SecondCO
    Has a GP input node as a data node - DataB
    This data node is mapped to node DataA in my process.
    Now in the SecondCO I need to read the attributes passed on by FirstCO in node DataB.
    And display the data in node DataB in a table ( whose fields are not known at design time)
    Can you guys tell me how can I read the dynamic GP input context data?
    I am not even sure whether this is possible or not.
    Regards,
    Ashish Shah

    Hi,
    I dont know if I understand you correctly, but I can give some sample code on how WD CO are implemented.
    Firstly, a controller class must be implemented. It will contain the description, execution and completion methods for the future callable object. It has a context, which can contain simple attributes and complex structures.
    After these structures and attributes are defined, one can begin with the implementation of the controller methods.
    In the default getDescription Method are defined input, output structures and the common description of the future callable object.
    Example:
    // Description of the future callable object
    IGPTechnicalDescription technicalDescription =
                     GPCallableObjectFactory.createTechnicalDescription(
                        "NameCO",
                        "Description",
                        resourceAccessor,
                        locale);
    // input structure
    IGPStructureInfo input =
    technicalDescription.getInputStructureInfo();
    IGPStructureInfo EntryInput =
                     input.addStructure("Entry");
                  EntryInput.setMultiplicity(IGPStructureInfo.MULITIPLICITY_0_N);
                  EntryInput.addAttribute("name", IGPAttributeInfo.BASE_STRING);
    // structure for output parameters
    IGPStructureInfo output =
                     technicalDescription.getOutputStructureInfo();
    IGPStructureInfo EntryOutput =
                          output.addStructure("Entry");
                  EntryOutput.setMultiplicity(IGPStructureInfo.MULITIPLICITY_0_N);
                  EntryOutput.addAttribute("name", IGPAttributeInfo.BASE_STRING);
    //add result state
    IGPCOResultStateInfo success =
                     technicalDescription.addResultState("Success");
                  success.setDescriptionKey("Success_desc");
    In the default execute Method, the context structures/attributes are filled with information, possibly from the input attribute/structures.
    Example:
    this.executionContext = executionContext;
    //Process the input parameters  
    IGPStructure input = executionContext.getInputStructure();
    Iterator<IGPStructure> EntriesIt = input.getStructures("Entry").iterator();
    int i = 0;
    while (EntriesIt.hasNext()){
                  i++;
                  IGPStructure nextStructure = EntriesIt.next();
                  IEntryElement pElement = wdContext.createEntryElement();
                  String name = (String)nextStructure.getAttribute("name");
                  pElement.setAttributeValue("name", name);
                  wdContext.nodeProviderProfileEntry().addElement(pElement);
             wdContext.currentContextElement().setNumberCols(i);
    A complete Method is added to fill in the output parameters after finishing the execution of the callable object.
    Example:
    IGPStructure output = executionContext.getOutputStructure();
              for(int i = 0; i < wdContext.nodeEntry().size(); i++) {
                  IEntryElement nextElement = (IEntryElement)wdContext.nodeEntry().getEntryElementAt(i);
                  if (nextElement.getSelected()) {
                       IGPStructure Entry = output.addStructure("Entry");
                       Entry.setAttributeValue("name", nextElement.getName());
             executionContext.setResultState("Success");
             executionContext.processingComplete();
    Every Web Dynpro component has a view, which is used to show the information in the context and change this information, which is then possibly mapped to output and sent to other callable objects via parameter mapping.
    (I have deleted some parts of the code, so some parts could be not correct, this is the main line for creating C though)
    Some links:
    http://help.sap.com/saphelp_nwce10/helpdata/en/43/e085d6421a4d9de10000000a155369/content.htm
    Hope it helps,
    best regards,
    v s

  • Doing external context mapping *Dynamically*

    Dear All,
    Can anybody tell me how to do do external context mapping dynamically?
    I have literally read thousands of documents/ blogs/ forum posts on external mapping. but not a single one is explaining DYNAMIC part of it properly.
    If anybody has worked on this then please share your experiences with me.
    Awaiting for helpful replies.
    Thanks and regards,
    Amey Mogare

    Hi
    Check out this
    http://help.sap.com/saphelp_nw2004s/helpdata/EN/67/cc744176cb127de10000000a155106/frameset.htm
    Thanks

  • How can I do a dynamic include of a page fragment?

    I have a technical support website with a lot of simple html pages. What I want to do is hyperlink from the index page to another page, which would display these html pages as a page fragment, dynamically based on a session bean set by the hyperlink.
    I basically want to do this, if it was possible:
    <jsp:directive.include file="#{SessionBean1.pageToDisplay}"/>
    Now the FAQ's has a topic "How can I do a dynamic include of a page fragment?", which would seem to answer my question.
    But this is all it says, and it makes no sense to me. Could someone please translate? :)
    "Using a page fragment file (but using instead of the usual Creator approach) will accomplish a dynamic include."

    Here is 1 solution:
    First add this to the jsp:root tag:
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    Then surround the page fragment directive with something like this:
                            <div style="position: absolute; left: 24px; top: 408px">
                                <c:if test="${SessionBean1.count > 0}">
                                    <jsp:directive.include file="testPF.jspf"/>
                                </c:if>
                            </div>

  • How to add a frame dynamically in a jsp page.

    Hai all,
    In my application, in a particular jsp page i had the 3 links namely add.edit and delete. When click on add button, it is pointing to another jsp page where i can enter user details. But what i want now is when i click add button, the form in which we fill the user details should be added to the current page itself dynamically i.e., it should not go to another page when i click add button and that form should be displayed in the current page in a new frame dynamically.
    The same should happen when i click n edit or delete options. everything should be diaplayed in the same page in different frames.
    Can anyone suggest me about how to add a frame dynamically.

    You create a frameset with two frames. One frame you give 100% of the rows and run the JSP in this frame. The other frame you give 0% of the row so that it is hidden. In the JSP you use a JavaScript funtion to submit the form. This function will call the parent frameset to reset the row values to 50%/50% which will make the bottom frame visible and then submit the form request with the bottom frame as teh target.
    It is not so much as creating frames as using JavaScript to hide and display frames.

  • How to delete records from dynamic internal table.

    Hi Experts,
    Need urgent help!!!
    Issue is with Dynamic internal tables.
    Below is code written by me :
    FORM select_query USING Lw_tabnam
                      TYPE  t682i-kotabnr.
      DATA :  lw_line  TYPE REF TO data,
              lw_line1 TYPE REF TO data.
        CREATE DATA Lw_line    TYPE (lw_TABNAM).
        ASSIGN      Lw_line->* TO   <WA_tbl>.
        CREATE DATA LW_LINE    TYPE STANDARD TABLE OF (Lw_tabnam)
                               WITH NON-UNIQUE DEFAULT KEY.
        ASSIGN      Lw_line->* TO <TBL>.
        SELECT * FROM  (Lw_tabnam)
                 INTO CORRESPONDING FIELDS OF TABLE <TBL>
                 WHERE (t_keys).
    Endform.
    code is working fine.
    here even the table name and where condition are dynamic,everything is fine upto this point.
    Now i have to delete some record from <TBL> based on some conditons.
         for ex : ( here lc_fieldname is KUNNR)
          loop at t_kunnr.
              lw_tabix = sy-tabix.
            Read table <tbl>
                    with key (lc_fieldname) = t_kunnr-kunnr ASSIGNING <wa_tbl>.
            If sy-subrc = 0.
            *Delete
            delete <tbl> from <wa_tbl>
    delete <tbl> index  lw_tabix.
            Endif.
         Endloop.
    The above delete statement doesn't work ,even we can't use index as it gives a syntax error " something related to "index is not allowed in standard table or hash table.
    Can you help me ab't how to delete records in Dynamic internal table?
    Other option that i am thinking of is to create a static table of type dynamic table.
    means, data itab type standard table of <tbl> .I know the syntax is wrong ,however is there any way to do this?
    Thanks in advance ,
    If you have any suggestion ab't this then do let me know.
    bye,
    Gaurav.

    Hi
    I wrote this code and it works fine:
    DATA LW_TABNAM(10) VALUE 'LFA1'.
    DATA : LW_LINES TYPE REF TO DATA,
           LW_LINE  TYPE REF TO DATA.
    FIELD-SYMBOLS: <TABLE> TYPE TABLE,
                   <WA>    TYPE ANY.
    CREATE DATA LW_LINES TYPE TABLE OF (LW_TABNAM)
    WITH NON-UNIQUE DEFAULT KEY.
    ASSIGN LW_LINES->* TO <TABLE>.
    CREATE DATA LW_LINE TYPE (LW_TABNAM).
    ASSIGN LW_LINE->* TO <WA>.
    DO 10 TIMES.
      APPEND INITIAL LINE TO <TABLE>.
    ENDDO.
    SY-TABIX = 4.
    DELETE <TABLE> INDEX SY-TABIX.
    WRITE SY-SUBRC.
    I hope it help you
    Max

  • How to include the page dynamically in JSF

    Hi all
    Below is static include
    <jsp:include page="../inc/sideMenu.inc"/>
    How to include the file dynamically
    Thanks

    Hi,
    Though I have not tried it I think making use of a variable to hold the page name to be included should work. Could you try this and see if it works?
    Cheers
    Giri :-)

  • How to include the pages dynamically in JSF

    Hi all
    Below is static include
    <jsp:include page="../inc/sideMenu.inc"/>How to include the file dynamically
    Thanks
    Sudhakar

    Hi,
    Though I have not tried it I think making use of a variable to hold the page name to be included should work. Could you try this and see if it works?
    Cheers
    Giri :-)

  • How to change the images dynamically in a table.

    Hai,
                     How to change the images dynamically in a table based on the condition in webdynpro abap.
    Edited by: Ravi.Seela on Oct 13, 2011 2:17 PM

    This has been much discussed earlier. Do search posts.
    For your scenario i would do the following.
    inside your node which is binded to the table, i create a new node image with cardinality 1 ..1 and a attribute called path of type string.
    create a  supply function for the node image .
    Supply method now has a Element (Parent element ) and node.
    Based on your record in element, set the right image source to path attribute and bind the node.
    This will make sure that the framework calls the image supply function for every row in a table.

  • How can i add a dynamic header value in to the pdf

    I am using a AssemblerService (Invoke DDX) to modify a Pdf file. How can i enter a dynamic value into the header using ddx ?
    DDX used
    <DDX xmlns="http://ns.adobe.com/DDX/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://ns.adobe.com/DDX/1.0/ coldfusion_ddx.xsd">
        <PDF result="Out1">       
            <PDF source="Doc2">
                <Header>
                    <Right>
                        <StyledText>
                            <p>"here i need to add a dynamic data from the process"</p>
                        </StyledText>
                    </Right>
                </Header>
            </PDF>
        </PDF>
    </DDX>
    Thank You.

    Insertion Point is a placeholder Object which is used to dynamically replace while assembling. Search through the assmber guide to get any hints.
    Nith

  • How to create  some columns dynamically in the report designer depending upon the input selection

    Post Author: ekta
    CA Forum: Crystal Reports
    how  to create  some columns dynamically in the report designer depending upon the input selection 
    how  export  this dynamic  report in (pdf , xls,doc and rtf format)
    report format is as below:
    Element Codes
    1
    16
    14
    11
    19
    10
    2
    3
    Employee nos.
    Employee Name
    Normal
    RDO
    WC
    Breveavement
    LWOP
    Sick
    Carers leave
    AL
    O/T 1.5
    O/T 2.0
    Total Hours
    000004
    PHAN , Hanh Huynh
    68.40
    7.60
    76.00
    000010
    I , Jungue
    68.40
    7.60
    2.00
    5.00
    76.00
    000022
    GARFINKEL , Hersch
    66.30
    7.60
    2.10
    76.00
    In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
    if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
    Can anybody help me how do I design such report....
    Thanks

    Hi Developer life,
    According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
    As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric  values) in the details,  add  an filter to filter the data base on this column group, but if
    the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
    If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
    Similar threads with details steps for your reference:
    https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings 
    If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
    Any question, please feel free to let me know.
    Best Regards
    Vicky Liu

  • How to create a folder dynamically in KM repository

    Hi All,
    Could you please let me know how to create the folder dynamically in KM...
    Thanks in Advance,

    >
    Romano Bodini wrote:
    > Hi,
    >
    > Search the forum. And the SDN. Then ask.
    >
    > [Creating folders in KM dynamically|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1761]
    >
    > Romano
    Actually, "look at the API documentation" should be in that list.

  • How to fire an event dynamically in JSF Page

    Hi All
    How to fire an event dynamically in JSF Page?
    Thanks
    Sudhakar

    Hi,
    Thanks for the response. I mean to say, if I create the components dynamically then how can I fire events for those components.
    In otherwords,
    If I create the Button dynamically with particular ID being set to that component, then how can I call button action event when the button is clicked??
    Hope you understand
    What is the role of MethodBinding mechanism here??
    Thanks
    Sudhakar Chavali

  • How to pass the arguments dynamically to a Oracle procedure.

    Hi all..
    How to pass the arguments dynamically to a procedure.
    Thanks in Advance.

    I have a concurremt program which has 5 parameters right now. The user can add more parameters from front end as per their requirement.
    So that time.. the 6th parameter has to add to my procedure dynamically.
    Thanks.

  • How to pass Stages Guid dynamically in declarative workflow

    hello,
    How to pass Stages Guid dynamically in declarative workflow.
    Example For List we used to pass guid like this 
    System.Guid.Parse("{$ListId:Lists/Testlist;}")
    help me out to pass stage guid...
    any help would be appreciated!!!!
    Thanks regards, Vignesh.

    You need to make use of command line arguments. You can go through this link for example.
    http://www.freeos.com/guides/lsst/ch02sec14.html
    In your shell script(say test.sh) you can have
    exp fas/xxxxxx@fasbd001 file=audit_grn_28aug.dmp tables=audit_grn query=\"where org_grp_i=$1 \"$1 indicates it accepts the first argument from command line. if you want to pass 19, add that next to the script you're executing.
    From command line you can call this shell script say test.sh 19

Maybe you are looking for

  • Batch action quit in same spot 2x in a row

    I'm running a batch action to make jpge previews of 10,000 Tiff files. First time I ran it, it quit after 3000 images.  I just deleted those and tried again, Woke up this morning and it quit right at the same place. How does one resume the batch wher

  • Detecting the end of an flv in ac 2

    I have a custom player i built. How do i detect the end of the flv so i can prompt an action, like go to another frame for instance or loop or call another flv. Have been struggling to find a solution online and keep hitting dead ends.. Thanks in adv

  • Camera Raw and Photoshop fluctuations

    When I open a JPG from Camera Raw and view it in Photoshop I'm noticing that the Photoshop version, viewed at 100%, is slightly darker, viewed side-by-side, than the preview in Camera Raw, also at 100%. Both in the same color space (sRGB). Interestin

  • Drop column from compressed partitioned table

    Hi, DB version is 11.2.02. We have table which is range partitioned and sub-partitioned by list. Table is also compressed. When I try to drop a column, I get error. CREATE TABLE DWH_REP.P_RATING (   id_source$                 NUMBER(38,0)  NULL,   ti

  • Format Question - Biz Objects

    I created a report with 8 data fields; I added a 9th column and included a formula that provides a 'status' for a given line item based on the data pulled within the report.  There are three seperate statuses; I then inserted a break which now sepera