RadioButtons in DYNPRO

Hello,
I´m creating a DYNPRO radiobutton group and I want to set one as default, is this possible ?
Kind Regards.

Hi,
You can set the variable either before calling the screen or in PBO.
Raj

Similar Messages

  • ABAP Web Dynpro Radiobuttons Problem???

    Hi,
    I need to have 6 radiobuttons horizontally in ABAP Web Dynpro.
    I got the radiobuttons on the web page,
    What I have done is
    For each radiobutton I have KeyToSelect binded to rb1, rb2, rb3, rb4, rb5 and rb6 (rb1, rb2, rb3, rb4, br5 and rb6 are boolean)
    For each radiobutton I have SelectedKey binded to group1 where group 1 is again boolean.
    My problem is if I select the 2nd radiobutton, all the others buttons gets checked, except that radio button and if I try clicking it for the second time then it is fine.
    Please let me know where I am going wrong or is it that I am missing something else to do.
    Thanks
    Sandeep

    Hi,
    Try to use radiobutton group by index UI element. Have a node in the context element with cardinality 0..n and have an attribute text type string. In the properties of the node provide the supply function as "fill_the_node". Bind this node to the radiobuttongroupbyindex UI element.
    In the fill_the_node method.
    data : node type ref to if_wd_context_node,
             elem type ref to if_wd_context_element.
    data : it type table of if_view=>element_node,
             wa like line of it.
    wa-text = 'radiobutton1'.
    append wa to it.
    wa-text = 'radiobutton2'.
    append wa to it.
    wa-text = 'radiobutton3'.
    append wa to it.
    wa-text = 'radiobutton4'.
    append wa to it.
    wa-text = 'radiobutton5'.
    append wa to it.
    wa-text = 'radiobutton6'.
    append wa to it.
    node->bind_table( it ).
    In this way you can have 6 radiobuttons on the browser.
    Thanks
    Mallika

  • Imposible to toggle a Radiobutton in Web Dynpro for Java

    Hi Forum
      I have one table, one column table has a RadioButton, the problem is basically that i can put active all the
    radiobuttons in that column, when only one should be active.
    What can i  do ?*
    Thnks
    Josué Cruz

    Hi,
    Try using a checkbox which can be controlled using a boolean variable (if it does not change your application behavior). if the value need to be set using the result from the backend, it will be easy and u can disable the checkbox.
    Hope this is convenient for u.
    Regards,
    Poojith MV

  • Dynamic Radiobutton Group By key in Web dynpro Java

    Hi I am making an online exam application in that there is a question and four options.  But when i am trying to create radiobuttons i could not bind options with radiobuttons. I tried using all three types of radiobuttons i.e single radiobuttons, group by index and group by key but the problem is the same
    for(int j=0;j<4;j++)
        IWDRadioButtonGroupByIndex radioButtonGroupByIndex = (IWDRadioButtonGroupByIndex)view.createElement    (IWDRadioButtonGroupByIndex.class,"RadioButtonGroupByIndex1"ij);
    radioButtonGroupByIndex.bindTexts("Questions.option"+wdContext.nodeQuestions().getQuestionsElementAt(i).getOption());
    radioButtonGroupByIndex.setColCount(1);
    transparentContainer.addChild(radioButtonGroupByIndex);
    The problem is I get the same set of options in all the questions.
    I am confused at what code should i write in bindTexts in groupby index and bindSelectedKey in groupby key
    Please help
    Swapnil Indulkar

    That's absolutely genius, Armin !
    This didn't strike my mind. Wonderful solution.
    However i have managed to achieve it in a bit complex way as compared to yours.
    (I have hard-coded it for 3 questions with 4 options each.)
    //Code in wdDoInit() of View
         g_questionNode = wdThis.wdGetAPI().getContext().getRootNode().getChildNode("Questions", IWDNode.LEAD_SELECTION);
         g_optionsNode = wdThis.wdGetAPI().getContext().getRootNode().getChildNode("Options", IWDNode.LEAD_SELECTION);
         for(int i=0; i<3; i++){
              g_questionNode.getNodeInfo().addAttribute("Question"+i,"com.sap.dictionary.string");
              g_questionNode.getCurrentElement().setAttributeValue("Question"+i, "This is QuestionText["+ i+"] ?");
              g_optionsNode.getNodeInfo().addAttribute("Option"+i,"com.sap.dictionary.string");
              IModifiableSimpleValueSet optionsSet = g_optionsNode.getNodeInfo().getAttribute("Option"+i).getModifiableSimpleType().getSVServices().getModifiableSimpleValueSet();
              for(int j=0; j<4; j++){
                   optionsSet.put("Q"+i+"O"+j, "This is optionText[" +j +"] for QuestionText[" + i + "]");
    //Code in wdDoModifyView()
        if(firstTime){
              IWDTransparentContainer rootContainer = (IWDTransparentContainer) view.getElement("RootUIElementContainer");
              for(int i=0; i<3; i++){
                   IWDLabel label = (IWDLabel) view.createElement(IWDLabel.class, "label_"+i);
                   rootContainer.addChild(label);
                   label.bindText(g_questionNode.getNodeInfo().getAttribute("Question"+i));
                   label.setDesign(WDLabelDesign.EMPHASIZED);
                   IWDGridData labelGridData = (IWDGridData) label.createLayoutData(IWDGridData.class);
                   labelGridData.setCellBackgroundDesign(WDCellBackgroundDesign.PLAIN);
                   labelGridData.setHAlign(WDCellHAlign.CENTER);
                   IWDRadioButtonGroupByKey rbgbk = (IWDRadioButtonGroupByKey)view.createElement (IWDRadioButtonGroupByKey.class,"rbgbk_"+i);
                   rootContainer.addChild(rbgbk);
                   label.setLabelFor("rbgbk_"+i);
                   rbgbk.bindSelectedKey(g_optionsNode.getNodeInfo().getAttribute("Option"+i));
                   IWDGridData rbgbkGridData = (IWDGridData) rbgbk.createLayoutData(IWDGridData.class);
                   rbgbkGridData.setCellBackgroundDesign(WDCellBackgroundDesign.PLAIN);
                   rbgbkGridData.setHAlign(WDCellHAlign.CENTER);
    This works fine too.
    With regards,
    Amey Mogare

  • How to pass radiobuttons using a submit statements.

    Hi All,
    Can anyone tell me how to pass radiobuttons using Submit statement.
    My problem is that I am able to pass one select option and one parameter using the statement:
    submit (v_repid) to sap-spool without spool dynpro
                       spool parameters s_print_parms
                       using selection-screen '1000' WITH SELECTION-TABLE t_rspar_tab
                       and return.
    This selection screens got to check selections based on 2 radio buttons available in the selection screen which also i need to pass through SUBMIT.Please let me know how do i pass this to the Submit statement.
    Thankx in advance...
    Helpful answers will be rewarded fully...

    Hi Susanth,
                   Create Variant for the calling program, Give that variant( here in the below program variant for calling program that I created is VAR1) in the calling program in SUBMIT Statement.
    <b>
    CALLING PROGRAM:
    </b>
    data:
      w_variant(5) TYPE c VALUE 'VAR1'.
    SUBMIT YH625_CALLED_PROGRAM USING SELECTION-SET w_variant.
    <b>CALLING PROGRAM:</b>
    TABLES spfli.
    parameters:
          w_radio1 RADIOBUTTON GROUP g1,
          w_radio2 RADIOBUTTON GROUP g1.
    SELECT-OPTIONS s_table FOR spfli-carrid.
    WRITE '*************** This is Called program output **********************'.
    Hope this solves your problem.
    If you any query you are welcome.
    Regards,
    V.Raghavender.

  • How to use a radiobutton  group on table control ?

    In the selection screen ,i could define a variable as radiobutton group xxx .It's just so easy ,button when I want to use it in the table control through the the wizard ,but in the 4.6c version there is simply no such as radionbutton component in the panel .how could i do ?

    Hi Jack,
    It's a bit tricky to get the Radio Button in the Table Control. Only a few things needs to be done.
    1. Create a structure with an Checkbox field of TYPE CHAR 1.
    2. Create the Table Control with Wizard and mark the Checkbox field as CHECKBOX in one of the popup.
    3. In the Screen, right-click on the Checkbox field. You will get a list of options and there you should check the radio button option. You will get the selection as Radio button available across all the rows.
    You can check out the demo codes at SE38 by searching DYNPRO.
    Also have a look at this following link.
    http://www.esnips.com/doc/48bd95e8-facc-4932-b923-465ba59bad24/Table-Control
    Hope this will help.
    Thanks,
    Samantak.

  • Tree Hierarchy in Web Dynpro

    Hello All,
    I want to create a web dynpro application that implements some functionlity that I saw in the SAP backend system. In the backend, I have a transaction that allows me to drill down into nodes and add and remove them with a right click context menu. This is like a tree structure with the ability to add, remove and modify node elements. I want to present this to the front end user using web dynpro and possible in a nice table format. How can I go about doing this? Any suggestions?
    Thanks
    Marshall.

    Ok, I try to explain with a simple example.
    Say, your context has the following structure:
    WebDynproClass (node, cardinality=0:n)
    - expanded (boolean)
    - name (string)
    - SubClasses (recursive node -> Class)
    Then, you can build the following tree:
    UIElement (root)
    + AbstractCaption (e_1)
       + AbstractButton (e_1_1)
          + Button (e_1_1_1)
    + RadioButton (e_2)
    with code like
    /* helper method, put inside //@@begin others...//@@end section */
    private IWebDynproClassElement addSubClass(String name, IWebDynproClassElement parent)
      IWebDynproClassElement child = (parent == null)
        ? wdContext.nodeWebDynproClass().createAndAddWebDynproClassElement()
        : parent.nodeSubClasses().createAndAddWebDynproClassElement();
      child.setExpanded(true);
      child.setName(name);
      return child;
    /* builds initial tree, call from wdDoInit() */
    private void init()
      IWebDynproClassElement root = addSubClass("UIElement", null);
      IWebDynproClassElement e_1 = addSubClass("AbstractCaption", root);
      IWebDynproClassElement e_1_1 = addSubClass("AbstractButton", e_1);
      IWebDynproClassElement e_1_1_1 = addSubClass("Button", e_1_1);
      IWebDynproClassElement e_2 = addSubClass("RadioButton", root);
    Now if you want to add "Caption" as subclass of "AbstractCaption" later, you have to find the context element that represents the "AbstractCaption" class and add it as above:
    IWebDynproClassElement parent = find("AbstractCaption");
    addSubClass("Caption", parent);
    If you have to implement the find() method at all depends on your application. Maybe you want to
    - provide a context menu (available since 7.1) on the tree nodes to add child nodes, or
    - provide a static menu at the table cell editor (since 7.0)
    - you provide a toolbar button to add a child node to the currently selected tree node (since 6.40)
    Example for a static menu at a TextView cell editor:
    Table (dataSource = WebDynproClass)
    + TreeByNestingTableColumn (expanded = WebDynproClass.expanded)
       + TextView (text = WebDynproClass.name)
          + Menu
             + MenuItem (id = AddChildItem, onAction = AddChild, nodeElement -> AddChild.parent)
    Action "AddChild" has text "Add Child" and a parameter "parent" of type IWebDynproClassElement. Action handler is
      public void onActionAddChild(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, com.sap.demo.rec.treetable.comp.wdp.IPrivateMainView.IWebDynproClassElement parent )
        //@@begin onActionAddChild(ServerEvent)
        addSubClass("Child #" + parent.nodeSubClasses().size() + " of " + parent.getName(), parent);
        //@@end
    Then you will get a menu at each tree node with an entry "Add Child" that adds a new child node with some generic text.
    Armin

  • How to create a radio button in dynpro during runtime?

    Hi guys!
    How can i create radio buttons in dynpro during runtime??
    any ideas?
    thanks!!

    Hi Thomas,
    I think as of now there is no possibility to create a Radio Button Dynamically during runtime. But of course, there is a work around which I feel you can evaluate.
    If your business requirement demands that you need to have a Radiobutton, you can use the subscreen to place the Radiobutton and later based on your need you can call that screen to enable that button to the user and to make it available.
    Hope this will help.
    Thanks,
    Samantak.

  • How to check whether a radiobutton in a screen is clicked

    Hi All,
    I have created two radiobuttons with screen painter and grouped them and given function- code for the group. In the program i want to check which radio button is clicked. I am not able to set Fcodes for each button differently. Can anyone help me how to do this.
    Thanks and regards,
    Kranthi.

    The function code must be the same, so check the value when processing the code.
    PARAMETERS p1 RADIOBUTTON GROUP grp USER-COMMAND opt.
    PARAMETERS p2 RADIOBUTTON GROUP grp.
    AT SELECTION-SCREEN.
      CASE sscrfields-ucomm.
        WHEN 'OPT'.
          IF p1 EQ 'X'.
            " process p1
          ELSEIF p2 EQ 'X'.
            " process p2
          ENDIF.
      ENDCASE.
    Adapt the logic in PBO with dynpro. (If OK_CODE is the FC of the group, then check individual values of the radiobuttion of the group)
    Regards

  • Alv/radiobuttons

    Hello Experts,
    I am having a requirement to show radio button group as a coloumn in ABAP WEB DYNPRO ALV and capture the 'Yes' , 'No' values of the row .Could you pls provide some examples
    Thanks in Advance.....
    Best Regards,
    Kumar

    Hi,
    1. SY-UNAME contains values only at run time :-). You cannot change the value of that field. even if you change it, the system will will restore it to the correct value at the beginning of the next dialog step.
    2. ALV -> <b>A</b>BAP <b>L</b>ist <b>V</b>iewer. Just like you cannot have a radiobutton on a list, you cannot have it in ALV either.
    Regards,
    Anand Mandalika.

  • Translation of texts on Dynpro - Length !!

    Hello,
    I have some texts of type Label, Radiobutton, Checkbox on my dynpro and now I have to translate it. The route is Goto --> Translation --> CS (language). I get a list of texts but the problem is that some of them are to short for the translation. I see no option for setting a new length.
    I cannot go to the dynpro and set a longer length because that overrides then other fields.
    Any ideas ??
    thanks !!

    done

  • STUDENT HELP: SAMPLE INSERT DATA PROGRAM (DYNPRO)

    Hello,
    I am a current student working on a project for school, so assume I am a beginner.
    I am asking for an example of a simple ABAP Dynpro (Not WebDynpro, we don't have access to that) program that will allow user to input, modify, and delete multiple records at once to a DB table.
    The DB tables are set up like this:
    Z_HBK
    MANDT
    HBK_ID
    S_PLANT
    R_PLANT
    HBK_DATE
    Z_HBK_DATA
    MANDT
    HBK_ID
    DRIVER
    CHECKER
    CUSTOMER
    PRODUCT
    R2S_QTY
    DAM_QTY
    DEST_QTY
    I need to be able to enter multiple records into the Z_HBK_DATA table, with the same HBK_ID. I have set the tables composite key to so the table can accept multiple HBK_ID entries:
    MANDT
    HBK_ID
    DRIVER
    CHECKER
    CUSTOMER
    PRODUCT
    I have tried countless times to use table wizard, but have not been successful.
    Please help my to create simple program that will enter multiple records at 1 time into the Z_HBK_DATA table.
    Also, If anyone can help me to add a button onto the following program to allow user to email report from individual report output screen, that would be very helpful as well.
    Thank you,
    Mike
    *& Report  Z03_HBK_REPORT_ALL
    REPORT  Z03_HBK_REPORTS.
    TYPES:  BEGIN OF TY_HBK_DATA,
            HBK_ID type Z03_HBK_DOC_NUM,
            DRIVER type PERSNO,
            CHECKER TYPE PERSNO,
            CUSTOMER TYPE KUNNR,
            PRODUCT TYPE MATNR,
            R2S_QTY TYPE INT2,
            DAM_QTY TYPE INT2,
            DEST_QTY TYPE INT2,
            END OF TY_HBK_DATA,
            BEGIN OF TY_HBK_DATA_R2S,
            HBK_ID type Z03_HBK_DOC_NUM,
            DRIVER type PERSNO,
            CHECKER TYPE PERSNO,
            CUSTOMER TYPE KUNNR,
            PRODUCT TYPE MATNR,
            R2S_QTY TYPE INT2,
            END OF TY_HBK_DATA_R2S,
            BEGIN OF TY_HBK_DATA_DAM,
            HBK_ID type Z03_HBK_DOC_NUM,
            DRIVER type PERSNO,
            CHECKER TYPE PERSNO,
            CUSTOMER TYPE KUNNR,
            PRODUCT TYPE MATNR,
            DAM_QTY TYPE INT2,
            END OF TY_HBK_DATA_DAM,
            BEGIN OF TY_HBK_DATA_DEST,
            HBK_ID type Z03_HBK_DOC_NUM,
            DRIVER type PERSNO,
            CHECKER TYPE PERSNO,
            CUSTOMER TYPE KUNNR,
            PRODUCT TYPE MATNR,
            DEST_QTY TYPE INT2,
            END OF TY_HBK_DATA_DEST.
    DATA: IT_HBK_DATA TYPE TABLE OF TY_HBK_DATA,
          WA_HBK_DATA TYPE TY_HBK_DATA,
          IT_HBK_DATA_R2S TYPE TABLE OF TY_HBK_DATA_R2S,
          WA_HBK_DATA_R2S TYPE TY_HBK_DATA_R2S,
          IT_HBK_DATA_DAM TYPE TABLE OF TY_HBK_DATA_DAM,
          WA_HBK_DATA_DAM TYPE TY_HBK_DATA_DAM,
          IT_HBK_DATA_DEST TYPE TABLE OF TY_HBK_DATA_DEST,
          WA_HBK_DATA_DEST TYPE TY_HBK_DATA_DEST.
    SELECTION-SCREEN BEGIN OF SCREEN 100.
      SELECT-OPTIONS: S_DATA FOR WA_HBK_DATA-HBK_ID.
    SELECTION-SCREEN END OF SCREEN 100.
    SELECTION-SCREEN BEGIN OF SCREEN 101.
      SELECT-OPTIONS: S_R2S FOR WA_HBK_DATA_R2S-HBK_ID.
    SELECTION-SCREEN END OF SCREEN 101.
    SELECTION-SCREEN BEGIN OF SCREEN 102.
      SELECT-OPTIONS: S_DAM FOR WA_HBK_DATA_DAM-HBK_ID.
    SELECTION-SCREEN END OF SCREEN 102.
    SELECTION-SCREEN BEGIN OF SCREEN 103.
      SELECT-OPTIONS: S_DEST FOR WA_HBK_DATA_DEST-HBK_ID.
    SELECTION-SCREEN END OF SCREEN 103.
    PARAMETERS: HBK_DATA RADIOBUTTON GROUP ONE,
                HBK_R2S RADIOBUTTON GROUP ONE,
                HBK_DAM RADIOBUTTON GROUP ONE,
                HBK_DEST RADIOBUTTON GROUP ONE.
    IF HBK_DATA = 'X'.
      CALL SELECTION-SCREEN 100 STARTING AT 10 10 ENDING AT 100 10.
      PERFORM GET_HBK_DATA.
      PERFORM DISP_HBK_DATA.
    ELSEIF HBK_R2S = 'X'.
      CALL SELECTION-SCREEN 101 STARTING AT 10 10 ENDING AT 100 10.
      PERFORM GET_HBK_DATA_R2S.
      PERFORM DISP_HBK_DATA_R2S.
    ELSEIF HBK_DAM = 'X'.
      CALL SELECTION-SCREEN 102 STARTING AT 10 10 ENDING AT 100 10.
      PERFORM GET_HBK_DATA_DAM.
      PERFORM DISP_HBK_DATA_DAM.
    ELSEIF HBK_DEST = 'X'.
      CALL SELECTION-SCREEN 103 STARTING AT 10 10 ENDING AT 100 10.
      PERFORM GET_HBK_DATA_DEST.
      PERFORM DISP_HBK_DATA_DEST.
    ENDIF.
    *&      Form  GET_HBK_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM GET_HBK_DATA .
      SELECT HBK_ID
               DRIVER
               CHECKER
               CUSTOMER
               PRODUCT
               R2S_QTY
               DAM_QTY
               DEST_QTY FROM Z03_HBK_DATA INTO TABLE IT_HBK_DATA
        WHERE HBK_ID IN S_DATA.
    ENDFORM.                    " GET_HBK_DATA
    *&      Form  DISP_HBK_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM DISP_HBK_DATA .
    LOOP AT IT_HBK_DATA INTO WA_HBK_DATA.
          AT FIRST.
            WRITE: /10'HAULBACK NUMBER',
                    30 'DRIVER ID',
                    50 'CHECKER ID',
                    70 'CUSTOMER ID',
                    90 'PRODUCT',
                    110 'R2S QTY',
                    130 'DAMAGED QTY',
                    150 ' DESTROY QTY'.
            WRITE: /10 SY-ULINE.
          ENDAT.
          WRITE: /10 WA_hbk_data-HBK_ID,
                   30 WA_HBK_DATA-DRIVER,
                   50 WA_HBK_DATA-CHECKER,
                   70 WA_HBK_DATA-CUSTOMER,
                   90 WA_HBK_DATA-PRODUCT,
                   110 WA_HBK_DATA-R2S_QTY,
                   130 WA_HBK_DATA-dAM_QTY,
                   150 WA_HBK_DATA-DEST_QTY.
        ENDLOOP.
    ENDFORM.                    " DISP_HBK_DATA
    *&      Form  GET_HBK_DATA_R2S
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM GET_HBK_DATA_R2S .
      SELECT HBK_ID
               DRIVER
               CHECKER
               CUSTOMER
               PRODUCT
               R2S_QTY FROM Z03_HBK_DATA INTO TABLE IT_HBK_DATA_R2S
        WHERE HBK_ID IN S_R2S.
    ENDFORM.                    " GET_HBK_DATA_R2S
    *&      Form  DISP_HBK_DATA_R2S
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM DISP_HBK_DATA_R2S .
    LOOP AT IT_HBK_DATA_R2S INTO WA_HBK_DATA_R2S.
          AT FIRST.
            WRITE: /10'HAULBACK NUMBER',
                    30 'DRIVER ID',
                    50 'CHECKER ID',
                    70 'CUSTOMER ID',
                    90 'PRODUCT',
                    110 'R2S QTY'.
            WRITE: /10 SY-ULINE.
          ENDAT.
          WRITE: /10 WA_hbk_data_R2S-HBK_ID,
                   30 WA_HBK_DATA_R2S-DRIVER,
                   50 WA_HBK_DATA_R2S-CHECKER,
                   70 WA_HBK_DATA_R2S-CUSTOMER,
                   90 WA_HBK_DATA_R2S-PRODUCT,
                   110 WA_HBK_DATA_R2S-R2S_QTY.
        ENDLOOP.
    ENDFORM.                    " DISP_HBK_DATA_R2S
    *&      Form  GET_HBK_DATA_DAM
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM GET_HBK_DATA_DAM .
      SELECT HBK_ID
               DRIVER
               CHECKER
               CUSTOMER
               PRODUCT
               DAM_QTY FROM Z03_HBK_DATA INTO TABLE IT_HBK_DATA_DAM
        WHERE HBK_ID IN S_DAM.
    ENDFORM.                    " GET_HBK_DATA_DAM
    *&      Form  DISP_HBK_DATA_DAM
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM DISP_HBK_DATA_DAM .
    LOOP AT IT_HBK_DATA_DAM INTO WA_HBK_DATA_DAM.
          AT FIRST.
            WRITE: /10'HAULBACK NUMBER',
                    30 'DRIVER ID',
                    50 'CHECKER ID',
                    70 'CUSTOMER ID',
                    90 'PRODUCT',
                    130 'DAMAGED QTY'.
            WRITE: /10 SY-ULINE.
          ENDAT.
          WRITE: /10 WA_hbk_data_DAM-HBK_ID,
                   30 WA_HBK_DATA_DAM-DRIVER,
                   50 WA_HBK_DATA_DAM-CHECKER,
                   70 WA_HBK_DATA_DAM-CUSTOMER,
                   90 WA_HBK_DATA_DAM-PRODUCT,
                   130 WA_HBK_DATA_DAM-dAM_QTY.
        ENDLOOP.
    ENDFORM.                    " DISP_HBK_DATA_DAM
    *&      Form  GET_HBK_DATA_DEST
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM GET_HBK_DATA_DEST .
      SELECT HBK_ID
               DRIVER
               CHECKER
               CUSTOMER
               PRODUCT
               DEST_QTY FROM Z03_HBK_DATA INTO TABLE IT_HBK_DATA_DEST
        WHERE HBK_ID IN S_DEST.
    ENDFORM.                    " GET_HBK_DATA_DEST
    *&      Form  DISP_HBK_DATA_DEST
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM DISP_HBK_DATA_DEST .
    LOOP AT IT_HBK_DATA_DEST INTO WA_HBK_DATA_DEST.
          AT FIRST.
            WRITE: /10'HAULBACK NUMBER',
                    30 'DRIVER ID',
                    50 'CHECKER ID',
                    70 'CUSTOMER ID',
                    90 'PRODUCT',
                    150 ' DESTROY QTY'.
            WRITE: /10 SY-ULINE.
          ENDAT.
          WRITE: /10 WA_hbk_data_DEST-HBK_ID,
                   30 WA_HBK_DATA_DEST-DRIVER,
                   50 WA_HBK_DATA_DEST-CHECKER,
                   70 WA_HBK_DATA_DEST-CUSTOMER,
                   90 WA_HBK_DATA_DEST-PRODUCT,
                   150 WA_HBK_DATA_DEST-DEST_QTY.
        ENDLOOP.
    ENDFORM.                    " DISP_HBK_DATA_DEST
    Thank you,
    Mike

    Michael, you can adopt your needs using different technologies. If you tried it using a table-control (with wizard), that is something, I do not recommend. Try searching for "editable ALV grid", which will show your editable data that you can always just take from your internal table and pass it to the INSERT / UPDATE / MODIFY statement. You will find it much easier to use during your progress.
    If you have more specific questions, go ahead and ask. But do not expect people will give you the whole code once you do not have the idea (that is the place where it comes to the learning part of it).

  • Radiobutton problem

    Hi All
    In one of our forms we have several Radiobuttons by key. If I bind them to a node which provides the respective value Dynpro automatically generates two Radiobuttons for the underlying values Yes and No. Unfortunateley the label is being generated out of the fixed value for the field ("Y" and "N") instead of the short text "yes and "no". Can anyone help?

    Hi,
       If your problem is showing Text for the Radio Button By Key, just create a Simple Type in your project with Enumeration values as Yes and No. And assign it to the context variable which you bind to the Radio Button by Key. It will show the Text for the radio Buttons.
    Regards,
    Sridhar

  • Error While Deploying A Web Dynpro Appln thru NWDS

    HI,
    I am getting an error while deploying a Web Dynpro Application through NWDS.Following is the Exception
    Aborted: development component '<ComponentName>'/'local'/'LOKAL'/'0.2006.07.26.15.06.05':Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [sapsbx28] with user name: [J2EE_ADMIN] Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    When i give a request for deployment it asks for the SDM password. I enter a valid SDM pwd. If i enter  a invalid SDM pwd i get  some other exception. So the pwd SDM entered by me is correct.
    can any one help me in solving this
    regards
    Nilesh Taunk

    Hi Nilesh,
           Try opening Visual Admin if your not able to login with username(administrator) and password. Problem with NWD2004s do the following steps.
    C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
    1. Click on Secure store
    2. Right you will find :
    admin/password/J2E->retype your admin passowrd which you gave during installation=>SAVE properly
    Restart the server and try login visual admin
           Deploy now...Other wise see this thread same error solved:
    Re: An Deploy Problem about Credentials.
    Regards
    Suresh

  • Unable to Log-in *SAP System Message : Error while reading a Dynpro*

    Hi,
    We are facing issues while logging-in through SAP logon 710.
    The system throws an error dialog box with the below message:
    SAP System Message : Error while reading a Dynpro
    At the OS level Java process  server0 is in stop status with exit code -11113. In ABAP WP Table all processes are in wait status.

    Hi Please find the contents of std_server.out below.
    stdout/stderr redirect
    node name   : server0
    pid         : 4124
    system name : KEC
    system nr.  : 01
    started at  : Mon Jul 27 15:44:57 2009
    [Thr 5656] MtxInit: -2 0 0
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
    CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
    CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
    CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
    SAP J2EE Engine Version 7.00   PatchLevel 110760.44 is starting...
    Loading: LogManager ... 250 ms.
    Loading: PoolManager ... 0 ms.
    Loading: ApplicationThreadManager ... 47 ms.
    Loading: ThreadManager ... 16 ms.
    Loading: IpVerificationManager ... 0 ms.
    Loading: ClassLoaderManager ... 16 ms.
    Loading: ClusterManager ... 93 ms.
    Loading: LockingManager ... 32 ms.
    Loading: ConfigurationManager ... 1032 ms.
    Loading: LicensingManager ... 0 ms.
    Loading: CacheManager ... 93 ms.
    Loading: ServiceManager ...
    Loading services.:
      Service runtimeinfo started. (16 ms).
      Service cross started. (31 ms).
      Service file started. (31 ms).
      Service memory started. (31 ms).
      Service timeout started. (16 ms).
      Service trex.service started. (32 ms).
      Service userstore started. (0 ms).
      Service jmx_notification started. (15 ms).
      Service p4 started. (62 ms).
      Service classpath_resolver started. (16 ms).
      Service deploy started. (3722 ms).
      Service MigrationService started. (31 ms).
      Service bimmrdeployer started. (0 ms).
      Service log_configurator started. (5177 ms).
      Service locking started. (0 ms).
      Service http started. (126 ms).
      Service naming started. (157 ms).
      Service failover started. (16 ms).
      Service appclient started. (31 ms).
      Service javamail started. (47 ms).
      Service ts started. (47 ms).
      Service jmsconnector started. (47 ms).
      Service licensing started. (15 ms).
      Service connector started. (93 ms).
      Service iiop started. (94 ms).
      Service configuration started. (16 ms).
      Service webservices started. (265 ms).
      Service dbpool started. (1204 ms).
      Service UT started. (0 ms).
    Jul 27, 2009 3:45:09 PM         com.sap.security.core.persistence [SAPEngine_System_Thread[impl:5]_54] Fatal: Initialization of ABAP data source (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed: "     Error while reading a dynpro                                        ". This message is critical if it appears during the startup of the AS Java.
    Jul 27, 2009 3:45:09 PM  ...re.server.ume.service.UMEServiceFrame [SAPEngine_System_Thread[impl:5]_54] Fatal:
      service com.sap.security.core.ume.service ================= ERROR =================
    Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
    com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details:      Error while reading a dynpro                                       
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)
         at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152)
    Caused by: com.sap.security.core.persistence.datasource.PersistenceException:      Error while reading a dynpro                                       
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:236)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:491)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:446)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)
         at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:287)
         ... 6 more
    com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details:      Error while reading a dynpro                                       
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)
         at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152)
    Caused by: com.sap.security.core.persistence.datasource.PersistenceException:      Error while reading a dynpro                                       
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:236)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:491)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:446)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)
         at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:287)
         ... 6 more
    [Framework -> criticalShutdown] Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
    Jul 27, 2009 3:45:09 PM             com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_54] Fatal: Critical shutdown was invoked. Reason is: Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.

Maybe you are looking for

  • Password policy excemption

    Hi, Is there any way to provide excemption to some of the users in my system from the password policies set? I mean in my system, I have specified that the password should be of 8 charctors with one special charactor and it should expired after 6 wee

  • Excise capturing without po

    hi gurus how can we capture and post the excise without po plz let me know the steps plz help answers will be rewarded

  • Parallel Cursor Technique

    Hello,          Can some one give me a description in detail as to what exactly Parallel cursor method is and how it works.           Also, what are the Performance Tuning Techniques that we can follow during ABAP Development? Thanks and Regards, Ven

  • How Many Points Do I Need Before I Can Report Abuse?

    I noticed a thread was removed yesterday because it mentioned a bad JB had caused issues and we all know that hacking Apple iPhones and iPads can't be discussed here, however I was about to explain to this person that they should restore their phone

  • Entourage - an error has occured (-192)

    My Entourage programme has a problem which I think is a result of getting an email with some sort of virus. As a result every time I open the programme after viewing a couple of emails I get a message saying 'an error has occured (-192)' and then the