Web Dynpro selection variant

Hi
is it possible to save in WebDynpro on the standard selection screen save something like selection variant in selection screens in standard ABAP?

Hi,
Check this thread for Thomas Jungs' reply -
Variant Uploaded Directly
Regards,
Lekha.

Similar Messages

  • Save Variant Web Dynpro Select Options

    Hello experts, im working with select options in a WEB Dynpro.
    It is poosible to save select options varaint?
    I hope anybody had an idea to do this.
    THANKS!
    Markus

    Hi,
      After fetching the values from DB, here is the code snippet to pre fill them in the select option screen
    DATA: lt_range_table TYPE REF TO data,
          rt_range_table TYPE REF TO data,
          read_only TYPE abap_bool,
          typename TYPE string.
    * create a range table that consists of this new data element
      lt_range_table = lo_r_helper_class->create_range_table( i_typename = 'DATA_ELEMENT' ).
    FIELD-SYMBOLS: <tab> TYPE INDEX TABLE,
    <struct> TYPE ANY,
    <wa> TYPE ANY,
    <option> TYPE char2,
    <sign> TYPE char1,
    <high> TYPE ANY,
    <low> TYPE ANY,
    <wa_values> TYPE ANY.
    ASSIGN lt_range_table->* TO <tab>.
    APPEND INITIAL LINE TO <tab> ASSIGNING <wa>.
    ASSIGN COMPONENT 'OPTION' OF STRUCTURE <wa> TO <option>.
    ASSIGN COMPONENT 'HIGH' OF STRUCTURE <wa> TO <high>.
    ASSIGN COMPONENT 'LOW' OF STRUCTURE <wa> TO <low>.
    ASSIGN COMPONENT 'SIGN' OF STRUCTURE <wa> TO <sign>.
    <sign> = 'I'. "Default sign which you want to give
    <option> = 'EQ'. "Default option you want to give
    <low> = 'VALUE_LOW." pass your valriable name here
    *<high> = 'High_value'.
      " using this code snippet, you can prefill multiple rows too
    * add a new field to the selection
      lo_r_helper_class->add_selection_field( i_id = 'S_ID'
      i_description = 'Field 1'
      it_result = lt_range_table ).
       You can also find an useful e-learning for the same [here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd]
    Regards,
    Manne.

  • Web dynpro      cell variant!!!!

    Hi everyone,
      I have a big problem in web dynpro UI development,How can I make it possible
    that there are two kinds of cell editor ,one is link to action the other is textview.
    because at run time , I need to change the cell property according to some variable's value.
    Thanks in advance.

    Hi everyone,
      I have a big problem in web dynpro UI development,How can I make it possible
    that there are two kinds of cell editor ,one is link to action the other is textview.
    because at run time , I need to change the cell property according to some variable's value.
    Thanks in advance.

  • Activating Web Dynpro DC fails

    Hi Experts,
    I try to activate my activities. But they fail with an error message. In the error message there is printed that the component and the startup plug is missing. But that's not true. They exist and when i deploy the application to a portal directly the application works. What could be wrong?
    Here the build log:
    DC Model check:
       All used DCs are available locally
       validating dependency to build plugin "sap.com/tc/bi/bp/webDynpro"
       validating dependency to  public part "default" of DC "sap.com/tc/cmi"
       validating dependency to  public part "default" of DC "sap.com/tc/ddic/ddicruntime"
       validating dependency to  public part "default" of DC "sap.com/tc/ddic/metamodel/content"
       validating dependency to  public part "default" of DC "sap.com/tc/wd/webdynpro"
       validating dependency to  public part "default" of DC "sap.com/tc/logging"
       validating dependency to  public part "default" of DC "sap.com/tc/wdp/metamodel/content"
       validating dependency to  public part "default" of DC "sap.com/com.sap.aii.proxy.framework"
       validating dependency to  public part "default" of DC "sap.com/com.sap.aii.util.misc"
       validating dependency to  public part "default" of DC "sap.com/com.sap.exception"
       validating dependency to  public part "default" of DC "sap.com/com.sap.mw.jco"
       DC model check OK
    Start build plugin:
       using build plugin: sap.com/tc/bi/bp/webDynpro
       starting build plugin from : F:\usr\sap\DI1\JC00\j2ee\cluster\server0\temp\CBS\b\.B\116\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\
    Build Plugin 'WebdynproPlugin', Version 7.00 SP 9 (645_VAL_REL, built on 2006-08-26 18:15:25 CEST)
       development component:  dc2test (com.chiron.test)
          software component:  NWDIDEMO (nwdi)
                    location:  DI1_DEMO_D
                        type:  Web Dynpro
               build variant:  default
             source location:  http://cwte0066:50000/dtr/ws/DEMO/nwdi_NWDIDEMO/dev/active/
           plugin start time:  2007-11-13 12:54:28 GMT+01:00 (CET)
                     Java VM:  Java HotSpot(TM) 64-Bit Server VM, 1.4.2_12-b03 (Sun Microsystems Inc.)
    General options:
      convert *.xlf to *.properties: yes
      include sources for debugging: yes
    <b>Source folder META-INF exists but is empty.
    Source folder src/mimes exists but is empty.
    Source folder src/configuration exists but is empty.</b>Plugin initialized in 1.219 seconds
    Preparing data context..
    No 'default' JDK defined, will use running VM.
    Data context prepared in 0.078 seconds
    Executing macro file..
      Using macro file:     F:\usr\sap\DI1\JC00\j2ee\cluster\server0\temp\CBS\b\.B\116\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\macros\build.vm
      Creating output file: F:\usr\sap\DI1\JC00\j2ee\cluster\server0\temp\CBS\b\.B\116\DCs\com.chiron.test\dc2test\_comp\gen\default\logs\build.xml
    Macro file executed in 0.969 seconds
    Starting Ant..
      Using build file:     F:\usr\sap\DI1\JC00\j2ee\cluster\server0\temp\CBS\b\.B\116\DCs\com.chiron.test\dc2test\_comp\gen\default\logs\build.xml
      Using build target:   build
      Generation folder:    F:\usr\sap\DI1\JC00\j2ee\cluster\server0\temp\CBS\b\.B\116\t\5DD1DDDCD52BCDFBF8231FF394BC4A60
      Using Ant version:    1.6.2
    compile:
          [echo] Starting dictionary generator
         [ddgen]
         [ddgen] [Info]    Property deployment is true: Deployment information is provided!
         [ddgen] [Info]    Property sourcepath: F:\usr\sap\DI1\JC00\j2ee\cluster\server0\temp\CBS\b\.B\116\DCs\com.chiron.test\dc2test\_comp\src\packages
         [ddgen] [Info]    Property targetpath: F:\usr\sap\DI1\JC00\j2ee\cluster\server0\temp\CBS\b\.B\116\t\5DD1DDDCD52BCDFBF8231FF394BC4A60\gen_ddic
         [ddgen] [Info]    Property archivename: com.chiron.test~dc2test
         [ddgen] [Info]    Property vendor: com.chiron.test
         [ddgen] [Info]    Property dcname: dc2test
         [ddgen] [Info]    Property projectlanguage: de
         [ddgen] [Info]    Property language: Available languages are automatically determined!
         [ddgen] [Info]    Property addpaths ...
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       SapMetamodelWebdynproContent.zip - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/bi/extwd/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       jrfc.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapMetamodelWebdynproContent.zip - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       cmiapi.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/cmi/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproadmin.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynprobasesrvc.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproclientserver.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynpromodelimpl.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynpromodel_dynamicrfc.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynpropdfobject.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproportal.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproprogmodel.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_designtime_coupling.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_designtime_coupling_api.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_repository.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_repository_pmr.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproservices.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       exception.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/com.sap.exception/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       aii_util_misc.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/com.sap.aii.util.misc/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       aii_proxy_rt.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/com.sap.aii.proxy.framework/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       logging.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       logging.perf.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapDictionaryTypeServices.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapDictionaryTypesRuntime.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]    Initialize generation templates from configuration jar:file:/F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/java/SapDictionaryGenerationCore.jar!/DictionaryGenerationConfigurationCompiled.xml
         [ddgen] [Info]    Generating dbtables/sdmDeployDd.xml
         [ddgen] [Info]    Generation finished (4 seconds)
         [ddgen]
         [timer] Dictionary generator finished in 4.625 seconds
         [mkdir] Created dir: F:\usr\sap\DI1\JC00\j2ee\cluster\server0\temp\CBS\b\.B\116\t\5DD1DDDCD52BCDFBF8231FF394BC4A60\gen_ddic\datatypes
          [echo] Starting WebDynpro generator
         [wdgen]
         [wdgen] [Info]    Property deployment is true: Deployment information is provided!
         [wdgen] [Info]    Property sourcepath: F:\usr\sap\DI1\JC00\j2ee\cluster\server0\temp\CBS\b\.B\116\DCs\com.chiron.test\dc2test\_comp\src\packages
         [wdgen] [Info]    Property targetpath: F:\usr\sap\DI1\JC00\j2ee\cluster\server0\temp\CBS\b\.B\116\t\5DD1DDDCD52BCDFBF8231FF394BC4A60\gen_wdp
         [wdgen] [Info]    Property archivename: com.chiron.test~dc2test
         [wdgen] [Info]    Property vendor: com.chiron.test
         [wdgen] [Info]    Property dcname: dc2test
         [wdgen] [Info]    Property projectlanguage: de
         [wdgen] [Info]    Property language: Available languages are automatically determined!
         [wdgen] [Info]    Property addpaths ...
         [wdgen] [Info]       SapMetamodelDictionaryContent.zip - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/model
         [wdgen] [Info]       SapMetamodelWebdynproContent.zip - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/bi/extwd/_comp/gen/default/public/def/lib/model
         [wdgen] [Info]       SapMetamodelDictionaryContent.zip - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       jrfc.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       SapMetamodelWebdynproContent.zip - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       cmiapi.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/cmi/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproadmin.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynprobasesrvc.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproclientserver.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynpromodelimpl.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynpromodel_dynamicrfc.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynpropdfobject.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproportal.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproprogmodel.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproruntime_designtime_coupling.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproruntime_designtime_coupling_api.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproruntime_repository.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproruntime_repository_pmr.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproservices.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       exception.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/com.sap.exception/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       aii_util_misc.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/com.sap.aii.util.misc/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       aii_proxy_rt.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/com.sap.aii.proxy.framework/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       logging.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       logging.perf.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       SapDictionaryTypeServices.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       SapDictionaryTypesRuntime.jar - F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]    Initialize generation templates from configuration jar:file:/F:/usr/sap/DI1/JC00/j2ee/cluster/server0/temp/CBS/b/.B/116/DCs/sap.com/tc/bi/extwd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar<b>!/WebDynproGenerationConfigurationCompiled.xml
         [wdgen] [Error]   com.sap.chiron.DITestApp2 --> Application DITestApp2: Component is missing
         [wdgen] [Error]   com.sap.chiron.DITestApp2 --> Application DITestApp2: Startup plug is missing
         [wdgen] [Info]    Catching throwable null</b>     [wdgen] [Info]    com.sap.webdynpro.generation.ant.GenerationAntTaskError
         [wdgen]      at com.sap.webdynpro.generation.ant.GenerationAnt.showCheckResult(GenerationAnt.java:157)
         [wdgen]      at com.sap.ide.webdynpro.generation.Generation.check(Generation.java:2047)
         [wdgen]      at com.sap.ide.webdynpro.generation.Generation.generatePersistentArchive(Generation.java:1554)
         [wdgen]      at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:215)
         [wdgen]      at com.sap.webdynpro.generation.ant.GenerationAnt.main(GenerationAnt.java:50)
         [wdgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [wdgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         [wdgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         [wdgen]      at java.lang.reflect.Method.invoke(Method.java:324)
         [wdgen]      at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:219)
         [wdgen]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         [wdgen]      at org.apache.tools.ant.Task.perform(Task.java:364)
         [wdgen]      at org.apache.tools.ant.Target.execute(Target.java:341)
         [wdgen]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
         [wdgen]      at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
         [wdgen]      at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:111)
         [wdgen]      at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:62)
         [wdgen]      at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:222)
         [wdgen]      at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:199)
         [wdgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [wdgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         [wdgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         [wdgen]      at java.lang.reflect.Method.invoke(Method.java:324)
         [wdgen]      at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
         [wdgen]      at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
         [wdgen]      at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)
         [wdgen]      at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)
         [wdgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1723)
         [wdgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1495)
         [wdgen]      at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:727)
         [wdgen]      at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:503)
         [wdgen]      at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:442)
         [wdgen]      at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:314)
         [wdgen]      at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:252)
         [wdgen]      at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:207)
         [wdgen]      at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:168)
         [wdgen] ERROR: Unknown exception during generation null (com.sap.webdynpro.generation.ant.GenerationAntTaskError)
         [wdgen] ERROR: Generation failed due to errors (0 seconds)
    Ant runtime 6.234 seconds
    Ant build finished with ERRORS
    [Error]   Generation failed!
    Error: Build stopped due to an error: [Error]   Generation failed!
    Any help is appreciated!
    Regards Manuel

    Hi Manuel,
    that red flash is visible on a WebDynpro application in a WD specific view, right? I'm not a WebDynpro expert but I would assume that it indicates an issue with the application - probably the same thing that is reported by the central build.
    Do you get the same error message in a local DC build in your NWDS?
    (BTW: The "folder ... exists but is empty" is usually not relevant. The folders mentioned in the log may be empty as they are only used for special purposes. If they are defined in the DC Metadata CBS will create empty folders in the filesystem and the build plugin simply checks this. If the folders do exists in your local NWDS and contain files then there's something wrong, otherwise it should be safe to ignore the message.)
    From your description I would assume that something is really wrong with your WebDynpro application, maybe you accidentally deleted the component? (Maybe the WD forum is better suited for such questions?)
    Regards,
    Marc

  • Which web dynpro I am using?

    Hi all,
        I can not contact with my basis now, I want to know I am using ABAP web dynpro or JAVA web dynpro. How can I check it? Thanks~

    hi
    I want to know I am using ABAP web dynpro or JAVA web dynpro
    if  u logon to SAP LOGON PAD and choose some system and use transaction se80 and do ur coding in
    web dynpro using ABAP syntax , u r using WD ABAP otherwise u r using WD JAVA
    Web Dynpro ABAP is the SAP standard UI technology for developing Web applications in the ABAP
    environment.
    for WD JAVA , u use Netweaver Development Studio
    u will find a list of the processes and process steps of the Web Dynpro Java variant ,
    from this SAP online help :
    http://help.sap.com/saphelp_nw70/helpdata/EN/db/bd3642e2a3ab04e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/15/0d4f21c17c8044af4868130e9fea07/content.htm
    I hope , this is wht u wanted to ask ...
    regards,
    amit

  • Setting  a variant in WEB-DYNPRO application

    Hi expert,
    I want to set a variant in WEB DYNPRO ABAP application so how it is possible could you give me a any example. ASAP.
    REGARD'S
    VIKASH

    HI Vikash,
    If your problem of variants is still there check this link for customize variant.......
    This is for creating variant.......
    /people/sharad.agrawal/blog/2008/08/25/creating-and-using-variant-in-select-options-with-web-dynpro-for-abap-2
    This is for getting variants.........
    /people/sharad.agrawal/blog/2008/08/26/creating-and-using-variant-in-select-options-with-web-dynpro-for-abap-3
    regards
    Pranav

  • Web Dynpro Abap: Select-Options: Save Selection Data

    Hello,
    I am using select-options in web dynpro abap.  Need to add a feature where the user can save his selection values as a variant. 
    All I can think of is getting all the selection values and saving these into a Z table.
    Can you suggest a better way?
    Thank you.
    Irene

    Hi Irene,
    Alas, it's currently not possible. You could write your own wrapper though adding a save button. Inside of the action handler you could retrieve the range tables of all fields, convert their content to a structure you like and save it a fitting db table. My suggestion is to use XML and a DB table with a XSTRING field in the data section to store the range table values.
    Using personalization will allow you to customize your ui and to hide certain select option fields.
    Best regards,
    Thomas

  • Using Web Dynpro to bypass a r/3 selection screen

    Hello,
    Very new to portal development and looking to see if there is a way to do this.
    Overview: I created a WebDynpro to display R/3 information in a table via an iView. This information
    contains R/3 report variants based on user security. The user can then select a line within the table and hit execute which will run a r/3 report using the information from the table without displaying the selection screen.
    KEYNOTE: We do not want the user to be able see the report selection screen.
    It contains secure information that the business does not want the user to be able to view.
    Within the portal content I created two pages, The first page contains one iView with my WebDynpro. Which is filled and displays the table when selected. The second page contains two iView's WebDynpro and the window for viewing the R/3 report.
    The problem is that when the execution button is hit on the first page, it then moves to the second page. However does not run the report. It displays the selection screen of the report. They can hit the execution button again and it worked fine.
    Is there a way around this or is they a better way of doing this/
    Thanks,
    Chris

    Hi Walex,
    You will first need a RFM that returns the file that you need.
    Then you can create a Adaptive RFC model in Web Dynpro to access this RFM and store the file in the Web Dynpro context. Web Dynpro provides APIs to save files to the local system
    You can check this article for downloading the file.
    http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproJava-ExportingTableDataUsingOn-DemandStreams-SAPNW+7.0
    Best Regards,
    Supriya

  • ECATT abends during recording when lead selection is set to 0 on web dynpro

    We have a web dynpro application that works ok when running by itself.   When we tried to record ECATT testing on it, it abended after we click on a selection from a list of values.    The error on the browser indicated an error on the "lead select".   After reviewing the dump, we found that it abends on an exception when the lead selection on the ALV is not set.   When we changed our code to set the lead selection to 1, the ECATT recording worked.
    We have a requirement to set the lead selection of ALV to 0 so we need to change back our code.   We just did the setting to 1 just to get ECATT recording to work for now.    Does anybody know why ECATT requires this?   Is there a support packs that fixes this?
    Here is a snippet from ST22 for more details on this:
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_WD_CONTEXT
    Date and Time          2007/02/07 14:50:06
    Short text
    An exception occurred that was not caught.
    What happened?
    The exception 'CX_WD_CONTEXT' was raised, but it was not caught anywhere along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CL_WDR_CONTEXT_NODE===========CP' has to be
    terminated.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_WD_CONTEXT', was not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    The lead selection has not been set. VIEW_TABLE
    How to correct the error
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "UNCAUGHT_EXCEPTION" "CX_WD_CONTEXT"
    "CL_WDR_CONTEXT_NODE===========CP" or "CL_WDR_CONTEXT_NODE===========CM00V"
    "_RAISE_ELEMENT_NOT_FOUND"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    System environment
    SAP-Release 700
    Application server... "torsapd01"
    Network address...... "10.2.75.183"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "4x AMD64 Level"
    Character length.... 8 Bits
    Pointer length....... 64 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "TORSAPD01"
    Database type..... "MSSQL"
    Database name..... "PR3"
    Database user ID.. "dbo"
    Char.set.... "English_United State"
    SAP kernel....... 700
    created (date)... "Aug 28 2006 22:20:27"
    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
    Database version. "SQL_Server_8.00 "
    Patch level. 75
    Patch text.. " "
    Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Memory consumption
    Roll.... 16128
    EM...... 16759616
    Heap.... 0
    Page.... 0
    MM Used. 12713776
    MM Free. 4042608
    User and Transaction
    Client.............. 200
    User................ "SIC0010"
    Language Key........ "E"
    Transaction......... " "
    Program............. "CL_WDR_CONTEXT_NODE===========CP"
    Screen.............. "SAPMHTTP 0010"
    Screen Line......... 2
    Information on Caller ofr "HTTP" Connection:
    Plug-in Type.......... "HTTP"
    Caller IP............. "10.49.77.47"
    Caller Port........... 8000
    Universal Resource Id. "/sap/bc/webdynpro/sap/zpr3_base_price/"
    Information on where terminated
    Termination occurred in the ABAP program "CL_WDR_CONTEXT_NODE===========CP" -
    in "_RAISE_ELEMENT_NOT_FOUND".
    The main program was "SAPMHTTP ".
    In the source code you have the termination point in line 11
    of the (Include) program "CL_WDR_CONTEXT_NODE===========CM00V".
    Source Code Extract
    Line
    SourceCde
    1
    method RAISEELEMENT_NOT_FOUND.
    2
    data: l_count type I,
    3
    l_node_name type string.
    4
    5
    l_node_name = if_wd_context_node~get_path( ).
    6
    7
    l_count = if_wd_context_node~get_element_count( ).
    8
    if l_count = 0.
    9
    raise exception type cx_wd_context exporting textid = cx_wd_context=>NODE_EMPTY node_nam
    10
    elseif element_index = if_wd_context_node=>use_lead_selection.
    >>>>>
    raise exception type cx_wd_context exporting textid = cx_wd_context=>NO_LEAD_SELECTION n
    12
    else.
    13
    raise exception type cx_wd_context exporting textid = cx_wd_context=>ELEMENT_NOT_FOUND n
    14
    endif.
    15
    endmethod.
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    1
    SY-TABIX
    0
    SY-DBCNT
    2
    SY-FDPOS
    0
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    HTTP Control
    SY-MSGTY
    E
    SY-MSGID
    TD
    SY-MSGNO
    600
    SY-MSGV1
    000003587101
    SY-MSGV2
    0001
    SY-MSGV3
    EN
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20070207
    SY-UZEIT
    145005
    SY-XPROG
    SAPCNVE
    SY-XFORM
    CONVERSION_EXIT

    Hi Eugene,
    i suggest you raise an SMP ticket for these.
    Looks like a bug at first glance.
    regards
    Phil

  • SELECT OPTIONS IN WEB DYNPRO ABAP

    Hello experts, im working with select options in a WEB Dynpro.
    There are four buttons (cancel,check,reset,copy) that apears above my select option.
    My question is: There is a way to hide that buttons?
    THANKS!

    Sure, you can disable them using the SET_GLOBAL_OPTIONS methdo of the IF_WD_SELECT_OPTIONS class.  Something like this:
    wd_this->m_handler->set_global_options(
        i_display_btn_cancel  = abap_false
        i_display_btn_check   = abap_false
        i_display_btn_reset   = abap_false
        i_display_btn_execute = abap_false ).

  • Making selective fields editable in adobe form [using web dynpro]

    Hi,
    I have displayed an adobe form using web dynpro application. But I have to make certain fields (not all fields) on this adobe form editable. I dont want to make this adobe form interactive because I dont have to save any data in database. The data entered in the editable fields will be saved as a pdf.
    What I did so far:
    1) The fields which I want as editable,  I have given there type as "User entered/ optional" & for rest of the fields I have given type as "Read only".
    2) In web dynpro, I have enabled the adobe
    3) This is not making the fields editable.
    4) If I write the following code in my webdynpro method WDDOMODIFYVIEW, then my data coming from adobe is not getting displayed even though the fields get selectively editable.
    *data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
    *LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    *check first_time = abap_true.
    *LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
    *LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    *LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    Any inputs regarding this??
    Thanks & Regards.

    Hi,
    Like I had mentioned using the following code in my webdynpro method WDDOMODIFYVIEW, my data coming from adobe form was not getting displayed even though the fields get selectively editable.
    *data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
    *LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    *check first_time = abap_true.
    *LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
    *LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    *LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    So I kept this code & I also kept the Interface type "ABAP Dictionary based".
    Additionally in Webdynpro, I used adobe form generated FM to get the adobe content & passed it to the "content" parameter of my adobe component in webdynpro.
    Thanks & Regards.

  • Selection Screen in Web Dynpro Application

    Hi,
    I have to develop one application, in which I need to create first view as Selection Screen and second as result screen,
    Please advise how to create selection screen in ABAP web dynpro?
    Thanks!
    Piyush

    I am not sure whether your requirement is like this or not:
         (1).In 1st screen, there are a few input fields which you can input the value as what you want.
         (2). After you input your data, you press "Enter" or press the Button(if in your view there is one button), then 2nd screen will be displayed to show the result, which is retrieved from DB using the selection/Condition in 1st screen.
    This is just simple in WD4A.
    A little summary:
         (1).In 1st view, you can bind your input fields with the context.
         (2).In the "Enter" event or "Button" action, you can "Fire the outbound plug" which is navigated to the "Inbound plug" of 2nd view
         (3).In the "WDDOINT" of 2nd view, you can use the 1st-view's Context(You can declare the context in component controller, and map it in 1st and 2nd views), then Retrieve data from DB or other places.
    I think, you can take a reference to the Document "Net 310", which is the standard course of WD4A.
    Goodluck.Best wishes!

  • Web Dynpro & case sensitive selection of Adobe Forms

    Hi Community
    how can I solve this issue:
    I have a Web Dynpro View with a button. Clicking this button generates a Adobe form and displays it.
    So long everything's fine.
    Here's my problem:
    There are 4 different case sensitive forms in dependence of the user's selection. How can I solve this?
    The form is assigned to the view via layout, so do I have to create 4 views,related to the amount of forms? And additionally the pdf's are displayed in dialog windows, so do I have to create 4 windows additionally where I have to embed a view for each of them?
    Is there any other way to solve it? It looks for me like a not very nice solution.
    Thanks in advance,
    Tan

    Hi Tan,
    Solutions that i am proposing may not be the best solution but you need to take a call on the best one:
    Solution 1 :
    1. Try Creating only one view and one window for pop up ( in addition to your existing view with button )
    2. in the view add an interactive form and bind it to one of the form.
    3. in WDDOMODIFYVIEW method , depending on the situation try to change the mapping to this interactive form
    4. This embedded view in the pop up window is always called, only based on the conditions the adobe forms changes.
    Solution 2:
    1. in your view add 4 Interactive forms , bind them to different nodes as per its mapping requirement
    2. create 4 Visibility context attributes , bind them with each of the forms
    3. depending on the condition , hide or make visible the adobe forms.
    4. show this view in the pop up window.
    My suggestion would be to go with Solution 2 , since it does not involve dynamic modifications at runtime.
    Regards,
    Ashish Shah

  • Use of Variants in a Web Dynpro Screen?

    Hi, 
    Is there an easy way to simulate the use of variants in a Web Dynpro screen, like in R/3 for a transaction?

    Can you give me some example for storing text files on the Java server?
    An example to manage parameters for each user, for example :
    \[ZAPPLICATION\]
    EQUIPMENT=300056
    TYPE=ZE
    PRIORITY=1
    DISPLAY=True

  • Fill select opions in Web Dynpro

    Hello SDN Community,
    I'm currently developing a availability check application which should be accessible via BlackBerry mobile devices. To make it easier for the user I want to privide him a Material search by Material Number or Material Short Text. For this functionality I want to use BAPI_MATERIAL_GETLIST. The input for this BAPI is done via select options. What is the best way in Web Dynpro to fill this Input Tables?
    Regards
    Gregor

    Hi Gregor,
    Try to utilize the OVS (Object Value Selector)
    You can find sample on "How to use OVS?", in SDN.
    Hope that will help you in sorting the issue.
    Regards,
    Santhosh.C

Maybe you are looking for