Get_selected_rows doesn't work for second time

I have a custom screen with an ALV output and some push buttons. When I select one of the rows in ALV and click on a pushbutton, it does go the next screen. But, if I come back and select another row in ALV, the table parameter <b>ET_ROW_NO</b> returns with no entries. Couldn't figure out myself. Can anybody please help me?
Thanks,
Chandu

Hi,
In your PBO during creation of your object, maintain a flag. Consider the following :
IF FLAG = 'X'.
CREATE OBJECT DUMMY....
CALL METHOD DUMMY->SET_TABLE_FOR_FIRST_DISPLAY....
ENDIF.
If you maintain this, the object will not be initialised every time.
Try this and if helpful reward points.
Courtesy : Sakthi Seithur
Regards

Similar Messages

  • DLL Call doesn't work the second time

    The first time I open the VI, it runs properly. Why doesn't doit the next time I open it.
    Attachments:
    PGS67Open.llb ‏72 KB

    Dobi,
    Please post the dll. I cannot run your code without it.
    Also, the problem may be that you cannot call this twice, without first 'closing' the device. You may be trying to use resources that are already in use. This would be the same as opening a daq session that is already in use.
    Try that, and if you can't get it working still, post the code or some more information.
    Good luck

  • Adobe form translation changes do not work for second time

    Hi Team,
    i am translating adobe form from EN to TR and it was successful for first time and all the changes were working correctly then again i have translated all the texts and checked however then it was only translating fields which were translated in first try.
    I am really confused and please help me here i am not really sure what exactly to do .
    i have checked below note however not getting what to delete exactly .
    i have acttached the note  data below please help <removed by moderator>.
    1294146 - Problem translating rich texts in PDF based forms (Adobe)
    Message was edited by: Manish Kumar

    HI Lande,
    There is nothing to delete. Here is what you should do:
    Following procedure applies to both symptoms:
    1. Open the corresponding form in the original language in change mode in Form Builder
    2. Choose the Layout tab of Form Builder to open the form layout in Adobe Designer.
    3. Identify and select the concerned text element in the layout so that it will be highlighted in the hierarchy tree of the Adobe Designer
    4. Go to the XML Source tab of the Adobe Designer
                  The XML source shows the section of the selected form element.
         5. Go to the appropriate <exData/> element and delete the occurrence of attributes
         xft-xliff:id or xliff:rid
    6. Leave the XML source tab and save the changes.
    7. Activate the form.
    Regards,
    Ashvin

  • Call transformation: tt:cond using="exist..." doesn't work a second time?

    Hello,
    unfortunately I did not find a solution in the internet. So I'll try to get an answer here.
    I  created a simple transformation and want it to work with two similar internal tables. These tables contain one different column with different names and types.
    <tt:loop .... name ="line">
         <tt:cond using="exist($line.columnname1)">
        </tt:cond>
        <tt:cond using="exist($line.columnname2)">
        </tt:cond>
    </tt:loop>
    During deserialization time the second <tt:cond does not recognize that columnname2 exist. If I write something like
    <tag><tt:value ref="$line.columnname3" /></tag>
    beetween these two tt:cond groups columnname2 is found afterwards.
    I know that I can add an addiional parameter describing the type of the table.
    But my question is whether I did something wrong or whether there is an other solution without using any additional information.

    I tried it your way and got error.
    I added a close and did not get the error and second attempt.
    Did you try closisng?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • TS4268 So frustrated with Apple, my Apple ID works when it buy apps (convenient) but doesn't work for face time or iMessage since IOS7

    Help needed, or is any one interested in buying all my apple products?

    Have you tried signing out of both apps on ALL of your devices and then sign in again? If you have an iPhone, sign in again with that one first, so that your phone number will appear as a contact choice on all of you other devices.

  • My iPod touch 4th gen white's home button doesn't work the first time I press it, but the second time.

    My home button doesn't work the first time I press it, but the second time.  This is very annoying.  Why is it doing this?

    - Try a reset. It cures many ills and nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    -If a hardware problem see:
    fix for Home button

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • HT4527 How on earth do you get Home Sharing to work properly?  We have tried multiple times and it simply doesn't work for us!

    How on earth do you get Home SHaring to work?  We have tried numerous times and it simply doesn't work for us!

    Turn it on.
    Honestly, if you want help it is generally a good idea to ask a specific question and give some details of what problem is occurring.
    If trying to move media, using home sharing is simply a bad idea.  Follow some of the other instructions in the article from which the question was posted to move media.

  • Safari show all tabs doesn't work all the time

    It is annoying: safari show all tabs doesn't work all the time. The little icon to the right of the "New Tab" area sometimes works, and sometimes doesn't. The Shift Command Back-slash, sometimes works, and sometimes doesn't. I find no rhyme nor reason for this. I have a MacBook Pro, Mountain Lion, the latest updates. It doesn't matter if I am in Full Screen or not.
    I am quite confused regarding this.

    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type of copy paste the following:
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If that helped, empty the cache more often from your keyboard.
    Command + Option + E

  • TS1253 I have a printer epson TX210, but it doesn't work with my time-capsule. What need to do?

    I have a printer epson TX210, but it doesn't work with my time-capsule. What need to do?

    What have you tried?
    You are going to get nowhere quick with the 6.1 utility in Mountain Lion if this is the only OS you have available.
    Look up how to install 5.6 utility under ML. At least then you can see printers. That is assuming you are trying to use USB.
    Has this worked ever on Mountain Lion? Did you download the drivers for that printer for ML?
    Plug it into a computer directly.. does it work? If it doesn't work locally it sure will not work via the network.

  • Find function cntrl-f doesn't work for long pages. frustrating

    find function cntrl-f doesn't work for long pages. Works find on your competitions IE, though I strongly prefer FF.
    == This happened ==
    Every time Firefox opened
    == Several versions of FF

    Hi Cb,
    I did try that and it didn't work. the site in question (though I could pick any) is midwestmafia.com and I typed in capone (which is near the end of the page)
    Works well on IE, though I'd like to stick with FF.

  • The enclosure in RSS feed doesn't work for Itune

    I subscribed to my podcast rss feed to ITune, which was valid and had been tested successfully with other aggregator such as Ipodder, however, it doesn't work for ITune. When I hit "get" button next to my podcast name, I always get "!" sign in front of the name, and when I clicked it, I got error message "There was a problem downloading 'XXXXX'. The network connection could not be made".
    I'm not sure if this problem resulted from the "rewrite" function I used on my podcasting server in order to track the downloading. Here is how it works: When a mp3 file is requested, my web server will redirect the request to another asp.net program to do something and then redirect to the real mp3 file for downloading. Can it be problem in Itune? But I can use this enclosure url to download this mp3, and also the Ipodder works file with this rss feed.
    Any help will be appreciated.
    Leo
      Windows XP  

    Thanks for your reply.
    However, according to the iTune specs as following,
    Tracking Usage
    Please note that iTunes does not provide usage statistics. Some podcasters have created mechanisms for tracking the number of times that each episode has been downloaded. iTunes does not provide support in how to track downloads, but the following notes may be helpful:
    * 302s will be followed to a depth of 5 redirects and will not update the feed URL in the directory.
    * The URL before the GET-style form values (before the first ?) must end in a media file extension (e.g. mp3). To work around this, the feed provider can alter their URL from this:
    http://www.podcaster.com/load.php?f=&Wipeout.php
    to this:
    http://www.podcaster.com/load.mp3?f=&Wipeout.mp3
    Notice how it says load.mp3 instead of load.php. It should be possible to accomplish this via various means, such as web server rewrites. iTunes looks at the extension of the path part of the url, i.e. the part before the”?”.
    The http request redirection is allowed as long as the appropriate file extension such as ".mp3" is used.
    By the way, I tested it with "no redirection" version, which worked fine.
    Leo

  • ToolBoxTools.addEventListener only works every second time

    Hi!
    Our layouts pretty often click on the "page tool" by mistake and it happened a few times, that they changes the size of the page without even noticing. Because there is no way to remove the tool from the toolbar (I guess?), I wanted to write a script, that at least shows a message, that the page tool ("Seitenwerkzeug" in german) was selected. Unfortunately the event listener only works every second time:
    1. indesign starts > selection tool is active
    2. click on page tool > message appears > page tool is active
    3. click on "another tool1" > "another tool1" is active
    4. click on "another tool2" > "another tool1" is active
    5. click on page tool > nothing happens, the icon of the page tool is active, but the icon of the "another tool2" is still active, too, and "another tool2" is still activated
    6. click on "another tool3" > "another tool3" is active
    7. click on page tool > message appears > page tool is active
    8. ......
    Any idea why that is?
    My script:
    #targetengine myToolListener
    app.toolBoxTools.addEventListener ("afterAttributeChanged", changeToolAlert);
    function changeToolAlert() {
        if(app.toolBoxTools.currentToolName == "Seitenwerkzeug") {
            alert ("Message", "Title");
        exit(); //i tried with and without this!
    At the beginning I tried to use an confirm message instead of an alert, which had the same problem and I thought it might be because the changing doesn't work... but it seems I can't even work with the information without something "crashing" in the background?
    My previous confirm Function:
    function changeToolConfirm() {
        if(app.toolBoxTools.currentToolName == "Seitenwerkzeug") {
            var confirmDialog = confirm("Do you really want to activate the page tool?", true);
            if(!confirmDialog) {
                app.toolBoxTools.currentTool = UITools.SELECTION_TOOL;
    I really hope someone has an idea
    Best,
    Anke

    Hi Anke,
    The problem, I think, comes from the fact that the Page Tool selection event (which you listen to via afterAttributeChanged) needs some time to complete. Since the alert() or confirm() instruction gives the focus to a new modal window before the event life-cycle is finished, the GUI becomes instable, the PageTool icon state is not properly restored, and your event management goes wrong.
    A way to solve this might be to queue a temporary IdleEvent listener once the Page Tool selection event is caught. That is, we do not initiate any modal dialog as long as the GUI is refreshing.
    Something like this:
    //====================================================
    // PageToolDisclaimer.jsx
    //====================================================
    // Should be useable as a startup script, no #targetengine required
    // NB - MutationEvent is known to create a global 'evt' variable
    // so we don't seem to need a persistent session engine here :-)
    // That's why the active script File is used as the event handler
    (function(/*File*/EVENT_HANDLER, /*str*/TASK_NAME, /*uint*/TASK_TIME, /*str*/PAGE_TOOL_NAME)
        var t;
        // Installer
        if( !(t=app.toolBoxTools.eventListeners).length )
            t.add(MutationEvent.AFTER_ATTRIBUTE_CHANGED, EVENT_HANDLER);
            return;
        // IdleEvent handler (--> confirm)
        if( (t=app.idleTasks.itemByName(TASK_NAME)).isValid )
            t.eventListeners.everyItem().remove();
            t.remove();
            if( !confirm("***WARNING***\rDo you really want to activate the page tool?", true) )
                app.toolBoxTools.currentTool = UITools.SELECTION_TOOL;
            return;
        // PageTool event handler
        if( ('evt' in $.global) && 'currentToolName'==evt.attributeName && PAGE_TOOL_NAME==evt.attributeValue )
            evt.stopPropagation();
            app.idleTasks.add({name:TASK_NAME, sleep:TASK_TIME})
                  .addEventListener(IdleEvent.ON_IDLE, EVENT_HANDLER);
    })(app.activeScript, 'WaitPageTool', 400, app.translateKeyString('$ID/Page Tool'));
    Hope that helps.
    @+
    Marc

  • Website doesn't work for downloading driver software

    http://support.hp.com/us-en/product/HP-Officejet-Pro-8600-Plus-e-All-in-One-Printer-series---N911/43... doesn't work for downloading driver software, the link to your page sends me here and it just hangs

    Suz1st wrote:
    I also had download issues re: with getting a newer driver version.
    I have an HP Photosmart Premium (All-in-One_ model c309g-m )
    can you send me a link for that driver?
    What operating system? ForXP, Vista or Windows 7 download the latest software from the link here.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • The FM "RV_PRICE_PRINT_HEAD" is not runnging for second time...

    Hi All
    The FM "RV_PRICE_PRINT_HEAD" is not runnging for second time, first time it works fine and second time it is giving the null values. Will you please solve this problem (is there any flag to recall the function ex: run the FM press f8 and come back f3 and press again f8 - first time it is showing the data & at second time f8 it is not showing any data ).
    Feilds filled in head_i structure are:
    VBTYP,
    KALSM,
    KNUMV,
    WAERK,
    KAPPL.
    Thanks,
    Ravi
    Message was edited by:
            Ravi Kumar
    Message was edited by:
            Ravi Kumar

    Hi,
    before <b>every</b> call of RV_PRICE_PRINT_HEAD or RV_PRICE_PRINT_ITEM you should call RV_PRICE_PRINT_REFRESH once - you have to pass a dummy parameter.
    No idea why this is so but SAP does it the same way
    Regards,
    Clemens

Maybe you are looking for

  • Want to use .mac instead of .me for email on iPhone, can't

    Hi all - I recently had to delete my mail account on my phone and set it up again. After doing so, emails sent from the phone are now sent from .me, even though I set it up as .mac. I've used this address for years and it is attached to people I do b

  • Can't get sound out of imac

    I am a musician and am trying to mix down some tracks off of a hard disk. I have a hard disc recorder and a mixing board that i am running into an M-audio Firewire solo. I have the signal flow going into the firewire solo and then into my mac. when i

  • Can't create web photo gallery with modified RAW files

    I can use CS-2 to create a web photo gallery using unmodified RAW files, this seems to work fine. However, after I tweak the exposure of a RAW file and a .xmp file has been created, if I try to create a web photo gallery, the program goes through the

  • Create gallery with images in Excel

    I am trying to make smth like this:  For now I use the imageMso attribute just for testing purposes. Even though, nothing really happens. That's the XML for the gallery: <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="R

  • Validation problem when update a row in OAF

    created a application using OAF. No problem to create a row, when tried to update the row, received the following error message: oracle.jbo.RowValException: JBO-27012: Row validation method validation() failed for row with key oracle.jbo.Key 2) Steps