Approval Request via sdk

Dear all,
I create a purchase order via SDK. I created approval templates and assigned to Purchase order documents. But, In SDK, it does not work. It creates purchase order without checking the approval templates.
I am using Sap Business One V 9.0. Is it possible to check and send approval request via SDK?
Regards,
Manikandan

Hi,
Is the issue is resolved.
If yes,please close the thread.
Regards,
Prasad

Similar Messages

  • Travel Request Approval Scenario via Workflow does not trigger

    Hi guys,
    System Information: SAP ECC 6.0 EHP4 / Using WDA-Scenarios on Portal NW 7.01.
    I'm having trouble understanding/implementing the approval scenario of the Travel Request via Workflow/UWL. POWL isn't usable for us as it isn't flexible enough to process the complex agent assignment rules for the respective approver our (momentarily..) requirements 'dictate' ...
    What I did so far:
    I copied the Workflow Template 200000040 to a custom template (since I'll have to alter it) and activated the Event of Creation for BUS2089. Thus, in SWE2, the respective entry for BUS2089 for the event CREATED has been set by the system. All good so far. When I create a TRIP via PR05 (we are public sector), the event for BUS2089 gets fired in SAPMP56T and the Workflow gets triggered; works out well. However, when I post a travel request in Portal (FITE_REQUEST), the workflow is not getting triggered. I searched for information or similar questions on the forum but didn't find anything. Neither did I find a concrete clue in the View Containers FITE_VC_* etc..
    Could anyone assist me with this? I'm sure I'm missing something very basic here.... -_-
    Bottom line:
    Why is my workflow not getting triggered from creating travel requests via FITE_REQUEST?
    Cheers, Lukas

    SWE2 linkage is activated for my Workflow number (I didn't do it by hand, it's set by the system since I activated the event in my workflowtemplate --> this way actually no inconsistencies can happen).
    SWDD Tests are successful and the Workflow is working well in general. That's why I pointed out in my previous post that the process is working fine when initiated via PR05.
    EDIT: Or maybe somebody knows the part in coding FITV_FPM/FITE_VC* where the workflow should be triggered? It's freaking unfindable, I've been debugging for hours. >:-(
    EDIT: Debugged the entire WDA Frmaework for like five hours...feeling dead inside...someone please tell me from where the workflow gets triggered when saving travel request from portal -_-....
    Edited by: Lukas Weigelt on Dec 5, 2011 2:55 PM
    Edited by: Lukas Weigelt on Dec 5, 2011 7:14 PM

  • Can't create a leave request via ptarq

    hi all,
    i can't create neither approve any request via ptarq ?
    anyhelp would be appreciated .

    Dear Merry ,
    I had a similar problem like yours but mine was with some of the users and it was resolved by applying Sap-note 1294238
    also try check my problem desscion maybe it help you Create Leave Request In portal doesn't load  after logging in  hope it helps
    Regards.
    Ahmed Salam.

  • Need input on Approval Process via hand held devices

    Hi All,
    Need inputs on the given scenario. We have implemented Quotation Management (VA21) for our client. The quotation goes through various levels of approval (or decline) via the Workflow below it is finally given to the customer.
    Users usually logs into SAP and approves (or decline) the quotation via the SAP Inbox. We have designed multiple decision process on the work item in the inbox. Alternatively users can also log in to Enterprise portal, which has been designed for them, to act on the quotation. Users are notified in their outlook mail about action that needs to be taken on the quotation.
    Now user wants to have the decision process to be implemeted as such that they can take action (approve/reject) via hand held devices (viz Blackberry). We are using ECC 6 and also have Enterprise Portal EP 7EHP1. Owing to cost constraint, client cannot implement SAP CRM Solution.
    If anyone of you has implemented such methodolgies or have worked on such solutions request you to get back to me with details regards to the timelines and cost and the desired process.
    Regards,
    Jayant

    You could acquire software (e.g. 3i Mobile Workplace or similar) that could handle the decision processing with little effort.
    If you wish to build a solution then the time/cost will depend on the complexity of the task visualization. You can create a Java client or use a simple HTML based web app.
    The decision task can be visualized using a custom BSP or WebDynpro application. Communication with the BlackBerry could be via RIM push or you could just send an email with a link to your approval application.
    The app would need to reserve the workitem and then complete the decision using the appropriate SAP_WAPI* RFC's.
    Bear in mind that all the above assumes you are distributing the approval tasks within your corporate network supported by the BlackBerry Enterprise Server and MDS.
    One of the bigger issues when using web apps is authentication. By default a web app requires the user to log on using their SAP user ID and password. Using a network user ID and password or using silent authentication is possible but requires more effort.

  • Tracking "Draw document wizard" via SDK for Copying details 1form to other

    hi all,
               is it possible in SAP B1 to use copy from button in User defined form via SDK and use the Draw document wizard.
    let me explain.
                  we have two User form , one Request Form and other Completion Form. we have kept a "Copy Form" button in Completion Form, is there any possibility to copy the required data from the one Request Form to the  Completion Form using Draw document wizard.
    which we can see in GRPO in SAP B1.
    kindly revert back with a solution, its very urgent
    regards
    sandip

    Dear Sandip,
    Going by the description here, I could suggest you a way around of keeping the required(from Form Request ) data in a temp storage like variables etc and then to use those variables in the new form (Form Completion).
    Regrads
    Arshdeep

  • Unable to run extended Approve Requests Application from Launchpad

    We are implementing the approve request application for custom workflows and we have set up our eclipse environment and made the necessary changes to run our application locally in the Fiori Sandbox provided as part of the UI5 toolkit. We have extended the application by creating an extension project and fiori extensions in this extension project.
    We are able to run this extended application also in the Sandbox and test it there.
    When we upload the extended application to the ABAP server and change the URL in the Launchpad transaction LPD_CUST to point to the extended application we are getting an error.
    I suspect it is related to how we have set up our component.js file for the extended application  since it is responsible for merging the extended application with the parent one at runtime and displaying the extended application.
    The error I am getting in the console is
    Error - found in negative cache: 'cross/fnd/approve/requests/Component.js' from /sap/bc/ui5_ui5/sap/yca_all_apve/Component.js: TypeError: Cannot call method 'extend' of undefined  core.js:78
    u core.js:78
    error core.js:78
    sap.ui.controller.openApp core.js:663
    sap.ui.core.EventBus.publish core.js:307
    sap.ui.controller.openSomething core.js:663
    f3 core.js:55
    n core.js:55
    o.fireWith core.js:55
    o.fire core.js:55
    (anonymous function) ushell-preload.js:45
    (anonymous function) core.js:439
    n9
    Has anyone run into similar error and found a resolution?
    Regards
    Puneet

    I'm sorry I can't help, but you might be better of posting this in the Reports forum at Reports

  • Error when adding EPA file to transport request via CTS

    I have a rather strange problem.  Sometimes when attempting to add an EPA file to a Transport Request via CTS I get the following error in my logs with a corresponding short dump.  This does not happen all the time.
    #000255D36E8F005B00015391000003DC00046C0470FF1359#1244666238275#com.sap.portal.pcdadmintools#sap.com/irj#com.sap.portal.pcdadmintools#MOROZOWSKIJO#24750##rp1.conair.com_RP1_2406850#MOROZOWSKIJO#28167c7055fe11dea0f1000255d36e8f#SAPEngine_Application_Thread[impl:3]_10##0#0#Error#1#/System/Server#Java### [com.sapportals.portal.pcd.admintools.export.ExportCTSHandling] Could not attach epa file to transport request
    [EXCEPTION]
    {0}#1#com.sap.tc.di.draft.ts.TsExecutionException: Error executing function (check stacktrace for details):CTS_FILE_APPEND_TO_REQUEST, (service=com.sap.tms)
         at java.lang.Throwable.<init>(Throwable.java:216)
         at java.lang.Exception.<init>(Exception.java:59)
         at com.sap.tc.di.draft.ts.TsException.<init>(TsException.java:19)
         at com.sap.tc.di.draft.ts.TsServiceException.<init>(TsServiceException.java:16)
         at com.sap.tc.di.draft.ts.TsExecutionException.<init>(TsExecutionException.java:16)
         at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsJCoExceptions.throwTsServiceException(TmsJCoExceptions.java:74)
         at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsJCoExceptions.throwTsException(TmsJCoExceptions.java:35)
         at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsJCoAdapter.addFileToRequest(TmsJCoAdapter.java:536)
         at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsTransportService.handOverAsStream(TmsTransportService.java:253)
         at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsTransportService.requestUpdate(TmsTransportService.java:202)
         at com.sap.tc.di.draft.ts.impl.TransportRequestImpl.transmit(TransportRequestImpl.java:97)
         at com.sap.tc.di.draft.ts.impl.TransmissionPackageImpl.transmit(TransmissionPackageImpl.java:49)
         at com.sapportals.portal.pcd.admintools.export.ExportCTSHandling.attachFileToPackage(ExportCTSHandling.java:209)
         at com.sapportals.portal.pcd.admintools.export.pages.ExportStatusPage.prepareGenericPageSettings(ExportStatusPage.java:417)
         at com.sapportals.portal.pcd.admintools.export.pages.ExportStatusPage.dispatchPageRequest(ExportStatusPage.java:241)
         at com.sapportals.portal.pcd.admintools.export.ExportMain.doContent(ExportMain.java:89)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:166)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:111)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:200)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:115)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:177)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:200)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:115)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:177)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:438)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:404)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:79)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:332)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:0)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:335)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:963)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:249)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:0)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:92)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:30)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:35)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:103)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: The current application triggered a termination with a short dump.
         at java.lang.Throwable.<init>(Throwable.java:194)
         at java.lang.Exception.<init>(Exception.java:41)
         at java.lang.RuntimeException.<init>(RuntimeException.java:43)
         at com.sap.mw.jco.JCO$Exception.<init>(JCO.java:1117)
         at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:516)
         at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1224)
         at com.sap.mw.jco.JCO$Client.execute(JCO.java:3909)
         at com.sap.mw.jco.JCO$Client.execute(JCO.java:3417)
         at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsJCoAdapter.executeFunction(TmsJCoAdapter.java:112)
         at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsJCoAdapter.executeFunction(TmsJCoAdapter.java:133)
         at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsJCoAdapter.addFileToRequest(TmsJCoAdapter.java:531)
         ... 38 more
    Edited by: Jon Morozowski on Jun 10, 2009 10:57 PM

    Here is the short dump in the ABAP system.
    Short text of error message:
    INTERNAL ERROR UPDATING REQUEST DESC OF RP1K900690
    Long text of error message:
    Technical information about the message:
    Message class....... "PU"
    Number.............. 601
    Variable 1.......... "INTERNAL ERROR UPDATING REQUEST DESC OF"
    Variable 2.......... "RP1K900690"
    Variable 3.......... " "
    Variable 4.......... " "
    I have checked the RFC destination in the J2EE Admin and that works OK.  This has me kind of stumped.

  • Error in RAR while approving request from CUP

    Dear GRC Gurus,
    I am getting error while approving request in CUP for RAR. Checked the related threads for this issue but still not getting any solution.
    Connectors are working fine. Also web service URL is maintained correctly and password for the same is working fine in backend.
    Error message is
    Risk analysis failed: Exception in getting the results from the web service : Service call exception; nested exception is: java.rmi.RemoteException:
    Pl help.
    Regards,
    Muskaan

    Hi ,
    You need to clarify what you are trying to do, type of request, timeout time, moment it fails...
    If you are referring to the RAR SOD web-service call from CUP, the timeout defined may be too short, problems on the web service/backend connectors configuration or performance/resources available. I advise you to see the SAP Notes below.
    Troubleshoot issues with risk analysis, see the SAP Notes 1136379, 1049058, 1145700, 1234807, 1085586, 1061088, 1003239, and 1166368.
    This is the most common issue between CUP and RAR when running the SOD analysis, and some times the only solution is to improve the performance of the server with more memory/processor.
    Regards,
    N

  • How to get details of Pending Approval request in OIM 11g R2?

    Hi,
    We need to find out following details from Pending Approval Request in OIM 11g R2 -
    Request ID,Assignees,Requested Resource Name, Title of Request, Beneficiary, Status of Request.
    Out of above attributes we could find out Assignees, Title of Request, Status of Request, Beneficiary, etc. But we are not getting Request ID and Requested Resource Name.
    We have used API - 'IworkflowServiceClient'
    If we use API - 'RequestService' then we are not getting Assignees and Resource name from Pending approval request.
    Can any one suggeste how can we get these details? Do we need to use other API or other alternative to get all of attributes from Pending Approval Request.
    Thanks.

    Thanks Kevin for your suggestion.
    In OIM 11g R2 I tried task.getIdentificationKey() to get Request ID and task.getSystemMessageAttributes().getTextAttribute6() to get requested resource name but I am getting null values out of it. Is there something I am missing?
    Which common thing I can use to retrieve data from both OIM and SOAINFRA? As I am not getting Request ID from 'IworkflowServiceClient' API so I could not use it to earch request in OIM using 'RequestService'. Even if I have to use query what will be common thing I can use to fetch data from both tablespaces?
    Thanks.

  • GRC AC 10 Show approved requests in work inbox

    Hello,
    Is it possible to show approved requests in work inbox?
    Denis.

    Hi Victor,
    No, there are no such tables which could give the relations between the ARM requests and the corresponding violations.
    You have only one option; like Neeraj suggested, run the reports for this need.
    Regards,
    Ameet

  • ESS leave request workflow : not able to approve request

    Hi experts,
    When i create leave request, work item for approving request is not coming in the approver's bussiness workplace. I am using std workflow WS12300111. Is there any customization needs to be done ??
    please help me
    Pointes will be rewarded
    Regards,
    Sameer

    Hi Samee,
    Did you select General Task in the steps of workflow you have an agent?
    Sónia
    You have a chief position on the Organization Unit where you have the employees?
    Sometimes it's possible to forget this one:
    Transaction SWDD, select the workflow  WS12300111 and press CTRL+F8 (Basic Data)
    there's another button "Agent assignment for task" (SHIFT+F9)
    set task to "General task" with the "Attributes..." Button. (EVERY user can start this task).
    And check this to:
    Using transaction SWFVISU, check the following entries and correct these where required:                                                         
    TS12300097 Java WebDynpro  APPLICATION LeaveRequestApprover                       
                     PACKAGE sap.com/ess~lea                                
    TS12300116 Java WebDynpro                                               
                     APPLICATION LeaveRequest                               
                     PACKAGE sap.com/ess~lea                                
    (check this, because usually you have an error, instead of sap.com you have com.sap)
    Register the work items again. Additional information about registering  work items is available in the UWL documentation.                       
    After re-register the System Alias again in the UWL - THIS IS VERY IMPORTANT
    Edited by: Sonia Santos on Jan 28, 2008 12:49 PM
    Edited by: Sonia Santos on Jan 28, 2008 12:51 PM

  • HT201493 I have received 3 friend requests via email but I cannot accept them.  When I select view request, it just gives me directions on downloading the app and there are no requests in my app.    How do I accept the request?

    I have received 3 friend requests via email but I cannot accept them.  When I select view request, it just gives me directions on downloading the app and there are no requests in my app.    How do I accept the request?

    Which "app" are you talking about?

  • Sending Approval Request to multiple Approvers

    Hi All,
    I'm facing problem in sending Approval request to multiple approvers.I have List of accountid's to which approval Requet has to be sent.I tried giving multiple id's in the "Owner" field of mannual action, which is not working.can any one let me know how to implement this.
    Thanks

    Hi,
    I used multi approval subprocess, this is the code that i have used
    <Action id='0' process='Configuration:Multi Approval'>
    <Argument name='approver'>
    <ref>$(approver)</ref>
    </Argument>
    <Argument name='approvalForm'>
    <ref>New Profile Request</ref>
    </Argument>
    </Action>
    but im unable to get the approval request in the corresponding Administrator approval list.

  • Can We enter Sales Invoice and Incoming Payment VIA SDK

    Dear Experts
    We have to develop an integration bridge with retrieve data from excel sheet and upload in SAP , i want to clear is it possible to enter sales invoices and incoming payment via SDK?. If it is possible please guide me about objects name and any reading material for SDK development.
    Thanks

    Hello,
    Yes it is possible with 2 steps:
    1. you post the invoice
    2. you post the payment
    I have already posted into the forum several examples, you may check them:
    For invoice + payment
    for payment only:
    Regards
    János

  • Where Clause - Modification via SDK

    Good morning,
    We are currently experiencing quite a large performance impact as our record selection formulas, and parameters are not hitting our database (in where clause) and therefore a large amount of data is being pulled back and then filtered out at the report level. Was hoping someone might be able to provide some information on how we could either dynamically append to the where clause via sdk, or devise optional workaround to make sure our selected parameters are passed to the db.
    Environment
    Solaris, with custom User Interface that passes information to crystal reports via SDK. Crystal Reports (2008) with Universe as datasource.
    Thanks,
    Ian S

    Good morning,
    We are currently experiencing quite a large performance impact as our record selection formulas, and parameters are not hitting our database (in where clause) and therefore a large amount of data is being pulled back and then filtered out at the report level. Was hoping someone might be able to provide some information on how we could either dynamically append to the where clause via sdk, or devise optional workaround to make sure our selected parameters are passed to the db.
    Environment
    Solaris, with custom User Interface that passes information to crystal reports via SDK. Crystal Reports (2008) with Universe as datasource.
    Thanks,
    Ian S

