Calling another ABAP pgm from Documentation

Hi All,
I have maintained a document for 1 ABAP pgm using SE38. Now in that document I want to provide some link/button which if taken should triger another ABAP pgm.
Is this possible?
Thanks.
Pankaj.

Hello Pankaj
Have a look at message 1X(350) using transaction SE61.
If you change to the SapScript editor it looks like that:
When you display the message it looks like that:
Run the program <b>RS_STREE_OBJECTS_TO_REQ_GET</b>. It will complete the piece list.
The report name is highlighted in red. If you change to the SapScript editor you will see the following:
<DS:REPO.RS_STREE_OBJECTS_TO_REQ_GET>RS_STREE_OBJECTS_TO_REQ_GET</>
This will give you a "hotspot" executing the report (RS.<report name>. The name after the ">" is how it is displayed in the message.
In the "Insert" menu you have several functions to link message text to SAP objects, e.g. transactions.
Regards
  Uwe

Similar Messages

  • Web Dynpro ABAP calling another ABAP program

    I have a question and just want to know if it's possible or not.
    Is it possible to write a Web Dynpro ABAP program that calls another ABAP program which happens to be an ALV report?
    Rather than re-write the ABAP ALV report, I was wondering if it's possible to call the ABAP ALV report within a Web Dynpro ABAP program and display the results within the Web Dynpro program.
    If it's not possible, then I assume it would be better to re-write the code from the ABAP ALV report in the Web Dynpro ABAP program.
    Thanks
    John

    The ALV report in your classic program is coded to be displayed in the GUI only.
    Your best bet would be to create a Function Module or Method that will return the data to be used in your ALV.  Simply call the Function/Method from your Web Dynpro and then bind the table to the DATA context node of the ALV INTERFACE CONTROLLER.

  • 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 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

  • Calling another ITS service from existing ITS service

    Hi to Everyone,
    I would like your advice on calling another ITS service from existing ITS service.
    From my current ITS service eg. "Z_TESTA", i wish to call another ITS service "Z_TESTB". The problem is that it always prompt for userid and password when i called the 2nd ITS service. However, user already enter the password & id when they login to the 1st ITS service. Is there a way to call this new ITS service w/o the userid & password prompt again?
    Below is the codes that we used to call the new ITS service:
    (a) "http://.../scripts/wgate/webgui/!?~transaction=z_testb"
    OR
    (b) "http://.../scripts/wgate/z_testb/!"
    We used both method (a) and (b) but same outcome. Thank you in advance!
    YanaJ

    Hi YanaJ,
    in order to skip a manual login you have to have the credentials somewhere. If you disabled cookies, what I told you will not work. Another possibility would the usage of X509 client certificates. But this requires that you have a setup that distributes the certificates of all of your users. I personally nether setup such scenario. Maybe someone other can explain what you have to do.
    Best regards,
    Klaus

  • Calling another java class from a servlet

    I am trying to write a web based form handling system (for a college project)
    I have a servlet that responds to a user request for a form. I have another java program (HTMOut) that parses the xml file for the form and produces HTML output. When I call the HTMOut from the servlet it crashes the webserver (Tomcat). But if I call HTMOut from an ordinary java class it runs fine. If I call another test program from my servlet that works too.
    Any ideas?

    where does your HTMOut output? A file or a stream? I think it is better that HTMOut can output to a stream you can set externally.

  • 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

  • Problem while Calling a CGI pgm From Java with code sample

    Hey guys,
    I am calling a CGI program from java servlet, while calling cgi program I am passing encoded(Base64) content via post process,
    My problem is the encoded data is not posted as expected, the encoded data is corrupting. But when I send encoded data in a text file, cgi program is perfectly decoding and working fine.
    Here I am doing Base64 encoding as per requirement, I cannot avoid this encoding.
    My doubt is about OutputStreamWriter constructor argument , In OutputStream Constructor I am passing one argument is OutputStream object and another argument is encoding type. I tried with ASCII, US-ASCII & UTF-8 .
    My code is as follows, please help me to resolve this issue.
    URL url = new URL("CGI server path");
    URLConnection urlConnection = url.openConnection();
    urlConnection.setDoOutput(true);
    OutputStream os = urlConnection.getOutputStream();
    BufferedOutputStream buffer = new BufferedOutputStream(os);
    OutputStreamWriter  writer = new
                                                   OutputStreamWriter(buffer, "US-ASCII");
    writer.write(encodedPDF-Content);
    writer.write("\r\n");
    writer.flush();
    writer.close();
    here encodedPDF-Content is String and it's size is 9565 bytes

    Whenever you read something in java into string (with Reader implementation) it expects source to contain text in encoding you specified. It then decodes it and makes 16 bit unicode string from it. Whenever you store string using Writers it does reverse operation with specified encoding (may be different than this which you used to read source) and stores text as a sequence of bytes made of 16 bit unicode string. So, passing text back and forth between programs with the help of files or I/O you can make mistake at both reading and writing encoding. Check for it.
    Now, when C programm or other application reads file it may take another assumptions about encoding or may even completly ignore it and read source as a binary file. Then, if you have a source text as a file and have to pass it to other application never do it using Reader/Writer. User raw InputStream/OutputStream instead what will preserve all information unchanged.
    here encodedPDF-Content is String and it's size is 9565 byteHow id you get this info? String.length() gets you how many chars is in it, it will be half the number of bytes. If you see your input file beeing 9565 bytes long, see my above statements.

  • Calling an ABAP FM from VBscript or NT Script

    Hi,
    We have a situation where we have a Windows FTP drive share mounted with the BI app server. On this share drive a VBscript executes copying some files over. Based on certain conditions we want to execute a process chain. Is there any way to call the ABAP FM to raise an event from the VBscript?
    Or if that is not possible, can the VBscript be called from ABAP?
    Thanks.
    Shailesh

    I am not sure about Windows, but in a Unix environment, you have "sapevt".  You call that to raise an event, which could trigger a process chain directly.
    Check your Windows .exes to see if you have sapevt.exe.

  • Calling an ABAP Report from ITS

    Hi,
    I am new to ITS and we have requirement, where i have to call an ABAP Report with selection screen.
    Now my question is where to put the code to execute the report and what is the syntax?
    Any suggestions/documentation would be of a great help.
    Regards,
    Lalith

    Hi Lalith,
    Just pass the Tcode after the webgate followed by ! mark.
    http://hostname:portno/scripts/wgate/<b>ztest!</b>
    Rgds,
    Jothi.P

  • 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

  • Calling CRM ABAP class from SAP Jco

    Hi,
    In CRM,  there is a class interface called CL_CRM_DOCUMENTS with static methods. I need to make call to these methods from my Java application that uses JCo. Is it possible to call ABAP methods from JCo? Any help in this regard will be highly appreciated.
    Thanks,
    Praneeth

    Hello Praneeth,
    CL_CRM_DOCUMENTS problem  -- URGENT!!
    Activity Mgmt - Attachment
    See if this helps.
    regards,
    Muralidhar Prasad.C

  • Call another Message Interface from Java Mapping

    Hi Gurus!!
    I have designed a Java Mapping that does a Socket Connection. Before send the response of the Java Mapping, I have to send information to our SAP System.
    I have see in a blog that I can call a RFC from the Java Mapping, but my doubt is, can I call another Message Interface designed on XI?
    Thanks and regards,
    Manuel Míguez.

    That's tricky, since the proper way of doing it would be through BPM.
    Anyway, if you expose your XI interface as a WebService (Soap sender cc) you could access it through Mapping Lookup (lookup works for RFC, DB and Soap lookups). Check https://help.sap.com/javadocs/NW04S/current/pi/index.html
    But be aware that Mapping Lookup API is not intended for inserts/updates (since it doesn't contain any transacational handling), just mere lookups (selects in tables), so I'm not sure it is the best approach for your case.
    Regards,
    Henrique.

  • Calling an ABAP Report from the Web

    Hello all,
    Is there a way in WAD to have a web link call an ABAP report?  I am trying to provide a link in my web template to allow users to launch the BEx Analyzer.  When I look at transaction RRMX in the GUI, it appears to be calling the ABAP report RRMX_START_EXCEL.  Can I use BSP to accomplish this?
    Thanks in advance for any help you can provide,
    Chris

    OK, here is the code for my BSP page:
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <html>
    <% submit RRMX_START_EXCEL and return. %>
    </html>
    When I attempt to test it, however, I am receiving the following error:
    The following error text was processed in the system BWS : Screen output without connection to user.
    The error occurred on the application server sapbwsci_BWS_35 and in the work process 5 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Module: SEND_TAB of program SAPLGRAP
    Function: GRAPH_RECEIVE of program SAPLGRAP
    Function: REGISTRY_GET of program SAPLGRAP
    Form: PREPARE_LAUNCHER of program SAPLRSAH
    Function: RSAH_LAUNCH_EXCEL of program SAPLRSAH
    Form: START_EXCEL of program RRMX_START_EXCEL
    START-OF-SELECTION of program RRMX_START_EXCEL
    Any ideas??
    Thanks again!!

Maybe you are looking for

  • Adobe Download Assistant, Photoshop Elements 11

    Altho' I've tried many times over the past few days, I've been unable to download Photoshop Elements 11 using the Adobe Download Assistant. I received an email from Adobe inviting me to download Elements 11, with a key to convert the trial version to

  • Jsp 1.2 tags in weblogic 5.1?

    Is there any patch to get JSP 1.2 tags to work in weblogic 5.1? I'm           itching to play with the new standardized tag library under           development thats been released on the Sun site. Unfortunately my           company is using weblogic

  • Hal.dll error error message: here is the solution !

    Thanks to endership for the procedure. For people who were getting the hal.dll missing file error message or for those who are wondering about the right way to install Windows XP SP2 with Bootcamp, here is the steps you have to follow. 1) First, get

  • The decimal place is wrong in GR55

    Dear Expert: We are using currency JPY We now creating a new report using report painter, but unfortunately the decimal place is wrong, the result is only one percentage of the real amount, how can I get this issue solved? notice that we are using re

  • Add-in Excel - query disconnected

    I installed on a virtual PC : - windows server 2003 - Oracle DB 10.1.0.2 - Database patch 10.1.0.4 - Global schema (sample schema for OLAP) and I am using Excel Spreadsheet version 10.1.2.0.36 to connect to OLAP cube. I can connect to the cube and pl