Issue in clearing of previous data of screen cl_gui_docking_container= free

Hi All,
My program displays an idoc list(screen 100). Then if user selects any row in the method
gets the index no and details of that idoc are displayed in another screen(screen 200) .
Then control returns to this screen again. Now if user selects any row from idoc list (screen 100) then data is displayed along with data from previous screen .
In PBO of screen 200 : some code is :
create object go_docking
          exporting
            dynnr     = '200'
            extension = 65
            side      = cl_gui_docking_container=>dock_at_top.
        create object go_grid_detail
          exporting
            i_parent = go_docking.
some code
create object go_custom_cont
          exporting
            container_name = 'DISPLAY_IDOC_CONTENT_200'.
        create object go_grid_detail
          exporting
            i_parent = go_custom_cont.
some more code
call method go_grid_detail->set_table_for_first_display
          exporting
            is_layout            = gs_layout
            it_toolbar_excluding = lt_exclude
          changing
            it_fieldcatalog      = fieldcatalog1
create object go_docking
            exporting
              dynnr     = '200'
              extension = 65
              side      = cl_gui_docking_container=>dock_at_bottom.
          create object go_grid_detail
            exporting
              i_parent = go_docking.
In PAI of 200 screen i have used :
some code      
free go_grid_detail.
      free go_custom_cont.
      go_docking->free( ).  free go_docking.
After freeing all data and on call of screen 200 from screen 100 still it shows data from which was there previously on screen 200.
How can clear all previous data . Even i have free the docking still not working .
Kindly please help.

Hi,
if go_grid_detail is type ref to cl_gui_alv_grid, call go_grid_detail->free( ) before container->free( ).
Regards,
Clemens

