Web Dynpro ABAP == Web Dynpro Java

Hi Gurus,
I've written a Web Dynpro Abap Application to maintain CRM Opportunities, working with Transaction-ID and everything (read&write) works fine.
Now, I'd like to write the same Application in Web Dynpro Java.
I'm quite new in WDJ and thus would like to have some good Howtos & Guides (using the NWDI, CMS, CBS & DTR on a remote J2EE Engine) - e.g. how do I get information out of FMs I used in Abap, like CRM_ORDERADM_H_READ_OB when writing code in Java?
Thanks in Advice,
Farid
(help will always be rewarded)

Hi,
I've deleted the model, restarted the j2ee engine, created a new model in a new package, importet Z_R_CRM_ORDER_SAVE an get the following message:
[code]
[Warning]:     Creating a connection with Metamodel language <en> failed.  Continuing with language <DE>
[Fatal]:     com.sap.mw.jco.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx
[Info]:     Creating Model: MyNewModel
[Info]:     Creating Model Class: Z_R_Crm_Order_Save_Input
[Info]:     Creating Model Class: Z_R_Crm_Order_Save_Output
[Info]:     Creating Model Class Property: Cv_Log_Handle
[Info]:     Creating Model Class Property: Cv_Log_Handle
[Info]:     Creating Model Class: Crmt_Exception
[Info]:     Creating Model Class: Balmsghndl
[Info]:     Creating Model Relation: Crmt_Exception:Msg_Handle
[Info]:     Creating Model Class Property: Log_Handle
[Info]:     Creating Model Class Property: Msgnumber
[Info]:     Creating Model Relation: Z_R_Crm_Order_Save_Output:Et_Exception
[Info]:     Creating Model Class Property: Guid
[Info]:     Creating Model Class Property: _Class
[Info]:     Creating Model Class Property: Code
[Fatal]:     java.lang.ClassCastException: com.sap.dictionary.types.mdi2metamodel.model.SimpleType
[Info]:     Creating Model Class: Crmt_Return_Objects_Struc
[Info]:     Creating Model Relation: Z_R_Crm_Order_Save_Output:Et_Saved_Objects
[Info]:     Creating Model Class Property: Guid
[Info]:     Creating Model Class Property: Object_Id
[Fatal]:     java.lang.ClassCastException: com.sap.dictionary.types.mdi2metamodel.model.SimpleType
[Info]:     Creating Model Class Property: Iv_No_Bdoc_Send
[Info]:     Creating Model Class Property: Iv_Save_Frame_Log
[Info]:     Creating Model Class Property: Iv_Update_Task_Local
[Info]:     Creating Model Relation: Z_R_Crm_Order_Save_Input:Output:Z_R_Crm_Order_Save_Output
[/code]
and same problem as discribed above (no IT_OBJECTS_TO_SAVE etc.), even after restarting the j2ee engine a second time after importing.

