Import/Export dynpro not working

IMPORT DYNPRO h f e m ID id
http://help.sap.com/abapdocu_70/en/ABAPIMPORT_DYNPRO.htm
I would like to use IMPORT DYNPRO to import screen attributes and program flow and then perform necessary changes and export/generate the modified screen.
well i used the sample from http://www.sapfans.com/sapfans/repos/poonam.htm, but regardless of how many times I tried, I couldn't get it to work. I'm still stuck at the first step, IMPORT DYNPRO will return sy-subrc = 4 (screen does not exist) no matter what program/screen I use.
Any idea?, Thanks
Edited by: afro100 on Oct 22, 2009 9:45 AM
Edited by: afro100 on Oct 25, 2009 8:24 AM

See the following example
Double click on the method name; on the editor write the following code:
METHOD onactionaction_find .
  DATA: node_node_vbak           TYPE REF TO if_wd_context_node,
    elem_node_vbak                      TYPE REF TO if_wd_context_element,
    stru_node_vbak                        TYPE if_input_view=>element_node_vbak .
navigate from <CONTEXT> to <NODE_VBAK> via lead selection
  node_node_vbak = wd_context->get_child_node( name = if_input_view=>wdctx_node_vbak ).
get element via lead selection
  elem_node_vbak = node_node_vbak->get_element(  ).
get all declared attributes
  elem_node_vbak->get_static_attributes(
   IMPORTING static_attributes = stru_node_vbak ).
  DATA: ls_where(72) TYPE c,
        lt_where LIKE TABLE OF ls_where,
        lt_vbak TYPE STANDARD TABLE OF zstr_vbak.