Similar Messages

  • ADF: clearing all previous data in a page?

    Hi Everyone,
    im using Jdev 11G.
    i have created 9 pages in ADF. i have used navigations to other pages through buttons from the first page.
    all pages have data from different VOs.
    Now the problem is : when i run the page for the first time it is working fine. but when i go back and run the page second time if data for some particular VO is not there (kept whereclause for VO in backing bean) then it should not display any data but it is displaying previous search data.
    plz help to get out of this.
    how to clear all the previous data while navigating to the page.
    i have used VO.clearcache() methods also but didnt work.
    Any ideas wil be really helpful.
    Thank you.

    Hi Desmukh,
    Thanks for ur reply.
    im executing the VO queries but if the parameters is not exists in the VO then it returns all the values in the VO.
    i have used: vo.setWhereClause("EMP_ID=:empid AND EMP_NAME=:ename");
    vo.defineNamedWhereClauseParam("empid ", emp_id1, null);
    vo.defineNamedWhereClauseParam("ename",emp_name1, null);
    vo.executeQuery();
    here emp_id1 and emp_name1 are the values im passing to VO to filter VO.
    if these two values doesnt match with any of the values in the VO then it returns allrecords from VO on the page.
    Plz help.
    Thank you.

  • Clearing previous data

    Hi All,
            I have some VC models where I am displaying input form in one layer and after submit(Submit Form) I am displaying output layer. The problem i am facing is when user goes back to input screen by back button (History Back) and again enters different data what he sees in the output layer is previous run data until it is refreshed. I want to clear this previous data in output layer immediately when he clicks submit on first input layer.
    Also can we make submit button 'default' so that when users selects all input variables and presses 'ENTER' the form should get submitted. I could not find any such property for the button.
    Has anyone done this? please help me on this, this is a valid and a bit urgent requirement.....

    Hi Satish,
    You got it correct. In first run users selects some input and presses submit to see output layer. Now he clicks on 'back' (history back) button to see previous input layer. He changes some parameters and submits to see 'previous' output layer containing graph and table data for previous selection until the data is reloaded from back end. Instead of this after pressing submit he should see blank chart and table and once data comes from back end it should get displayed.
    I got the point to apply similar technique in blog to my 'Back' button on output layer. but the problem i am facing to 'Clear the output layer' is how should be graph cleared off the data and delete all the rows in table.
    We can clear forms by storing blank values but to graph how should i clear the data it has?
    If you have done this please advise me and correct my thinking if i am getting it wrong...
    Also can you also let me know your thoughts about how can we make submit button get clicked when we press 'Enter'? Usually in HTML and other UI techs we make it 'default' so that it gets clicked when we press enter key....
    waiting for your reply...
    Thanks in advance,
    Swapnil

  • If I choose a hard drive ask my backup disk for time machine, will it clear out the data that was previously stored in my hard drive?

    If I choose a hard drive ask my backup disk for time machine, will it clear out the data that was previously stored in my hard drive?

    Hello edjhsu,
    Unless the drive is in a format that isn't compatible with Time Machine, the files will not be overrwitten. However it is typically a better idea to keep your files and your backup separate, especially since files on the Time Machine drive will not be backed up by Time Machine.
    Mac Basics: Time Machine backs up your Mac
    http://support.apple.com/kb/HT1427
    Cheers,
    Allen

  • Issues with dates not storing correctly on a data entry screen

    We are using Application Express 3.0.1.00.08
    I have a table which I have written a data entry screen for, the user enters most of the fields on theentry screen, howevere there are some fields that I would like to populate when a biutton is pressed e.g last_updated_date and creation_date.
    I have a on submit after computations and validation process with the following code to set the last updated date:
    begin
    :P1_LAST_UPDATED := to_date(sysdate,'DD-MON-RRRR HH24:MI');
    end;
    I am setting the creation date at the same time as getting the primary key as follows:
    declare
    function get_pk return varchar2
    is
    begin
    for c1 in (select XX_SVS_SEQ.nextval next_val
    from dual)
    loop
    return c1.next_val;
    end loop;
    end;
    begin
    :P1_ID := get_pk;
    :P1_CREATION_DATE := sysdate;
    :P1_CREATED_BY := :F380_OSS_USER_ID;
    end;
    However the dates are being written to the database incorrectly they are being written with a year 0009 instead of 2009.
    Does anyone know how I can get hidden dates in a data entry form to write correctly to the database.
    Regards
    Kay

    It could be done as a database trigger but surely APEX should be capable of saving the correct date format of an item.
    Since my original post I have managed to get the dates stored with the correct year in the hidden fileds by doing the following in my process:
    :P1_LAST_UPDATED := to_date(sysdate,'DD-MON-RRRR HH24:MI');
    however for some reason the date is being stored with the correct year now as 2009 , but the time element is not being stored any ideas?

  • Previous data in the field is not comming when we press space bar

    Hi Experts,
    I am faceing 1 issue in module pool programming.i have 10 input fields in a perticular screen,
    when i am pressing Space Key in a perticular input field , for some fields the previous data what i field last time is comming,
    but for some fields it's not comming there, i want it should be with every field.
    Finally i would like to know how to get the previous data what i have entered last time has to come when i will press space key
    in a input field of screen.
    Regards,
    Susheel Joshi
    Edited by: SUSHEEL JOSHI on Apr 9, 2010 4:47 PM

    Have multiple fields the same "name", are some field name or value too long.
    Check your Sapgui settings [[Alt]+[F12]|http://help.sap.com/SAPhelp_nw04/helpdata/en/f9/9f9d427cab0831e10000000a1550b0/frameset.htm] and read OSS notes like  [Note 399180 - SAP GUI input history depending on field (name) length|https://service.sap.com/sap/support/notes/399180]
    Regards,
    Raymond

  • Installing iOS 5 erases all previous data

    Installation of iOS 5 erased all previous data on my iPad. Help! Prior to iCloud being in the picture, where were all my photos and documents backed up?
    I am attempting to locate the files which vanished upon updating to iOS 5 - hundreds of pdf files, thousands of uploaded photos, screen shots, saved photos from web, ALL GONE. So were all my acquired apps, although those have been replaced - now I can begin or attempt to reconstitute the complex folder structure (notes, notes 2, notes 3, etc.) which grew over the last few iOS iterations, from too many apps stuffed into folders with strict limitations on contents. Tedious, but possible. Re all the photos, I'm still looking for clues: Is solid state storage similar to that on disk drives – does deleted information still reside on the drive, just not on the index?
    Also, post updating, I am continually being prompted to authorize my computer, even though it is, and my Apple ID is intermittently rejected as if invalid, this is causing syncing challenges.
    Thanks.
    Weary of chasing side effects of upgrading operating systems.

    Same for me, when install was finished all was gone, but strange enough the disk space bar was indicating 14Go other and that was exactly my content "in app" without apps, photos, video and music. So this data was not accessible due to missing apps and all my photo/video/music was gone.
    I had exactly the same issue last upgrade, and last time I decided to resync my media content and started to add apps one by one again, and by magic almost all the apps managed to find back their data in the 14Go "other" that was still in the IPad. But I had to redo a lot of work like Icon position, some settings, and some apps didn't restore well. Took me a very long time and effort to get back to a nominal situation.
    So this time I deciced instead to click "Restore" before doing any sync and used the backup that was generated automaticly just before the upgrade to 5.0 (so still with version 4 of ths IOS)
    The process started, the Ipad rebooted and firmware was then loaded again (still 5.0) and the 14Go data from the backup was reloaded also, and this time after this quite long step, itunes started to restore apps, music, photos and videos one by one ... was quite a very long process but at the end all was perfect, storage was back to 40 Go including my 14Go data and all photos, videos and apps, with all setting perfectly restored.
    Hope this help,
    Patrick

  • End Planning Run After Order Selection - issue not clearing down all plans

    Hi,
    We are using the CTM Profile with "End Planning Run After Order Selection" ticked in the basic settings tab in order to clear down previous CTM runs. So we have a CTM deletion profile.
    The issue is that it requires more than one execution to clear down the Planned Orders / Purchase Requisitions. You execute the Deletion CTM Profile once and it will clear down some of the Purchase Requisitions and Planned Orders and leave some still in place. You then have to execute the deletion CTM profile one or two more times in order to delete the remaining Planned Orders / Purchase Requisitions.
    This is clearly not realiable for a batch process to clear down plans. Has anyone else experienced this and does anyone have a solution. The solution cannot be based on RLCDELETE or /SAPAPO/DELETE_PP_ORDER
    Mark

    Hi,
    Can you check your planning mode and deletion mode combination defined in the ctm profile.
    Prerequisties for deleting the orders:
    u2022 They are within the planning and deletion periods
    u2022 They do not have pegging relationships with demands outside of the planning period
    They lie outside of the production horizon, stock transfer horizon and the planned delivery time
    In addition, all location products of an order must be included in the Master Data Selection so that CTM can
    delete the order. Also, CTM cannot delete any manually fixed orders.
    If you have selected the SNP Order order type in the CTM profile, CTM cannot delete any PP/DS orders. This
    restriction is also valid the other way round for the PP/DS Order order type. If you select this order type, CTM also
    deletes SNP orders.
    Thanks,
    nandha

  • Error Message "No batch input data for screen SAPMF05A 0700" for FV60&FB60

    Dear All,
      I doing a BDC Upload program for Create Vendor Invoice and Park using FV60 ,But i can't upload successfully by Batch Input method and i am gettin the Error Message "No batch input data for screen SAPMF05A 0700'.I tried using FB60 and got the same error message. When i do in the direct method i can able to do it ,But can't park the document successfully and can do it untill sumilate only.
    How to overcome this issue and if you already encounter this kind of problem please advice me.
    Thanks in Advance.
    Deesanth

    Hi,
      Below is my recording.
        perform bdc_dynpro      using 'SAPMF05A'     '1100'.
        perform bdc_field       using 'INVFO-ACCNT'  gwa_inv_up-lifnr.
        perform bdc_field       using 'INVFO-BLDAT'  gwa_inv_up-bldat.
        perform bdc_field       using 'INVFO-XBLNR'  gwa_inv_up-xblnr.
        perform bdc_field       using 'INVFO-BUDAT'  gwa_inv_up-budat.
        perform bdc_field       using 'INVFO-MONAT'  '9'.
        perform bdc_field       using 'INVFO-BLART'  gwa_inv_up-blart.
        perform bdc_field       using 'INVFO-WRBTR'  gwa_inv_up-dmbtr.
        perform bdc_field       using 'INVFO-WAERS'  gwa_inv_up-waers.
        perform bdc_field       using 'INVFO-XMWST'  gwa_inv_up-xmwst.
        perform bdc_field       using 'INVFO-MWSKZ'  'P0'.
        perform bdc_field       using 'INVFO-SGTXT'  gwa_inv_up-sgtxt.
        perform bdc_dynpro      using 'SAPMF05A'     '1100'.
        perform bdc_field       using 'BDC_OKCODE'   '=PAYM'.
        perform bdc_field       using 'INVFO-GSBER'  gwa_inv_up-gsber.
        perform bdc_dynpro      using 'SAPMF05A'     '1100'.
        perform bdc_field       using 'BDC_OKCODE'   '=BS'.
        perform bdc_field       using 'INVFO-ZLSCH'  gwa_inv_up-zlsch.
        cnt = 1.
        cnt1 = 1.
        clear gwa_inv_line.
        loop at gt_inv_up  into gwa_inv_line  where indic = 'D'
                                       and count = gwa_inv_up-count.
          if cnt1 gt 1.
            concatenate 'ACGL_ITEM-MARKSP(' cnt ')' into fld.
            perform bdc_field using fld 'X'.
            perform bdc_dynpro using 'SAPMF05A' '1100'.
            perform bdc_field using 'BDC_OKCODE' '=0005'.
          endif.
          concatenate 'ACGL_ITEM-HKONT(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-lifnr.
          concatenate 'ACGL_ITEM-SHKZG(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-shkzg.
          concatenate 'ACGL_ITEM-WRBTR(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-dmbtr.
          concatenate 'ACGL_ITEM-MWSKZ(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-mwskz.
          concatenate 'ACGL_ITEM-SGTXT(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-sgtxt.
          concatenate 'ACGL_ITEM-GSBER(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-gsber.
          concatenate 'ACGL_ITEM-KOSTL(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-kostl.
          concatenate 'ACGL_ITEM-PROJK(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-posid.
          concatenate 'ACGL_ITEM-FISTL(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-fistl.
          concatenate 'ACGL_ITEM-FIPOS(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-fipos.
          concatenate 'ACGL_ITEM-GEBER(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-geber.
          perform bdc_field       using 'BDC_CURSOR' fld.
          cnt1 = cnt1 + 1.
        endloop.
        perform bdc_dynpro using 'SAPMF05A' '1100'.
        perform bdc_field  using 'BDC_OKCODE' '=BS'.
        perform bdc_dynpro      using 'SAPMSSY0' '0120'.
        perform bdc_field       using 'BDC_OKCODE' '=BP'.
        call transaction 'FB60' using gt_bdcdata mode 'N' pdate 'S'
                                        messages into gt_bdc_messages.
    Thanks,
    Deesanth

  • Text not wrapping on Data Review Screen

    We are having an issue with text not wrapping on a screen, this has happened on the interview screens as well as the data review. Has anyone had this problem before? And how to fix it?
    Thank you,

    This will be a CSS issue which can be addressed by modifying main.vm.css. I don't know much about CSS, but when I had this issue with the data review screen for a custom look and feel I was working on, I was able to resolve it by specifying a data-review-item width which was smaller than the width of my banner graphic.
    In my example, my banner graphic was 960px in width, and I added "width: 820px;" for data-review-item in main.vm.css:
    .data-review-item {
        clear: both;
        width: 820px;
    }If you have a CSS person around, get them to take a look at main.vm.css and I expect they'll be able to work out the right fix for your specific situation.
    Cheers,
    Jasmine

  • Issue in clearing a vendor

    Hi,
    I have a issue in clearing this vendor it says "Exchange rate accounts are incomplete for account 240040 currency USD"  where i can do the necessary changes.please guide the path.
    GKP

    Hi,
    Check <b>'Exchange rate difference key</b>' for that GL account in control data tab.
    you should tell the system that USD price difference goes to which GL acccount.
    Best Regards
    Ashsih Jain

  • Restrict goods issue if stock on posting date is zero

    Requirement:
    Current Inventory period : July 2011
    Stock of a material from 01.07.2011 to 30.07.2011 is zero(in MB5B report)
    I upload stock of material  or GRN occur on 31.07.2011. Say Quantity u2013 100
    Now stock as on 31.07.2011 is 100 in MB5B
    Still, Stock of a material from 01.07.2011 to 30.07.2011 is zero(in MB5B)
    Now, If I do goods issue of a material quantity 100 on 15.07.2011. System allows goods issue. though opening and closing stock as on 15.07.2011 is zero.
    After goods issue transaction if I check stock of material on any date between 16.07.2011 to 30.07.2011 , The opening stock and closing stock shows negative.
    I want to restrict goods issue if stock on posting date is zero or less then stock available on posting date.
    Please suggest

    Hi,
    This is not the way SAP is designed. As the previous speakers wrote (and as you noticed yourself), SAP maintains stock figures in the database per month rather than per day. MB5B makes complex calculations in order to find out how much stock you had on a specific date - as you probably noticed on the response time. Performing such calculations every time you do a GI would be unfeasibly heavy task for the system - remember there are organisations that perform hundreds of inventory movements a minute!
    An alternative solution I suppose would be to maintain the daily stock figures in the database. This would make the finding of the stock figure very quick, but on the other hand, the maintenance of such table would be unfeasible - if you post today a GI on say July 1st, you would need to calculate 36 stock figures and update 36 database records!
    Hope this explains the technical issue.
    BR
    Raf

  • I need to restore my Ipad from the iCloud, but not from the latest backup.  Can I restore from a previous date?  If so How?

    I went yesterday to the Albany, NY apple store genius bar with a sound issue on the Ipad.  After 2 hours the "genius" told me that
    they tried wiping my  Ipad clean, but not to worry that first everything was saved in the cloud.  I was told I had to reload all
    purchased Apps and would be no charge and would take some time.  Due to the late hour I said I'd do it at home.  I did not do
    it last night.  This morning I open the Ipad  to find nothing in it....no contacts,  no notes....nothing.  I rushed back to the apple
    store and was told that apparently last night a backup took place and the Icloud backed up a clean Ipad....no info.  This is a
    huge problem.  Apple personel simply said sorry that the "genius" should have known better.   Attempts to restore seems to
    only go back to the last backup which of course is blank.  Now my question is .....is it possible somehow with the cloud from a
    previous date like you can with  a PC?

    You can order recovery media here
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00810334&cc=us&lc=en&dlc=en

  • No batch input data for screen SAPMSSY3 0131 in Sales order IDOC

    I am processing Sales order IDOCS in status 64 using RBDAPP01 .Some of them error out to status 51 with the message -
    No batch input data for screen SAPMSSY3 0131 .
    I know the standard IDOC inbound process tries to simulate the posting in a BDC like process.
    Now, I went to we19 and the screen hangs up in a pop up in the partners tab with partner type 'WE' and my shipto (which is actually filled in the IDOC), missing..upon repeatedly hitting enter, it goes thru and an idoc is posted in status 53. But still unable to get through the root of this issue.
    Any, insight will help.

    Hi,
    I think the pop-up is generated through and user-exit for which recording is missing. This is why your idoc stays in status 64...
    Handle the screen recording in the user exit IDOC_INPUT_ORDERS
    user exit routine
    PERFORM customer_function_dynpro.
    FORM CUSTOMER_FUNCTION_DYNPRO.
      CALL CUSTOMER-FUNCTION '002'
        EXPORTING DXVBAK   = XVBAK
                  DVTCOMAG = VTCOMAG
                  DLAST_DYNPRO = LAST_DYNPRO
                  DXMESCOD = IDOC_CONTRL-MESCOD
        TABLES    DXBDCDATA = BDCDATA
                  DXVBAP    = XVBAP
                  DXVBEP    = XVBEP
                  DYVBEP    = YVBEP
                  DXVBADR   = XVBADR
                  DYVBADR   = YVBADR
                  DXVBPA    = XVBPA
                  DXVBUV    = XVBUV
                  DIDOC_DATA = IDOC_DATA
                  DXKOMV    = XKOMV
                  DXVEKP    = XVEKP
                  DYVEKP    = YVEKP
        EXCEPTIONS
                  USER_ERROR = 01.
    Regards,
    Krishnakumar

  • Error in LSMW for MM41 - "No batch input data for screen SAPLMGMW 0100"

    I'm trying to create an LSMW for MM41 to create new Retail articles en Mass. This will be used to only create the Basic view as other LSMW's already exist to maintain the other views. I've created the Recording and setup the LSMW already. My data is read correctly from the source file. When I execute the batch session it fails with the following error - "No batch input data for screen SAPLMGMW 0100".
    I assume the fields in MM41 screen are not setup for batch processing. Could someone with more knowledge or experience in SAP Retail please confirm my assumption and explain where this is setup or provide an alternative to creating new articles en Mass via MM41? The direct input method is more suited for MM01 and not MM41.
    Regards
    Fawaaz

    Hi Guys,
    Thanks so much for all the prompt responses. My issue is now resolved.
    The issue, I'm sure, was my default settings in the MM41 screen which the recording probably took into account or the batch program didn't like. I deleted my recording and created a new one but before I started the recording, I went into the MM41 screen and removed all default values AND view selections. I made my Basic view selection constant in my recording and also in my field mapping. My LSMW for MM41 is now working perfectly.
    Just to answer some of the questions above, my LSMW was Reading and Converting the data in my source file fine. When I display the Read and Converted data, it shows the data fields in the correct place.
    Thanks again.
    Regards
    Fawaaz

Maybe you are looking for