Similar Messages

  • Question about meta-data of Web Dynpro ABAP / Web Dynpro Java

    Hello together,
    everywhere I can read, that Web Dynpro meta-data is platform independent.
    I´ve read into a book, that the meta-data of Web Dynpro Java is saved as XML and
    that Web-Dynpro Java Runtime generates runnable classes and sourcecode out of this...
    - What about Web-Dynpro ABAP? Is Meta-code in ABAP is saved in XML too?
    - just for theory: is ist possible to take the meta-data of a Web-Dynpro ABAP component and
      generate a Web-Dynpro Java Component out of this?
    I tried to find it out but i failed... In table WDR_RR_LOAD (is this the right one?) I found only the
    field data. But this is a RAWSTRING and I don´t know how to make I "readable".
    I must know this for my thesis for my studies, not for work.
    Thank you very much !!!!
    Greetings,
    Oliver

    Me again,
    I am not sure if I understood it right...
    The meta-data which describes the visual part of a view is saved as XML and
    would be rendered i.e. in the webbrowser... Right?
    What about the meta-data of the Web Dynpro application?
    Is this meta-code into an other structure or XML too?
    Thank you very much.
    Many Greetings,
    Oliver

  • Different behaviour of F4 searchhelp BADI in Java Web and ABAP Web

    I implemented the Badi RSR_VARIABLE_F4_RESTRICT_BADI to restrict the values in the F4 search help of variables in a query.
    When executing the query in ABAP Web or in the BEx Analyzer in Excel everything works fine.
    The variable popup shows up and when I hit F4 on a characteristic it jumps in the code once and determines the values I want to see
    BUT: When I execute the same query in Java Web runtime, the Badi is executed 6 (SIX) times before even displaying the variable screen Anyone has got an idea?
    As I am determining the results in the search help depending on transactional data in a cube it's a big mess when executing this piece of code 6 times even if I do not need it at that stage.....
    As a small workaround i created a constructor for the implemented class, as this is only called once at runtime, but this cannot be the solution.

    Hi Stefan,
    Have a read of this article:
    http://sapdiary.com/index.php?option=com_content&view=article&id=12787:restricting-the-value-help-in-the-variables-screen-of-a-query&catid=81:data-services&Itemid=81
    Also double check you are honouring the spirit of all the input parameters.
    The symptom you describe occurred in the older solution using a customer exit (function module) when the "Variable Name" parameter was used incorrectly in the code, hence it did not behave as the API expected.
    When you have it in debug mode and are looking at all the available variables in memory (global and local) do any of them change between the six calls?
    Hope this helps,
    John.

  • Report Result differs between Java Web and ABAP Web

    Hi Experts,
    We have a BW Report in BI NW 7.0.  When we run the report in Bex (ABAP Stack) or ABAP Web the default results are different from the Java Web Results.  There are no selection differences.
    Please help me if I miss any settings or any corrections required.
    Thanks in advance.
    Deepthi.

    Hi,
    The function Calculate Results as ... could not be applied everywhere.
    Recalculation of a resutls row is always based on the amount of detail cells subordinate to this cell, which is the finest details of a drilldown. It is not possible to recalculate resutls in hierarchical lists. This means that calculation of a results cell is not performed if a row or column with an expand symbol is subordinate to it. With recalculation, the newly calculated result has to change with each expansion of a node subordinate to it. This is not supported for technical reasons and would only confuse the user.
    Note, however, that Calculate Results as -> Suppress Results is always executed, because the problem above does not apply in that case.
    Notification Number BRAIN 141
    Please refer the notes
    Note 1071067 - "Calculate Singlve Value as" in list without drilldown
    Note 997421 - Calculate as 'Supress Result' on hierarchy nodes
    Note 857895 - 'Suppress results' for the display hierarchy
    Note 853058 - Calculate Results/Single Values as ... priority rules
    Hope this helps.
    Regards
    Srikanth

  • Is there a way to get Web Dynpro ABAP available in a ECC 5 - NW2004 env?

    We will start developing an offline Adobe interactive form with email functionality for ECC 5 on very short terms. We have to decide asap what client/server configuration we will use for this new functionality. We will also develop an online interactive form and an offline form with upload/download functionality for ECC 5. We will have to setup a client/server configuration that supports all 3 scenario's. 
    The main reason we would like to have NW2004S available for ECC 5 is because we would like to develop the forms in Web Dynpro ABAP instead of Java. Guided Procedures is a "nice to have" too, but not really important at this moment.
    At this moment we think we have 3 options:
    1. Investigate if we can make an Adobe solution in WDA for ECC 5 with our current setup
    2. Upgrade ECC 5 - NW 2004 -> NW 2004S to get WDA functionality available
    3. Install ADS for NW 2004 to be able to create Adobe solutions in ECC 5, then we will have to develop in WDJ
    1. We have the following configuration up and running: NW2004S - CRM 5 and ADS installed: both Java and ABAP stack work properly. We are wondering if we could develop an Adobe interactive form in Web Dynpro ABAP in CRM 5 using BAPI's to retrieve the data from ECC 5 and put it on the form for display or update purposes. Also we have questions about the email functionality: do forms have to be send by email via a mailserver from ECC 5 via CRM 5 and back or can this be done directly from and to ECC 5 or is it not possible at all? Also we don't know if we can develop an online interactive form for ECC 5 via CRM 5. The current setup is not a real option for us right now as we see far too many uncertainties. Does somebody can give us some answers on the possibilities we are looking for?
    2. My assumption is that upgrading ECC5 to ECC6 can be compared with upgrading 46C to ECC5. If my assumption is correct, this would mean an upgrade project with a 6 months leadtime within our company. If my assumption is wrong, please let me know. This upgrade will happen some day, but it has not been planned for 2007. So unfortunately, for us this is not an option at the moment because we cannot wait that long. I was hoping an upgrade of NW2004 -> NW2004s was not that time consuming but I guess this can be compared with a SAP upgrade project like 46C -> ECC 5.
    3. Installing Adobe Document Services for NW2004 is not our preferred solution but we think it is the safest/easiest solution at this moment to get started with Adobe interactive forms for ECC 5 on short terms. We will have to develop in Web Dynpro for Java, so be it.
    WDA is not a must but if we can find a client/server setup which gives us the possibility to build in WDA for ECC 5 functionality, that would be great. That's why I dropped the question on SDN. I want to be sure we choose the best option possible at this moment for us.
    kind regards
    Angelique

    Yesterday I got new information through SDN which sounds very interesting:
    There are technical repository integration points between ECC and the underlying SAP NetWeaver release. To get Web Dynpro for ABAP, you could install a stand-alone SAP NetWeaver 2004s system (without ERP) side-by-side.
    Somebody else wrote: we set up a 3-system landscape of NW04s and have configured single sign on and trusted RFC's so that users can hit the webdynpro pages via the portal, and those systems make the necessary queries to the backend systems via RFC.
    Does somebody know if this stand-alone system could be a proper solution for our situation? Does somebody foresee any problems related to Adobe LiveCycleDesigner or ADS?

  • Quick Question: ABAP web-dynpro model relies on JCO?

    Hi gurus,
    As mention in subject. Does ABAP web-dynpro model relies on JCO?
    Did a quick search without solid answers...

    JCO, is Java Connectors to connect SAP from Java world
    You don't need any JCO when you are in the same ABAP Stack
    There is no model Nodes/Attributes in Web Dynpro ABAP as in Java, because you are in the same ABAP Stack
    Abhi
    Edited by: Abhimanyu Lagishetti on Jul 10, 2008 11:35 AM

  • How to consume the Abap web service in Java web-dynpro

    Hi Everyone,
    I want to consume ABAP web service in java web dynpro.
    so when i tried to create model in java web-dynpro, it gave me an error message saying "Invalid WSDL or WSDL not found".
    i think this error message is because, to access the WSDL of abap web-service, we need username and password, but the dialog box in java web-dynpro is not programmed to take username and password from us and send it to the server to get the WSDL.
    i came to this conclusion because i was able to successfully test my abap web-service in java portal. the java portal asked me the username and password to open the WSDL.
    So, please help me to consume the abap web service in java web-dynpro.
    Thanks in advance
    Regards
    Vikas

    Hi Vikas ,
       while creating a model in web-dynpro try to use the "import web service model" option and if you are using local server choose the local server option so that you can get the available web services which are in server, select one among them and continue you process.I think this is the some what easy way .
    If you want use the URL for wsdl better to once test the available service in server and copy that WSDL URL and paste over  WSDL textbox.
    I think this is pretty help ful to you
    Best Regards
    Srikatnh

  • How to configure SSO for web dynpro ABAP (not web dynpro Java)

    Hi Experts,
        I am testing SSO in IDES for web dynpro ABAP (Not for web dynpro Java / not for portal). When I am entering url of web dynpro application in web browser like internet explorer, then it should ask for user id and password first time, after login whenever user would access that url, it must not ask for user ID and password (url would be access web browser in mobile). For this I select to configure single sign-on for web dynpro ABAP. I have done below works:
    1). I have created a web dynpro application having url: http://susws076.sap.swk:<port>/sap/bc/webdynpro/sap/zadb_hello_world2
    2). I run TCode SICF and access service node to "Zadb_hello_world2". Double click on it, hit change. pressed "logon data" tab, select "Alternative logon
         procedure"
       Then deleted all logon procedure other than "SSO Authentication" and saved.
    3). Go to "STRUST" and create certificate, choosed "Environment==> Logon Ticket" fill the required parameters and execute. It is OK (no red traffic
         signal).
    4). Execute TCode "RZ10" to change profile parameter, insert new parameter (indicated by red arrow)
    After all this settings I opened a browser enter above URL and hit enter but there is an error
    There is no login page. It directly showed this error page. No cookies is saving.
    Can anyone tell me what all the settings/configuration other than this I have to do. And is there any wrong setting done by me?
    How to set the for single sign-on?
    Thanks in Advance
    Regards
    Piyush

    Hi Piyush,
    Pls refer below links,
    Single Sign On with ABAP WebDynpro
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/5e/6c85c3edf942f39349a1e337434d29/content.htm
    Regards
    K.N

  • How can I call a java object from Web dynpro ABAP application?

    I made Web dynpro ABAP application and posted it to SAP EP.
    For certain business purpose, we need to call external 3rd party java object using 3rd party's java api in Web dynpro application.
    Is there anybody who experienced this kind of java interface issue?
    I know Web dynpro Java environment can fully support this kind of requirement. but regarding Web dynpro ABAP, I couldn't find any clue for this.
    Any comment or suggestion would be greatly appreciated.
    Thanks,
    Raymond, ABAP Consultant

    if you have jco configured, then you can make calls to java api from ABAP .
    check out this weblog.
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    Raja

  • Convert JAVA Web Dynpro to ABAP Web Dynpro application

    Hi,
    I was hoping someone could tell me if there is a way to port a JAVA Web Dynpro application to ABAP Web Dynpro. We have some JAVA WD apps that would now make more sense to have running on our ABAP system so we would like to convert them to ABAP WD apps.
    I know the theory is that WD is metadata/XML based so it should be possible to port the WD definition to ABAP and have the ABAP runtime generate the application again in ABAP. I expect that any custom code that is written in JAVA would need to be manually rewritten in ABAP - but it would be great if there was tool or method to at least port the majority of the application.
    Thanks in advance for your help,
    Simon

    Hi Simon
    You are correct in thinking that all WD apps are based on metadata, but unfortunately, the similarity between WD Java and WD ABAP is just a conceptual one, and no such tool exists to convert one to the other.
    In addition to this, there are certain implementation differences between ABAP and Java that mean you could not convert one to the other.  For instance, the whole concept of model objects does not exist in WD ABAP. Therefore, structural entities used in WD Java such as model components could not be tranlsated into anything that exists in ABAP, because the concept is redundant in the target language.
    Sorry about that, but Java and ABAP are sufficiently different beasts that such a tool is not possible.
    Regards
    Chris W

  • Adding an ABAP Web Dynpro application to a Java Web Dynpro screen

    Hey fellow SAPers
    This is an interesting one .........
    We have developed a bespoke ABAP Web Dynpro screen that we want to include into a tabstrip in a Java Web Wynpro application. We have managed to do this by inserting an iFrame into the tabstrip, and then passing the UWL of the ABAP Web Dynpro app. This works. However, life is never that easy and of course whenever the screen is refreshed, the ABAP WD app is called again and so any changes to the data on the ABAP screen are lost as the data in the ABAP app is re-selected and the data returns to it's original state.
    Does anyone know:
    - of another way to incorporate an ABAP WD screen into a Java WD screen (as a tabstrip)
    - how to de-activate a Java view so that the view containing the ABAP WD app is refreshed (i.e. the window is refreshed), the view is not refreshed and the ABAP app is not re-called .....
    - any other ideas ....
    of course, we could re-develop the same screen in Javam, but that would be too easy
    Looking forward to your responses
    Jon

    >
    > Hi Jon,
    >
    > First of all Iframe is not officially supported until 7.01 version.
    I believe it is deprecated in 7.01 and re-supported in 7.02
    [7.01 IFrame Help|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm]
    [7.02 IFrame help|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm]
    >
    > Would you not use Portal for that and incorporate two iViews in a Page?
    I'm guessing you want to show this within the WDJ app not above, below to the left, right...
    This is a very very difficult thing to do - I'm guessing that you are not actively passing data into the URL of the WDJ IFrame, but just have "decorated" the WDJ app with the a statically linked IFrame. In this case the only thing you have to tie the two together is the user id that you are using - and potentially the time the app was launched. You could in theory use a shared memory area (watch out for multi app server environments) to store the state of the app in case it got refreshed... but this is not a simple thing to do...
    Consider if it is absolutely necessary to enhance the WDJ in place - hopefully you can just replace it with a WDA when you install EhP5
    Good luck,
    Chris

  • Web Dynpro ABAP - Java stack required?

    Hey everyone,
    We are currently planning an upgrade to ECC 6.0 and Netweaver 2004s. A source of debate during this planning has been whether or not to install the Java stack in our upgraded system.
    I'm an ABAP developer, so I'm really looking forward to using Web Dynpro ABAP. Does anyone know if the Java stack is required to effectively use Web Dynpro ABAP? It seems like the two should be independent...but I just want to be sure.
    Thanks in advance!!
    Chad

    No, you do not need the java stack to run WDA applications.  It runs purely on the ABAP stack.  You can develop your WDA app in SE80 and run it.  It will run in a browser from the ABAP stack.  If you have a portal, then you know that this runs on the java stack.  Also, your portal is probably not running on the same box as your backend ERP system.  If you running a portal, I would suggest installing both the java stack as well as the ABAP stack for you portal to run on.  Then you will be able to use WDA to create applications to run in your portal.
    So to sum up,  the portal runs on the java side, if you have both stacks running under your portal you can development WDA and WDJ applications, which both can run on that same engine.  To answer you question, you DON'T need the java stack to develop and run your WDA application, but if you want it to run in a portal, then you need a java stack to run the portal on top of.  This can be a completly separate box and a standalone java stack.   Did I confuse you even more?
    REgards,
    Rich Heilman

  • Web Dynpro Java to Web Dynpro ABAP

    Hi all,
    I am a web dynpro java developer with more than 3 years of portal development experience.
    I am now put into a project with web dynpro ABAP(ESS/MSS customization).
    Would like to know whether I should start concentrating more on ABAP or SAP HR?
    I dont have any ABAP programming exp except that attended a training few years back.
    And on SAP HR,dont have much exp except that have some knowledge on ESS customization in dynpro java.
    Please let me know where I should start to get myself refreshed before starting my work.
    Any advice/docs are invited.
    Also,please let me know whether there is any NWDI required for ESS/MSS customization in webdynpro ABAP.
    Thanks
    Meena

    Hi Meena,
    As you have good experience of Web Dynpro JAVA.
    I think you just need to comcentrate on ABAP skills.
    You need not concentrate on SAP HR as ur work is technical your functional guys will take care of HR module and will help you.
    For starting i would suggest you to just go through the basics of ABAP like Work areas , internal tables etc.
    Then start doing some WD ABAP hands on.
    My scenario is similar.
    I am a portal and WD JAVA person and this is my first WD ABAP assignment.
    I followed the above approach.
    You will find many concepts similar to WD JAVA as this is just the ABAP flavour of Web Dynpro.
    The below link will help you a lot
    [WD ABAP HELP|http://help.sap.com/saphelp_nw04s/helpdata/en/43/1f6442a3d9e72ce10000000a1550b0/frameset.htm]
    I hope it helps.   

  • Created in Web dynpro Java or Web dynpro ABAP

    hi all,
    I have a web application running. Its UI  is created either in web dynpro java or web dynpro ABAP. Is there any way by which we can find out that in which form of UI technology is it created; in web dynrpo java or web dynpro ABAP ?

    Hi,
    I am really not sure if this is recommended..
    Try some negative testing on the application. If the application crashes, the trace of the error occured will tell you what kind of development has been adopted for the Web Dynpro application.
    Another hint can be the port number in the Application URL. If it is not 50xxx, and is somewht like 8xxx, it is surely Web Dynpro for ABAP.
    Regards,
    Alka.

  • Step by step Installation ON ABAP,XI,Web dynpro ABAP and JAVA On my PC??

    Hello Friends,
      I would like to Install SAP-ABAP ,XI ,Web dynpro ABAP and Web dynpro   JAVA    on my PC.
      Please Let me know What configuration is required for all the above.
      Please Give me the Step by step procedure for all the above.....??
      I want to Instal all the above and Give me suggestion on that???
      Can I use Vista for Sap Installation????
    It would be great If you send the step by step procedure to my personal ID
    [email protected]
    Thanks in Advance
    Preethi D

    Hi,
    Step step description here is not possible.
    It always advisable to go to service.sap.com/instguides.
    slow and steady wins the race.
    good luck.
    It's advisable to have quad processor with atleast 8GB ram.
    If it's a nw04s then at a shot you can select AS ABAP. JAVA, EP, PI(XI) and proceed.
    hope this helps you.
    reward suitable points.

Maybe you are looking for

  • Parameters not gettin passed while lead creation..........

    Hi...              I am passing the values of the fields SOURCE and IMPORTANCE in the exporting parameter IT_LEAD_H to the FM CRM_ORDER_MAINTAIN while lead creation...When I check the CRM_LEADH table I find that these values arent gettin reflected ..

  • Ora-03113 and no oracle process found in SuSE10.1

    I just installed Oracle10.2 on SuSE10.1. When created database, the ora-03113 occured. And other results are: ps -ef can't find any Oracle process, ipcs can't find any Oracle process either. the question is how to start the backgroud process manually

  • XML-Export Error for large amount of data

    Hi there... I have an application process, which runs on demand (Button) and which exports data (from sql query) into a file (.xls). The result is being formated and the export works fine as long as the query returns just a small amount of data, appr

  • 2.0.1, no iPhone to iPhone calling

    Updated iPhone 3G to 2.0.1, called my sister with original iPhone, version 2.0 software. Call connects, we can't hear each other! Totally dead air. Then call fails, have tried calling 10 tens and it doesn't work. Bluetooth echo is worse that before.

  • Best practice to restart weblogic and managed  servers after changing pass

    hi i need to know if have an installation with the following structer what is the best practice to restart the servers after we change weblogic password ?and i know that i should change boot.properties with the new password ,is there anything else to