How to call a sap transaction in Internet Service

Hi,
I have a requirement to call a sap transaction code in the Internet Service. By donig this, the SAP transaction will be called in the web browser via ITS.
Internet Service has HTML Templates - inside html templates I want to call the sap transaction based on a button event.
Below is the transaction code. When I enter below link in the browser then it works fine. The same I need to call progrmatically in html template on some event.
http://xxxxxxxxxxx/sap/bc/gui/sap/its/webgui?~transaction=me23n
Thanks,

Hello Sal.
This does not look like an ABAP issue, but rather JavaScript, JQuery or whatever you are using to handle the button-click-event in your "Internet Service" web application.
You might try window.open("http://xxx...me23n","_self").
Best regards,
Frank.

Similar Messages

  • How to call a custom transaction in retailstore which runs in same session?

    Hey guys,
    hope you can give me some hints. OK, i have a resultlist and it should be possible to call a SAPGui transaction via webgui service. This works fine but the link which i created has no info about the current session ID. I build an URL with the function modul ITS_GET_URL and concatenate it with the neccessary transaction code and parameter. Then i call this URL by function ITS_BROWSER_WINDOW_OPEN. A new browser window is opened with the right transaction in webgui. But if i hit the button back, i get the message, i was succesfully logged off. This wasn't the result which i want.
    What i want is to call the transaction via webgui and this transaction should run in same window and in same session. Any idea how to do that?
    I know i need to build an URL with a valid session ID for the transaction, but how can i do that?
       thx,
          Wei-Ming

    Hello Sal.
    This does not look like an ABAP issue, but rather JavaScript, JQuery or whatever you are using to handle the button-click-event in your "Internet Service" web application.
    You might try window.open("http://xxx...me23n","_self").
    Best regards,
    Frank.

  • Can we call an SAP transaction in Webdynpro

    Hi,
    I have a requirement to call an SAP transaction in Webdynpro, ie on clicking a button in a view, the particular SAP transaction has to come . Kindly tell me how to do it.
    Regards,
    Lakshmi

    Lakshmi,
    You cannot call a transaction from WDA
    check these threads
    https://forums.sdn.sap.com/click.jspa?searchID=19319106&messageID=6146192
    https://forums.sdn.sap.com/click.jspa?searchID=19319106&messageID=6476084
    Thanks
    Bala Duvvuri

  • Calling a SAP Transactional iview into a WebDynpro

    Hi,
       Can we call a sap Transactional URL through a webdynpro Application?
          I need to call a SAP Transaction using a webdynpro Link.Is it possible by creating a SAP Transactional Url and then calling this Transactional URL Through a link of WebDynPro.If so how?
    Regards,
    Raja Akella.

    Raja,
    In one of the client we needed to create a lot of iviews pointing to SAP transactions and then put them in Detailed Navigation. Sort of like user menus in SAPGUI. I ended up creating mass content for this. There is a <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/964">weblog</a> you can refer or better the <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/aaa54576-0501-0010-2a91-d4aeb886bc27">howto</a> guide.
    - Pankaj
    - Pankaj

  • How to call standard SAP method in the Custom Program ?

    Hi,
    i need to call sap standard method 'OpenItemRollinout' in my custom program. For the SAP Standard method 'OpenItemRollinoun' the BOR(Business Object) is 'PAYSCHEME'. So how to call the SAP standard method in the custom program ???

    Hi,
    In the method that you have provided only one function module is being used so better use the FM and copy the remaining code based on ur requirement.
    FM is ISU_S_PAYSCHEME_ROLLIN_ROLLOUT.
    Regards,
    Vijay.

  • Call standard SAP transaction in BSP

    Hi guys,
    I am working in WAS 6.20.
    We have separate server for WAS and records fetched from R/3 server.
    Now the requirement is i have to call a standard SAP transaction and the output of the standard transaction should be displayed in the BSP output.
    Is it possible to call a SAP standard transaction in WAS 6.20.
    Is it possible to display the same output in the BSP screen.
    Above to all, displayed output should be refreshed automatically for every 20 minutes.
    I come with lot of doubts, expecting your reply.
    Hopefully waiting for yours reply.
    Saravanan. V

    Hi,
    Pls check threads like
    calling STD SAP transaction in BSP
    Calling R/3 Transaction from BSP
    Calling standard R/3 transaction from BSP
    Calling an SAP transaction from a BSP page
    Calling ITS transaction from BSP
    Can we call standard transaction from bsp
    Eddy
    Pimp up the S(D)N site and earn points. Check this <a href="/people/eddy.declercq/blog/2007/02/01/pimp-up-the-jam log</a> for details

  • Calling an SAP Transaction in cProjects Object Links

    Hi all,
    Can anyone help with the steps to be done in order to call an SAP Transaction in cProjects via services to Object Links. We succeeded to get the object links from R/3, but we are not able yet to see the 'open' link under 'Application' in the Object Link Tab. I read some documentation, it seems that an ITS server is required... Has anyone succeeded to do the right setting?
    Thank you,
    Lacramioara

    Hi Lacramioara,
    You have to enter the ITS Web server name in the Web Server field (IMG activity “Make Settings for Calling an SAP Transaction"). The server is required if you want to call a Web application for processing a linked object.
    Regards
    Deepak

  • Urgent!!  How to call a custom transaction or an ABAP program in BSP?

    Urgent!!  How to call a custom transaction or an ABAP program in BSP?
    We are pretty new on BSP.  Would be very appreciated if any expert here give us the detailed steps on how to build up the application to just call a custom transaction (e.g., t-code: ztest) or an ABAP program.  Would we have to create a button or event handler to do that?  And the detailed steps?
    Thanks in advance and we will definately give you reward points!

    hi Durairaj,
    During the time to wait for your answer, we copied Bernd's code from your last link, but when activating it, get the 1st error msg:
    Field "CLIENT" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. "DATA" statement."DATA" statement. The error shows up here:
    <td>
    <htmlb:inputField id = "client"
    value = "<%= client %>" />
    </td>
    Then we added Client to the page attribute and define it as type String, then get another error:
    The field "EVENT" is unknown, but there is a field with the similar name "EVENT_ID"."EVENT_ID". This error shows up at the beginning in the Event Handler:
    OnInputProcessing:
    code
    • event handler for checking and processing user input and
    • for defining navigation
    • event handler for data retrieval
    event = cl_htmlb_manager=>get_event( runtime->server->request ).
    IF event->name = 'button' AND event->event_type = 'click'.
    button_event ?= event.
    How to resolve this unknown Event error, need to define in Page Attribute tab? but with what type?
    Actually we only want to run an ABAP4 program in BSP, the code is complicated, could you show us an easy way of doing this in BSP?

  • Cprojects - calling a SAP transaction

    Hi
    I am trying to call a sap transaction QA03 to display inspection lot. I need to do Customizing for Collaboration Projects under Connection to External Systems &#8594; Object Links in SAP Systems &#8594; Make Settings for Calling an SAP Transaction
    I need help to define the following service parameters to call QA03 as per SAP documentation,
    1. Screen field:
    2. ~TRANSACTION:
    3. ~OKCODE:
    Thanks
    Senthil

    Hi Senthil,
    Transaction code: is the transaction code of the transaction that you have to call
    OK code: OK code of transaction
    eg: if you have an object link with PS project definition and want to open that project definition in webGUI in display mode, use following settings in Make Settings for Calling an SAP Transaction:
    Service for an SAP Transaction: 0CJ08 Display Project Definition
    Paramters for a Service:
    *PROJ-PSPID = PSPID
    ~OKCODE = MDTB
    ~TRANSACTION = CJ08
    Regards,
    Reema.

  • Link to URL should call a SAP transaction through URL with params

    Hi All,
    I have a requirement where I need to open a SAP Transaction MM03 on click of a link in a webdynpro application.
    I feel that I can call it using a URL but not sure of how the URL should look like.
    If I can pass the Params with the OKCodes etc this should work.
    Could you please let me know how to do that.
    Just to be clear the transaction should open as a new window and its not in portal So i cant use Portal Navigation(relative or absolute).
    Please do suggest me how to do this.
    Thanks & Regards,
    Sirisha.RS

    Hi Srisha,
    What i can suggest  you is to create a SAP Transaction iView and attach it to role where user can access and make the iview  invisible in navigation. In Webdynpro code  access the transaction by following way :
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/......<SAP Tran iView Path>",WDPortalNavigationMode.SHOW_EXTERNAL,
                   (String) null,
                   (String) null,
         WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                   (String) null,
                   (String) null,
                   <parameters to be passed to transaction> ); 
    Hope it helps !!!
    Good Luck,
    Vasu

  • Service to call a SAP Transaction from cProjects

    Hi,
       After accounting Integartion, I wanted to call some transaction already in "Service for an SAP Transaction" node.
    There I need to define the Parameters and Services to make it available thru Portal.
    But seems I'm not able to provide the exact Parameters for the service.
    Also, When I enter the Parameters for the WEB server of an SAP Transaction, for Alias WEB Server, its throwing an error to check entry in OLR3_URL_SRV.
    Many Thanks,
    Jyoti Shankar

    Hi Vivek,
                 I've checked the URL. The SAP Transactions can be called online thru SICF WEBGUI Test. But from Portal, when I'm doing the same, the URL gets changed and system generates the string "scripts/wgate/webgui/!?" in the start URL.
    The reason stated is Web Server Address does not contain the Service "WEBGUI".
    How can I resolve the same ? Please advise.
    Thanks,
    Jyoti

  • Calling an SAP transaction from a BSP page

    Hi, I have created some BSP pages that are rendered inside SAPGUI screens using a HTML control object. When looking at a CRM system I came across the Business Partner Cockpit (CRMD_ORDER_BP) which displays activities for a business partner using a BSP implemented by CL_CRM_CCKPT_CFS_SERVICE_HTTP.
    The interesting thing about this BSP, is that you can click on the transaction number in the BSP and it launches the appropriate SAPGUI transaction to display the details of this activity.
    Looking at the HTML source, the link is defined like this: -
    <a href="SAPEVENT:OBJTYPE=BUS2000115&OBJKEY=CDAEBBF5BD903E4390DA7984D3054A65">0920000086</a>
    In the above example this activity is a sales order.
    Can anyone help me understand how this works, and how I can use it to navigate to SAP transactions using links in my BSP pages that are placed in SAPGUI HTML controls?
    Thanks
    Graham

    Hi Graham!
    I have a similar problem in transaction CIC0 and the Sales summary tab in CRM.
    I have created a new class and assigned it to a new fact sheet. One column in this fact sheet should be a hyperlink defined in the way that you have described.
    When using method get_event_parameter I are not getting any data for the SAPEVENT parameters - I don't get the value, only the keys:
    <a href="SAPEVENT:?OBJTYPE&OBJKEY>
    How should I procced to assign an object type and object key to this SAPEVENT???
    Would also be very nice if anyone could explain how to "call transaction" works.
    Help understanding this would be very appreciated.
    BR
    Mattias

  • Call std sap transaction mm03 from bsp

    Hi
    please can any body tell me.
    How do i call a std sap transaction mm03 in bsp application.
    is it possible to use call transaction statement directly or any other way.

    Hi sushilnath,
    Please try this blog : <a href="/people/thomas.jung3/blog/2005/11/04/bsp-150-a-developer146s-journal-part-xvii--recreating-a-standard-transaction">BSP – a Developer’s Journal: Part XVII - Recreating a Standard Transaction</a> by Thomas...
    This might help you....
    Hope this helps.
    <i><b>Do reward each useful answer..!</b></i>
    Thanks,
    Tatvagna.

  • How to call a SAP service from adobe flex

    Hi experts,
    I need to call a webservice create from SAP BAPI  my URL is: http://xxxxxxxxx:8000/sap/bc/srt/wsdl/bndg_DD90E166ACE1B1F18AD8001B789FF0AD/wsdl11/allinone/ws_policy/document?sap-client=200, with this URL I can test the webservice from WsNavigator.
    The operation is ZimrfcVerifOtUbica and the input structure is:
    ZimrfcVerifOtUbica
    > PiNumeroAlmacen (input parameter)
    > PiOTransporte (input parameter)
    The output structure is:
    ZimrfcVerifOtUbicaResponse
    >PoMessage (output parameter)
    I've created a view with two inputfield (one to PiNumeroAlmacen, one to PiOTransporte), one button and one label (to put the result value).
    but I don't know how to call the WS, I tried with this code:
    <mx:WebService id="ZCCONVERTERService"
         wsdl="http://xxxxxxxxx:8000/sap/bc/srt/wsdl/bndg_DD90E166ACE1B1F18AD8001B789FF0AD/wsdl11/allinone/ws_policy/document?sap-client=200;" useProxy="false" >
              <mx:operation name="ZimrfcVerifOtUbica" resultFormat="e4x">
                   <mx:request >
                        <PiNumeroAlmacen>AGR</PiNumeroAlmacen>
                        <PiOTransporte>01000</PiOTransporte>
                   </mx:request>
              </mx:operation >
         </mx:WebService>
    and I get this error: [RPC Fault faultString="Could not load WSDL" faultCode="Server.NoServicesInWSDL" faultDetail="No <wsdl:service> elements found in WSDL at ."].
    I tried with actionscript and runtime library but I get this error: java.lang.Exception: Unsupported element in WSDL file: UnknownExtensibilityElement
    I tried put in Data--> Import Web Service and I put the URL and I get Unable to load the WSDL.  Specify another URI.
    Other thing is for this webservice I've created a logic destination, and this webservice is used in a webdynpro aplication and works correctly. But now I need to use the same webservice in flex.
    Could you help me to call to this webservice?
    Thanks in advance.
    Jose

    I have could do it, but now I'm trying to do the same with a SAP standard service.
    Any idea?
    Regards,
    Jose

  • Calling Standaard SAP transaction in a split screen

    Hello,
    Can someone please help me with following problem?
    I want to create a screen like in program  DEMO_ABAP_OBJECTS_SPLIT_SCREEN but instead of an ALV when selecting a flight I want to call a standard SAP transaction like VA01 ... etc. ( The same as SE80 but with SAP transactions )
    I want to see the SAP transaction where you can see the alv in the demo program.
    Thank you very much for your help.

    Hi,
    look report DD_ADD_FORM_INPUT
    and this german link:
    http://www.apentia-forum.de/viewtopic.php?t=3741&highlight=se80+dynpro
    pls reward useful answers
    A.

