How to change the select options selection text dynamically in webdynpro abap ?

I am using standard interface WDR_SELECT_OPTIONS.... i want to change the Selection text dynamically in my select options.I.E. if the select option is for VBELN field than i want to change its description SALES ORDER Number through Code to some other text.
If anyone can please help me in this.

Hi,
You can achieve your requirement as below
Get the range table of your selection field as below
          data lt_range_table type ref to data.
          wd_this->m_handler->GET_RANGE_TABLE_OF_SEL_FIELD(
                    exporting
                    i_id = 'VBELN'
                    receiving
                    rt_range_table = lt_range_table ).
Update the selection field with new description - 'Your New Text'
          wd_this->m_handler->UPD_SELECTION_FIELD(
                    exporting
                         I_ID = 'VBELN'
                         I_DESCRIPTION = 'Your New text'
                         I_IS_AUTO_DESCRIPTION = abap_false
                         IT_RESULT = lt_range_table ).
You can also pass the other parameters as per your requirement
Hope this helps you.
Regards,
Rama

Similar Messages

  • How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit.

    How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit. I am uanble to modify it to 5.38 pt for example. Its only allowing to 1 decimal place.

    Click on each field and the choose Properties from either File menu (or if on Mac hold dow mouse button until context menu appears choose properties)
    go to Font
    choose desired size and type font,you can choose to make this the default.
    Do this with each field.
    Or if you have a lot of fields:
    while one is selected select all of them
    then go to fonts in properties
    change Font and size and make default.

  • How to change the font size of Text box tool ?

    How to change the font size of Text box tool ?
    I am using Acrobat PDF 6.0
    Tools > Advanced Commenting > Text Box Tool
    I need to know how to change the font size. The default font size is too big.
    let me know
    Thanks

    I do not have AA6 available right now (I can check at home this evening). I am also using AA Pro, not Std. In AA7, there is a text box tool that is a commenting tool. When I started typing, a properties toolbar came up that had the font size and such. I haven't figured out how to get the toolbar after the fact. In AA8, I selected the text box tool and then went to view and selected the properties bar (the font size and all showed then), or use Ctrl-E when editing the text. I have not been able to figure out how to edit the text in a text box after you have created it - think it is a mental block right now. Bill

  • How to change the font size of text and case in smartforms

    hi,
       could any one explain how to change the font size of text in smartforms. ex. previously i had taken P4 left aligned and C6 but now i want to decrease the font without making it bold. pl......... guide me
       secondly the value which are coming from tables are upper case but i need lower case. pl. guide
    thanking u

    check out the smart styles...create a font of ur size n use.
    Define the paragraphs & character formats using SMARTSTYLES & use them in your smartform.
    You have to give the smartstyle name in the Form attributes-->Output options for the formats to be used in your smartform.
    You can define font size in Smartform Style.
    Smartform Styles > Charcterformat> Font --> size.
    to load the font to SAP server chk this
    Re: Adding a new font for SAPscript/SMARTFORM output
    Regards
    Vasu

  • How to change the font size of text element in smartform

    Hi
    i want to know how to change the font size of text element in smartform
    regards
    Gincy

    Hi
    You can create Smartstyles, in which you can define paragraph formats for texts and character formats for character level changes.
    Paragraph format ---> alignment, font size etc
    character format for ---> superscript, subscript.
    After creating, in your smartform, there will be a option in the text element to enter a style.
    You give the created style and you can use the paragraph and character formats i that style.
    Hope this is clear..
    Regards
    Sekar

  • How to change the colour of selected item in itemrenderer

    Hello guys
    please tell me how to change the selected image( which is in itemrender of tilelist).so that the colour sholud be shown within  image not its outer part due to renderer.
    Thanks in Advance
      vineet sharma

    Currently you cannot, it is a known (and hopefully reported, and at least addressed for next version) bug (or limitation, as they rushed to get the components out before JavaOne...).
    People reported they just put an empty text and put a label beside the component. Ugly workaround (bad when the component will be complete) but if it works... :-)

  • CS4- JS : How to change the DTD Option - Reg.

    Dear All,
    I'm struggle to not getting the answer for change the DTD options though Script.
    Here I can Load the DTD using script and Validate then Its showing so many Errors, It means the root element is wrong [DOCTYPE] so the way I can change as per the XML Root Element.
    Root Element : Chapter
    Load DTD -> DOCTYPE name is  : text
    //================ Start Coding =================================//
    app.doScript(File("D:/program files/Adobe InDesign CS4/Scripts/XML Rules/glue code.jsx"));
    var myDoc = app.documents.item(0);
    var Store = new  Array();
    var count=0;
    myDTDPath = "C:\\Program Files\\Adobe\\Adobe InDesign CS4\\Executables\\Parser\\Macmil.dtd";
    myDoc.importDtd(File(myDTDPath));
    main();
    function main()
      if (app.documents.length != 0)
        var myDocument = app.documents.item(0);
        //This rule set contains a single rule.
        var DTDTitle  = new Array (new DTDRootTitle);
       with(myDocument)
         var elements = xmlElements;
         __processRuleSet(elements.item(0), DTDTitle);
      else
        alert("No open document");
      //Adds a return character at the end of every XML element.
        function DTDRootTitle()
          this.name = "DTDValidation";
          //XPath will match on every XML element in the XML structure.
          this.xpath = "//chapter";
          // Define the apply function.
           this.apply = function(elm, myRuleProcessor)
                with(elm)
                   Store[count] = elm.validate();
                   count+=1;
              return true;// Succeeded
            } //End of apply function
       for(var k=0; k<Store.length; k++)
            var test = Store[k];
             for(var m=0; m<test.length; m++)
              if(test[m].isValid == true)
              $.writeln(test[m].element.markupTag.name);
              $.writeln(test[m].errorMessage);
    //========================== End of the coding ==========================//
    Question : 1
    Manually I can load the DTD & change the DTD Options as per the Root Element of the XML.
    After Validate using Root Element Itself, Its working fine. Zero Errors.
    Mean while I can Load DTD though Script but I can't change the DTD Options, through Script.
    So Please any one can give me the solution for change the DTD Options using script.
    Please any one can give the solution, Really I can appriciate for this...
    Hope I'm waiting the result for this query....
    Thanks & Regards
    T.R.Hairhara Sudhan

    hello  T.R.Hairhara Sudhan
    i don't know whether this is write answer or not .
    do one thing from active doc get reference of Dtd and from dtd set rootTag = "root tag"
    e.g
    var dtd =  app.activeDocument.dtds[0];
    dtd.rootTag = xmlElement.markupTag;
    here xmlElement is value for "Validate from" in DTD option
    Regards
    tahir1987.

  • How to Change the customer subscreen tab text in maintanance order ?

    Hi all,
    I have implemented a screen-exit for maintanance order using IWO10018. it is working fine but the tab text of the added screen is ENHANCEMENT. I tried to change it by creating the text symbols in  the program with the screen . But still it is not changing.
    Please help me to solve the issue?
    Thanks,
    Aravind.

    Refer:
    Re: Change tab strip name for ME52N transaction
    How to change the name of Customer  Tab strip .
    Rename Custom tab in IW31 transaction
    Check whether you can maintain the tab page title here
    transaction spro-investment management-Appropriation requests-control data-specify tab layout for Appropriation reuqests

  • How to change the attributes of screen fields dynamically

    <b></b>
    well i have created a table by name empmaster_data with following fields.
    *emp_id.
    *emp_fname.
    *emp_lname
    *dob.
    *doj.
    *dept.
    *desig.
    now using a single screen i want to create,change and display the information.even i am using save and exit button.
    now i want to change the attributes of screen fields dynamically like active,input,output,invisible.

    Hi,
    Have Different Radio Buttons for the purposes what you have and use AT Selection Screen Output, Under the event Use loop at screen and with continue with your requirement.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • How to change the master page and theme dynamically in sharepoint2013 anonymous site

    hi
    I have to change the master page and theme dynamically in sharepoint2013 anonymous site. i have to show one master page to authenticated user  another master page to anonymous user through code
    Srinivas

    Hi Srinivas,
    According to your description, my understanding is that you want to change the master page and theme dynamically based on the anonymous users or authenticated users.
    Per my knowledge, there is not an OOB way to change the master page and theme dynamically.
    SharePoint is based on Asp.net, as we know Asp.Net request processing is based on pipeline model, so we can delevlop a custom HttpModule to dynamic change the master page based on current logon user profile(using SP Object Model to get).
    Another solution could be to use the SecurityTrimmed control that injects the CSS depending on global user permissions, more information, please refer to
    it.
    Some similar posts for your reference:
    http://social.msdn.microsoft.com/Forums/office/en-US/c2b2d0da-c752-4aea-9c2d-e31a5b1a2988/sharepoint-2010-dynamic-masterpage-based-on-userprofile-property
    http://johanleino.wordpress.com/2011/10/20/using-a-different-master-page-for-authenticated-users-in-sharepoint/
    http://sharepoint.stackexchange.com/questions/21679/how-can-we-use-a-different-masterpage-for-annoymous-and-authenticated-users
    http://sivarajan.me/post/How-to-customize-the-SharePoint-2013-Master-Page-for-Anonymous-Users
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to change the graph results selections in a query?

    Hi,
    i want to change the graphical representaions of a workbook which were based on the past year 2007
    now i want to have the results for the year 2008. how the year selections can be made for graphical results?
    Raj

    If your table and graph are using the same query as the dataprovider then selection made for the table will be reflected for graph as well.

  • How can change the Prompt of a text item in a form?

    Dear Friends...
    I want to change the label/Prompt of a form ( Miscellaneous Receipt) in Inventory Module. Ie Current lable/Prompt is REFERENCE, i want to change it into BOE. Pls advice me ........
    Regards
    Mary

    To make the change permanent you need to use the same Folders submenu and select either Save ... or Save As.... I would recommend the latter and give the folder your own custom name as this then differentiates any changes from the seeded folders / other locations who might also be using this folder etc.
    Thereafter, either your users will have to select the folder or (better) you can use the Administer Folders option in SysAdmin to default the folder to a particular responsibility or responsibilities.
    Regards,
    Jon

  • How to changed the download  options?

    When I tried to download from internet or files they send me it automatically opens with itunes. How can I change this?

    I'll assume for a moment that you're using Safari to download.
    Click on the word Safari in the menu bar at upper left of the screen.
    In the dropdown menu, select Preferences (or press the Command key with the , key)
    In Preferences, select the General tab (the first one at the left), uncheck the box marked '*Open "safe" files after downloading*'
    That prevents downloaded files from automatically opening the assigned Apple application program.

  • How to change the content of a text input?

    Hi!
    I would like to help me with the following
    I've create and input text, for example this:
    var one= sym.$("one")
    one.html("Enter your answer: ");
    inputOne = $('<input />').attr({'type':'text', 'value':'', 'id':'one'});
    inputOne .css ('font-size', 14);
    inputOne .css ('width', 350);
    inputOne .css ('background-color', '#0a81fb');
    inputOne .appendTo(one);
    Now the user can write anything in this input text.
    The corret word that the user has to write is "correct"
    so i use an if to validate it
    if (inputOne.val() == "correct"){
         alert ("good")
    }else {
           // HERE IS MY PROBLEM!!!   What i need to do is: if the user types a wrong answer i           //need to show him the correct answer in the input text.
    I hope you can help me.
    Thank's =)

    sym.$("NameofInputTextElement").html("What you want to change the text to");
    Have you tried this yet?
    Katherine

  • How to change the height of a folder dynamically?

    Hello everyone!
    I have a detail, I want to make when selecting a tab of a folder, this change in height, then select another tab to return to its original height.
    I'm trying so:
    Private Sub Folder5_ClickAfter(sboObject As Object, pVal As SAPbouiCOM.SBOItemEventArg) Handles Folder5.ClickAfter
                oForm = Application.SBO_Application.Forms.Item(pVal.FormUID)
                oForm.Freeze(True)
                Me.Folder5.Item.Height = 298
                Me.Folder3.Item.Height = 298
                Me.Matrix1.Item.Height = 263
                Me.Matrix0.Item.Height = 113
                Me.Matrix0.Item.Top = 345
                oForm.Freeze(False)
    End Sub
    But I would not change the height of the folder (it does with the other elements).
    Before:
    After:
    Any suggestions?

    Already achieve that works to change the height of a tab, do not change the folder specified, change the height of the GROUPER containing folders.
    It worked like this:
    Private Sub Folder5_ClickAfter(sboObject As Object, pVal As SAPbouiCOM.SBOItemEventArg) Handles Folder5.ClickAfter
                oForm = Application.SBO_Application.Forms.Item(pVal.FormUID)
                oForm.Freeze(True)
                oItem = oForm.Items.Item("Item_32") 'This is the ITEM_ID the GROUPER containing folders
                oItem.Height = 298
                oFolder = oItem.Specific
                Me.Matrix1.Item.Height = 263
                Me.Matrix0.Item.Height = 113
                Me.Matrix0.Item.Top = 345
                oForm.Freeze(False)      
    End Sub

Maybe you are looking for


HashFlare