Include a WD ABAP into a WD Java

Hi all!
we've developed a WD Java in NW CE 7.11.
Pushing a button we want to open a modal popup which points to a WD ABAP developed in a ECC 6.0 system (other system).
Is it possible?
If yes, what kind of object we.ve to call in Java to pass parameters to WD ABAP?
Thanx.
Andrea

Hi Andrea,
Youn can try the option of calling a WD4ABAP view by passing a URL of your WD4A application as an external window in WDJava component and you can access the URL parameters in your webdynpro ABAP application also.
There is no other option of calling a WD ABAP View from WD Java Application.
Thanks & Regards,
Jhansi Miryala

Similar Messages

  • Including a class file into classpath at runtime.

    Hi all,
    I need to include a class file into classpath for at runtime. But the problem is tht this class file is produced by some other application n i nedd it to make the connection.(Actully i m trying to make SSL connection with other server whc requires the class file generated frm tht server must be in to classapth of the JVM.) How can i achieve this?
    I am trying to find out the ways to include the class file into classpath through Java pgm. But will it be done in case web application , if yes thn how?
    Thnx in advance
    ~Gaurav

    I would also like to add that we created another test class : Test.java in the same directory as the TestAccessClass.java and compiled this alone :
    javac -classpath ../../../../jars/ Test.java
    and it compiled fine without any errors !!
    This class also had the same single statement :
    String testVar = TestClass.getString(null);
    Sathya

  • Call ABAP FM from XI Java mapping

    Can you please provide me some documentation on how to make a call to ABAP function module from Java mapping.
    Basically this would be a RFC lookup from Java mapping.
    Any recomendations on which one is a standard approach among ABAP Mapping vs JAVA mapping within XI.
    Your responses are appreciated.
    TNV

    Hi TNV,
    <i>I am more looking into using RFC call from java mapping.</i>
    The article by Michal can be used to make the RFC lookup not only from an User Defined Function but also from a java mapping.
    You can write any piece of java code inside the EXECUTE() method of your Java Mapping including the RFC Lookup API code in michal's article.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/xi%20mapping%20lookups%20rfc%20api.pdf
    Regards.
    Bhavesh

  • Webdynpro for ABAP vs WD for Java

    How different is WD for ABAP from WD for Java?
    I have a good knowledge of WD for Java and I know ABAP. But how good and efficient is WD for ABAP? Would it be better to use WD for ABAP or WD for Java for SAP based portal development?
    Thanks in advance,
    Reena

    <i>
    1. We can embedd the Web Dynpro for ABAP applications in SAP screens in ABAP environment. I don't think it is possible using java web dynpro.
    </i>
    Yes, you probably can, since the application can be fired simply by a URL, there is not reason that you couldn't have an HTML control in your dynpro and point to this URL. 
    To answer the original question,  the development model for each is pretty much the same, just two different flavors.  I think that some things make WDA better, one being that it is totally integrated into the ABAP development workbench and the Transport/change control system.  On the WDJ side, you development locally and "deploy" your changes using the DTR and CBS.  I'm not exactly comfortable with this quite yet, which is why I like WDA better..
    Another thing is that we have some built in stuff with WDA, like automatic search help functionality,  ALV Grid, and Select-option functionality.  I do believe that SAP is working on some of these for WDJ.
    Regards,
    Rich Heilman

  • ABAP code in to JAVA for overwritting condition value for IPC pricing

    Dear experts i am an IPC JAVA developer and i am trying to translate an ABAP Routine in to JAVA code for overwriting condition value in the pricing user exit of IPC
    Here is the ABAPcode segment i am trying to transulate
      DATA: l_kdkg1  LIKE komk-kdkg1,
            l_work TYPE f,
            l_umren LIKE marm-umren,
            l_umrez LIKE marm-umrez.
      SELECT SINGLE peinh FROM mbew INTO mbew-peinh         
      WHERE matnr = komp-matnr
      AND bwkey = komp-werks.
      I need some  help in the following things
      1. I don't know how to transulate the following Line of ABAP code into JAVA
         " AND bwkey = komp-werks."
    Bwkey stands for plant details. I don't know how to get plant details from  Pricing Item.
      2. Someone please tell me weather the following JAVA transulation is correct
      Vector x = prItem.getUserExitConditions();
      db database = pricingEngine.getDatabase();
         // set table name
      String tableStart = "mbew";                                             
         // set query parameters
      sys_query_pair[] queryPair = null;
      //matnr = komp-matnr . Getting the material Number
      String materialNo= prItem.getProduct().toString();
      //bwkey = komp-werks.Getting plant.
      // TODO: werks stands for plant. Not sure how to get it from prItem
       String plant = "";
       queryPair = new sys_query_pair[2];                    
       queryPair[0] = new sys_query_pair("matnr", materialNo);
       queryPair[1] = new sys_query_pair("bwkey", plant);
      // set query columns
       String ZZFIELDStart = "peinh";
       String ZZFIELD_VALUEStart;                   
       String[] projectionStart;
       projectionStart = new String[];
       BigDecimal pricingUnit = null;
       try{     
          // execute query
          res resultSetStart = database.db_read_table(tableStart, queryPair,projectionStart) ;
          if (!res.db_empty_results_p(resultSetStart))
         ZZFIELD_VALUEStart = resultSetStart.db_get_row_element_string(0);
         pricingUnit = new BigDecimal(ZZFIELD_VALUEStart);
         resultSetStart.db_finish();
       else
         System.out.println("Coudn't find a value of field peinh in table mbew!");
       catch (exc_database_error e)
         e.printStackTrace();

    Please login to the server where IPC is installed. In the IPC folder u find libs folder  or search for docs in IPC folder. There it is dealt how ABAP routines are mapped to  user exits in java coding
    Thanks
    Surya

  • Including a JSP page into a JSF page

    Hi !!
    I have read some posts here about <f:subwview>. There says to use:
    <f:subview>
       <jsp:include page="somepage.jsp"/>
    </f:subview>But it does not work.
    How can i include a jsp page into a JSF page?
    Thanks !!!

    Hi,
    Replace <jsp:include page="somepage.jsp">
    with <%@ include file="datasetView.jspf" %>
    See thread: http://forum.java.sun.com/thread.jspa?messageID=3413354&#3413354

  • Help for "WITH INCLUDES" in scan abap-source.....

    Hiiii,
              Can anyone help me how to use "with includes" in "scan abap-source" for
              seperating includes in the program?????
              If anyone has sample code plz do send it for help....
    Thanx,
    Mandeep.

    Hi
    use the command
    SCAN ABAP-SOURCE <source name> tokens..<itab1>
                              statements <itab2>
    see the sample dummy code
      READ REPORT it_itab_1file-obj_name INTO it_itab1.
      SCAN ABAP-SOURCE it_itab1 TOKENS INTO it_itab21
                               STATEMENTS INTO it_itab3
                               STRUCTURES INTO it_itab6
                               WITH COMMENTS
                               WITH INCLUDES
                               FRAME PROGRAM FROM it_itab1
                               INCLUDE INTO it_itab_i
                               LEVELS INTO it_itab5.
    *sort the level table
      SORT it_itab5 BY name.
      CLEAR v_flag1.
      READ TABLE it_itab21 WITH KEY type = 'I'.
      IF it_itab21-str NE 'REPORT'.
        IF it_itab21-str NE 'PROGRAM'.
          SELECT SINGLE subct INTO v_str11
          FROM ybstcobs
          WHERE objna EQ it_itab_1file-obj_name
          AND ( objct EQ 'PROG'
           OR objct EQ 'FUNC'
           OR objct EQ 'BDCP' ).
          IF v_str11 EQ 'I' AND sy-subrc EQ 0.
          ELSE.
            v_flag1 = 'X'.
          ENDIF.
        ENDIF.
      ENDIF.
      CHECK v_flag1 NE 'X'.
      CLEAR v_flag1.
    *get the level of include strucuture
      PERFORM get_include_details.
    *&      Form  get_include_details
    *gets the include structure details
    FORM get_include_details .
      LOOP AT it_itab5.
        READ TABLE it_itab3 INDEX it_itab5-from.
        it_itab_incl-incl_from = it_itab3-from.
        READ TABLE it_itab3 INDEX it_itab5-to.
        it_itab_incl-incl_to = it_itab3-to.
        it_itab_incl-incl_name = it_itab5-name.
        it_itab_incl-ln_level = it_itab5-depth.
        it_itab_incl-ln_level1 = it_itab5-level.
        APPEND it_itab_incl.
      ENDLOOP.
      SORT it_itab_incl BY ln_level.
    ENDFORM.                    " get_include_details
    Reward points for useful Answers
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • How to include multiple image components into a single custom component???

    How to include multiple image components into a single custom component???

    Hi Marcel,
    an ABAP transaction can only run or at least be started on one single system. A portal transaction can be assigned using a URL. This doesn't need any logical component.
    Regards
    Andreas

  • 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 include a KB Update into a WIM in order to point to the WIM when using DISM (details inside)?

    Hi, I was told in another of the forums that my issue
    is best suited for the TechNet audience.  Previously, I posted it here: http://answers.microsoft.com/en-us/windows/forum/windows8_1-system/how-to-include-a-kb-update-into-a-wim-in-order-to/e7015076-b4a9-4862-a73b-6c58b4c82461?tm=1409598696763
    I've been struggling to fix a corrupted file.  
    Context:  I feel that something is not right with the computer, so I started poking around.
    I used "sfc /scannow" from an elevated command prompt and the result was: 
    Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log <var style="border:0px;margin:0px;padding:0px;vertical-align:top;-webkit-font-smoothing:antialiased;">%WinDir%</var>\Logs\CBS\CBS.log.
    I looked in the log.  This message appears 4 times:
    Cannot repair member file [l:36{18}]"Amd64\CNBJ2530.DPB" of prncacla.inf, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type = [l:24{12}]"driverUpdate",
    TypeName neutral, PublicKey neutral in the store, hash mismatch
    There is also the following message:
    This component was referenced by [l:186{93}]"Microsoft-Windows-Printer-Drivers-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.INF_prncacla"
    I'm not positive what to do next, but I have been led to believe the problem is that Flash files in version 6.3.9600.16407 are corrupted, that I need to find which KB updates Flash to this version, download the file, add it to a new WIM, and point
    to it when using DISM.  I'm not positive this is correct, but it was suggested.
    I downloaded the KB update: kb2889543, but I do not know how to add it to a new WIM or what the repercussions of doing so will be (e.g. Will I lose everything and have to restore my documents, etc from my external drive by doing this?).  
    So, the question is: How can I include a KB Update into a WIM and tell me what the result will be when once I do and point to it when using DISM?
    Secondarily, if this is a bad way to move forward with the issue, would some kind soul offer sage advise on how to move forward with resolving the original issue?

    Hi TTQSTTQS,
    As you mentioned in the answers forum, when run  the command DISM /Online /Cleanup-Image /RestoreHealth,  we received the error message “The source files could not be downloaded. Use the "source" option to specify the
    location of the files that are required to restore the feature”.
    When run the command Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess, we met the same error message.
    I think there are some mistakes in the source setting, so we meet the same error messages.
    As I mentioned in the last reply, we need a mounted image as a repair source, and then use this path.
    We need to configure a Windows repair source. Please refer to the following article.
    http://technet.microsoft.com/en-us/library/hh825020.aspx
    Please refer to the following steps to set the source image.
    1. Assign Drive Letters to Partitions by Windows PE.
    2. Capture Partition Images using DISM
    For more information, please refer to the following article.
    http://technet.microsoft.com/en-us/library/hh825072.aspx
    Then, we could try the command Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • How to include external .js file into .ear file using NetBean 5.5.1?

    is it possible to include external .js file into .ear file using NetBean 5.5.1? if not, then where should I placed the external .js file and how to write the src="xxx" element? (that is , how to write the path of "xxx"?)
    I am using JBOSS 4.2.2 GA as server
    thx!!

    Even this is also not possible because, the code in that package is developed by DWR and i am just adding it to my lib folder and importing the respective classes. In the same manner i need to include the *.js* file in the JSP.It took me about 3 minutes reading through the [DWR Getting Started|http://getahead.org/dwr/getstarted] page to learn that you don't have to do any of that. Perhaps you should read that page?

  • Open Innovation Call: abap interpreter written in java

    Like part of the Open Innovation Call initiative: /people/ignacio.hernndez/blog/2006/12/22/open-innovation-call ,
    I begin this forum thread to open the discussion about "JAbap project":
    I know JRuby...is there something like a abap interpreter written in java? ..java and abap using the same virtual machine....?

    Hello I have the same problem, were you able to execute the WS through the JS code now?
    I would like to call an ABAP WS using JavaScript to return complex structures that I would like to manage directly with JS.
    I tried with this code and I get the error "RaiseError: Acrobat Raise." when the request is executed:
    var WSUrl = "http://<server>:<port>/sap/bc/srt/wsdl/bndg_4D15C75529330AF1E10000000A150429/wsdl11/allinone/ws_policy/document?sap-client=500";
    var VendorNumber = xfa.form.DATA.DATAFLOW.SF_HEADER.VENDOR_NUMBER.rawValue;
    try {
    // Create request structure, read Input out of text field
    var request = {
              "urn:sap-com:document:sap:soap:functions:mc-style:ZWsTest" : {ILifnr: VendorNumber}
    SOAP.wireDump = true;
    // Call web service using SOAP object
    var response = SOAP.request ({
            cURL: WSUrl,
            oRequest: request
    //        cAction: "urn:sap-com:document:sap:soap:functions:mc-style"
    } catch (e) {
        xfa.host.messageBox(e.toString()); //pop-up "TypeError:service.CelsiusToFahrenheit is not a funciton"
    with this other code I get the error "SOAPError: CX_ST_MATCH_ELEMENT:XSLT exception.System expected element 'ILifnr'":
    try {
        var myProxy = SOAP.connect(WSUrl);
        var result = myProxy.ZWsTest( { ILifnr: VendorNumber } );
        xfa.form.DATA.DATAFLOW.SF_HEADER.E_DESCRIPTION.rawValue = result;
    // Display the response in the console:
       console.println("Result is " + result);
    } catch (e) {
        xfa.host.messageBox(e.toString()); //pop-up "TypeError:service.CelsiusToFahrenheit is not a funciton"
    in the second option, if I make the field ILifnr optional the call is succesfully performed but the parameter is not passed to the WS. So the call is working.
    Using stand-alone LiveCycle designer 8.1 and Adobe Reader 8
    Any suggestions?
    Many thanks,
    G.
    Edited by: Guillem Mateu Navalón on Jan 13, 2011 1:13 PM

  • Access ABAP table in Webdynpro Java application

    Hi All
    Is it possible to access ABAP table in Webdynpro Java application
    Please provide your input
    Thanks
    Karthi D.

    Hi you will connect to the remote SAP system, the
    backend, using an Adaptive RFC MOdel. To access database tables, you can make use of existing functions in terms of RFC function modules. For each function module you need, the system generates a corresponding Java proxy class. All the generated proxy classes and interface are bundled together in the RFC model and treated as part
    of your Web Dynpro project
    In WebDynpro java you RFC by using Model :
    Adaptive RFC Model
    1. automatically adapts to changes in function module signature
    2 provides support for data types and extensibility
    3.support for different structure definitions in different backend
    systems (release dependent structures, custom adaptation)
    Basic principles and guidelines
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de
    See this blog
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2brfc
    http://help.sap.com/saphelp_nw04s/helpdata/en/6a/11f1f29526944e8580c5e59333d96d/frameset.htm
    Thanks,
    Tulasi

  • ABAP proxy object and JAVA proxy objects

    can anyone explain whether ABAP proxy object and JAVA proxy objects can communicate with each others?
    if yes then how???

    JCO connectors would be able to do the trick here i guess
    regards
    krishna

  • How to execute an ABAP Mapping after a Java Mapping

    Hi, i have found a Bug in XI and SAP said to me that the only solution is to execute an ABAP mapping after my java mapping.
    I have an IDOC to FILE scenario
    Could anyone orient me on what do i have to configure, so after my java mapping i can execute an abap mapping ?.
    Do i have to use process integration?
    thanks
    Mariano.

    i have developed a Java mapping originally, but XI has a bug. When you do not write anything to the outputStream XI instead of writing an emtpy file writes a file containing one byte ( 0x00 ) and this is a problem.
    SAP said to me that they will not fix this issue so they recomend me to create an abap mapping after my java mapping that will send no information if it receives this byte (0x00) and if not it will write all the information as received.
    My doubt regarding putting several mappings in the interface mapping configuration is this...
    Actual configuration:
    SOURCE MSG A -> ORIGINAL MAPPING -> TARGET MSG B
    Proposed configuration
    SOURCE. MSG A -> ORIGINAL MAPPING -> TARGET MSG B
    SOURCE. MSG A -> PATCH MAPPING -> TARGET MSG B
    I dont understand what receives de "patch mapping" it receives the structure from TARGET MSG B?
    regards
    mariano

Maybe you are looking for

  • Moving iPhoto library to a second drive bay on a MacPro

    My iPhoto library is 190 GB and I need to move it to an alternate drive bay on my MacPro. I copied (not moved) the library over to the new drive. When I launch iPhoto, it still uses the original iPhoto library on the home drive (even if I launch with

  • Adobe Acrobat 8 Pro Freezing After Install on Brand New Dell Optiplex 580

    Hello, I was wondering if anyone knew of a solution to an issue I am having. I installed Adobe Acrobat Pro 8 onto a brand new Dell Optiplex 580 running Windows XP (AntiVirus was not installed yet).  When launching, it freezes 3-5 seconds after openin

  • Implementing Payment Medium Workbench vs RFFO* pgm

    Hi, Presently in our SAP system, we use RFFOUS_T to generate ACH files. If we were to shift from this paradigm and implement Payment Medium Workbench to generate ACH files, what are the changes that are necessary ? Regards, Somdeb.

  • Save an empty document in InDesign CC and Illustrator CC takes more than 3 min.

    Save an empty document in InDesign CC and Illustrator CC takes more than 3 min. The same if you open an empty document. I monitored the application status using Activity Monitor and every time I saved a document the application didn't respond then, a

  • Best method for Shipping Options in Ecommerce - HELP?

    Hello, we are running a eshop that has numerous catalogues (product groups) and due to the nature of the products, some include shipping and others are charged at certain rates.  For example: CATALOG 1 Product 1 - £10.00 - No shipping/delivery costs