How to include a Bapi or a TCD into my Java WebDynpro

Hello all,
Yesterday I finished my first Java WebDynpro Application ("Welcome"). That means, I am a beginner
But like I mentioned in the subject, I need Information about, how I can <b>include a Bapi or a TCD into my Java WebDynpro</b>.
This could be any information: verbal statements, Powerpoints, How-To-Guides, *.pdf's or something like that.
Thank you in advance and regards,
A. Cetin

Hello Ay&#351;egül
You can find some information about webdynpro below link. But I dont understand exactly what do you want to do?  You can call any BAPI easily inside webdynpro java.
http://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715
http://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/20b6e990-0201-0010-5095-f3a465de5f30
Kind Regards,
Rasim

Similar Messages

  • How to add an image to an IMAGE control in Java WebDynpro

    hi
    How to add an image to an IMAGE control in Java WebDynpro.
    Please give me the steps to assign an image to an IMAGE control.
    Advanced Thanks
    brahma

    Thank You Mathan MP,
    i tried these steps, but whenever i selected the source property of image UI control, it opens a context window, but this context window does't contain any thing for selection.
    so how to solve this problem ?
    the link whatever u provided is not opened, please send the correct link.
    http://127.0.0.1:1284/help/index.jsp?topic=/com.sap.devmanual.doc.user/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm
    Thanks in Advance
    brahma

  • How get BUS2089 into a Java WebDynpro

    Hi,
    I'm new to Java webdynpro programming.  I have wrapped RFCs and used these but now I want to access attributes and methods on the SAP business object BUS2089.
    Is it possible to import (auto wrap) a SAP business object into Netweaver dev studio then access the attributes and call the methods??  I can't find one...
    Sorry if this is a 'dumb' question...
    TIA
    J

    Hi,
    You can access BAPIs and RFCs with webdynpro by creating a model based on RFC/BAPI. This will generate EJB's that you can use in your application to access the underlying business functionality on SAP. If you are doing this "outside" of webdynpro you can still access the business objects by using JCo (Java Connector).
    regards,
    Dion

  • How to include a parameter executing a command line from java??

    Hey
    I've a problem It's very single for you: this consists in execute a command from java
    in this case the command is : runas but I've tried nd is good but I can´t include the password.
    This is due to the sintaxis is :
    runas /user:127.0.0.1\Administrator cmd
    The first command is execute but.. the problem is it show the input for the password.
    And the password is not let including in the command line
    How can I do that? Please help me is very urgent.
    Any help will be very appreciated.
    Thanks in advance.
    Best Regards.

    DAnt. wrote:
    what is the name of the correct forum which I must visite? this is because I couln't found the correct forum.You will not find it on the Oracle website
    I expect your prompt reply,help me!http://tinyurl.com/yak89nc

  • How to include a shared photo by others into book

    I am trying to make a book but can not include the photos that where shared by others. How can I do that?

    You need to import them first.  Control (right) - click on the photo in the shared album and select Import from the contextual menu:

  • How to include jsps's of one application into another

    Hi people,
    I want to include a jsp from one web application into another. I have specified in the web.xml in Tomcat/conf directory that both the applications are "crosscontext=true". But tomcat fails to include the jsp from the other web application. It always tries to look for that resource with respect to the context of the current application.
    Any idea how do I go about it. Any suggestion will be greatly appreciated.
    Thanks,
    Subhadeep De.

    In the standard Sun JSTL tag library there is a tag that will include the output of the jsp in your jsp. I beleive the tag is called "include" or "import" but I forget the exact name. I also believe that you'll have to pass any needed parameters.

  • How can i measure BAPI runtime which has called from JAVA

    Hi abapers
    how can i get run time for BAPI called from JAVA through JCO.
    i know that i can use SE30 from ABAP by executing from SAP.
    may be ST05 useful for me i did it but when display trace
    i am getting big list by seeing this list i am not able to find the runtime for that BAPI.
    please any one can explain
    reagdrs
    ramesh

    Hi Ramesh,
       Irrespective of whether the call is from an external system or within sap, the bapi will be executed in R/3 only.
    So, you can safely measure the runtime using se30 only.
    If it is taking more time when called from JCo , then you can be sure that the problem is not with SAP and is actually due to the JCo connectivity with R/3.
    Regards,
    Ravi

  • How to include objects of a z* package into a single request

    Hi Gurus,
    The requirement is I need to include all the objects in a z*package into one single request.One way is I find out latest version of each program and include it in request.But there are some 200 objects in the package.Is there any simple way to do it , I mean is there any option wherein I type the package name and all programs get included in the request..........
    Helpful answers will be rewarded
    Regards,
    Raghu.

    Please try this ..
    Goto SE09 ..
    Create a transport request ...
    Delete the sub-task ..
    Now place cursor on main task(request)
    click on Include objects(Ctrl+F11)
    In the popup check 'Freely selected objects' radio button .. click Ok
    Enter the package name  ... and any other parameters .. and F8 ..
    This will include all the objects in the particular package selected ..
    Then release the task ...

  • How to include Sales Office and Sales Group into FI report?

    Hi,
    I have a requirement to add Customer characteristics u201CSales Groupu201D and u201CSales Officeu201D into a FI report which is based on the InfoCube 0COOM_C02. The values that needs to be presented is actual data (Customer Master Data; NOT transactional value.
    In the DataSource u201C0COORDER_ATTRu201D, fields Sales Organization and Sales Group are present and it is brought to BW from R3. But I am not able to find the way to get the field Sales Office into SAP BW.
    I checked the extraction program for the DataSource u201C0COORDER_ATTRu201D, the fields Sales Org and Sales Group are coming from a table u201CCE41000u201D but in this particular table there is no Sales Office present.
    So can anyone guide me out in getting the Sales Office to the DataSource u201C0COORDER_ATTRu201D, or is there any way of getting it in BW directly by reading some Master Data table.
    Thanks in advance
    Prasapbi

    Hi Sangeeta,
    As per your statement, my understanding is that the Organization Attributes are not maintained in the Customization. If all the values are properly maintained then based on the Organization Data determination, the system would have picked up the data. You can first check the Organization Structure and see all the attributes are properly maintained or not and then check whether the Object Permitted in determination checkbox is checked. Then create a Transaction and see that all the Organization data are getting filled properly.
    Have a look at the following link for a complete guide to the Organization data determination customization.
    http://help.sap.com/saphelp_crm70/helpdata/en/6d/5c1738453fde16e10000009b38f8cf/frameset.htm
    If the Organization data customization is not meeting your requirements then you can have a second look at the development approach. Then we can have a look at the available Objects to get the desired functionality.
    Hope this helps.
    Thanks,
    Samantak.

  • How to include Logs/log4j in SOA with out using java embedding activity

    Hi,
    I have a requirement where I need to log the values of a particular variable and need to store it in a new log file. Is there any way to log the details with out using java embedding activity.
    Thanks,

    You can try this.
    http://veejai24.blogspot.co.uk/2008/04/simple-way-to-implement-log4j-in-your.html
    Thanks,
    Vijay

  • How to call WD ABAP screens in CE 7.3  Java webdynpro

    Hi,
    I have few developed applications in WD ABAP and I want use the same screen in Java WD using CE7.3 as a part of one  iview in a page. Which means I have one page which has 5 views and I would like to use one view - WD ABAP screen. How it is possible. Please let me know.
    regards,
    krshna

    Hi,
    Can u pls let me know how tie abap wd screen in java wd?I have not done this before.is there any doc...?
    Regards,
    Kris

  • How do use an Import Command from DB2 into a java program

    I have to use a csv file to load data into a table, after connecting to the database and using the execute, it does not recognise the import statement.
    How do i import that file into a table using a java program

    Import is a DB2 utility program which uses sql Insert to write data into a table. Insert is called from the CLP (command line processor), not from Java. If you want to do this job using Java, then you need to establish a connection to the database, and write your own sql insert statements.

  • How to Get and Set personalization data from Iview with Java Webdynpro ?

    Hi All,
    I'm trying to get Iview properties from an Iview in the portal, did anyone knows how to do this?
    sample caode?
    Thanks,
    AmitY

    You can use PCD API to access iView properties
    Check this link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/314ae7a5-0c01-0010-c198-9c7c5e8cee46
    /people/daniel.wroblewski/blog/2006/08/15/pcd-ii-creating-portal-objects

  • How to plug a web browser like firefox into a java application

    I am developing a sftware that conect to de internet and get a web page source code.
    Problems i have.
    im using URL clas and the open conect method
    this is the source:
    public String Connect(String pUrl) throws HtmlConnectionException{
            String lTxtHtml = "";
            String lLine = "";
            BufferedReader lInput = null;
            int lTimeout = 15000;
            URL url;
            try {
                if(gProxyIP != ""){              
                    url = new URL("http",gProxyIP,Integer.parseInt(gProxyPort),pUrl);
                }else{
                    url = new URL(pUrl);
                URLConnection urlc = url.openConnection();
                urlc.setDefaultUseCaches(false);
    //            urlcsetReadlTimeout(lTimeout);
                lInput = new BufferedReader(new InputStreamReader(new DataInputStream(url.openStream())));
                while ((lLine = lInput.readLine()) != null) {
                    lTxtHtml += (lLine) + "\n";
                lInput.close();
            } catch (SocketTimeoutException e){
                 gLogger.severe(e.getMessage());
                //e.printStackTrace();
                lTxtHtml = "lTimeout";
                throw new HtmlConnectionException(lTxtHtml);
            } catch (MalformedURLException e) {
                 gLogger.severe(e.getMessage());
                //ex.printStackTrace();
                lTxtHtml = "Bad URL";
                throw new HtmlConnectionException(lTxtHtml);
            } catch (IOException e) {
                 gLogger.severe(e.getMessage());
                //ex.printStackTrace();
                lTxtHtml = "Invalid";
                throw new HtmlConnectionException(lTxtHtml);
            return lTxtHtml;
        }but i dont know how to handle redirection of pages becose some teimes when it redirect me to anoder page an snd me an 30X mensage it crash and throw an IO Exception.
    Probelm 2
    i show the source of the web page but wat i nned is to plug a web wrowser into my application that let me se the web page in one JPanel and its source hig ligted in a JEditPane.
    becose i ned to parse tags to identify string automatically
    or the otehr option is to plug my application into a web wrobser (as a plugin of firefox) an be a ble to run it when i chose it from a contextual menu
    please. can u help me to find the way?

    You can use the Runtime class for this. It can run any command. So, you can run the .exe file of your Web browser.
    The following code will run Internet Explorer (assuming iexplorer.exe is in C:\Program Files\Internet Explorer):
    import java.lang.Runtime;
    public class Explore{
    public static void main(String[] args) {
    try{
    Process p = Runtime.getRuntime().exec("C:\\Program Files\\Internet Explorer\\iexplore");
    }catch (Exception e) {
    System.out.println("Exception: " + e);

  • How to run the BAPI after creation or Modification ?

    HI Abapers,
    How to run the BAPI after creation or Modification ? What is the step by step procedure to run the the BAPI?
    Immediate reply is highely appriciable.
    Regards,
    Chow.

    Hi
    If you have done with BAPI creation correctly Run it similar to the fun mdule which we run in SE37 calling this BAPi in the program with CALL FUNCTION and passing the necessary parameters
    see the sample bapi code how it is called in Program
    data : w_resb_header like bapirkpfc.
    data: begin of itab_resb occurs 0.
    include structure bapiresbc.
    data: end of itab_resb.
    data: begin of itab_bapi_return occurs 0.
    include structure bapireturn.
    data: end of itab_bapi_return.
    data : w_resb_no like bapirkpfc-res_no.
    w_resb_header-plant = p_werks.
    w_resb_header-res_date = sy-datum.
    w_resb_header-created_by = sy-uname.
    w_resb_header-cost_ctr = '0000010001'.
    w_resb_header-move_type = '201'.
    w_resb_header-gr_rcpt = w_room_time.
    w_resb_header-part_acct = 'OR'.
    *ITEM DATA
    loop at i_details.
    itab_resb-material = i_details-matnr.
    itab_resb-plant = i_details-werks.
    itab_resb-store_loc = i_details-lgort.
    itab_resb-quantity = i_details-qty.
    itab_resb-unit = i_details-meins.
    append itab_resb.
    clear itab_resb.
    clear i_details.
    endloop.
    call function 'BAPI_RESERVATION_CREATE'
    exporting
    reservation_header = w_resb_header
    NO_COMMIT =
    MOVEMENT_AUTO =
    importing
    reservation = w_resb_no
    tables
    reservation_items = itab_resb
    return = itab_bapi_return
    call function 'BAPI_TRANSACTION_COMMIT'
    exporting
    wait = 'X'
    IMPORTING
    RETURN =    .
    wait up to 5 seconds.
    w_resb_no contains your reservations numnber
    Regards
    Anji

Maybe you are looking for