Maybe you are looking for

  • 2nd gen nano no longer appears in itunes

    My 2nd gen nano does not appear in iTunes. I have windows 7. was ok until last update. device icon does not even appear. nano plays through earbuds but wont appear anywhere.

  • Create a Crystal report to display the sum of G/L account code within a specific period

    Hi, Just wonder is it possible to create a crystal report to display the total of a G/L account code within a specific period? How to write the query to get the sum within a specific period? For example: Period: 2014-06-01-2014-06-10 Account code A:

  • Issue with data dictionary -Table maintanance generator

    Hi all, I have an issue with Data dictionary, table maintenance generator. I have entered some records in a custom table (ZBCSECROLETOGRP) and changed the delivery class from C to A. When I create the table maintainance generator, I am encountered wi

  • PO closed but Invoice created!

    Hi all, We are on SRM 5.0 ECS. There are some case where the PO s are closed through the "No further Invoice" checkbox checked but the Finance Team is still able to create an Invoice? Please let me know is the above action possible /normal?If a PO is

  • "No camera attched" error..using iSight in iMovie HD

    I am using: iMac G5 2GHz OSX 10.4.2 iMovie HD 5.0.2 I have all software updates downloaded. I have all programs closed except iMovie. I only have the iSight (firewire port) and a Mighty Mouse (USB port) plugged in. Keyboard is bluetooth. When I run i