Maybe you are looking for

  • Backing up Mac HD with Time Capsule AND an external hard drive

    I am sure that this question has been asked one way or another but I can't seem to find the exact answer. I would like to back up my Mac HD with the Time Capsule AND another hard drive essentially to create two backups. Should one fail, I still have

  • Acrobat 9 pro, Mac OS X 10.10.3, Inatlationsfehler

    Nach der NEU Installation von Yosemite 10.10.3 läuft die Installation von Acrobat 9 pro nur, wenn man das ADOBE PDF Viewer Safari-Plug-In nicht aktiviert (sonst bleibt die Installation stehen). Beim Update der Version 9.3.2 auf 9.5.5 erscheint ein Fe

  • How can i detect the number of scanner and printer intalled in my pc ????

    I need a java which can found the number of scanner and printer are installed in my pc and there details. Any body hay help me!!!!!!!!!!!!!

  • Reading text files without specifying the encoding?

    I have looked everywhere for a solution, but I can't find one. The problem is that I'm using codes that everybody is using, but for some reason, my codes aren't working. I want to be able to open up text files in Java without having to specify the en

  • Good receipt against multiple storage location

    Hello All, I have a senereo where more than one project is going on. In my case there are 200 common materials which are required for all the project. Every project is having their own storage locations. I am creating PO for material containing the c