Calling RFC with webdynpro java (in NetWeaver Developer studio)

Calling RFC with webdynpro java (in NetWeaver Developer studio)
Hi,
I want to call only one parameter RFC with webdynpro.
Flight example is very complex.
I want to push a button and pass parameter to RFC input and call RFC.
After execution some message must appaer on the screen.
Is there a step by step .pdf?
Thanks.

Hello Cemil,
There's a seperate Web Dynpro forum for such posts, you should take a look there.
Nonetheless, the classic tutorial is the FlightList. If I was you, I would make sure to do this tutorial step-by-step as it should give you the fundamentals for understanding aRFC. On top of that, it's most likely already available to you on your SAP system...
Here's the link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00f7103-6790-2a10-ac9c-fcac7c5b18a3
Cheers,
Hermann

Similar Messages

  • Calling RFC with webdynpro java (in NetWaver Dev.Studio)

    Hi,
    I have a RFC like below
    FUNCTION ZSAP_X.
    *""Local interface:*
    *"  IMPORTING
    *"     VALUE(USNAM) TYPE  USERNAME
    *"  EXPORTING
    *"      VALUE(PWD) TYPE  CHAR8
    1-I want to write webdynpro java application to call RFC
    2-Call RFC with USNAM parameter
    3-Get PWD output parameter and write it's value into View TextInput field.
    I wrote application but I did not get PWD (output parameter) value. I checked RFC running poreperly.I did not achieve to get PWD.
    How can I do that?
    Thanks.

    Hi Bala,
    I checked RFC, it is running properly and getting the output value.
    And I used command below, but it produces error
    String X = wdContext.currentPWDElement().getpwd().toString();
    Error:
    java.lang.ArrayIndexOutOfBoundsException: -1
    Thanks.

  • Problem with Management Console for Netweaver Development Studio

    I installed the  Netweaver Development Studio and all works fine
    Normally the MMC shows SAP Systems and a J2E instance below it which is used to start the services
    But when I shutdown my machine and restart it again the J2E item below the SAP Systems does not appear and  I cannot restart the J2E/SAP/DB/J2EE services
    Is there another way I could restart all the related services from a batch file or a utility that takes a config file
    because for the last few days I am having to re-install the Developer studio to get it to work
    Please help me on this because I am wasting atleast 2 hrs daily to reinstall so that I can control all my services
    thanks
    Tony

    I think I temporarily fixed this problem I am not sure how this will affect the development.
    But atleast I can start the J2EE/DB services so that I can start and stop services from the MMC
    What was happening was that the services
    SAPJ2E_00
    SAPJ2E_01
    were not starting up because of the logon problems, the default account that was created SAPService( something like that ) was not able to log on, I changed the logon permissions to "Local System" and started the service, this time atleast the service started.
    I need to launch the Development Studio and see if I am able to work with the new account permissions on the J2EE server

  • WebDynpro for beginners - Installing Netweaver Developer Studio

    Hi,
    I am new SAP technology and I want to start with WebDynpro for JAVA. I have basics in Java and don't know anything about SAP, ABAP etc.
    I was going through webdynpro tutorials and It is mentioned that to develop applications we need to install Netweaver Developer Studio. But I am not able to locate it in the portal, SDN.
    If anybody can let me know how can I install, it will be of great help.
    Also Please let me know, a better way to start with WebDynpro.
    Thanks a lot,
    Anand

    Hi Anand,
    Go through this link to downlaod the NWDS.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloads">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloads</a>
    and to know more about the Webdynpro check the following link:
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm</a>
    Regards,
    Jhansi

  • Regarding Connecting with oracle with sap netweaver developer studio

    hi
    i want to use oracle instead of max-db so can u
    please tell me the procedure how to connect to sap netweaver developer studio and was server
    bye

    Oscar,
    for WebDynpro-Projects you can create an .ear-archive in the context menu of your porject ("Create archive") that you have to deploy with SDM. BUT: webdynpro requires WebApplication Server 6.40! You cant use a webdynpro-project in your current ep60sp2-installation.
    for portal applications you can export a .par-arcive in the context menu of your project ("Export...", choose "PAR file") that you can import in your portal.
    you can't test your application without deploying it to a server. if you haven't got a connection to the server during developing, you have to install a portal or at least a WAS6.20(Java) & EP60SP2 or WAS640(java) & EP60SP>2 locally on your computer.
    if you choose to do that, i recommend the WAS6.40(Preview) because you can then develop webdynpros, too.
    kr, achim

  • Is SAP NetWeaver Developer Studio  Version: 7.0.12 Compatable with JDK 1.5

    Hi
    I want to user Java SDK version 1.5 instead of 1.4.
    Is SAP NetWeaver Developer Studio Version: 7.0.12 compatible with this or not.
    Please let me know

    Hi
    If you are using EP 7.0, then NWDS 7.0.YY version need to be used. //YY depends on your  patch of EP7 .As you have mentioned your are using NWDS 7.0.12, that means your portal SP level is SP12.
    In my prject i am using JDK 1.4 for NWDS 7.0.15 and its works fine.I have asked two of my colleagues , they told that in their project they are using JDK 1.5 for EP 7.0 server and application is working fine for them.
    So
    Thanks
    Susmita

  • Getting an error in Java Project in SAP NetWeaver Developer Studio

    Hi,
    I am getting this error in my Java Project developed in SAP NetWeaver Developer Studio.
    Exception occurred during launch Reason: Source locator does not exist org.eclipse.jdt.debug.ui.javaSourceLocator
    Is this problem of not defining some External .jar file or problem with Eclipse?
    I am developing Java Project which connects with SAP Master Data Management.
    I am referring to a PDF named "How To identify identical master data records using SAP MDM 5.5
    Java APIu2019s".
    Regards
    Kaushik Banerjee

    This may be because of the metadata(registry) cache when it was written out by a second instance of NWDS.
    So the plug-in appears in the file system but NWDS doesn't see it in the metadata
    Delete the .metadata file from your workspace and then start up NWDS. It might work.
    Regards,
    PG
    Edited by: PG on Dec 16, 2008 3:18 PM

  • Overview of Netweaver Development studio(NWDS with DI configuration)

    hi friends
    explain me the brief overview of Netweaver Development studio
    with DI configuration
    send me helpful ppts or pdf files and important links also
    thanks
    ramu.

    Hi,
    go through:[http://www.sap.com/swiss/platform/netweaver/components/developerstudio/index.epx]
    for NWDS wid java infrasturcture:
    [http://www.eclipsecon.org/2004/EclipseCon_2004_TechnicalTrackPresentations/48_Kessler.pdf]
    development using NWDS:
    for NWDI:
    [http://en.wikipedia.org/wiki/SAP_Netweaver_Development_Infrastructure]
    [http://help.sap.com/saphelp_nw70/helpdata/EN/42/c8204dd57f136fe10000000a1553f7/content.htm]
    [http://help.sap.com/SAPHELP_NW04S/helpdata/EN/db/bd3642e2a3ab04e10000000a1550b0/content.htm]
    Regards,
    Khushboo

  • Help With Netweaver Developer Studio Version

    Hi everyone I have a problem, I am doing some examples to programmer Web dynpro using netweaver developer studio, How can I know what is my Netweaver Developer Studio version? Because I have a trial version and I dont know if my version is compatible to doing some examples, for example I found this link
    Web Dynpro Java Tutorials and Samples NW 2004
    and I wanna doing the example "Using EJBs in Web Dynpro" and when I open this document it starts with SAP netweaver 04 and I don't know if my trial version is compatible with this example.
    Thanks

    Israel,
    Open your NWDS, go to Help/About.
    Most likely you will see something like:
    Version: 7.0.11
    If version is 7.0.X, your NWDS is NetWeaver 7.0, formerly known as NetWeaver 2004s.
    Most likely there will be no problem running examples from NW 2004, earlier version.
    Just make sure your JDK you have on your dev computer has similar version as JDK on the target server, if you are building locally and deploying your application to another server.
    Post if you have a different version.
    We will guess what NW version it belongs to.
    Regards,
    Slava

  • Can't create portal application project with netweaver development studio

    Hi All,
    I want to follow the toturial (http://help.sap.com/saphelp_nw04/helpdata/en/9e/7d96f7087311d7b84600047582c9f7/frameset.htm) to create a portal application with netweaver , but I am failed at the first step, I can not found "Portal Application Project" option by new->other.
    the version of netweaver development studio I am using is
    Version: 7.2.0
    Build id: 200702220224
    do I need to install a plug - in? if yes, anyone can tell me where to download it?
    thanks & regards, Bin

    Hii...
    In NWDS goto Windows> Open Perspective> others--> Enterprise portal select this and ok....
    Goto File> New> Project> select Portal Application> enter project name and click ok...
    refer this blog also...
    Overview of the Content Development Process
    regards,
    Chinnadurai.R

  • Example-- Call RFC from external Java Application

    Update: I need code example to call RFC from External Java application. Can onybody help me?                                                      
    RGDS
    RP
    hi all.
    i want to create my own log for each interface.
    i saw this blog:
    /people/michal.krawczyk2/blog/2006/09/20/xi-abap-mapping-logs--more-standard-better-visibility
    my doubt is how to catch the error that i see in SXI_MONITOR y put it in a Sub-Objetc.
    For example: in sxi_monitor i get the error for my interface NMUCustomer: "No receiver could not be found" or "Error Mapping Traformation".
    I created an Object called ZNMUCUSTOMER and a Sub-Objetc called ZERROR.
    what i must do to get the error I see in monitor and assign it to Sub-Object??
    Rgds.
    Message was edited by:
            Rodrigo Pertierra
    Message was edited by:
            Rodrigo Pertierra
    Message was edited by:
            Rodrigo Pertierra

    Hi,
    Oh, you are using ABAP mapping ......
    then use the following in ABAP mapping ..
    TRACE1,TRACE2,TRACE3.... for trace level 1,2,3......
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/866ce290-0201-0010-338f-b8c3553aaa0f
    Regards
    Chilla

  • Mobile infrastructure Installation with SAP Netweaver Developer Studio

    Hello,
    I am new to MI field.
    I have installed SAP Netweaver Developer Studio 2.04 and assumed, that the MI Client & Server Components are installed with Netweaver too.
    Is that correct?
    The fact is, that the ports 3601 and 4444 are not accessabled as described in the documentation, and that it is not possible to create a project for mobiles in Netweaver Studio.
    I tryed to download MDK 2.5 and install mobile infrastructure manually, but after extraction of MDk 2.5-files there is no setup-program or so.
    Any hints and tips are very welcome.
    Thanks in advance.
    Regards
    Rainhard

    Rainhard,
    Where did you get the MI client and Server components?
    Are they from the NetWeaver04 installation CD? or do u
    just download from the trial version of J2EE Engine 6.40 from SDN?
    MDK 2.5 is just a set of documentation of guiding developers how to write mobile apps with MI. The SAP
    Netweaver Developer Studio already has the MDK Plug-in
    comes with it.
    If you need to create project for mobile app, you can
    do the following in the NW Dev. Studio:
    1. Go to File > New > Project...
    2. Select "Mobile Development Kit" on the left pane and then select which types of project you want.
    3. Then, click "Next" to follow the instructions.
    Peter

  • Deploy a Library with the NetWeaver Developer Studio 7.1

    Hi All,
    i would like to deploy a jar-file as a library on PI 7.1 with the NWDS 7.1. 
    It is different to 7.0.
    I hope anyone can tell me how to do this..
    Thanks
    Christoph

    Hi,
    Here is the process to deploy a Library project:
    1.Defining Libraries:
           To define J2EE libraries in the SAP NetWeaver Developer Studio, you first create a corresponding Library project .Then you have to add all necessary JAR files or references to other J2EE Engine components.
    2.Creating a Library Project:
         Choose File ® New ® Project.Follow the wizard to create a library project.The wizard generates an empty Library project. After the generation is completed, the J2EE perspective is opened automatically. The logical project structure is displayed in the J2EE Explorer and contains the two XML files: sda-dd.xml and provider.xml.
    3.Adding JARs:
           1.      Choose the server/provider.xml node and choose Open from the context menu.The multipage editor opens in the right pane.
           2.      Choose the Jars tab.
           3.      Choose the Jars node followed by Add.
           4.      Select one or more JARs from your workspace and confirm by choosing OK.
    4.Adding References:
           1.     Choose the server/provider.xml node and choose Open from the context menu.The multipage editor opens in the right pane.
           2.      Choose the References tab.
           3.      Choose the References node followed by Add.
           4.      You can either create a new reference or select an existing one.
    5.Creating a Library Archive :
           1.     Select the library project node in the J2EE Explorer.
           2.      Open the context menu and choose Build Library Archive.
           3.      Choose OK to confirm
    6.Deploying a Library Archive :
    Prerequisites:·    The SDA file for the library project has been created successfully.
    ·        You have started the J2EE Engine on which the archive is to be deployed.
    ·        The settings in Window --> Preferences --> SAP J2EE Engine( SAP PI) are correct.
         Process:
           1.      In the J2EE Explorer, expand the library project node and select the relevant archive.
           2.      Open the context menu and choose Deploy to corresponding J2EE Engine.
    Regards,
    Kalpana

  • SAP Netweaver Developer Studio WebDynpro

    Hi all,
    Could anyone you please tell me whether we have to Purchase WebDynpro or we can download it from http://service.sap.com/webdynpro.
    As we have SAP Netweaver Developer Studio.
    Thankx in advance,
    Shakthi

    Hi Shakthi,
                Further to Divakar's points,
    After you download & install Netweaver Developer Studio from http://service.sap.com for free,
    you have to open the studio.
    goto windows -> open perspective -> select Webdynpro from the list of preferences available.
    it will open the Webdynpro perspective.Then create your Webdynpro project and deploy it.
    for deploying goto window -> prefernces -> sap J2EE engine -> give your WebAS server name or server ip address here.Default message port is 3601.
    Deploy your webdynpro applications and provide your SDM password each first time you open your Studio and then run your applications.
    Enjoy ur programming.
    hope it helps.
    regards,
    guru

  • I changed RFC but Webdynpro java still using old RFC, why?

    Hi,
    I changed RFC but Webdynpro java still using old RFC, why?
    How can I solve this problem?(Wihtout resetting j2ee engine.)
    Thanks.

    Cemil,
    check whether cache invalidation tool is installed on your portal or not.
    go to system administration-system configuration-webdynpro console-invalidate ARFC cache
    or you can reimport model using another jco connection.
    check this link for more details
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10465350-b4f5-2910-61ba-a58282b3b6df
    Thanks
    Bala Duvvuri

Maybe you are looking for

  • Archive and delete sap event management objects

    Team, I need to configure the archiving objects and residence time to Archive and delete EM objects. there are three steps of configuration, and I have never done this before. Can any one of you help me in setting up this config and the programs that

  • How can you tell what apple id is associated with your MAC

    I bought a MAC desktop for my business and immediately started using FACETIME. I did a software update and after the update it stated that I couldn't use my FACETIME because the Apple ID had not been set up. I tried setting it up under the email that

  • Web-based user management tools???

    Are there any pre-packaged or off-the-shelf tools one can use to manage unix users and groups in DS 5.2? (preferrably web based) I have found a few open source apps that are web-based but they don't seem to be production quality. For now, I'm creatin

  • Acrobat XI - Consistent Crash/Locking Up (Mac OS X 10.8.2)

    About a week ago Acrobat X Pro started locking up 10-15 seconds after any PDF was opened. Once this happens all I get is the spinning beach ball - to infinity and beyond. The only way to get out of it is to force quit acrobat. It doesn't matter what

  • Problem installing j2ee1.3 sdk - help plz

    I have installed j2ee1.3 in my machine (winxp). when i try to run the server by running the command "j2ee -verbose" i get the following error. C:\j2sdkee1.3\bin>j2ee -verbose 'C:\Program' is not recognized as an internal or external command, operable