Approvals for Service Document

Experts,
I am trying to write a query to use in an Approval Template, that will activate when the user enters an AP Invoice with a document type of Service.
Thanks,
Peter

Gordon,
Thanks for the quick response.  Unfortunately, this query is still not working for me. 
- Approval Procedures box is checked
- I'm entering the service AP Invoices logged in as the Originator on the Approval Template 
-AP Invoice is selected on the Documents tab
- One Stage is set up
- On the Terms Tab, Undefined Type is checked by default, and the query is selected in the Query Name section
- The document Adds as normal, and there is nothing in the Approval Status Report
Peter

Similar Messages

  • Tax Calculation for Service Process at service entry level

    Hi all ,
    We have Service process where the tax calculation is Purchase Item level and the Tax calcaulation is happening from there .
    and also during MIRO .
    system is not able to determine the tax calculation at service entry level , how can we achieve this ?
    can some help me on this .
    thanks ,
    ksr

    Hi,
    please check additionally the following OSS notes:
    495316     Taxes with services
    See consulting Note 498878 for information about the functioning of    
    taxes for service documents.                                           
    For service orders, you can set in Customizing (Transaction ML100 or the          
    following path: -> Materials Management -> External Services Management           
    -> Taxes at Individual Service Level) whether the taxes are calculated            
    at individual service level or at item level.    
    If you set the 'Taxes at individual service level' indicator for a     
    country, you can maintain tax data (tax indicator MWSKZ and tax        
    jurisdiction code TXJCD) in a purchase order at service level AND at   
    item level in Customizing.                                             
    The tax calculation only occurs at service level.    
    Regards,
    Edit

  • Error in installing creditionals for Adobe Document Services

    Hi All,
    I have installed SAPNW2004sJavaSP9_Trial on my local machine and when I try to register the Register the password for credential by following the steps below I face a problem in step 4. The error is a pop up as enclosed.
    <b>An error occured while indexing the credential files:
    com.adobe.service.sap.ConfigurationException:An error occured while indexing the credential files</b>
    1.Log on to the Visual Administrator (C:\usr\sap\J2E\JC00\j2ee\admin\go.bat)
    2. On the Cluster tab, choose Server 0 -> Services -> Document Services Configuration
    3. On the Runtime tab, select Credentials
    4. Choose Browse to search for the name of the credential and then Select
    5. In the Alias field, enter the alias of the credential you installed, for example ReaderRights. (Entries for the name of the credential are case-sensitive)
    6. In Password field, enter the password you received together with the credential you installed (filename.txt in <zip_extract_folder>\SAPNetWeaver04SneakPreviewJavaSP11\ADSCredentialFiles). Confirm the password again and then click Add
    &#56256;&#56451; Restart the following services for the changes to take effect: PDF Manipulation Module, Document Services Trust Manager
    7. Restart also the application com.adobe/AdobeDocumentServices
    I followed the steps given the following posts
    Latest NW Sneakpreview SP16 and Adobe Interactive Forms
    TrustServices Credentials problem
    Adobe Document Services: How to upgrade from ADS SP 9 to ADS SP 15
    But, it still does not resolve my problem. I also upgraded the version to SP16 and yet it does not resolve the problem. Can someone tell me what could be wrong?
    Thanks for all your help in advance.
    Regards,
    Divya

    Hi,
    All the form-related services have to be started first: the IIOP on dispatcher and server, all the Document Services *, PDF manupulation and XML form module.
    Then you should be able to register your credential.
    Francois

  • Delivery Document for Services

    Hello Experts,
    I have a scenario which I am looking for an SAP solution. My client provides consultancy services and bills customers for it. At the beginning of the contract, customer gives a letter of intent (LOI) which authorised commencement of work. After work is completed, the customers signs a job completion form/service entry sheet, which is the basis on which the client can invoice the customer for the hours/days spent. Thinking along OTC, it looks to me that the  LOI could represent a sales order, but I am looking for a document to represent the job completion form/service entry sheet. Can we have a delivery document for services? Is there any other document that can perform the same function as delivery in this scenario? I think there has to be another document after the sales order that will represent the actual hours/days spent on the job which the invoice can reference in billing the client.
    Thanks for your prompt help.
    Luqman

    Its part of Customer Service. And widely know as After Market.
    Is very much integrated with SD as well as PS.
    DP90 csan be used by PS & SD both.
    Whereas, if your refer DP90, its purely based on Sales Document.
    Refer following SAP Help link for reference/understanding:
    - [ Resource-Related Billing |http://help.sap.com/saphelp_dimp50/helpdata/en/59/54fc37004d0a1ee10000009b38f8cf/content.htm|also CS billing process]
    Also refer, SAP Note 301117 - Enhanced documentation for dynamic item processor (DIP).
    As DIP profile(TCode ODP1) is the critical part of RRB configuration.
    Regards
    JP

  • Java startup property for Adobe document services

    Hi guyz, since a while i'm facing a random issue when i generate pdf. All the configuration has been done, but when look at in configtool i see a missing parameter:
    -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine. services.ts.jts.ots.PortableInterceptor.JTSInitializer
    Because it's in the recommendation parameter guide i guess it should be in, but someone can tell what those parameter deals about ?

    Hi,
    Yes, this service is mandatory if you want to use Adobe document service. It should be set for all server nodes in the config tool.  This is Java startup property for Adobe document services. Without this parameter adobe service will not start as a result you will not be able to open adobe documents.
    Thanks
    Sunny

  • Problem with 'install credential for Adobe Document Services'

    Hi Folks,
      I am trying to install credential for Adobe Document Services but I have got problem with some facts that are explained in tutorial how to install credential.
      1. I do not have directory persistentcom.adobe~Trust.. under my directory server0
      2. where to find 'filename.pfx'?
      3. I do not have Document Services Configuration in my visual Administration tool
      The tutorial that I am trying to do is located on <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/installing%20adobe%20document%20services%20credentials.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/installing%20adobe%20document%20services%20credentials.pdf</a>
      So if someone can help me how to overcome this problem I would be very thankful.
       Kind Regards to all.
    Aleksandar

    Hi Sharadha,
    You could go to SAP Software Distribution Center with in SAP Market place . You could search for adobe ther in S/W search . It will list all the available Aobe designer. Latest version is ADOBE LIVECYCLE DESIGNER 7.1   .
    regards

  • Issue Installing credential for Adobe Document Services on 2004s Java Trial

    Hi there
    I'm having a problem after the following the steps below to Install the credential for Adobe Document Services on SAP NetWeaver 2004s Java Trial Version SP9:
    <b>Steps Followed:</b>
    In order to work with Adobe Document Services you need to install a valid credential. A preliminary credential is available at sdn.
    To install a credential perform following steps:
    Extract the archive
    Copy the file filename.pfx to the directory <INST_DRIVE>:\usr\sap\J2E\SYS\global\AdobeDocumentServices\TrustManagerService\trust\credentials
    Register the password for credential as described below:
    Log on to the Visual Administrator (<INST_DRIVE>:\usr\sap\J2E\JC00\j2ee\admin\go.bat)
    On the Cluster tab, choose Server 0 -> Services -> Document Services Configuration
    <b>Error Received:</b>
    I'm getting an "error while loading service document services configuration" error in the Visual Administrator tool, the Properties Tab is blank and I don't have a Runtime tab to select the credentials?? and therefore can't install the credentials that I've downloaded.
    Any ideas would be appreciated.
    Thanks

    Hi Sharadha,
    You could go to SAP Software Distribution Center with in SAP Market place . You could search for adobe ther in S/W search . It will list all the available Aobe designer. Latest version is ADOBE LIVECYCLE DESIGNER 7.1   .
    regards

  • How to call workflow approve service in loop for multiple documents.

    i have created a serviceHandler for approving the document and i post the comma separated dIDs as a string from workflow approval template(custom template). And in serviceHandler program i pass the did for approving and only first document is approved and for other document its throwing error, Its showing error document revision is not a latest revision but document is having only one revision.
    my code is: can anyone help me.
    public void SendAllDocuments()
            throws DataException, ServiceException{
        try{
        String [] ContentDids;
        System.out.println("+++++++here we are the all SendAllDocuments++++++++++++++");
        String workflowIds = m_binder.getLocal("workflowIds");
        if(!workflowIds.isEmpty()){
             ContentDids = workflowIds.split("\\,");
        }else{
            throw new ServiceException("document are not selected from users, workflowIds"+workflowIds);
        int arrayLength = ContentDids.length;
        for(int iterator=0;iterator<=arrayLength-1;iterator++){
            SendDocumentToUserQueue(ContentDids[iterator]);
        }}catch(Exception e){ e.printStackTrace();}
        m_workspace.releaseConnection();
    //DocMeta table varible which are coming from Internal assignment page
    //xWF_SentFrom",xWorkflowStepAlias",xWF_SendTo",xPurposeForSubmission",xPurposeForRejection",xDocApproval",xWorkflowComments"
    //xInternalAssignment",togroup",xWF_SendToSend",xWF_SendToSend12",xPurposeForSubmissionSend",xWF_SendToApprove",wfSendApproveComments"
    //Revision table variable which can get from getRevisionsTableValueFromDid
    // dDocName", dDocType",dRevLabel",dSecurityGroup",dDocAccount"
    public void SendDocumentToUserQueue(String approvalId) throws DataException, ServiceException{
        try{
            DataResultSet resultset =getRevisionsTableValueFromDid(approvalId);
            String sendToName = m_binder.getLocal("sendToName");
            String sender="takuma";
        //String workflowComments = m_binder.getLocal("workflowComments");
        String workflowReason = m_binder.getLocal("workflowReason");
        m_binder.putLocal("IdcService", "WORKFLOW_Approve");
        m_binder.putLocal("idcToken", m_binder.getLocal("idcToken"));
        m_binder.putLocal("dID", approvalId);
        m_binder.putLocal("xWF_SendTo", sendToName);
        m_binder.putLocal("xPurposeForSubmission","108");
        m_binder.putLocal("xWF_SentFrom", sender);
        m_binder.putLocal("xWorkflowStepAlias", "");
        m_binder.putLocal("xPurposeForRejection", "");
        m_binder.putLocal("xDocApproval", "");
        m_binder.putLocal("xWorkflowComments", "");
        m_binder.putLocal("xInternalAssignment", "");
        m_binder.putLocal("xWF_SendToSend", "");
        m_binder.putLocal("dDocName", getData(resultset,"dDocName"));
        m_binder.putLocal("dDocType", getData(resultset,"dDocType"));
        m_binder.putLocal("dRevLabel", getData(resultset,"dRevLabel"));
        m_binder.putLocal("dSecurityGroup", getData(resultset,"dSecurityGroup"));
        m_binder.putLocal("dDocAccount", getData(resultset,"dDocAccount"));
        executeService(m_binder, sender);
    }catch(Exception e){ e.printStackTrace();}
    public DataResultSet getRevisionsTableValueFromDid(String documentId) throws DataException, ServiceException{
        DataResultSet drs = new DataResultSet();
        try{
            /*String sqlDocType="select dDocType from revisions where dId ='"+documentId+"'";
        ResultSet documentRset = getSystemWorkspace().createResultSetSQL(sqlDocType);
        //handle null pointer exception for DocumentValue
        String DocumentValue = ResultSetUtils.getValue(documentRset, "dDocType");*/
        String sql="select dDocName,dDocType,dRevLabel,dSecurityGroup,dDocAccount from Revisions where dId ='"+documentId+"'";
        ResultSet rset = getSystemWorkspace().createResultSetSQL(sql);
        if (rset == null || rset.isEmpty()) {
            SystemUtils
                    .info("Resultset is null please check database query and Did ="+documentId);
        drs.copy(rset);
        catch(Exception e){
            System.out.println("in catch of getRevisionId Method");
            e.printStackTrace();}
        //handle null pointer exception for DocumentValue       
        return drs;       
    public String getData(DataResultSet dataSet, String value) {
        String fieldValue = "";
        fieldValue = ResultSetUtils.getValue(dataSet, value);
        System.out.println(fieldValue+"value is null in getData Method=======");
        return fieldValue;
    public UserData getFullUserData(String userName, ExecutionContext cxt,
            Workspace ws) throws DataException, ServiceException {
        if (ws == null)
            ws = getSystemWorkspace();
        UserData userData = UserStorage.retrieveUserDatabaseProfileDataFull(
                userName, ws, null, cxt, true, true);
        //ws.releaseConnection();
        return userData;
    public Workspace getSystemWorkspace() {
        Workspace workspace = null;
        Provider wsProvider = Providers.getProvider("SystemDatabase");
        if (wsProvider != null)
            workspace = (Workspace) wsProvider.getProvider();
        return workspace;
    public void executeService(DataBinder binder, String userName)
            throws DataException, ServiceException {
        // obtain a connection to the database
        Workspace workspace = getSystemWorkspace();
        // check for an IdcService value
        String cmd = binder.getLocal("IdcService");
        if (cmd == null)
            throw new DataException("!csIdcServiceMissing");
        // obtain the service definition
        ServiceData serviceData = ServiceManager.getFullService(cmd);
        if (serviceData == null)
            throw new DataException(LocaleUtils.encodeMessage(
                    "!csNoServiceDefined", null, cmd));
        // create the service object for this service
        Service service = ServiceManager.createService(serviceData.m_classID,
                workspace, null, binder, serviceData);
        // obtain the full user data for this user
        UserData fullUserData = getFullUserData(userName, service, workspace);
        service.setUserData(fullUserData);
        // binder.m_environment.put("REMOTE_USER", userName);
        ServiceException error = null;
        try {
            // init the service to not send HTML back
            service.setSendFlags(true, true);
            // create all the ServiceHandlers and implementors
            service.initDelegatedObjects();
            // do a security check
            service.globalSecurityCheck();
            // prepare for the service
            service.preActions();
            // execute the service
            service.doActions();
            // doany cleanup
            service.postActions();
            // store any new personalization data
            service.updateSubjectInformation(true);
            service.updateTopicInformation(binder);
        } catch (ServiceException e) {
            varTrueFalse = false;
            error = e;
            SystemUtils.info("exception in second location=" + e);
            e.printStackTrace();
        } finally {
            // Remove all the temp files.       
            service.cleanUp(true);       
        // handle any error
        if (error != null) {
            error.printStackTrace();
            if (binder.getLocal("StatusCode") == null) {
                binder.putLocal("StatusCode", String.valueOf(error.m_errorCode));
                binder.putLocal("StatusMessage", error.getMessage());
            } else {
                throw new ServiceException(error.m_errorCode,
                        error.getMessage());

    I guess it is caused by the fact that some of variables in the binder refer to the first workflow item. My bet would be dDocName.
    Try to find out what's in the binder if you approve the second item from GUI and what's there when you do it from your program. That should give you enough info what you need to change.

  • Service group for particular document type or Purchase Organisation

    Dear Gurus,
    I want to add service group as like Material group. but my objective is to restrict those service group for particular document type or Purchase Organisation??
    Is it possible, if so please advice me the SPRO Settings
    Thanks
    RS

    Hi,
    Basically, this task (both customized table activation via SE11 transaction and user exit activation via SE37 transaction) will be done by ABAPer.  All you should do is to prepare the functional specs document in which you require -
    1)   A generation and activation of the customized table which consists of at least four columns -
         a)   Purchasing Organization;
         b)   Purchasing Document Type;
         c)   Material group/service group
         d)   Purchasing Document Creation Date
    2)   A coding and activation of the related function module (You can use SMOD transaction to view the enhancement MM06E005 to view related user exit).
    Cheers,
    HT

  • When is Patch for ADOBE DOCUMENT SERVICES 7.00 SP12 availaible

    Hello,
    we want update netweaver2004s to SP12 (delayed at 21.05.2007), when is
    Patch for ADOBE DOCUMENT SERVICES 7.00 SP12 availaible?
    Best regards
    Oliver Prodinger

    Hello Oliver,
    ADS patches are released to an SP, when there is reason for a patch, e.g:
    SP11 patch 1 contained support for x86-64 Windows.
    We can not tell you yet, wether there will be patch for SP12 Version of ADS.
    SP12 stack will contain SP12 of ADS as well, what is the newest available.
    Best regards,
    Dezso

  • Proceeding document for service order

    In the case of recall/upgrade for service industry, product service letter can be created as a proceeding document for service order. I used to 0CRM_SRV_PROCESS_H for the service order. The BI content ODS for service order header is 0CRM_PROH. It contains an infoObject for proceeding document 0CRM_PREDOC. But it is not mapped in the transformation.
    I have 2 questions:
    1. which source field should 0CRM_PREDOC be mapped to?
    2. is it possible to include produce service letter in regular service order? The object type for produce service letter is BUS2000210. I noticed only BUS2000116 (service order) is being extracted via 0CRM_SRV_PROCESS_H.
    Thanks,
    Jennifer

    Madhu,
    I am sure you can create a follow-up transaction from a Service ticket to Service Order, All you have to make sure is the setting in IMG for Follow-up are active and right.
    Thanks

  • Service order as followup document for service order

    HI gurus,
    Can a service order be created as a followup for service ticket. The call agent creates a service ticket for a channel partner. The channel partner should open the service ticket and create a followup document service order for the service ticket.
    Can we create a followup document which has the leading business transaction category same as the preceeding document.
    Thanking u, Madhu.

    Madhu,
    I am sure you can create a follow-up transaction from a Service ticket to Service Order, All you have to make sure is the setting in IMG for Follow-up are active and right.
    Thanks

  • Table Name to see the Document Flow for Service Order - T. Code IW33?

    Hi,
    can u advise the Table Name to see the Document Flow for Service Order - T. Code IW33?
    Ravi.

    Hi,
    From SERVICE ORDER you cant get the INVOCIE NUMBER,
    You will get the SALES ORDER number for that Service order in QMEL table and fetch the Sales order and then goto VBFA to get the Invoice number for the sales order with the DOCUMENT CATEGORY M.
    hope it will serve you.
    thanks,
    santosh

  • Different material document number range for Services

    Hi,
    I want to make different material document number range for services.
    I have created ZE document type from WE .
    But if I see group in OMBT , i am not able to assign ZE there. How to do this?
    Regards
    Kedar

    Hello,
    No ! I am not able to see ZE there.
    Kedar

  • Release Procedure for Service Entry Sheet Wr to the Purchasing document

    Hi,
    I have configured the Service entry sheet release procedure on the basis of Purchase order document type by creating Characteristic With table -field (CESSR - BSART) and also class is maintained where the defined characteristic has been assigned.Release group is assigned to the class and all necessary customizing activities carried over. I assigned release group n Strategy thru Cl20n and also checked in Cl30n for the document type where system is exactly proposing only one value for the document type. But when i create Service entry sheet thru ML81N after saving the document i checked for release strategy through Goto-> Service entry sheet -> Release Strategy which is grey mode.
    I tried thru ML85 System says that no suitable purchasing document is available for release.
    thank u
    Nagarjuna
    Edited by: yalamanchi nagarjuna on May 31, 2009 1:33 PM

    the same configuration is not working in DEV environment but working fine in Quality and PRD

Maybe you are looking for