DropDownList Binding From dictionary development component

dear all
i need the way to create dropdownlist UI component in webdynbro and bind its data from dictionary development component
and what dependencies should we have between webdynpro component and dicitonary component
regards tareq

Hi
Please have a look at this thread
Using Dictionary Component in WD-Component
Regards
Saravanan K

Similar Messages

  • Passing value from Portal Development component to Webdynpro component

    Hi experts
    how to pass a value from portal component to a webdynpro component , is it possible, i have both portal and webdynpro --- development components on diffrent tracks,
    Regards
    Govardan

    page 8.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c2fad86f-0401-0010-91ac-bdb38595a735?QuickLink=events&overridelayout=true&5003637509947
    any event you named.

  • Calling RFC from JSP : development component

    Hi everyone,
    I created JSP that call RFC from SAP/R3.
    I have problem with the DestinationService.
    Without DCs, it worked very good.
    But since I created a DC for my JSP project, I have exception at run time regarding
    the java.lang.NoClassDefFoundError: com/sap/security/core/server/destinations/api/DestinationService.
    Eventhough I add the specific jar, I get an excpetion.
    Thanks for the help.
    David

    Go to the application-j2ee-engine.xml file and add following reference:
         <reference
              reference-type="weak">
              <reference-target
                   provider-name="sap.com"
                   target-type="interface">tcsecdestinations~interface</reference-target>
         </reference>

  • Accessing Dictionary devlopment component in Web dynpro component

    Hi
    I want to access a table created in the java dictionary development component in webdynpro. I dont want to use the EJB for doing this.
    Regards
    NagaKishore V

    Hi,
    there are several possibilities to achieve that.
    For example
    - JDO
    - SQLJ
    - direct access to the database via JDBC from your WD Controller (not recommended).
    For more information about JDO see at
    /program files/SAP/JDT/eclipse/examples
    There you will find the tutorial J2EE_GettingStartedJDO
    For general information about Java persistence have a look at
    http://help.sap.com/saphelp_erp2004/helpdata/de/61/fdbc3d16f39e33e10000000a11405a/content.htm
    Regards
    Helmut

  • Creating Room Instance from Web Dynpro Development Component

    Hi Experts,
    I would like to instantiate a Room Instance based on a pre-created Room Template from within a Web Dynpro Development Component. I had a look at the <i>Collaboration Rooms API Cookbook</i>, which provides all the code examples I need, but which asks that I import the following classes:
    import com.sap.ip.collaboration.room.api.IRooms;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    Problem is I don't have and can't find those libraries. I am developing in a track on the DTR and all solutions that I have found to the problems thus far require me to import a local jar file. Surely I should rather import a Software Component with the required library into my project? Does anyone know what the name of this Software Component is or what the correct way is to do this?
    Also, a somewhat related problem. If I want to create a Room Instance from an Application Service, how would I go about doing this. Unlike with a Web Dynpro project, I can't setup the build path or Used DCs, so how will I gain access to that library?
    Thank you,
    JP

    Beevin, thanks for the reply.
    I am aware that adding the jars manually to the build path is a possibility, but isn't this a local only solution? What I mean is, lets say I do this and check the code into the DTR - surely the code won't compile on my co-workers' machines as the paths to the jar files are different for them? Unless you mean to somehow add the jar file from the server, in which case could you please elaborate on how to do this?
    This still doesn't solve the application service problem, does it? How can I access those library from the CAF DC?
    Thanks

  • Bind Variables and Shared Component Report Query

    I have a query in a region report which I have replicated to a shared component report query.
    Both queries reference page items as bind variables in the where clause.
    The report region on screen shows the correct results but the report query shows "no data". This is the case when running "Test Query" and "Download XML data" from the shared component report query definition. If I hardcode the variable names I get rows returned, If I use bind variables - and specify the values for these variables I get no data. THe XML file contains the tags for each bind variable I have specified but has no data between the tags. I have Ticked the box to include application and session state but it appears that the bind variables are not being used.
    When I use my report query in the application (URL tied to a button) I get the same problem, the binds are not being passed to the report query.
    Can someone please clarify if this is a bug or not? And if not, how can I get it to work.
    I am using Apex 4.0.2
    Thanks
    Kathryn

    Hi
    To confirm, yes I selected the bind variables. I used these in the report layout, but the xml file has them as empty i.e.
    <P0_START_DATE><P0_START_DATE/> with nothing in between.
    IN the Test Query section, if I put real values in the boxes for the bind variables, I get no data found. If I hardcode the values into the query, I get the data.
    I've repeated the create report query many times and have created a report layout in RTF. I can use the layout with my region - in the print attributes and the layout works with the query but I need to create a PDF using 2 queries - ROWSET1 and ROWSET2. I can generate the XML but the values in the rows are all empty. When I use the layout with a report query instead of the region, I get no data even though I have used the same sql and have selected the bind variables. I was using variables from page items on page zero but have also tried using page items on the current page, the result is the same.
    I need to use a report query and a report layout as I need data from 2 queries in the PDF.
    I looked at your demo - what happens if you add a second sql query to the report query - is there any chance I can look at the back end (developer access?)
    Thanks for your input
    Kathryn

  • No prefix found for development component

    Hello all,
    I do not fully understand the concept of Namespace prefixes.
    I have created a "Development Component Name" "innobis.de/test" and a "Design Time Package" with value "de.innobis.test" in the SLD.
    I imported the Development Configuration from the NWDI and created a new CAF DevelopmentComponent. There is no possibility to choose any namespace-prefix.
    When trying to "checkin" the initial activity which contains the newly created DC, the following error is thrown:
    FAILED: No prefix found for development component "asdgsdg/dictionary".
    Appropriate development component prefix should be configured in SLD
    (Restart IDE after reconfiguring SLD).;
    No prefix found for development component "asdgsdg/ejbmodule".
    Appropriate development component prefix should be configured in SLD
    (Restart IDE after reconfiguring SLD).;
    No prefix found for development component "asdgsdg/ear".
    Appropriate development component prefix should be configured in SLD
    (Restart IDE after reconfiguring SLD).
    No prefix found for development component "asdgsdg/permissions".
    Appropriate development component prefix should be configured in SLD
    (Restart IDE after reconfiguring SLD).;
    No prefix found for development component "asdgsdg/metadata".
    Appropriate development component prefix should be configured in SLD
    (Restart IDE after reconfiguring SLD).  initial
    Any idea? Help very much appreciated.
    Thanks,
    Kai
    (NWDI 7.0, NWDS 7.1 SP07, NW CE 7.1 EHP1 System)

    Kai,
    check this link on name prefixes
    http://help.sap.com/saphelp_nw70/helpdata/EN/df/2761930dd9b74a85198f9e48850046/frameset.htm
    Thanks
    Bala Duvvuri

  • Web service in Web Dynpro development Component

    Hi All,
    I have created a web service in SAP GUI and I have saved the WSDL file on my local PC.
    Now when I create a web service model in a simple web dynpro project it works perfectly.
    But when I do the same in a web dynpro development component; as soon as the web service model instance is associated with the activity in the DTR my application get hanged. I have to quit my NWDS. When I reopen NWDS my application shows following errors:
    <i>Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>XMLTokenWriter cannot be resolved</b> (or is not a valid type) for the argument writer of the method serialize     Char1.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies/types     line 57
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>typeRegistry cannot be resolved or is not a field</b>     Z_WS_GETEMPINFO_FULLSoapBindingStub.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies     line 29
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>transportBinding cannot be resolved or is not a field</b>     Z_WS_GETEMPINFO_FULLSoapBindingStub.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies     line 22
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>SOAPSerializationContext cannot be resolved</b> (or is not a valid type) for the argument context of the method serialize     Char1.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies/types     line 50
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>SOAPDeserializationContext cannot be resolved</b> (or is not a valid type) for the argument context of the method deserialize     Char1.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies/types     line 26</i>
    Regards
    sid

    Hi Sidharth,
    Which version of NWDS you are using. I was facing the same problem with SP16 sometime back.
    I did find a workaround to do that. See, whenever you will create the WS Model in Web Dynpro DC, it will ask you to add some file in DTR..right!!........ do one thing press "Cancel" or "No" there. Then studio will ask one more time to add the files, in different dialog box though. Add the files from the second dialog box rather than the first one.
    Regards,
    Mausam

  • Using JPA Entity-Objects defined in other EJB-Development Component

    Hello Community,
    I'm working on a Java-Application on NW CE 7.1, using JEE5 Beans in the Business-Logic-Layer and WebDynpro/Java in the UI-Layer.
    I designed a Bean for working with data, stored in a database-table of the system-database.
    For that addtionally i created a class, representing the Entity-Object, in the same Development-Component of Type EJB 3.0.
    It looks like this:
    @NamedQueries ({
         @NamedQuery (name="findAllSdCust", query="SELECT c from SdCust c ORDER BY c.kdnr"),
         @NamedQuery (name="findSdCustByKdnr", query="SELECT c from SdCust c WHERE c.kdnr = :kdnr"),
         @NamedQuery (name="findSdCustByIlnnr", query="SELECT c from SdCust c WHERE c.ilnnr = :ilnnr")
    @Entity
    @Table(name="ZKALL_SD_CUST")
    public class SdCust implements Serializable {
         @Id
         @TableGenerator (name="idGenerator", table="ZKALL_ID_GEN", pkColumnName="GEN_KEY", valueColumnName="GEN_VALUE", initialValue=100)
         @GeneratedValue (strategy=GenerationType.TABLE, generator="idGenerator")
         private long id;
         private String name;
         private String lname;
         private String kdnr;
         private String ilnnr;
         private long connid;
         private long cnt;
         @Version
         private long version;
          Constructor, Getter and Setter methods follow here
    The corresponding bean looks like this
    @Stateless(name="SdCustBean")
    public class SdCustBean implements SdCustLocal {
         @PersistenceContext (unitName="xyz")
         private EntityManager em;
         public SdCust getSdCustByKdnr (String kdnr)
              SdCust result = new SdCust();
              // List<Manufacturer> resultList = new ArrayList<Manufacturer>();
              Query  myQuery = em.createNamedQuery("findSdCustByKdnr");
              myQuery.setParameter("kdnr", kdnr);
              result = (SdCust) myQuery.getSingleResult();
              return result;
         public void setEM (EntityManager iem)
              em = iem;
           // other methods .....
    After that i created a new Development-Component of Enterprise Application-Type and added above DC to this EAR-DC. I also supplied the nessecary descriptor-files/Enries in EJB-DC and EAR-DC.
    When now using this bean from WebDynpro with the Web-Dypro EJB-Model-Import everything works fine.
    The bean returns the desired object(s).
    But now i created a new DC of type EBJ 3.0
    This DC contains a Message Driven Bean. That MDB is a Job-Bean which i want to schedule. That  Bean uses JRA to connect to an SAP-Abap-System to read some Data and should use JPA to insert/upate/delete the read data in the Database. This should work as a simple replication for my application.
    I assigned that EJB-DC containing the MDB to a new EAR-DC together with job-definition-xml and the neccessary entries in deployment-descriptors.
    After deploying i see the corresponding job-defition in the NW scheduler using the administrator-views.
    I'm also able to schedule the job and it executes fine. Connecting to SAP-Abap System also works fine using JRA.
    But JPA does not work!!!!!
    I created an dependency from my EAR-DC containing the Job EJB-DC and to the EJB-DC containing the Entity-Class.
    I tried three diferent things to get i running, but all of them failed.
    1.)
    The part  looks like:
    public class MasterDataReplicateJobBean extends MDBJobImplementation implements MessageListener
      @EJB SdCustBean mybean;
       public void onJob(JobContext ctx) throws Exception {
            SdCust sdCust = mybean.getSdCustByKdnr (mykdnr);
    Compiles fine. But this fails because the Data is stored in the system-database. The exception says, that i have to use a datasource which supports 2-Phase commit. I know, that i could possibly solve this problem by annotation the Method getSdCustByKdnr with the Annotation for the Transaction-Manager to use REQUIRES_NEW Transaction. But i dont want to generally annotate my methods this way.
    2.)
    This part looks like this
    public class MasterDataReplicateJobBean extends MDBJobImplementation implements MessageListener
    @PersistenceContext (unitName="xyz")
    private EntityManager em;
       public void onJob(JobContext ctx) throws Exception {
         SdCust cust = new SdCust();
         Query  myQuery = em.createQuery("SELECT c from SdCust c WHERE c.kdnr = :kdnr");
         myQuery.setParameter("kdnr", dbkdnr);
         cust = (SdCust) myQuery.getSingleResult();
    This also results in a runtime-exception because the entity-Manager cant resolve SdCust from the Query as an Object. The Exception is:
    java.lang.IllegalArgumentException: line 1: Abstract Schema Type 'SdCust' doesn't exist
    SELECT c from SdCust c WHERE c.kdnr = :kdnr
    3.) and last try so far:
    public class MasterDataReplicateJobBean extends MDBJobImplementation implements MessageListener
    @PersistenceContext (unitName="xyz")
    private EntityManager em;
       public void onJob(JobContext ctx) throws Exception {
         SdCustBean custBean = new SdCustBean();
         custBean.setEM(em);
         SdCust cust = custBean.getSdCustByKdnr(kdnr);
    In this example i use the Bean from the beginning not as a bean itself but as a normal class. that class has an addtional Method setEM to set the Entity-Manager (which is injected when using the class as a bean)
    In that way i got the exception, that the named Query "findSdCustByKdnr" cannot be found by the entity-manager.
    It seems to me, that i can access the class, but that all annotations belonging to JPA for that class are not recognized.
    Does anybody can give me a hint to solve this problem? Did i forgot something important?
    best regards
    matthias hayk
    Edited by: Matthias Hayk on Feb 5, 2009 9:38 AM

    I was already on wright trace.
    My class "SdCust" was not recognized by the Entity-Manager as an Entity-Class.
    This relies on the storage of the entity-class and where the Entity-Manager looks for entity-classes.
    By default it seems to look for all classes in the same jar file. thats the reason why everything works fine when the using bean and the entity-class are in the same project.
    In my last case, the using bean is in another  development-component and so also in anohter jar file. in this case the entity-manager must be told where to find entity-classes.
    this is done in the persistence.xml file.
    i added the line
    <jar-file>xxx.yyy.com~mdata_beans.jar</jar-file>
    underneath the <persistence-unit>-tag.
    This works.
    regards
    Matthias Hayk

  • Webdynpro Development Component Callable Object Escalation

    Hi,
    In gp sequential block workflow  using webdynpro development component callable objects  When the initiator intiates a workflow ,it is assigned to the first approver.Now if the approver does not take any action within 2 days i want to escalate the task to the second approver.How can i do this escalation?
    There is a standard parameter call <b>due date</b>...in action.How can I set this value dynamically from my application..
    During escalation , the next approver has to be taken by executing an rfc in the background
    Please help....
    Thanks,
    Shamila

    Hi,
    You can define a CAF Core application service (implemented in the CAF Core layer) or a background CO (implemented by a J2EE class interface) which can call a RFC to get the next approver and return the next approver's user id as an output parameter. You can use dynamic user assignment in the next action (approval), by selecting the processor as "Filled From Context Parameter" (at the Roles tab in block level) and select the user id output parameter of the background CO/CAF app service CO.
    You can get more details on different types of CO at the CAF Tutorial Center @SDN
    Thanks,
    Dipankar

  • Urgent Please help me... How to access BAPIs from abstract portal component

    I am developing an application in Abstract Portal Component (in
    PDK).
    In that application I can able to acess BAPIs from my Componets
    using the code like
    inputPopSearchBapi = new Zad_Bapi_Pop_Search_Form_Input();
    outputPopSearchBapi = new Zad_Bapi_Pop_Search_Form_Output();
    popSearchBapi = new DropBox_PortType();
    colorList = new Tjj12Type_List();
    inputPopSearchBapi.setIm_Agencyid("0010000001");
    try {
    jcoClient.connect();
    outputPopSearchBapi =
    popSearchBapi.zad_Bapi_Pop_Search_Form(inputPopSearchBapi);
    colorList = outputPopSearchBapi.get_as_listIt_Color();
    request.getComponentContext().putValue("color",colorList.iterat
    or());
    jcoClient.disconnect();
    But I am not able to Access the data that is comming from the
    BAPI in my JSP Page. Pleeeeeeease help me. If you want any
    clarification about my problem then ask for further
    clarifications

    Hi,
      You can refer this link, to connecting the BAPI from Abstract Portal Component <a href="http://www.huihoo.org/openweb/jco_api/com/sap/mw/jco/JCO.html">JCo Tutorial1</a>
    <a href="http://www.apentia-forum.de/viewtopic.php?t=1962&sid=9ac1506bdb153c14edaf891300bfde25">JCo Tutorial2</a>
    With Regards,
    Venkatesh. K
    /* Points are Welcome */

  • Development Component Dependency in CM Service

    Dear All..
    We are using CM Service to tr transport Web Dynpro Java object into our target system.
    But we are suffering from the DC(Development Component) Dependency.
    Let me explain the situaiton in the below.
    <The First>
    Like the ERP ABAP System, we can develop and change DC which is referenced by another DC.
    One developer developed A DC and another developer developed B DC.
    B DC is referenced by A DC in Model view in the NWDS(Netweaver Development Studio).
    In this situation if A DC should be transported to our production system,
    we have to check-in and activate and release activity.
    By releasing A DC,the B DC is packed in a DIP(Development Infrastructure Package) file together because of
    dependency between A DC and B DC.
    Is it right?
    If it is right,what should I do if the B DC have a some problem and if I don't want to transport it.
    Of course If the developer which develops B DC does not activate after check-In,
    the B DC which have a problem in that time is not packed in a DIP file.
    But the developer which devlops B DC also have to test and activate to transport into our QAS system before deploying
    into our production system.
    This is the our first problem.
    <The Second>
    So far as I know the deployment process is composed of like this.
    Stop Applicaiton -> lock application -> deploy -> Start Application.
    Is it right?
    I found out that the time for locking application depends on the applicaiton dependency.
    For example If we deploy some application having much dependency with other application,the system first try to stop whole
    related applicaiton and then deploy and start application again.
    I think this kind of situation is natural.
    Unfortunately our some application is referenced by all applicaiton(For example the application which is used by other applicaiton commonly).
    So If we change this common application and deploy,our whole applicaiton is stopped and started again.
    In this situation are there any useful deployment method or development method(minimization of application dependency) to prevent
    customer affection when we deploy web dynpro application?
    Regards...

    Thanks for your reply.
    DIP is a unit which we can transport our DC(Development Component) into our production system using CTS+.
    You can find more detail information in the document.
    "How To... Configure CM Services in SAP NetWeaver 7.3 and up"
    Also regarding second question,as I said already it is natual but I'm just searching for the best reference to deploy webdyn  object which have a many dependency.
    For example,manually stopping before we deploy.
    Regards...

  • Development Component not visible in the Consolidation Compartment in CBS

    Hi Experts,
    We have created a new development component on the track for which we
    have created an DTR activity. After we checked in, activated & released
    the activity successfully, we went to the consolidation tab in CMS and
    imported the activity. We could successfully imported the activity into
    consolidation system and got the message import finished. But when I checked
    in the Consolidation compartment, I could not found out my newly
    created Development component. I feel that the activities are not going there.
    I also tried restarting the NWDI server but still no luck.
    Kindly assist as without solving this issue we cannot assemble our
    components and cannot move them to Quality environment.
    Also, kindly assist how can we transport the entire SCA (where we have done the custom development) from development
    to Consolidation for the same state?
    Currently, we have lesser number of DCs in the SCA of my cons environment than my dev environment, so how can I exactly have the same state of custom developed SCA in my cons environment?
    Is there any provision of system restore so that we can overcome the above issue or any other means by which we can move the entire SCA from my dev environment to cons environment.
    Please suggest as this is affecting our go live activities.
    Thanks & Regards,
    Anurag

    Hi,
    when you have imported into cons and it said finished succesfully, then clicking on the button "Details..." can you confirm that all the 3 phases were succesful (dtr import, cbs make and deployment) ?
    Do you have any pending activations? You can check it in the CBS webui -- page "Activities".
    Can you see any requests in the TCS deployer as described by Pramod ? (you need to look for numbers in square brackets [ ]. If there are any it means that those requests are still being deployed. If this is the case and the requests are not disappearing from the TCS Deployer, then doublecheck if the RTS settings for CONS are ok. Here a hint for that: http://wiki.sdn.sap.com/wiki/display/TechTSG/%28NWDI%29%28CMS%29Q0002).
    Eventually if all this is fine, can you please trigger an Initialize Compartment (you do this in CBS webui -- select your CONS compartment).
    I hope this helps.
    Thanks and Regards,
    Ervin

  • Software Component does not support selected Development Component Type...

    Hi,
    I have a problem, i want create a new project of Mobile Service Component, but, when i want select MyComponents [demo.sap.com], in the top appear:
    "Software Component does not support selected Development Component Type. Required DCs are located in an SC that is not visible from the selected SC "
    Why?
    Thanks in advance,
    Regards,

    Hi Victor,
    the issue is that the archive pool in your NWDS is not set up properly. Could you check the configuration of the development configuration? I guess you are developing in Local Development, right? Please check in the "Component Browser" that the two Software Components "NWMCLIENT" and "XOCA" are present and contain some DCs inside them. If this is not true, than something went wrong with your setup of the IDE. The modifications of the default.confdef are most likely not right.
    Please come back to me if you don´t know how to proceed.
    Regards,
    Stefan

  • How to deploy a pure jave development component to server?

    i have created a pure java development component.
    but i cannot find a way to deploy it to server
    is there any way?

    You need to essencially wrap your java development component with a deployable development component.
    In order to do that, you need to:
    - Define a public part for your development component of type assembly.
    - Create a deployable DC ( one that results in a SDA or a EAR file ).
    - Reference your DC from the deployable DC. This will include the generated .jar file into the project.
    The definitions of the different types can be found here:
    http://help.sap.com/saphelp_nw04/helpdata/en/93/d5a73f05c4265de10000000a114084/content.htm
    I would either create a library component ( results in SDA ) or a web dynpro component ( ear file ).

Maybe you are looking for

  • Constraining Values in Dashboard Prompts

    Hi, I have a question about constraining values in dashboard prompts. Do all fields need to come from the same table as I am finding constraining values is not working where I am selecting some values from different tables: For example Start Date - F

  • IWeb 09 Logo background

    Why when I have placed a logo/picture with a transparent background in a iWeb page. That after you publish and then look at the page online it places a black background on the logo which then blocks part of the picture which is behind

  • Oracle DB Connect and Dates

    Hello From what I have read, reading dates from a table connected via dbconnect is not easy. OSS recommends that you create a view in the source system with a character mask on the date fields as Oracle stores dates in a unique way. In my situation I

  • [SOLVED] chicken-locale environment issues

    So I've recently decided that I want to give Lisp or Scheme a try. I eventually settled on Chicken Scheme because it seemed to fit better into the Linux ecosystem than Common Lisp or something like that. AFAICT, and I'm obviously not an expert, it se

  • How can i eliminate the account on a miniipad that i lost?

    somebody can give me an advice , how to eliminate my actual account  to avoid they use it in a miniipad that ilost?