Reg:how to create radiobuttons in fuctionmodule

hai,
I facing one problem i got requirement to create raio buttons in function module.
Is it poosible to create radiobuttons in functionmodules.
could any body suggest me.
regards,
Chaitanya

Hi,
Open the function group that has this function module in SE80 and right click on the fucnction group name and select Create->Screen.
You can call that screen in your Function module using CALL SCREEN.
Click on Layout to goto Screen painter SE51 and add radio buttons there.
OR Double clikc on the screen number in the below statement.
CALL SCREEN 9000.
When you double click on 9000 in your function module you will be taken to Screen painter there you can add radio buttons.
Regards,
Sesh

Similar Messages

  • How to create radiobuttons dynamically

    Hi,
    I've always used static simpletypes when I created radiobuttons dynamically, but now I'm trying to get the possible answers of a radiobutton from a RFC.
    My scenario is:
    I use an initial RFC which returns me a table with questions, desciptions,...and then I use a 2nd RFC with the identifier of each question and SAP returns the different possible answers the user could choose in the radiobutton. All possible answers will be strings.
    Can you help me?
    wdDoInit
    ======
    //execute first RFC: Zhr_Bapi_Appraisal_Getdetail_Input
    wdContext.currentZhr_Bapi_Appraisal_Getdetail_InputElement().setAppraisal_Id(codeBapi2);       wdContext.currentZhr_Bapi_Appraisal_Getdetail_InputElement().setPernr(pernBapi2);
    wdContext.currentZhr_Bapi_Appraisal_Getdetail_InputElement().setPlan_Version("01");
    wdThis.wdGetBapiEvaluacionesCust0Controller().executeBapi_Appraisal_GetDetail();
    wdThis.wdGetBapiEvaluacionesCust0Controller().executeZhr_Bapi_Appraisal_Getdetail_Input();
    for (int i=0; i<IAppraisal_DataSalidaNode dataSalidaNode = wdContext.nodeOutputSalida().nodeAppraisal_DataSalida().size(); i++){
    //execute second RFC:Bapi_Appraisal_Scale_Getdetail_Input
    wdContext.currentBapi_Appraisal_Scale_Getdetail_InputElement().setElement_Id(element.getElement_Id());     wdContext.currentBapi_Appraisal_Scale_Getdetail_InputElement().setElement_Type(element.getElement_Type());
    wdContext.currentBapi_Appraisal_Scale_Getdetail_InputElement().setPlan_Version("01");
    wdThis.wdGetBapiEvaluacionesCust0Controller().executeBapi_Appraisal_Scale_Getdetail_Input();
    // if the second RFC returns a anything different form null I would like to create/edit generic simpletype to create the radiobutton possible answers
    if (wdContext.nodeOutputSalida2().size>0){
    //which code should I use here?? I guess that something like this:
    for (int j=0; j<wdContext.nodeOutputSalida2().size; j++){
    IwdAttibuteInfo info=wdcontext.node<nodename>().getNodeInfo().getAttribute(<Attribute name created in the Node>);
    ISimpleTypeModifiable stm=info.getModifiableSimpleType();
    IModifiableSimpleValueSet svs=stm.getSVServices().getModifiableSimpleValueSet();
    svs.put(""+j,wdContext.nodeOutputSalida2().getAnswerElementAt(j).getAnswerText());
    Edited by: Joan Roda on Jun 13, 2008 10:24 AM

    Hi Armin,
    I am encountering a similar problem.
    The texts property is supposed to be bound to an element in the context, but it need to provide more than one text (and one element only has one value, if I am correct).
    How can I show more than one element in the radiobuttongroup?
    Thanks, Johannes

  • How to create Radiobutton in webdynpro abap

    Hi experts,
    I am new to webdynpro abap.I have been given 1 scnario in webdynpro abap to develope:the scnario is as follows:
      In first screen there are n no of user are present, i hv to select any user using radiobutton then that user will  able to write some text or message in second screen or view( i hv to decide where user can write text or message).similarly other user which has been selected by radiobutton will able to write text in screen or view belongs to them respectbly. Then if user click on save or delete button the text should be saved or deleted from ztable.
                                                      I think i hv to create TEXTVIEW or TEXTEDIT so that respective user can write text or message in their view or screen. Please suggest me how to prossed.How to create TEXTVIEW & TEXTEDIT & what is its use.
    Secondly please give me steps to create Radiobutton in webdynpro abap.
    Thanks In advance,
    Sanjay

    Hi,
    Refer the Standard comp : wdr_test_events . View - Radiobutton.
    SAP Online help : http://help.sap.com/saphelp_erp2005/helpdata/EN/c0/e8884118aa1709e10000000a155106/frameset.htm
    For TextView and TextEdit :
    Refer this  : http://help.sap.com/saphelp_erp2005/helpdata/EN/6a/a6884121a41c09e10000000a155106/frameset.htm.
    This will give a clear idea with diagram about both these UI element.
    Edited by: Saurav Mago on Aug 21, 2009 8:35 AM

  • How to create radiobutton in webdynpro

    In my screen we have to enter the material no in I/O Box and click on Create radio button and press ok  button means. It should go to Create View..
    How to give action code for create  radiobutton and where we have to enter the code..
    Please post the sample code for giving action to radiobutton.... Tell in step by step process

    Hi,
    When you want to navigate to create view?. when click on Ok button or when selecting radio button..?
    If you want to navigate to create view when click on ok button you need to write in OnActionOk. else for radio button also you will have one event called onSelect. You can create an action for that and write your code.
    In onActionOk or onActionCreate,
    Read the attribute using wizard to which you bind your radio button texts.
    Let say you created a node called NODEA with cardinality 0..n and you created attribute TEXT under NODEA and you binded your radiobutton texts to TEXT attribute under node.
    Now Read the attribute TEXT under NODEA using wizard.
    now it will automatically generate code.
    Now lv_text contains the selected radio button text.
    if lv_text is create,
    Navigate to create view using fire outbound plug.
    check this code below,
    DATA lo_nd_rdb TYPE REF TO if_wd_context_node.   " here rdb is your node name.
        DATA lo_el_rdb TYPE REF TO if_wd_context_element.
        DATA ls_rdb TYPE wd_this->Element_rdb.
        DATA lv_text TYPE wd_this->Element_rdb-text.
    *   navigate from <CONTEXT> to <RDB> via lead selection
        lo_nd_rdb = wd_context->get_child_node( name = wd_this->wdctx_rdb ).
    *   @TODO handle non existant child
    *   IF lo_nd_rdb IS INITIAL.
    *   ENDIF.
    *   get element via lead selection
        lo_el_rdb = lo_nd_rdb->get_element( ).
    *   alternative access  via index
    *   lo_el_rdb = lo_nd_rdb->get_element( index = 1 ).
    *   @TODO handle not set lead selection
        IF lo_el_rdb IS INITIAL.
        ENDIF.
    *   get single attribute
        lo_el_rdb->get_attribute(
          EXPORTING
            name =  `TEXT`
          IMPORTING
            value = lv_text ).   " this lv_text contains your selected radio button value
    if lv_text = 'Create'.
    wd_this->fire_to_create_plg(       " here to_create is the outbound plug name.
    elseif ....
    endif.
    check this article for navigation demo: [Navigation in WDA|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/308ebfe9-a07a-2c10-e494-9849d50efc88?QuickLink=index&overridelayout=true]
    Hope this helps u,
    Thanks & Regards,
    Kiran.

  • Reg: How to create shipment by using delivery...

    HI all,
    How to create shipment by using delivery...
    Thanks

    Hi Jamie:
    Thank you for your help.
    Could you please tell me what is "SQL*Plus session"?
    I modified the code into:
    Statement Stmt = Conn.createStatement();
    Stmt.executeUpdate("CREATE VIEW csclass AS SELECT * FROM CSGRADE10");
    The error message is the same:
    SQLException: Error during query: Unexpected Exception: java.sql.SQLException message given: Syntax error or access violation: You have an error in your SQL syntax near 'VIEW csclass AS SELECT * FROM CSGRADE10' at line 1
    SQLState: S1000
    VendorError: 0
    I am using MySQL.
    Jack

  • Reg:how to create transactional rfc's

    Hai to all,
    I want to create a trfc function module
    how to create that function module.
    could any body please tell me
    regards,
    Chaitanya

    Hi,
    Check the link,
    http://help.sap.com/saphelp_nw70/helpdata/en/22/042aa3488911d189490000e829fbbd/content.htm.
    Hint: Search SDN or help.sap.com before posting questions.
    Regards,
    Sesh

  • Reg: How to Create Enhancement spot in $TMP Package

    Hi All,
    i had seen so many eLearning concepts which sap provided to demonstrate the ENHANCEMENTS Topic,But in that they are using the Enhancement Spots which already created in $TMP Package,So To learn this concept i am trying to create the Enhancement Spots in $TMP , But it is not allowing me to create in $TMP and it's showing the error message like Enhancements can create in only 'SAP' Packages only,So  if i will create in SAP Packages it is allowing,
    But i would like to create Enhancement Spots in $TMP Package,So it would be appriciable any one could help me regarding this.
    Thanks in Advance
    Srihasa...

    Thanks Rasheed for your quick response, i tried from the SE 38 To create Enhancement Spots in the $TMP Package,But it's not allowed me,Can you tell the way how to create the Enhancement Spots in the $TMP Package i mean is there any other Tcodes are available to create the Enhancement Spots.
    Thank you..
    Srihasa

  • Reg: How to create Variants for program SAPF120

    Hi SAP gurus,
    How to create variants for programm SAPF 120.
    with regards
    JK rao

    Hi,
    I suppose you intend to include 22 more Recurring Documents in the F.14 screen in an existing variant. Please check if these 22 are Recurring Docs in FBD3. And make sure that all 48 are appearing in the Document Number (Multiple Selection) tab of F.14. You can test (in a test system) by executing after inclusion and not necessarily saving as variant to make sure that BI session includes all 48 docs.
    Rgds.

  • Reg: How to create and assign jco in xcm (CRM 5.0)

    Hi All,
    I have configured CRM 5.0 on Win/SQL.
    I am in the process of configuring IPC 5.0.
    I have made the cnahges as per the config. guide for IPC.
    I have to do some settings in XCM.
    For which I have to create and assign JCO in XCM.
    Which I am not able to do so.
    Please do advice and help.
    Rgs
    Vikas

    Vikas
    Good. I  will support you to my level best !!!
    <b>Assumption: U have the Admin User Id /Pass</b>
    The URL should look similar to this :http://<host>:53500/isauseradm/admin/xcm/configTreeSelect.do
    1. On the Left Panel, Select
        <b>Start --> Components --> Customer --> JCO</b>
    2. Now give the name of the JCO Customer component configuration and press ENTER
    3. Meanwhile Collect the Details of the SAP CRM 5.0 Server (<b>Client no,lang EN, System Nu,AS Host</b>)
    4. Pucth in the Appropriate details at the Properties requested in the JCO Property. Go with <b>group_connect</b> in <b>Base Configration</b> prperty
    5. <b>Save</b> the Config
    6. Press <b>TEST RUN button</b> for testing the JCO connection
       REsult will be:  <b>GREEN for Succesful Connection
                        RED for unSuccessful Connection</b>
    Hope this helps !!!
    Thanks
    Jack
    <b>Allot points if my post helps !!!!</b>
    Message was edited by: Jack

  • How to create a dynamic radiobutton in webdynpro dynamically

    HI,
    I want to create radiobutton in webdynpro dynamically.But this button in not enabled.Code:-
         IWDNodeInfo info =wdContext.getNodeInfo().addChild("RadioBUttonDymanicNode",null,true,false,true,false,false,true,null,null,null);
         IWDRadioButton rb = (IWDRadioButton)view.createElement(IWDRadioButton.class,null);
         String testAtt = "testAtt";
         info.addAttribute ("testAtt","ddic:com.sap.dictionary.string");
         rb.bindSelectedKey("RadioBUttonDymanicNode." + testAtt);
         rb.bindKeyToSelect("aa");
         rb.setEnabled(true);
         theTransContainer1.addChild(rb);
    Please suggest me how to make it enable.
    Regards
    -Sandip

    Hi Sandip,
    Try this code inside the wdModifyView(),
    if (firstTime)
            IWDRadioButtonGroupByKey radioButtonGroup =(IWDRadioButtonGroupByKey)
            view.createElement(IWDRadioButtonGroupByKey.class, "MyRadioButtonGroupByKey");
            radioButtonGroup.bindSelectedKey(<attributeName>);
            radioButtonGroup.setEnabled(true);
            IWDTransparentContainer container=(IWDTransparentContainer)
            view.getElement("RootUIElementContainer");
            container.addChild(radioButtonGroup);
    Regards
    Kishan

  • How to create a variant to a maintenance view (trans: SM31)

    Hi gurus.
    I have created a maintenance view (called z_jest). By running it from SM31 there is a variant option. However, I am not able to create the variant which I want to filter a selection upon in this transaction.
    I have even looked into transaction SE54 and created a variant for the maintenance table view there( called z_jestv). Then going back to transaction SM31 and view z_jest, i push 'Variant' radiobutton and type as variant: 'z_jestv', I only get the message: "Variant z_jestv for object z_jest does not exist".
    Can anybody please advice on how to create and/or connect the variant to the maintenance view?
    Regards LL.

    Hi Mahalakshmi
    Thanks for reply.
    When I look into the procedure, there is a prerequisite: "The basis dialog for which the maintenance variant is created already exists."
    I am a little bit unsertain if I miss this 'Basic dialog'. Can you please advice on how to check / create this 'basic dialog' before I go on to create the variant. (I need this 'basic dialog' as input in the procedure you sent.)
    (Note: I have already created a 'maintenance dialog' for the view, but I have a feeling, that is something different...)

  • HOW TO CREATE 2 PARAMETER IN SINGLE LINE.

    Please do NOT POST IN ALL CAPITALS
    HI,
    HOW TO CREATE TWO PARAMETERS IN A SINGLE LINE AND THE INPUT HAS TO BE DISPLAYED IT IN A POP UP BOX. THIS IS MY TRAINING TASK HELP ME TO SOLVE IT.
    REGARDS,
    SREERAM
    Edited by: Matt on Mar 19, 2009 1:26 PM

    hi,
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(10) text-001.
    PARAMETERS:
    p_carrid TYPE spfli-carrid.
    SELECTION-SCREEN COMMENT 30(10) text-002.
    Parameter p_connid TYPE spfli-connid.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1.
    Radio buttons in a single line.
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(10) text-001.
    PARAMETERS p_rad RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 30(10) text-002.
    Parameter p_rad1 RADIOBUTTON GROUP grp.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1
    Thanks
    Sharath

  • How to create an Event & schedule a rpt based on results of that Event..

    Help,
    I need to schedule a report, that will run after an event is done. I only want the rpt to run if the event produces more than 1 record.
    I dont know how to create an event? I am assuming I can use a SQL qry as an event. I would like to use:
    select count(*) as RegCounts from [reg contact log] 
    where [due date] = date() +1 and [response due]=Yes
    Erin

    Help,
    I need to schedule a report, that will run after an event is done. I only want the rpt to run if the event produces more than 1 record.
    I dont know how to create an event? I am assuming I can use a SQL qry as an event. I would like to use:
    select count(*) as RegCounts from [reg contact log] 
    where [due date] = date() +1 and [response due]=Yes
    Erin

  • 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 create drill down report in sap query

    how to create drill down report in sap query ,

    hi,
    The pdf below gives the steps to create drill down report.
    http://www.sappoint.com/abap/eis.pdf
    also check.
    <a href="http://72.14.203.104/search?q=cache:k-SFYy_rjPIJ:www.hrexpertonline.com/archive/Volume%252003%2520(2">http://72.14.203.104/search?q=cache:k-SFYy_rjPIJ:www.hrexpertonline.com/archive/Volume%252003%2520(2</a>
    regs,
    jaga

Maybe you are looking for

  • Can iPhoto meet my user sharing & back-up needs?

    Hi all and happy new year, I have been struggling with iPhoto ever since I switched to a mac a year ago. Most importantly for me I want to share a library of shared family photos with my wife who has her own user profile on our mac, Apple's published

  • Error while autoSubmit = true in table row fields.

    I am having a data table bonded with a VO object. Table contains records in a inputText. When clicking on Add button adds a new blank row in the table. I need to update this row input fields and need to retrieve the latest Vo on server side. For that

  • Run time error " OBJECTS_OBJREF_NOT_ASSIGNED_NO"

    Hi, I am getting runtime error in Web dynpro component controller. The issue is, i am trying to retrive data from backend in adobe form. When i do this, i am getting dump OBJECTS_OBJREF_NOT_ASSIGNED_NO. Error details are given below, can some one ple

  • Problem viewing locally registered portlets

    Hi, Over the last few days, we have ben facing problems accesing locally registered Providers. On trying to view a portlet, Internal Server Error 500 pops up on each portlet. The application log is as: 06/11/01 07:02:39 portal: id=86473141267,1 Inval

  • PDK or WebDynpro for complex UI creation and re-engineering

    Hi all,     For our requirement, we need to create complex UI design and post customization (registration, create order based on different conditions and validations and so many things).     Please help me to take proper decision to choose developmen