create where condition
  IF NOT stru_node_vbak-vbeln EQ ''.
    CONCATENATE 'VBELN = ''' stru_node_vbak-vbeln '''' INTO ls_where.
    APPEND ls_where TO lt_where.
  ENDIF.
  IF NOT stru_node_vbak-erdat EQ '00000000'.
    CONCATENATE 'ERDAT = ''' stru_node_vbak-erdat '''' INTO ls_where.
    IF stru_node_vbak-vbeln NE ''.
      CONCATENATE 'AND' ls_where INTO ls_where SEPARATED BY space.
    ENDIF.
    APPEND ls_where TO lt_where.
  ENDIF.
  SELECT VBELN ERDAT ERZET ERNAM ANGDT BNDDT AUDAT VBTYP TRVOG AUART
         AUGRU GWLDT SUBMI LIFSK FAKSK NETWR WAERK VKORG VTWEG SPART
         VKGRP VKBUR GSBER GSKST GUEBG GUEEN KNUMV
  FROM vbak INTO TABLE lt_vbak WHERE (lt_where).
  DATA:
    node_node_alv                       TYPE REF TO if_wd_context_node,
    stru_node_alv                       TYPE if_input_view=>element_node_alv .
navigate from <CONTEXT> to <NODE_ALV> via lead selection
  node_node_alv = wd_context->get_child_node( name = if_input_view=>wdctx_node_alv ).
get all declared attributes
  node_node_alv->bind_table( lt_vbak ).
ENDMETHOD

Similar Messages

  • Import/Export statement  not working..

    Hi all,
       I want to export some data from BADI & Import it back in user exit.
    I wrote following line of code in BADI
           export P1 FROM xstr to memory id 'ZABHI'.
    & following line of code in User Exit
          import P1 to xstr FROM memory id 'ZABHI'.
    After export sy-subrc becomes 0 hence export statement is working fine but when aftr import xstr remains blank.(sy-subrc = 4)
    I tried to execute same code in single ztest abap program & it works fine there.
    Thanks in advance.

    hi abhijeet,
    you are most welcome....
    to delete, use
    ** deletes the data to save wastage of memory
    delete from database indx(xy)
      client sy-mandt
      id 'ZABHI'.
    you need to delete it coz, its available to all programs in the R/3
    server via the ID and you don't want anybody to view the data u are
    sending into memory.
    the statement that u used earlier was program specific and hence
    not accessible to the user exit.
    Regards,
    Samson Rodrigues.

  • Import Export Utility not working on Windows Vista

    Hi
    I installed Oracle 10g XE on my brand new Windows Vista Business (SP1) machine 2 weeks ago. I then sucessfully imported an oracle export file which I had. I later installed Oracle Forms & Reports. However, today trying to use import or export gives me the following error:
    On importing...
    IMP-00058:
    IMP-00000: Import terminated unsuccessfully
    On exporting
    EXP-00056:
    EXP-00000: Export terminated unsuccessfully
    I have tried everything... makinging sure my oracle home is set correctly in the PATH parameter, tried interactive import/export.
    So when all else failed I installed 10g XE on a brand new Windows Vista PC that we have got just yesterday. Guess what.... straight after the install I get the exact same problem trying to use import/export! I then thought it must be a permission thing, there is only one user account on both PC's. This user is the Administrator, I have disabled all firewall, antivirus software but still no luck!
    Please help..
    Cheers
    Billy

    [email protected] wrote:
    There is only one Windows Account on my PC. This account is the Administrator account so it should work.
    Wrong!
    See my last post in this thread:
    Re: Not able to start Oracle 10g Listener on Windows 2008 Server
    there I explained a little bit UAC and how to deal with it.
    Cheers!

  • Import/Export extension not working with DW4

    I am trying to export my site definitions from Dreamweaver 4.0 so that I can import them into CS4.
    I installed the Extension Manager 1.5 and used it to install MX157851_siteImpExp1_0_3.mxp
    But I don't get a new menu item File/Export in my DW4 menu, so I cannot use the extension.
    Am I missing a step?

    I have found this information on the web that refers to the extension you are using (page takes a while to load), do not know if it help, but reading it there is a problem with the extension.
    http://help.wugnet.com/bravenet/webmaster/Import-Site-Failure-ftopict98245.html
    PZ

  • Import/export - templates not working?

    We're just trying to deploy our Portal application into the production environment, and having a lot of problems. We're still on 3.0.6.6.5.
    Firstly - if we import something more than once it creates a 2nd version. I've seen messages on this forum saying the -m switch has values of new/reuse, but the docs say check or create only. Is this a change at 3.0.7 or 3.0.8? I'm a little nervous about deleting objects in the production environment, we've been having random problems with metadata corruption when deleting objects in the dev environment.
    Secondly, we have our own template which is assigned to all application components. When we tried to export/import the template, we got no errors but it obviously didn't work. When we tried to edit the template to take a look at it, we got an error saying we're missing some dependent objects. The only objects referenced by the template are images and fonts - we haven't created our own, we've reused standard images & fonts, so why are we getting this error?

    Answers to your questions :
    1. One cannot import the same component twice on the same portal instance. You might have tried the import with -m check option.
    2. There are two modes in which an application/component import can run :
    CREATE and CHECK.
    3.Can you specify the exact error that you got when you tried to edit the template?
    Thanks and Regards
    null

  • Importing bookmarks I go to file and the IMPORT link is not working ... not Illuminated ... what can I do?

    I want to import bookmarks from Explorer and I go to File Tab and the IMPORT link is not working or not illuminated?

    Make sure that you not run Firefox in permanent [[Private Browsing]] mode.
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Permanent Private Browsing mode"

  • "Do not import duplicates" is not working

    The "Do not import duplicates" box is checked for all imports but is not working.  This is both for my Nikon DSLR, my Canon S-95 and my iPhone. This was happening with both Snow Leapord and Lion as operating system.  I have been using Aperture since the first release and only in the last few months has this been an issue.  Any thoughts?

    There's a known (and old) bug when duplicate identification fails on photos
    that have been imported from another catalog.
    Sent from phone.

  • Exported HTML not work in my host.

    Exported HTML not work in my host.
    The program works fine. Looks good in the browser preview and published in businesscatalyst, but when i exporting as html and upload it to my server is bad, all misplaced.

    Thanks for the reply.
    Everything is apparently copied and permissions are well.
    Watch this please.
    So it should be seen:
    http://koldo01.businesscatalyst.com/
    It is seen:
    http://www.koldofuentes.com/

  • Import scenario package not working

    Hi exports,
    On a test environment i created a scenario which i now would like to transfer to another server.
    I exported the correct scenario, but on the other server, the import is not working.
    I can submit my package, it shows that there is no current version of this package, but hitting the "IMPORT" button doesnt do anything.
    Im using (on both servers) SAP B1 9.0 pl 08 with the same integration framework.
    Any idea's on how to solve this?
    Kind regards
    Frederik

    Hi Radosla,
    Yep, thx for the hint.
    Looks like i put it on th test server in compatibility mode, but not on the real server.
    Changing this with F12 to IE 8 did the trick!
    Regards
    Frederik

  • Include in Export does not work in APEX 3.1

    I have a report with many columns. On screen I only show several columns, but on export to CSV I want to include all columns.
    However, when "Show on Report" is set to No, and I want to set "Include in Export" to Yes on the "Print Attributes" tab, it does not get updated.
    It only gets updated when the "Show on Report" is set to Yes.
    It also seems that the "Include in Export" on the "Report Attributes" tab is not in sync with the "Include in Export" on the "Print Attributes" tab the first time you access the "Print Attributes" tab.
    Question: Does "Include in Export" only works for columns which has the "Show on Report" set to Yes? If Yes, how can I achieve the above mentioned?
    Guido

    Marc,
    After some investigations the following can be concluded:
    On the Report Attributes tab, pick a column, and set "Show Column" to Yes, "Include in Export" to Yes, and no conditions.
    I do not want this column to be printed, so on the Print Attributes tab, set the "Column Width" to 0.
    When you run the report, you will notice that the column is not included in the export to CSV and not printed.
    Setting the "Column Width" to a value greater than 0, the export to CSV works fine, but the column is also printed.
    You can have a look at page 1 at at http://apex.oracle.com/pls/otn/f?p=261 (demo/ankpm)
    Thanks Patrick for your solution (:REQUEST LIKE 'FLOW_EXCEL_OUTPUT_%'), it works great. The column is now not show on screen but included in the export to CSV. However, you have to set the column width to a value greater than 0.
    An enhancement request for 4.0 could be to also have a property "Include in Print", and that this property and "Include in Export" are not dependent on the "Show Column" value.
    Guido

  • Import metadata xml not working

    Import metadata as Xml Datasource with network files(using url) not working and giving a message cannot connect - invalid url.
    but the same url can be run from a browser.
    What can be the problem?

    Hi Radosla,
    Yep, thx for the hint.
    Looks like i put it on th test server in compatibility mode, but not on the real server.
    Changing this with F12 to IE 8 did the trick!
    Regards
    Frederik

  • Sd photo import camera kit not working with iOS 8

    I bought an Apple brand sd card photo import camera kit for the iPhone 5 (lightning cable) a couple years ago. It no longer works with iOS 8.x. I now have an iPhone 6 Plus and it still does not work. I get the error "This accessory is not supported by this iPhone." Since it is Apple brand it should work.
    I have googled and searched the forums and found no leads on this. I was hoping with the latest 8.3 release it would be addressed. Does anyone know how to get this to work or is it an apple bug?

    One article that might be helpful is here (suggesting you need HUB if it's drawing too much power):
    http://support.apple.com/kb/HT4106
    @ rotorcraft:
    It has to have a DCIM folder, but the directory after the DCIM folder, and the files themselves, have to follow DCF rules (http://en.wikipedia.org/wiki/Designrule_for_Camera_Filesystem)..if it's the structure created by the camera it should be fine but if you change the folder to something other than DSC_xxxx and you change the image filename to something other than ABCD1234.whatever then it won't show up.
    You can double check if the kit is being recognized at all in Settings -> About, then scroll to the bottom, it should say like Apple Card reader or something I forget. If it isn't, I would just reboot

  • Aperture export is not working, "Choose" buttons also  not reacting

    Suddenly I can't export versions, originals, metadata and export as library anymore. Also all "Choose" buttons do not react anymore. For example its not possible to open another Library or choose the external photo editor in Preferences. If I login with my second useraccount Aperture does work just fine.
    On Monday I had no problems at all. Sofar I did the following things:
    FIRST.
    Repair Diskpermissions and Verify disk which was OK.
    Moved to desktop following files:
    ~/Library/Preferences/com.apple.Aperture
    ~/Library/Caches/com.apple.Apertue
    ~/Library/Containers/com.apple.Aperture
    Emptied the trash and restarted. The problem is not solved.
    SECOND.
    All the above actions and restart.
    Aperture Photolibrary first aid, "Repair Permissins" , "Repair Database" and "Rebuild Database".
    The problem is not solved.
    THIRD.
    Uninstalled Aperture and removed all files containing the frase "Aperture" (as far as these files had any connection with the application).
    Repair Diskpermissions and Verify disk which was OK.
    Emptied the trash and restarted.
    Installed Aperture from DVD and update via Apstore.
    Still the same problems so I am asking the form members for help.
    Mathieu

    Are you having any troubles wiht other applications run from  this account?
    From what you wrote you seemed to have covered all the bases not sure what else to suggest. What is the system?
    Do you have any plugins installed in Aperture ?  What about any applications, plugins etc, for this account?
    You can try doing a safe boot (hold the shift key down as soon as you hear the start up chime. Hod it until the Apple appears on the screen) Safe boot takes longer to come up, there will be a status bar at the bottom of the screen while it boots. Once it is up you will see Safe Boot in red letters at the top of the screen on the login page. This might not work if you have File Vault turned on.
    Once booted in Safe mode log in. Aperture use to not run in Safe mode because the graphics card is restricted but I believe in 3.5. it will run. Note everything will be slow and jerky.
    See if that makes a difference. Once done testing boot normally and try it again.

  • Oracle.ifs.admin.export.ExportUsers NOT working in SILENT mode

    I'm trying to export my CMSDK users via the commandline script (since the GUI tool MAKES YOU SELECT EACH USER ONE AT A TIME!!!) but it is not working. The CMSDK doc incorrectly tells you to run oracle.ifs.admin.export but I've found that you have to run ...ExportUsers. However my def file has the runsilent attr set but the GUI app still pops up???? Below is my script
    #!/bin/sh
    IFS_ROOT_HOME=$ORACLE_HOME/ifs
    export IFS_ROOT_HOME
    . $ORACLE_HOME/ifs/common/bin/ifsunixcmds
    . $ORACLE_HOME/ifs/cmsdk/bin/system/ifssetenv
    CLASSPATH=${IFS_CLASSPATH}
    export CLASSPATH
    java -Xmx64M oracle.ifs.admin.export.ExportUsers /d01/app/oracle/product/oas904mid/ifs/cmsdk/export/export-users.def
    And here is my def file...
    IFS.EXPORT.RunSilent=true
    IFS.EXPORT.Username=system
    IFS.EXPORT.Password=manager9ifs
    IFS.EXPORT.Service=IfsDefault
    IFS.EXPORT.SchemaPassword=gapp1969
    IFS.EXPORT.LogFile=export-users.log
    IFS.EXPORT.USER.ExportedUsers=bdillon
    IFS.EXPORT.ExportSetName=dev-users
    IFS.EXPORT.ExportToPath=/d01/app/oracle/product/oas904mid/ifs/cmsdk/export/
    IFS.EXPORT.ExportTreeSize=50
    IFS.EXPORT.USER.GetAllAncestors=true
    IFS.EXPORT.USER.GetDirectAncestors=false

    Pl see your other thread here - libxp.so.6
    You cannot terminate an install before successful completion and expect things to work flawlessly ;-)
    Srini

  • Export function not working in Internet Explorer

    so i've got a report displayed in IE, but when i go to export to any file format, IE opens a new tab and that's it. depending on certain settings (like adding the server to intranet zone), i can get the new tab to say nothing or "Blank Page".
    i've tried adding the server to the safe zones, i've played with some tabs settings, i enabled the "run active x" options...
    finally i reset all settings of IE to their defaults. i still can't figure out what i'm missing. if i copy the url to another browser the export works fine, as expected. on another machine i found this "rsclientprint 2008" addon so i downloaded
    that but i still got nothing.
    on a working machine, when i click the export button, a new tab opens with the name of the reporting server in it, it thinks a bit, then that tab closes and i get the "open or save" message in the original tab. on the one that's not working, it
    opens the new tab, DOESN'T show the server name and that's the end of it. so it seems like it can't connect to the server on the export function. (but report creation works just fine)
    anyone know of anything glaring that i'm missing??
    ~if this were /. this sig would be funny

    good call - i'll try that now.
    the app i had installed before was Classic Shell so that Windows Explorer's (win7) left hand pane doesn't jump around on you when you double click.
    i just completely uninstalled the application and rebooted. still nothing.
    going to do a repair while classic shell is uninstalled. brblol
    UPDATE:
    so i couldn't run the IE installer (per MS suggestions) because i have a newer version. so i tried the fixer that i found here:
    http://support2.microsoft.com/mats/ie_performance_and_safety
    and it found the following "errors":
    Issues found
    Data Execution Prevention disabled
    Detected
    Enable Data Execution Prevention
    Not Run
    Security settings
    Detected
    Reset Security settings
    Not Run
    Pop-Up Blocker disabled
    Detected
    Enable Pop-Up Blocker
    after fixing, the problem still exists!
    ~if this were /. this sig would be funny

Maybe you are looking for

  • More Digital Signatures Stuff

    So were trying to implement a PDF document that has a bunch of fields in it, and then after a someone signs it, it then get sent to an Informix DB as a BLOB. It then needs to be approved by a supervisor, so then the supervisor sees that it needs to b

  • Some items for podcast feed not updating on itunes

    Hey guys, Here is my podcast feed at podbean and itunes http://theflyslip.podbean.com/feed/ http://itunes.apple.com/au/podcast/theflyslip/id509869184 1)And here are my questions. I've updated my channel title as 'Armchair Critics' but its not updated

  • Icloud calendar icon garbled

    Just switched computers to: Win 7 64-bit XP mode enabled Firefox 26 Display = Medium (125%). After researching, the following attempted fixes were tried with no luck: cleared cache and cookies hard refresh made changes to about:config Any other sugge

  • Computer w/ iPod's synced iTunes Library DESTROYED

    I bought iPod 160GB in 2008 - the computer with which my original iTunes library was synced with this iPod was destroyed via catostrophic water damage (caused by burst water sprinkler pipe in 1/09).  No backup of the computer or iTunes library had be

  • Exportar datos a un mismo archivo

    Buenas tardes, Estoy con el módulo Sound and vibration Assistant. He grabado una señal de ruido temporal y mi idea es poder pasar cada segundo grabado a un mismo archivo. Es decir, Grabar el espectro en frecuencia del segundo 1 Grabar el espectro en