JCO Call - Executing SAP Transaction

I'm trying to execute one transaction - providing the necessary input i.e. Creating a Service Entry sheet.
However, the return message indicated that it is erroneous - throwing the message "Service specifications in wrong structure".
Does this imply that the import parameters (tables etc) are somewhat wrongly input?
Anyone encountered this before?

Hi
calling BAPI_ENTRYSHEET_CREATE.
passing in
Importparameter = ENTRYSHEETHEADER
TABLES = ENTRYSHEETACCOUNTASSIGNMENT, ENTRYSHEETSERVICES, ENTRYSHEETSRVACCASSVALUES.
When I commented out ENTRYSHEETSERVICES and ENTRYSHEETSRVACCASSVALUES, I can create the service entry sheet. So I am suspecting it's either these 2 tables that are giving me the problem. Yet to know what - we wont need to populate most values in those 2 tables no?
Thanks

Similar Messages

  • JCO Call - Executing SAP Transactions

    I'm trying to execute one transaction - providing the necessary input i.e. Creating a Service Entry sheet.
    However, the return message indicated that it is erroneous - throwing the message "Service specifications in wrong structure".
    Does this imply that the import parameters (tables etc) are somewhat wrongly input?
    Anyone encountered this before?

    Hi
    calling BAPI_ENTRYSHEET_CREATE.
    passing in
    Importparameter = ENTRYSHEETHEADER
    TABLES = ENTRYSHEETACCOUNTASSIGNMENT, ENTRYSHEETSERVICES, ENTRYSHEETSRVACCASSVALUES.
    When I commented out ENTRYSHEETSERVICES and ENTRYSHEETSRVACCASSVALUES, I can create the service entry sheet. So I am suspecting it's either these 2 tables that are giving me the problem. Yet to know what - we wont need to populate most values in those 2 tables no?
    Thanks

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

  • 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

  • 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

  • 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

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

  • JCO.Client.execute() in transactional mode (asynchronously) crashed

    Trying to call JCO.Client.execute("STFC_CONNECTION", input, output, tid) on fresh new SAP NetWeaver Developer Studio installation I receive the following:
    An unexpected error has been detected by HotSpot Virtual Machine:
    EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x10008e7b, pid=3392, tid=3416
    Java VM: Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode, sharing)
    Problematic frame:
    C [sapjcorfc.dll+0x8e7b]
    An error report file with more information is saved as hs_err_pid3392.log
    If you would like to submit a bug report, please visit:
    http://java.sun.com/webapps/bugreport/crash.jsp
    JCO [JNI-LAYER] cannot load backtrace library [jcobtrace.dll]
    Just mentioned that declaration has 'tables' parameters, not output.
    public void execute(java.lang.String name,
                        JCO.ParameterList input,
                        JCO.ParameterList tables,
                        java.lang.String tid)
    Should this work at all, is the problem caused by Java 1.5, or <your suggestions here...>?

    Hi,
    I recommend at least to use the latest available JCo patch level which was JCo 2.1.10.
    Besides, JCo 2.1 was never officially supported by SAP for any JVM higher than version 1.4 - and you are using version 1.7. Meanwhile JCo 2.1 is completely out of SAP support.
    I suggest to start with migrating your application and use JCo 3.0 instead.
    Best regards,
    Stefan

  • 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

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

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

  • Execute SAP transaction from Outlook

    Hi,
    I want to know whether it is possible to open SAP transaction from out look or not. My scenario is when work item triggers from WF to Outlook, which carry a link to open SAP transaction directly from outlook. If it is possibli plz explain me in detail, what are the steps involved, if not what are the alternative solutions. We are working ECC5.0

    Hi Shambu,
    First, please remove your e-mail from your post as this is not according to forum guidelines.
    It is possible to send a link to a transaction to outlook. It is similar to the executable attachments the extended notification and RSWUWFML2 create. You could check how they do it and reverse engineer for the transaction. But all the users need a SAPGui locally installed. This maybe a problem as the MAPI is used.
    FYI the MAPI is no longer supported by SAP, it is not supported since release 4.7 I think. It has been replaced by RSWUWFML(2) which is being replaced by the extended notifications. I think there has been an article about it recently here on SDN.
    Regards,
    Martin

Maybe you are looking for

  • Songs not in correct folder--how do I get them there???

    Hello all, I saved, for gods know why,all my songs to a music folder I created.I recently discovered that when you import a cd it automatically saves it to "itunes folder" in "my music" with a subfolder created for the artist eg AC/DC and then anothe

  • Monitor the end of a deployment of a bundle via NalWin

    Hi, For automation purposes, I need to know when the deployment of a package is finished. This is the command I use in a batch script/cmd : Code: start "Nalwin" "C:\Program files\novell\zenworks\nalwin.exe" : /A=MyApplicationJob.App.XP.Install.Nal.Ze

  • My terrible experience of joining BT

    I thought I would share with the forum my terrible experience of joining BT.  Below is a copy of the email I have sent Warren Buckley, Managing Director of BT Customer Service.  What was your experience of joing like?  Better than mine I hope. Dear W

  • This file can't be opened because it has been deleted

    When I tried to save an Appleworks 6 document by clicking SAVE (drop down menu) and then inputting a file name and then clicking SAVE I get the following message. "This file can't be opened because it has been deleted." This problem started yesterday

  • Can I save the order in which I have my apps set up?

    I moved apps around the screen so the ones I use most are together and the ones I don't use at all are in a new folder I don't have to look at. Is there a way to "save" this ordering in case something goes wrong? (Other than backup and restore, which