Call an ABAP Program from Web Application designer

Hi Gurus,
I have an requirement in which I need to fetch an CSV file from the server and place the file into an internal table in R/3.I got the function module and wrote the program for this,but now I need to call this ABAP program from Web Application designer.
To make it more explicit ,I need to call an ABAP Program /function module from the WAD.I am new to WAD Please help.
Ankit

Hi Ankit,
take a look:
/thread/725385 [original link is broken]
WAD and ABAP
How to call a ABAP or ABAP Class from the WEB
/people/kai.wachter/blog/2008/03/11/how-to-write-own-items-in-bi-70-java-runtime
Regards
Andreas

Similar Messages

  • Calling a Report Program from Web Dynpro

    Hi all,
              I have a requirement, where i have to call a report program from web dynpro?. Wether its possible to call a report program in web dynpro?. Is we can call it, how this functionality has to be achived?

    Hello,
    Yes it is possible to call report using SUBMIT statement from one of the method defined in COMPONENTCONTROLLER's method tab.
    Once you define the method with SUBMIT statement then call that method with proper event.
    Rest configuration will remain same for ABAP webdynpro.
    Hope this helps.
    Thanks,
    Augustin.

  • Calling an ABAP Program from source system in a process chain

    Hi,
    I need to call an ABAP program (Extract program RMBWV308) from R/3 within a Process Chain in BW 3.5
    Your urgent advice please

    Hi,
    check the following link:
    Start an ABAP program in R/3 from a process chain in BW
    regards,
    raju

  • Call an ABAP routine from Web Template

    Hi Gurus,
    I Need to call an ABAP routine from a Web template or export value to memory to use in the variable exit.
    is it possible ?
    Thanks.
    Rodrigo

    Hi Ankit,
    take a look:
    /thread/725385 [original link is broken]
    WAD and ABAP
    How to call a ABAP or ABAP Class from the WEB
    /people/kai.wachter/blog/2008/03/11/how-to-write-own-items-in-bi-70-java-runtime
    Regards
    Andreas

  • Call an ABAP program from BIW

    Hi experts,
    How do I include an abap program in R/3 sandbox in my process chain in BW.
    I know how to do it in BW but this program is in the ECC sandbox.
    what I did was to create a job in R3 through SM36,this job had two steps one to run my program and another step to call the FM RSPC_ABAP_FINISH,which would inform the PC that the job is executed and continue to the next step.
    I was triggering this job trough an event in R3.
    In my PC I added a process type ABAP program,where i made an asynchronous call to the event in the ecc sandbox.
    But this is not working.Any ideas?
    Regards
    Ankit

    Hi Ankit,
    take a look:
    /thread/725385 [original link is broken]
    WAD and ABAP
    How to call a ABAP or ABAP Class from the WEB
    /people/kai.wachter/blog/2008/03/11/how-to-write-own-items-in-bi-70-java-runtime
    Regards
    Andreas

  • Calling an ABAP program from a document list

    Hi,
    we have the following problem with a custom ABAP program.
    This program executes a lot of user's functions, such as documents creation, material movements creation, and so on.. from a single dynpro.
    We would like to call this program from a list of documents with a call-transaction and we would like to come back to the list at the end of all user's activities.
    Unfortunately we are not able to use a call_transaction since the program has got many commit_work and, after a call_transaction it stops at the first commit_work.
    Is there another way to link a list to an abap program ?
    Thank you very much.
    Regards.

    Hi,
    If your Dynpro program is writted in a moduralized way like Form..endForm
    you can try calling this form from your list program using the appropriate
    values where ever necessary. Like wise the screen/programs also.
    Regards
    Prasath

  • Calling of Sapscript program from BSP Application

    Hi,
       I have a requirement to display the sapscript output in PDF throgh BSP.
       In the Application program I am taking the output in PDF format.
       Now While calling the Driver program in BSP it is giving dump.
       I am using Submit 'Prog_name'  and return.
      Pls help.

    Hi Thanuja,
    You cannot call the program using SUBMIT PROGRAM in BSPs.
    You can create PDF from a Smart Form. <i>I have no idea of SAPSCRIPTS calling from BSPs.</i> You can do one thing, you can migrate your SAPSCRIPTS to SMARTFORMS and try the below code.
    You can call the the below three FMs in the following sequence.
    1)
      call function 'SSF_FUNCTION_MODULE_NAME'
        exporting
          formname           = l_form_name
        importing
          fm_name            = l_function_module_name
        exceptions
          no_form            = 1
          no_function_module = 2
          others             = 3.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                 with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    2)  call function l_function_module_name
    3)  call function 'CONVERT_OTF'
    Thanks,
    Sreekanth

  • Call an ABAP program from process chain

    Hi experts,
    How do I include an abap program in R/3 sandbox in my process chain in BW.
    I know how to do it in BW but this program is in the ECC sandbox.
    what I did was to create a job in R3 through SM36,this job had two steps one to run my program and another step to call the FM RSPC_ABAP_FINISH,which would inform the PC that the job is executed and continue to the next step.
    I was triggering this job trough an event in R3.
    In my PC I added a process type ABAP program,where i made an asynchronous call to the event in the ecc sandbox.
    But this is not working.Any ideas?
    Regards
    Ankit

    Hi Mario,
    Would RSPC_API_CHAIN_START work?

  • Running ABAP program from web - java.lang.NullPointerException

    Hi experts,
    Need help. We have a web portal that one of the link is to call out a customized report to be displayed on nthe browser. There is a standard function to download the report by List -> Save/Send -> File. It seems that after we upgrade to ECC6/web dispatcher, this function failed to work. Our Basis has helped to check and they are highlighting that this is application side issue. They gave us the following:
    Exception in thread "AWT-EventQueue-4" java.lang.NullPointerException: String is null
         at sun.java2d.SunGraphics2D.drawString(Unknown Source)
         at Query.paint(Unknown Source)
         at sun.awt.RepaintArea.paintComponent(Unknown Source)
         at sun.awt.RepaintArea.paint(Unknown Source)
         at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Frankly I really cannot understand this and also not sure how to solve it. Anyone have any ideas?

    Hi All,
            I am also getting similar type of error
    java.lang.NullPointerException
        at se.abb.com.View2.wdDoInit(View2.java:102)
        at se.abb.com.wdp.InternalView2.wdDoInit(InternalView2.java:202)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
        at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
        at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
        ... 34 more
    Please help me to resolve this error.
    Thanks
    Uday

  • DrillDown from Web Application Designer

    Hi,
    I have a BW web report with some tables. The users compare this with the old pivot tables that they used in excel. When they double clicked on a certain cell in that pivot table, they got a detail of all the records that resulted in that number in that cell.
    My question is: when I have a table in a BW report, can they in a certain way do the same transaction. In other words, can they get the same detail in BW. This without using a different query and web report?
    Pascal

    Pascal,
    you would have to do an RRI for this as suggested , . In your case , the user experiencs seems key , is it absolutely essential that they go to the details level on double clicking on the column or will they be okay with a popup menu instead ?
    If it becomes absolutely essential for a clickthrough , you will have to invest some more time into JavaScript and ABAP.
    Hope this helps..
    Arun
    Assign points if useful

  • Call ABAP program from Unix script passing dynamic filename

    Hi,
    Does anyone know if it is possible to call an ABAP program from a Unix script passing a dynamic filename to the ABAP program?
    We are receiving a file from an external company and on receipt of the file want to call an ABAP program passing the filename.  The filename is made up of File ID, Date and Time which we need to read in the ABAP program.  We usually use Events to trigger a program which is fine when the filename if static however since this filename will be dynamic we cannot do this.  In addition we cannot just rename the file to a static name in the Unix script as we need to know the value of the date and time from the file ID in the ABAP program.  I can change the ABAP program to check our /in directory for a Filename that starts with the fixed File ID however I thought there must be a better way of doing this.  We want the external company to put this information in a file header record but they don't want to change the file contents.  Any ideas would be appreciated.
    Thanks,
    Sinead.

    You could follow the following method
    1.Let the external file reside in the SAP application layer in a defined path e.g. /usr/sap/tmp/interface/working/
    2.Write an ABAP program which will include the following steps:-
       i) read all files in the file path using function module EPS_GET_DIRECTORY_LISTING
      ii) Read the data from files existing in the directory using OPEN_DATASET statement
    iii) After the files have been read move the files to another directory e.g. /usr/sap/tmp/interface/backup/ or you can delete the file.
    3.Schedule this program to be executed depending on the frequency of the external file being generated.

  • Calling an ABAP report from a web-dynpro view

    Hi,
    I have a web dynpro view that i would like to call an ABAP program from.  Any ideas how i can do this?  Thanks,
    Samir
    Edited by: Samir Vora on Feb 18, 2008 11:12 AM

    Hello Samir,
    that would mean mixing two different ui technologies and hence it not possible. You can start the report in background though. Please refer to [this list of restrictions and limitations|http://help.sap.com/saphelp_nw70/helpdata/en/46/82091e304559dbe10000000a1553f6/content.htm] regarding the usage of certain ABAP statements.
    Best regards,
    Thomas

  • Call ABAP Program from outside SAP

    Hi all,
    How can I call an ABAP program from outside SAP, for example from a C++ executable, a .NET assembly or a JAVA package ? Are their "adapters" provided by SAP for this ?
    Angela

    Hi Angela,
    as mho already stated:
    For external connections to ABAP, the sap-proprietary "remote function call (RFC)" is a common way.
    SAP delivers an RFC-library for this, and for some development environments SAP even offers a connector on top of this library to make connectivity more easy (SAP Java Connector, SAP Business Connector, SAP Connector for Microsoft .Net). An RFC is always starting function modules in ABAP, not ABAP programs, and these function modules need the attribute "remote-enabled".
    (Remark: in the context of SAP NetWeaver Process Integration, SAP offers adapters for connectivity, also for ABAP systems.)
    For ABAP systems on basis code line 6.20 and above, the remote-enabled function modules can externally be used as web services.
    Information on RFC can be found in the SAP Help Portal http://www.help.sap.com, e.g. [RFC Call - Example Program|http://help.sap.com/saphelp_nw04/helpdata/en/3d/733760ccb411d2b4550060941936e3/frameset.htm]. A search in SDN provides links to the Help Portal as well.
    >
    Angela GALACY wrote:
    > For example, what if I develop an EJB inside NetWeaver, will I be able to access this from any J2EE client ?
    This part is beyond the ABAP question, and my guess is pretty simple: like on any other J2EE server.
    Regards, Boris

  • Calling ABAP Program from a Process Chain

    I am calling an ABAP Program from Process Chain by adding a Process Type u201CABAP Programu201D,
    My ABAP program writes lots of information using write statements.
    I looked in Process Chain Log; I do not see output from Write statement. I am pretty sure my write statements were executed. I also looked in SM37 job log. I do not see any more information.
    Where to see the output generated from ABAP.
    Thanks.

    Hi,
    First find out where your ABAP program the data written.You need to write it into and spool then only you can see it.
    Transaction SP01, you can use the FM 'GET_PRINT_PARAMETERS' in your abap program to write to spool.
    Thanks,
    Ravi

  • Call ABAP program from a Feature - PE03

    We are in process of upgrading from 4.6 C to ECC 6.0.  One feature (CSTV1) will not activate because there is a limit on generated programs to under 10,000 ABAP statements.  SAP told me to call an ABAP program from the feature to reduce the number of ABAP statements in the generated program.  Has anyone created a feature that called an ABAP program?  I searched SAP help and I can't find any information about calling a ABAP program.
    Thanks in advance,
       Mark Ashabraner

    Hi Mark,
    You can try it this way.. Get the name of the ABAP Program generated by the feature from its attributes. it will be something like '1PAPA/FEAT020Z0106'...May be you can change this program ie  put a substantial chunk of this code in a subroutine in another program & call that with a PERFORM from this Program..
    ~Suresh

Maybe you are looking for

  • Kanex ATV Pro VGA to S-Video?

    Anybody using a Kanex ATV Pro with an Apple TV, know if a simple VGA to S-Video, or composite cable will allow it to be used with an older CRT Television?

  • I received a strange text message - please help??

    Last night I received a text message on the iPhone but it appeared differently on screen - it took up the whole of the screen and had the telephone number at the top in large numbers - then the text message across the screen - and then a large 'DISCA

  • Android4.1, play video in firefox ,the screen is green ,why?

    my tablet android version is android4.1,and firefox version is 32.0.1. when I playing video in firefox,the screen is green.

  • Wireless netwrok help

    Hi, I appologise if this has been posted before. I am having trouble connecting to the internet using a wireless connection. I have been online before using the computer although i may have deleted some stting by accident. I now try and connect via a

  • 3rd party stock with fully delivered status in PO(without GR)

    Dear Gurus, Currently we are having a 3rd party stock scenario with the below steps: 1. Create a third-party item in a sales order. The system automatically creates a PR for each third-party item in the sales order. 2. Entering a PO to Vendor with re