Accessing BAPI's using JAVA with out using webdynpro URGENT

hi Experts,
What is the procedure for calling RFC/BAPI's using JAVA with out using the webdynpro. Please let me know what are the possibilities with step by step implementation.
Regards
Vijay

Hi Boris Rubarth,
Thaks for relavant information.
I have kind of the requirement. The clinet is asking for connecting the SAP RFC using java application. The build Jar or .war or .Ear for which are going to develop should be compatible for running on any of the Applications server like they have Tom cat, weblogic, websphere server.
so the .jar for or .ear file which we are going to develop should be able to run accessing the RFC/ BAPIs from any of these servers other than SAP WAS that is what their target.
Please give me your suggestion, which is better approach. currently their SAP system is 4.6c . So presently it is not possible the webservice approach. But they have plans to go for upgrade to ECC6.0
In that case only JCO option is possible. If use this option . Is it possible to access application which is deployed irrespective of the WAS by doing the required configuration.
Basically i am aware of the ABAP webservice work bech steps and also the JAVA coding also.
Please suggest me what is the better way to achieve this.
Regards

Similar Messages

  • How to generate reportdesign dynamically using java with out xml file

    hi
    how can i generate a reportdesign dynamically using java with out passing xml file to jasperDesign , i want to create my reportdesign with out xml file
    how can i ,please help
    thanks

    LiveCycle does provide a Java API to forms; LiveCycle is in fact a suite of programs, mostly enterprise level for running on server (next to which the cost of the master suite is a drop in the ocean). LiveCycle Designer is perhaps the only end user tool, and it is not for server use and doesn't have an API.
    Are you looking for a server solution? If so, nothing in the master suite can help, it isn't for server use.

  • Can i access icloud on my pc with out my iphone

    can i access icloud on my pc with out my iphone?

    Yes, of course. You can enter on icloud.com and get all iCloud-Services ... with or without your iPhone.

  • Accessing a printer using webdynpro java

    Hi friends,
    I need a solution to access my printer using my webdynpro application..
    I need it by using an action button to print the particular page..Do anyone have a better idea..

    Hi
    Try to go for Adobe Forms ...I believe that would be a better idea to print a page...
    try this link for sample program on adobe forms
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#47 [original link is broken]
    Do let me know in case of further doubts
    regards
    Krishna
    Message was edited by:
            krishnagopal Mukundan

  • How to access two oracle data base with out DB link

    Hi,
    I have two data base schema
    one is held in oracle 10g and the other in 11g ,Currently i am using DB link to access both the database. i am accessing around 70 tables using DB link.
    As per new requirement i have to remove DB link ,is there any other way i can access both database with out DB link.
    Thanks,

    malarkandy wrote:
    I have two data base schema
    one is held in oracle 10g and the other in 11g ,Currently i am using DB link to access both the database. i am accessing around 70 tables using DB link.
    As per new requirement i have to remove DB link ,is there any other way i can access both database with out DB link.Yes. But that needs another network and application interface instead of a database link.
    The target database can implement PL/SQL web services. These can be called via HTTP.
    The local database can use UTL_HTTP to make a call to the target database's web service for accessing target database data.
    Both databases can use AQ (Advance Queues). This can be integrated with an application server's JMS queues.
    This enable one database to enqueue a request to the other database, and for that database to respond by sending data.
    There are numerous such type of interfaces that can be used. Some primitive. Some advanced. Some simple. Some complex.
    The easiest and most flexible mechanism is however a database link. And it does not make sense to disallow database links for security and management reasons, but allow JMS for example. The network infrastructure is the same for both methods. The network protocol is the same. The security issues and concerns are the same - except that JMS for example is significantly more moving parts and make configuration and security a lot more complex than using a database link.

  • To access context values in java util methods in webdynpro java

    My requirement is to access the wdcontext values in the my util classes.
    kindly  suggest how to access the context value in my util class
    Regards
    Priya

    The context reference must be passed to the .java class in order to access same in the .java
    for example,
    Change MyUtil.java - get the reference to this file.
    public class MyUtil {
    //make a local variable of context element type.
    private IPrivateCompView.IHashContextElement local_context;
    //add context type in Constructor
    public MyUtil (IPrivateCompView.IHashContextElement local_context, /*rest of params*/){
            this.local_context = local_context;
            //.... rest of initialization
    In Webdynpro, initialize the call by passing the context reference.
    IPrivateCompView.IHashContextElement hashmap = wdContext.currentHashContextElement();
    //initialize my class
    new MyUtil( hashmap, /*rest of params*/);
    regards,
    Nikhil

  • Adobe interative with out usng webdynpro

    Hi,
    We are implementing adobe interactive forms, some issues with webdynpro,, Is there any way we can build an adobe interactive forms with out webdynpro.....
    Thanks

    Hi,
    Error when processing your request
    What has happened?
    The URL https://its-stg0.mit.edu:44300/sap/bc/webdynpro/sap/zvtest0505_1/ was not called due to an error.
    Note
    The following error text was processed in the system SFK : WebDynpro Exception:
    The error occurred on the application server ironwood_SFK_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: UPDATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CP

  • Error in BAPI call using  webdynpro

    hi ,
    am new to this webdynpro abap..so i was trying out sample tutorials from sdn..when i trigger a button click event in order to call bapi function..the error has be raisen..so give me a solution for this..kindly chk out this link..i was trying for this application..i did exactly as mentioned in this tutorial..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/00545e6d-0679-2910-acab-8073ce9a1659?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]
    in this second tutorial..bapi usage
    error :
    The following error text was processed in the system NSP : RFC Exception COMMUNICATION_FAILURE with Message RFC destination bapi Fm does not exist. Occurred
    The error occurred on the application server w2gzmbks01_NSP_00 and in the work process 0 .
    The termination type was: RABAX_STATE

    Hi Anuj,
    I ve a similar kind of issue at my end. I am trying to call  BAPI_DOCUMENT_CREATE2 from a Webdynpro application(A2C/000) and using commit work. A new doc_number is very much created, even commit work returns no error.
    But surprisingly i dont see this new record in the same destination (A2C/000).
    this BAPI is already remote enabled (SE37)

  • HT201304 Is there a way to restrict user access to find my ipad with out restricting the mail app?

    I am working on setting up multiple Ipad 2 tablets with iOS 5.1.1 and I need to restrict access to turn off find my ipad. The only way I see to do this is to turn on restrictions and dont allow changes on accounts. The issue I have then is it also restricts the Mail app setup. Is there a way to restrict one and not the other? We use microsoft exchange mail and I would be willing to use another mail app if anyone can suggest one that works as an alternative?
    Thank you.

    I don't know of any reliable tracking app, but perhaps someone else here can suggest one I'm not aware of. Any could be defeated by just restoring the iPad, though, so about all you could hope to do would be make things a bit more difficult to turn off. For a third-party app, you'd have to restrict the user's ability to uninstall apps, something which might be equally problematic for you.
    Regards.

  • How to access Time Capsule hard drive with out internet connection?

    Basically I live in a four bedroom house. One of my roomates moved out who had the internet in there name. Now i dont have an internet access but I have the Time Capsule with a 2 TB hard drive that stores my whole itunes library. I have enough space on my Macbook Air to store my whole library. I'd like to move my whole iTunes library back to my computer and wipe the Time Capsule Clean.

    If the Time Capsule is providing a wireless network signal, an Internet connection does not need to exist to move files from the Mac to the Time Capsule, or vice versa.
    Log onto the Time Capsule wireless network
    Open Macintosh HD
    Look for the Time Capsule icon under the SHARED heading on the left side of the window
    Click on the Time Capsule icon and a folder named Data (unless you have renamed it) will appear to the right
    Double click Data to mount the drive on the Mac's desktop
    Open the drive on the desktop and you can drag/drop files over to the destination that you choose on the Mac.
    Once the file transfer is complete, double check to make sure that the files are back on your Mac and everything is working properly. Then, you can erase the Time Capsule hard drive.

  • Accessing KM Content using Webdynpro Tree Application

    Hi,
    I want to create a webdynpro tree structure application which pulls out the KM Content into the tree Structure. How can i do that? Where can i give the KM path and make the KM documents reflect in the tree?
    Does any body have code samples related to this? Can anybody help me out in fixing this issue.
    Regards,
    Divya

    Hello,
    Here you have a sample to configure the environment, get access to KM and how to upload a file.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a099a3bd-17ef-2b10-e6ac-9c1ea42af0e9?quicklink=index&overridelayout=true
    Here, you have a sample code, where you instance a resource (a folder or file into KM repository) and you can do with it whatever you want.
    final IResourceFactory aResourceFactory = ResourceFactory.getInstance();
    RID rid = new RID(strRid); --> path where your are looking for your folders. "/documents", for instance.
    ResourceContext resourceContext = new ResourceContext(WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service"));
    IResource r = aResourceFactory.getResource(rid, resourceContext);
    Try and catch are missing, but that is the code to have an instance of a KM resource.
    Regards,
    David.

  • Bapi - relationship on BP with sales area data - urgent

    Hello,
    I am still looking for BAPI for creating relationship between business partners with sales area data in CRM 5.0.
    Example - I would like to create relationship type CRMH03.
    Bapi BUPR_RELATIONSHIP_CREATE does not allow for maintaining sales area data (Sales org, distribution channel, division).
    Does anybody know such a bapi?
    regards
    Radek

    Hi,
    U can implement the FM accordingly :
    declare the data.
    DATA : LT_NEW_ENTRIES TYPE STANDARD TABLE OF BAPIBUS1006_SALES_AREA,
    LW_NEW_ENTRIES LIKE LINE OF LT_NEW_ENTRIES,
    LT_RET TYPE TABLE OF BAPIRET2..
    *Assign the required values
    LW_NEW_ENTRIES-SALES_ORGANIZATION = 'O 50000000'.
    LW_NEW_ENTRIES-DISTRIBUTION_CHANNEL = '01'.
    CALL FUNCTION 'BUPA_PFCT_ADDFUNCTION'
      EXPORTING
       IV_PARTNER1           = '0000000569'
      IV_PARTNERGUID1       =
       IV_SALES_AREA         =  LW_NEW_ENTRIES
        IV_BPFUNCTION         = '00000004'
       IV_PARTNER2           = '0000000568'
      IV_PARTNERGUID2       =
      IV_STANDARD           =
       IV_TESTRUN            = ' '
       IV_X_SAVE             = 'X'
    TABLES
       ET_RETURN             = LT_RET
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'.
    Hope its useful.
    Regards,
    Shwetha.

  • Accessing knowledge management documents using webdynpro for java

    Dear all,
    iam having some documnets in KNLOWLEDGE MANAGEMENT documents folder in portal using webdynpro for java clicking on a link means perner(employee no) i should get that perpicular employee number documents.
    examples documents are stored like this in knowledege management folder 20016319.pdf  ,  20016397.pdf  ,  20016398.
    how to access those employee using webdynpro for java for perticular employee number if i want 20016319
    Send me the code for above requirement and where i have to wrirte that code exactly
    Regards

    Dear Kishore,
    To get the Employee ID you have to create a Adaptive RFC Model (call BAPI) which will return you the employee pernr, for this
    1. Create a model using  : BAPI_EMPLOYEE_GETDATA
    2. Get User ID using the code
    public java.lang.String getUserID( )
        //@@begin getUserID()
         String userID = new String();
              try
                    // getting Logged in userid
                   IWDClientUser myUser = WDClientUser.getCurrentUser();
                   userID = myUser.toString().substring(19).trim();
                   StringTokenizer filterdUID = new StringTokenizer(userID,")");
                   userID = filterdUID.nextToken();
              catch (WDUMException e)
                   e.printStackTrace();
                   return userID;
        //@@end
    3. Execute the BAPI
    public java.lang.String getEmployeeID( java.lang.String userID )
        //@@begin getEmployeeID()
         String employeeID = new String();
              Bapi_Employee_Getdata_Input employeeData = new Bapi_Employee_Getdata_Input();
              Bapi_Employee_Getdata_Output outData = new Bapi_Employee_Getdata_Output();
              Bapip0105B comm = new Bapip0105B();
              com.sap.aii.proxy.framework.core.AbstractList list = new Bapip0105B.Bapip0105B_List();
              list.add(comm);
              employeeData.setUserid(userID);
              Calendar cal = Calendar.getInstance(Locale.UK);
              Date date = new Date(cal.getTimeInMillis());
              employeeData.setDate(date);
              employeeData.setAuthority_Check("");
              employeeData.setCommunication(list);
              outData.addCommunication(comm);
              wdContext.nodeBapi_Employee_Getdata_Input().bind(employeeData);
              wdContext.nodeOutput_BAPI().bind(outData);
            try
                   wdContext.nodeBapi_Employee_Getdata_Input().currentBapi_Employee_Getdata_InputElement().modelObject().execute();
                   wdContext.nodeOutput_BAPI().invalidate();
            catch (WDDynamicRFCExecuteException e) {printMsg("Failed to Obtain Employee Data");
                 e.printStackTrace();
            employeeID = wdContext.nodeBapi_Employee_Getdata_Input().nodeOutput_BAPI().nodeOrg_Assignment().currentOrg_AssignmentElement().getPerno();
            return employeeID;
        //@@end
    Hope it Helps!!
    Warm Regards
    Upendra Agrawal

  • Access BAPIs Using the SAP Java Resource Adapter

    Hi experts,
    Can someone tell me how to Access BAPIs Using the SAP Java Resource Adapter?

    hi Shweta,
    Please refer the step by step procedure:
    1. Start the deploy tool of the SAP J2EE Application Server with the DeployTool.bat in the directory //<SAP J2EE Engine Installation Directory/.../j2ee/deploying.
    2. Choose Project &#8594; New Project and enter a name for the new project.
    3. Click on the Deployer tab.
    4. From the menu path, choose Deploy &#8594; EAR &#8594; Load Module and select the sapjra.rar file.
    5. For the newly created node sapjra.rar, choose Server Settings &#8594; Identity Subjects and select Caller Impersonation as authentication type, so that the J2EE user data is used to log on to the ABAP system.
    6. Make sure that the J2EE Application Server is running. Connect to the J2EE Application Server with Deploy &#8594; Connect.
    7. Deploy the sapjra.rar using the menu Deploy &#8594; Deployment &#8594; Deploy Module.
    8. Enter SAPJRADemo as application name and start the application.
    9. Close the deploy tool.
    10. Start the Visual Administrator again.
    11. Select the Cluster tab and switch to <Server Node> &#8594; Services &#8594; Connector Container.
    12. Click on the Runtime tab and choose sap.com/SAPJRADemo &#8594; eis/SAPJRADemoFactory.
    13. Choose Managed Connection Factory &#8594; Properties. On this page, you need to specify the logon data for the ABAP system. There is already some dummy data visible in the property list if no real system data has been specified so far.
    14. To change the value of a property, select the property in the list, change the value underneath it, and add the changes using the Add button. At the end, do not forget to save all changes by pressing the button Save Changes. The user configured for the SAP JRA must be the user authorized to read metadata of function modules.

  • Im not satasfied with 6.0 i miss youtube and some apps are slower, facebook wants premission to access my contacts, and how do i use apple tv feature with out mirroring?

    Im not satasfied with 6.0, i miss youtube, some apps are slower, facebook wants premission to access my contacts, and how do i use apple tv feature with out mirroring?

    That is awesome, works perfectly.
    I'll get it worked into my main script. Is this Action Manager code, and not just regular Javascript from the Scripting Dictionary? I can't tell the difference. I'll see whether or not it's actually faster than Applescript.
    Thanks. I know Scripting Listener records a bunch of stuff, but it's pretty amazing to me that playing back this line does the same thing that playing back the 1,011 lines Scripting Listener puts out.
    Thanks.

Maybe you are looking for