How to add dynamic text in pushbutton created on output for ALV oop

Hi  All,
If you check BCALV_GRID_05 program, you will get one pushbutton ‘DETAILS’ on menu screen. Same king of pushbutton we have in our object but we need to change the text on pushbutton if the user press it we need to process the records ( we are getting number in one variable) and we need to display as '  DETAILS  no  Records with no error ' on pushbutton.
Please let me know if any one of you have any solution for this issue.
Points will be rewarded for helpful ans.
Thanks
Minal.

Hi,
If u see that program u can see
METHOD handle_user_command.
case e_ucomm.
WHEN 'BOOKINGS'.
U have to write ur code here to change the button name like the code u have in ur :
METHOD handle_toolbar.
MOVE 'Detail'(112) TO ls_toolbar-text.
This is where u have to change ur text . In place of detail u put ur text and finally Modify the Internal Table and dont append it as in HANDLE_TOOLBAR. If u modify the text is modified, if u append , a new button is created.
Add this code in WHEN 'BOOKINGS' part of ur code and check
awrd points if helpful
Bhupal
Edited by: Bhupal on Jan 9, 2008 7:36 AM

Similar Messages

  • How to add standard text in smartforms?

    Hi friends,
    How to add standard text in smartforms ?
    points rewarded soon
    Regards
    RH

    Creating the Standard Text:
    Go to SO10
    1. Enter Text Name.  For example, ZABC
    2. Text ID ST
    3. Language EN
    Click on Create.
    And enter the Required Information and save.
    To include a Standard text in SmartForm.
    Follow the steps below:
    1. Create a text node in the window.
    2. Under general attributes select "Include text" as Type.
    3. Specify the fields under Text.
    Text Name ZABC
    Text Object TEXT
    Text ID ST
    Language EN.
    Hope it helps.
    Regards.

  • How to add standard text in PO and how it is maintained ?

    How to add standard text (paragraph) in PO and how it is maintained ?

    Hi
    Please go through this document.which has a step by step
    Working with Frequently Used Texts
    Use
    You can copy texts from various sources to create PO texts:
    Standard texts
    Certain standard texts are supplied with the system and can be assigned to a purchasing document in Customizing.
    The content of some standard texts is predefined by your system administrator.
    You can also create standard texts yourself and copy them into purchasing documents.
    Master records
    Database fields
    Activities
    Creating Standard Texts
    You can create your own standard texts via Tools ® SAPscript ® Standard text.
    Inserting Standard Texts
    You can insert your standard text on the long text screen via Insert ® Text ® Standard.
    For more information, refer to the Basis documentation under BC Word Processing with the SAPscript Editor:  Including Texts.
    You can display the print preview via Text ® Print ® Print preview.
    Inserting Texts from the Master Record
    There are three ways of linking texts from a master record with a purchasing document. The relevant settings are made for each text type in Customizing for Purchasing. The indicator in the status column shows the nature of the linkage.
    Option                                              Indicator in status column
    The text is copied:               
    It is then independent of the text                 None
    in the master record. Changes to
    the text in the material master record
    have no influence on the text in the document.
    The text is displayed only:
    It cannot be adopted.                                          N
    The text is offered for copying:
    It can be copied via Header or Item ® Texts ® Adopt text. (In requisitions: Goto ® Texts ® Adopt text.) Changes made in the master record will also be adopted in the document until such time as you copy the text.
    Inserting Texts from Database Fields
    You can include the content of a database field at any point in the text on the long text screen. A value specific to the relevant document is displayed in the printed document.
    Choose Insert ® Symbols ® Program symbols.
    Choose DDIC fields.
    Search for the relevant table/structure (in the case of PO items, this is EKPO) and then choose ENTER .
    Choose the relevant table field.
    Choose Text ® Print preview to see the print preview.
    Reward if useful
    Aasif

  • How to add a text box in the layout (View)

    How to add a text box in the layout (View)

    Hi.
    Right Click in the RootUIElement container.
    Click Insert Element.
    Give Name: Input
    Type : Input Field.
    Press Enter.
    Regards
    Bala.

  • How to add new text field in standard report

    how to add new text field in standard report?

    Hi,
    I presume you are talking about a report display in ALV and u wish to add a column to it .
    If it is a global requirement ,as in table being used there in ALV can be modified, then you can append the table and the system should pick up the same automatically from there.
    Otherwise , you can make a Z program . Modify the catalog being used in ALV.
    Regards,
    Shweta

  • How to add dynamic calc storage property in planning?

    <p>hi</p><p>i am having problem in adding dynamic storage property inplanning application.</p><p>i am using HAL to load members (metadata) into planningapplication i have all non level o members as dynamic calc. when irun HAL 3/4th of records are rejected.</p><p>can anyone tell how to add dynamic calc property to mymembers.</p><p> </p><p>thanks and regards,</p><p>Balu</p>

    Hi Ritu,
    It's not difficult once you know how.
    1) Go to: System Administration -> System Configuration -> Knowledge Management -> Content Management -> User Interface -> Search -> Search Option Set
    2) Edit UISearch
    3) Select your custom property from the list beside the option 'Allowed Predefined Properties' and hit save.
    On 'Advanced Search' your property should now be listed under 'Filter by Predefined Properties'.
    You may also add it to 'Allowed Sort Properties' if you like.
    I hope this helps,
    Patrick.

  • How to add a default value in a site column for every item in a document library

    HI
    i created a content type with some site columns ,
    and included in a Document library.
    Process ( content type)
    -ProcessNo
    -ProcessName
    after that i uploaded 100 Documents but not  added value in a site column process name.
    now  how i add a default value in a site column for every document in a document library 
    adil

    HI
    i get below error when i change the script 
    PS C:\scripts> C:\Scripts\updatedefaultvalue.ps1
    Cannot index into a null array.
    At C:\Scripts\updatedefaultvalue.ps1:8 char:7
    + IF($i[ <<<< "Title"] -eq $null)
        + CategoryInfo          : InvalidOperation: (Title:String) [], RuntimeExce
       ption
        + FullyQualifiedErrorId : NullArray
    $web = Get-SPWeb http://tspmcwfe:89/
    $list = $web.Lists["test"]
    $item = $list.Items | Where { $_["Name"] -eq "Emc" }
    foreach($i in $items)
    IF($i["Title"] -eq $null)
             $i["Title"] = "test"
           $i.Update()
    adil
    Why are you piping a where in the items? Do you only want to add the "test" to ones matching
    a name?
    If you have ISE installed on your server I recommend you put your code in there and debug it. 
    If this is helpful please mark it so. Also if this solved your problem mark as answer.

  • Does anyone know how to do a text search in the new Safari for iPad iOS 7?

    Does anyone know how to do a text search in the new Safari for iPad iOS 7?

    The feature has been removed to make safari even less useable. You need to download a third party browser like atomic web browser to get the functionality you want back.
    Like many new IOS 7 "features", safari on the ipad is a FAIL.
    At least you can now bury safari in a folder containing hundreds of icons that you can only view 9 at a time.

  • HOW TO add a videos or movies to IPOD TOUCH for first time...

    HOW TO add a videos or movies to IPOD TOUCH for first time...
    pls send step by step detail wise.. if you have a video for this ..pls mail me...
    my email :  [email protected]
    thanks to all

    See:
    iOS and iPod: Syncing photos using iTunes
    iOS: Syncing with iTunes
    iTunes: Frequently asked questions about viewing and syncing videos
    iTunes: May be unable to transfer videos to iPhone, iPad, or iPod

  • How to ADD dynamic header text to Right hand Corner of IDR -FPM OVP/OIF

    Hi,
    How can we add dynamic header text to right hand side corner in FPM OVP?
    I know we can handle left hand side.. but i do need simultaneously right hand side..
    ANy thoughts??
    Rgds
    Tarun

    I am not sure how it is arranged in 7.02, in 7.01 IDR layout is flow layout so you cannot have layouts other than that. I thought that this has been changed in 7.02 to accommodate the matrix layout. I am not sure about it. If this was true then you can try to play with the layout to fit right hand side. It is not easy though.

  • How to use as3 in flash cs3 to add dynamic text from a text file into a flash file

    let me start out by saying today is my first day of scripting
    in flash.
    I have a text file text.txt
    it contains
    text1=hello world
    can someone please show me how to display this text in a
    flash file
    i have been searching for this for hours and there are
    solutions with flash mx and actionscript 2.0 but i would like to
    see how to do this in as3.
    just a simple frame that loads that file and displays it when
    you test run the program
    much apreciated
    RC

    I'm not up on AS3 yet, but many things are still similar. You
    need to use the LoadVars class to accomplish this, You can find
    information this in Flahs Help>Actionscript>Actionscript
    Language Reference>Actionscript classes.
    rem: the text.txt file and the text.fla file must be in the
    same directory.
    The code will look something like this:

  • How to load dynamic text inside a movie clip?

    hello all - i have a main stage where on the first frame my
    "home" movie clip displays. i did this by dragging/dropping, and
    then i put a stop action. all works fine.
    inside this home movie clip on the main stage, there are
    links to other movie clips. for example, to get to my faq's page -
    you click that button, then it takes you to frame 4 on my main
    stage, where my faq's movie clip (followed by stop action) has been
    dragged/dropped and displays properly.
    within the faq's movie clip this process is repeated, with
    buttons taking to you various pages (different frames where
    different movie clips play - all works fine).
    so now i want to add a dynamic text field within my faq's
    movie clip. i have read numerous tutorials where i have created the
    text file but i have not been able to display it with success
    within my faqs movie clip.
    here is some code that my dvd tutorial instructs me to place
    on main stage as i practice getting this to work:
    var myMCL:MovieClipLoader = new MovieClipLoader ();
    var myListener:Object = new Object();
    myMCL.addListener(myListener);
    var myLV:LoadVars = new LoadVars();
    myLV.onLoad = function (success:Boolean) {
    if (success) {
    _level5.loadedInfo.htmlText = myLV.info;
    } else {
    _level5.loadedInfo.text = "There has been an error loading
    the requested information. Please contact the webmaster.";
    and here is some code that i place on the faqs button within
    my main movie clip that takes me back to main stage and plays faq
    movie clip all successfully:
    on (release) {
    //Movieclip GotoAndPlay Behavior
    _root.gotoAndPlay("4");
    //End Behavior
    and finally, here is some code that i place within my faqs
    movie clip in an attempt to display my dynamic text within the faqs
    movie clip - so far unsuccessful:
    _level0.myLV.load("vars/faqs.txt");
    NOTE:
    i have published this to view - not working.
    i have my faqs text file starting as info=
    i have eliminated white space within my text file
    i am using flash 8 pro
    can anyone offer some sugestions? thanks!

    hmmmmm lemme double check as i seem to be a bit lost now.
    // this is my actions layer code on frame 4 of main timeline:
    stop();
    var myLV:LoadVars = new LoadVars();
    myLV.onLoad = function (success:Boolean) {
    if (success) {
    _level5.loadedInfo.htmlText = myLV.info;
    } else {
    _level5.loadedInfo.text = "There has been an error loading
    the requested information. Please contact the webmaster.";
    myLV.load("vars/faqs.txt");
    1. fyi - at frame 4 on main timeline, one layer beneath the
    actions layer where i dragged/dropped my faqs movie clip i gave my
    faqs movie clip an instance name of "mainfaqs" - although nowhere
    do i refer to this specific mc within my code.
    2. where would i replace/insert the following code?
    _level0.faq_mc.loadedInfo.text = myLV.info;
    3. i didn't know about embedding font but i saw the option
    and embedded it - still no results.
    4. i'm not sure how to do the following:
    _level5.loadedInfo.text ='test'; //although I would still
    change the path as above
    To see if your getting a return from the load call adn text
    file, use a trace statment before the success condition and see
    what it returns:
    trace(myLV);
    sorry to be such a pain - i really have looked around for
    answers through previous postings and i googled it and i've been
    taking instruction through lynda.com and dvds but i seem to be
    stuck here.... as always - thanks for your time

  • How to add a text area in a Content pane..?

    Hi,
    I created a content pane with 5 buttons. One of them is a quit button, and I was able to create an "system.exit(0)" event handling for him. My problem is.. I have 4 other buttons, and I want them to show some text when I click them. How do I add a text area bellow my content pane..?
    Copy/paste my code to see what im talking about :) :
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Interface extends JFrame {
    public Interface() {
    Container contentPane = getContentPane();
    contentPane.setLayout(new FlowLayout());
    JButton button1 = new JButton("Test1");
    JButton button2 = new JButton("Test2");
    JButton button3 = new JButton("Test3");
    JButton button4 = new JButton("Test4");
    JButton button5 = new JButton("Quit");
    ButtonHandler handler = new ButtonHandler();
    button5.addActionListener( handler );
    contentPane.add(button1);
    contentPane.add(button2);
    contentPane.add(button3);
    contentPane.add(button4);
    contentPane.add(button5);
    contentPane.setBackground(Color.orange);
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    public static void main(String args[]) {
    Interface window = new Interface();
    window.setLocation(250,350);
    window.setTitle("FlowLayout");
    window.pack();
    window.setTitle("Test");
    window.setVisible(true);
    public class ButtonHandler implements ActionListener {
    public void actionPerformed( ActionEvent e )
    System.exit(0);
    Thanks alot! :)

    By default the content pane of the JFrame uses a Border Layout. So you should:
    1) Create a JPanel
    2) Set the layout of the JPanel to FlowLayout
    3) add the buttons to the panel
    4) add the panel to the content pane
    5) add your text area to the content pane
    Read this section from the Swing tutorial on "Using Layout Managers":
    http://java.sun.com/docs/books/tutorial/uiswing/layout/using.html

  • Rejection Applicant: How to add plain text to the mail E Mail Letter?

    Dear All:
    I'm working with a ECC6 version.
    In transaction PB60, when we do the candidate rejection activity, the E Mail letter generates a mail with empty body text, and an attachment with the letter in PDF format. The letter is OK, but I would like to know how to add some plain text to this E Mail letter. An empty mail is not a good practise.
    I searched across the forums and SAP documentation, but I could not find any clue.
    I would appreciate any help regarding to this matter.
    Best regards
    Jordi

    Here you go !  ( you need to create Text in t-code SO10 for ID = PAML " )
    Two Default texts under  ID = PAML :
    *MAIL-APP-INTERVIEW     *EN     TEXT     PAML     SYSTEM
    MAIL-APPLICANT     EN     TEXT     PAML     SYSTEM
      Personnel Management->Applicant Activities->Mail Connection ->Create standard texts for mail connection
    Create standard texts for mail connection
    In this step you can create the standard texts to be used in mails.
    Example
    u2022     Request for return of applicant file
    u2022     Notification of date of job interview
    Requirements
    u2022     You should have assigned a standard text to the activity.
    u2022     You should also have set the variables which are to be used.
    u2022     Finally, you should also have made the settings for supplying the variable with values.
    Standard settings
    The standard system contains two examples of standard texts. You can use these examples as references to help you create your own standard texts. The standard texts have the following names:
    u2022     MAIL-APPLICANT (note on an applicant activity)
    u2022     MAIL-APP-INTERVIEW (note on appointment for interview)
    Please note that the standard texts are stored under text ID PAML.
    Activities
    Now create the standard texts you require under text ID PAML.
    Further notes
    Every mail is made up of a heading and contents. In the first line of the standard text you enter the heading of the mail and from the second line on, the contents.
    The standard default settings for style and layout are used for mails.
    The SAP System treats standard texts as application data. This is why there is no automatic connection to the transport system. If you want to copy texts from one client to another within the same system, please use the functions of the transaction to create the texts. If you want to send the texts to a different system, please enter the transport manually as follows:
    PgmID   Obj     Objectname
    R3TR    TEXT   TEXT,XYZ,PAML,E
                     |    |   |   --- Language (e.g. E for English)
                     |    |   -
    Text ID (e.g. PAML for standard mails)
                     |    -
    Text name (probably not XYZ)
    Text object (TEXT ist fixed)
    Good luck
    Saquib Khan

  • How to add  dynamic column  in jfreereport

    hi,
    i am working on a project aboit accounting package.
    i had created a report in jfreereport .. buti am facing the problem of dynamic column addition in that..
    i have to create the number of column as per user given range that will from 2 to 365
    i had generated column for that
    that should be like
    1 - 5 , 6 -10 , 11 - 15 , etc...
    how can i represent that alll column in print preview i can't represent that report in horizontal fashion . is there any way to display it ..
    this report has no bound in horizontal or verticle means i have any number of rows or columns..
    pls help.
    kamlesh

    hi,
    that means u have fixed columns right? ie 5 columns in a report
    if it write, than u can find out how u can rename the columns with exiting
    one.
    that means while runing report u have to pass all the 5 columns to report
    instead of the exiting columns (ie rename the columns that u want add
    columns)
    u have to search in code for renaming in the code ie jfreereport package.
    i think u understood.
    daya

Maybe you are looking for

  • Problem with Wacom Tablet and Brush Tool

    When using the brush tool with an Intuos 5 tablet (mostly to edit layer masks), PS will become unresponsive to pen input - that is, I can't draw. The cursor moves, and I can switch tools with the keyboard, but pressing with the pen to tablet does not

  • Designing a deski report

    Hi All, Need help in designing a deski report I have two variables;month and year.these two are database objects. month has values(1,2,3....12).And year has value 2007. Now i want to change this to a single variable which will give the value as jan,2

  • Any other methods to downgrade my iphone 5c ios 7.1.1

    I want to downgrade my ios 7.1.1 iphone 5c to ios 7.0.6,but the "error 3194" appear on the itunes. I've checked my itunes version,its the latest! I also tried the tinyumbrella even the ifaith too! Is there any other methods to downgrade my iphone?

  • Adobe Premiere CC icons prproj work

    Hello. I installed Adobe Premiere Pro CC.. But it seems to be wrong with the icons created prproj work.. and the icon does not change..

  • Events or attributes triggered by data coming from a data file

    Without using scripts, is there any way to have rectangles or textboxes act on values coming from a data file? If not, does anyone know or have some scripting suggestions to do that. For examplle if the value in a textbox was greater than 10 coming f