Approval of Out going payments

Hi Experts,
I want to enable the Outgoing payment Approval. Bot for Cash Approval It should use one template and for other payments it should use another template.
I Used following queris for this
For Cash
SELECT distinct 'True' from  OVPM WHERE CashAcct IS NOT NULL and CashSum>0
For Non Cash
SELECT distinct 'True' from  OVPM WHERE CashAcct IS NULL and DocTotal>0 and CashSum=0
But System starts approvals using Both Templates simultaneously, for all outgoing payments
What is wrong with these queries?
Please Help
Regards
Ajith G

Hi, use these queries:
SELECT DISTINCT 'True' WHERE $[OVPM.CashAcct] <> '' AND $[OVPM.CashSum] IS NOT NULL
SELECT DISTINCT 'True' WHERE $[OVPM.CashAcct] = '' AND $[OVPM.DocTotal] IS NOT NULL AND $[OVPM.CashSum] = 0.0

Similar Messages

  • Issue in PLD of Out going Payment

    Hi All,
            I have a pld on out going payment where when we select the Account, we also get field to add description. Now when i try to caputre this detail in PLD, the system shows an error message, "The requested action is not supported for this object". In the pld, i have selected table RCT4, description.  Can anyone please tell me whats the cause of this error and ho can I capture the Doc. Remarks in PLD??
    Thanks in advance,
    Joseph

    Hi Joseph,
    It is not possible on Outgoing Payments.
    Try to Create QPLD.
    IF you need Outgoing Payments row details. Try to Create Query Print Layout Designer(QPLD).
    If you need to Print rows of Accounts in Outgoing Payments.
    Try this Query and you will design QPLD.
    SELECT T0.DocNum, T0.DocDate, T0.CardCode, T0.CardName, T0.Address, T1.AcctCode, T1.AcctName,
    T1.Descrip, T0.CashAcct, T0.CheckAcct, T0.Comments, T0.DocTotal,  CASE WHEN T0.CashSum > 0 THEN 'Cash'
    WHEN T0.CreditSum > 0 THEN 'CC' WHEN T0.TrsfrSum > 0 THEN 'WIRE' ELSE 'Check' END AS 'Mode'
    FROM OVPM T0
    LEFT JOIN VPM4 T1 ON T0.DocEntry = T1.DocNum
    INNER JOIN OPID T2 ON T0.PIndicator = T2.Indicator
    WHERE T0.[DocNum]>='[%0]' and T0.[DocNum]<='[%1]' and T2.[Indicator]='[%2]'
    ORDER BY T0.[DocNum]
    If you need to Print rows of Accounts and Cheque Details in Outgoing Payments.
    Try this,
    SELECT T0.DocNum, T0.DocDate, T0.CardCode, T0.CardName, T0.Address, T1.AcctCode, T1.AcctName,
    T1.Descrip, T0.CashAcct, T0.CheckAcct,
    T4.[DueDate],
    T4.[CheckNum],
    T4.[BankCode] as 'Bank Name',
    T4.[Branch],
    T4.[AcctNum] as 'Check A/C No.',
    T0.[CheckSum],
    T0.[CashSum],
    T0.[TrsfrSum],
    T0.[TrsfrDate],
    T0.[Comments],
    T0.DocTotal,  CASE WHEN T0.CashSum > 0 THEN 'Cash'
    WHEN T0.CreditSum > 0 THEN 'CC' WHEN T0.TrsfrSum > 0 THEN 'WIRE' ELSE 'Check' END AS 'Mode'
    FROM OVPM T0 full outer JOIN VPM1 T4 ON T0.DocEntry = T4.DocNum
    LEFT JOIN VPM4 T1 ON T0.DocEntry = T1.DocNum
    INNER JOIN OPID T3 ON T0.PIndicator = T3.Indicator
    WHERE T0.[DocNum]>='[%0]' and T0.[DocNum]<='[%1]' and T3.[Indicator]='[%2]'
    ORDER BY T0.[DocNum]
    IF you want extra some details, Check this thread.
    Re: PLD- outgoing payment .(RCT4 ,tables data is not comming)
    Re: PLD-How to increments rows of accounts in O/g payment.
    Regards,
    Madhan.

  • Not picking all open items at the time of out going payment(F-53)

    Dear Experts,
    I'm facing the issue at the time of out going payment(F-53)
    At the time of vendor line item display system is showing open items but at the time of out going payment(F-53)
    system is not picking the all open items it is picking only two items
    Pls help
    Regards
    Hari Prasad

    Hi Experts,
    Thnx for Quick response
    As per your instructions, I checked auto payment run here we have done successfully for vendor
    Open items shown in FBL1N but these open items not coming at the time of  out going payment
    I checked SPL GL indictors also
    Regards
    Hari Prasad

  • How to print vendor ref. no. in out going payment.

    hi all,
    i want to print vendor ref. no in out going payment pld.
    hw to get it in pld?
    regards,
    chetan.

    Hi Chetan
    In the VPM2 Table look for the field DocEntry, Join it on OPCH.DocEntry, and then look for NumAtCard in OPCH to find out the vendor's Ref No
    the following query expains it
    SELECT     dbo.OVPM.CardName, dbo.VPM2.SumApplied, dbo.OPCH.NumAtCard
    FROM         dbo.OVPM INNER JOIN
                          dbo.VPM2 ON dbo.OVPM.DocNum = dbo.VPM2.DocNum INNER JOIN
                          dbo.OPCH ON dbo.VPM2.DocEntry = dbo.OPCH.DocEntry
    WHERE     (dbo.OVPM.DocEntry = %x%)
    I hope this now solves your problem!! Cheers
    Regards,
    Murtaza

  • Vendor Out Going Payment Tcode(F-53)

    Hi Experts
    While Posting Documents In Vendor Out Going Payment tcode F-53 i didt get invoice against posting screen
    I get post outgoing payments select open items screen
    plz giv valuable solution to me
    thanks

    You need to check in FBL1N first with the Vendor, whether there are any line items in open status or not?
    While searching in FBL1N - keep the Open item date as today's date.
    If yes, go to F-53, requirements which are necessary, just see throughly..
    Posting date
    Document date
    Bank account
    Amount
    Vendor account (basically appears as ACCOUNT under open item selection)
    Click on "Process open items"
    They should display
    If there are no open items at Vendor line item level, then there won't be any list t display at payment level, means
    FBL1N   Open items should display in F-53
    Check them plz
    Thnaks
    Edited by: nkonnipati on Feb 18, 2012 6:27 PM

  • Error in the Out going payments

    Am getting error when making an out going payment : -
    Cannot add or update this document , its rows are missing [Outgoing payments - invoices -sequence no.][Line 0][Message 131 - 197]
    Any one had this before, what's causing it ?
    Edited by: Martin Kamau on Mar 24, 2009 10:00 AM

    My problem was with missing detail in the database tables. The outgoing data table OVPM, VPM2 etc were not posted correctly. The system hanged at some point and the table inserts were not completed. Try check on those tables and see if the data postings are ok
    Good luck.
    Edited by: Martin Kamau on Apr 8, 2009 9:48 AM

  • OUT GOING PAYMENT AND INVOICE

    Dear All
    I required a PLD for Outgoing Payment with A/P Invoice whose payment we pay. I develope a PLD for Out Going Payment but not develop of A/P how we make a print for A/P invoice with Outgoing payment in separate page. When i print Out Going Payment automatically print out A/P invoice hows payment is selected. First I select the A/P Invoice then I pay the out going payment.
    Thanks in advance
    M. Rafiq Khan

    Hi,
    It cannot be done in PLD since PLD is very basic, you can make a query and use Crystal Report or QLD.
    Below is an example of the query :
    SELECT
      T0.DocEntry,
      T0.DocDate,
      T0.CardName,
      T1.Dscription,
      T0.DocTotal,
      T0.DocTotal + MIN(T0.DiscSum) + MIN(T0.WTSum) + MIN(T0.DpmAmnt) AS TotalAmnt,
      'Mode' =  CASE WHEN T4.CashSum > 0 THEN 'Cash' WHEN
      T4.CreditSum > 0 THEN 'Credit' WHEN T4.TrsfrSum > 0 THEN 'Bank Transfer'
        ELSE 'Check' END ,
      T0.DocStatus,
      'APCMDocNum' = T2.DocEntry,
      T1.TargetType,
      'OutDocNum' = T4.DocNum
    FROM
      dbo.OPCH T0
      INNER JOIN dbo.PCH1 T1 ON (T0.DocEntry = T1.DocEntry)
      LEFT OUTER JOIN dbo.ORPC T2 ON (T1.TrgetEntry = T2.DocEntry)
      LEFT OUTER JOIN dbo.RPC1 T3 ON (T2.DocEntry = T3.DocEntry)
      LEFT OUTER JOIN dbo.OVPM T4 ON (T0.ReceiptNum = T4.DocNum)
    GROUP BY
      T0.DocEntry,
      T0.DocDate,
      T0.CardName,
      T1.Dscription,
      T0.DocStatus,
      T2.DocEntry,
      T1.TargetType,
      T4.DocNum,
      T0.DocTotal,
      T4.CashSum,
      T4.CreditSum,
      T4.TrsfrSum
    Regards,
    Clint

  • Approval Procedure for Out Going Payments

    Hi All,
    I need to set up an approval procedure for Outgoing payments.
    Terms & Conditions:
    Documents Should go for approval only when a Outgoing Payment is raised by choosing the cash account in Cash tab.
    Is there any default Procedure to setup this Approval Procedure.
    Please do the needfull.
    Regards,
    Aarbz

    For outgoing payments you can set approval procedure only for version 8.8. Then you can apply a query based approval with a query like this:
    If  $[OVPM.CashAcct]='38110000'
    Select 'true'

  • TDS Not deducted at the time of Vendor out going payment (F-53)

    Dear All,
    First we did prepayment through F-47, iam tryin to clearing the vendor payment amount through F-53 , at this  TDS amount not deducted for that payment. can any one solve this issue as soon as possible....
    Thanks & Regards
    Vijay Kumar

    Hello vijay,
    TDS should be deducted at time time of Advance Payment or Invoice Booking only, not in F-53( Payment against invoice).
    if Payment is made in Advance you must have deducted tds amount. f-53 is normally using for payment against invoicing.
    and invoicing is already done with deduction of tds.
    Regards
    Vishal Sonawane

  • How to select  multiple vendors in out going payment

    Hi,
    We are issuing Letter to Bank asking to issue DD against 10
    Vendors. In this case Bank issuing DD and making debit as
    one entry. In Outgoing payment is it possible to select 10
    vendors at time ( Is there any other way instead of 10 outgoing
    payments )and make it as single payment, so that bank
    reconciliation will be easy.
    any body can help pl.

    Hi,
    I am a little bit surprise but I need more explanation from you.
    do you mean the vendors are the same ? it means the 10 vendors are actually 10 A/P invoices ?
    if not, I am afraid that outgoing payment can take 10 different vendor codes all at once in the same outgoing payment no.
    it must be using DTW but the final result is not one outgoing payment no.
    You could create a consolidation vendor although actually they are not under one company group. It is in the BP master data --> tab accounting --> payment consolidation
    Rgds,

  • Out going Payment

    Dear sapient,
    I need some soultion for the following problem,
    User made the payment posting by using t.code F-02. but user made the wrong entry like this
    Bank a/c      Dr
       To vendor      Cr
    and after posting the entry user printed the check in FBZ5. so here wrong entry have been posted. System should not allow to posted like this. is there any standard customization to avoid this type of error by user.
    Thanks in advance
    Thanks & Regards
    Soraj

    hello kumar 
    Well in my perspective, i don't really care what Tcode you are using to made a payment posting. But i sure like if you can use the previous posting statement for doing the payment.
    Here's the deal when you use a manual journal to entry the payment make sure there is an open balances into the vendor account. Here's i think what missing from your standard accounting procedure.
    now as your convenience what solution you will take. adding something into your procedure or made a new procedure to create a payment posting.
    hope helps

  • Have to populate new field in pexr2001 idoc type (out going payment order)

    Hi All
    I want to populate extra field( internal sap generated invoice number) in the PEXR2001 IDOC TYPE.But I dont know which user exits i have to use. program we are using wasRFFOEDI1
    was it
    EXIT_SAPLIEDP_901
    EXIT_SAPLIEDP_902
    EXIT_SAPLIEDP_903
    or
    Do I have like i have to use user exit <b>EXIT_SAPLIEDP_002</b>
    I could nt find where it is called in the program RFFOEDI1. Could you help me where to find this.

    Hi,
    It is quite deep ...  but please check this.
    1. Go to SE37 and enter FM FI_EDI_PAYEXT_PEXR2001_OUT.
    2. Double click on FORM FILL_IDOC_PAYEXT (include program LIEDPF2F).
    3. Double click on FORM HEADER_PAYEXT (include program LIEDPF28).
    4. Double click on any FORM FILL_SEGMENT_*. (i.e FILL_SEGMENT_IDKU1).
    5. Then double click on FORM  STORE_PEXR_SEGMENT (include program LIEDPF15).
    6.  In here, you should be able to link to FM EXIT_SAPLIEDP_002 using CALL CUSTOMER-FUNCTION '002'.
    Regards,
    Ferry Lianto

  • How to route the information to approver with out involving sap workflows.

    Hi Developers,
    i have a doubt regarding how the requester filled form information will be send to approver with out involving SAP workflows in the portal.
    Normally i know the procedure where users fills the form with the approver details, the filled information is routed to approver UWL by trigerring a function module thru webdynpro.
    But i need to know is there any procedure to route the information without involving any backends.
    Thanks in Advance.

    Michele is correct - sneep will help you get the serial from the running domain on the M3000 ,
    and it is a good idea to install STB on your machines.
    If that isn't possible for you, then sneep can be downloaded directly from [http://www.sun.com/sneep]
    I believe that on this platform, sneep gets the serial from the output of prtconf.
    There is a minor correction to be made :
    After installed SNEEP use "man sneep" for all technical details.The sneep man page is not linked into the shared man pages, so you need to use
    man -M /opt/SUNWsneep/man sneep
    with out going to OK prompt (Banner)It is worth noting that the serial shown in the OBP banner is not the product serial
    that you will find on the physical serial tag.
    The banner "serial" is the decimal equivalent of the host ID, which you normally get in hexadecimal from the "hostid" command.

  • System is not picking bank out going account in TBB1

    Hi All,
    I am facing the problem in TBB1 accounting entries, system is picking the bank main account (From House bank/account id assigned GL) Not picking Bank out going account from account determination
    Example:
    Accounting entry at the time of TBB1: (Term start)
    Wrong entry
    Dr. Fixed Term Deposit GL account
    Cr. Bank Main account (Which is assigned in House bank/account ID)
    Correct accounting entry should be like this:
    Dr. Fixed Term Deposit GL account
    Cr. Bank out going account
    I have checked the Payment configuration but still not able to identify the issue
    Thank in advance for your help and support
    Regards,
    MS

    Hi Ravi,
    I was going through your reply.
    I needed some clarity on my understanding please confirm it.
    Suppose Bank Account is : 113150 ( Created in FS00)
    Bank Clearing Account for Treasury Clearing purpose is 114150 (not yet created in FS00)
    Bank Clearing for non treasury clearing purpose is 112150 (created in FS00)
    in my account determination of TRM I have maintained masking as ++++++4+++
    then in this case when posting happens Account picked up will be 114150 based on my House Bank detail in payment tab.
    Although 114150 is not created in FS00 and not maintained in T042Y in FBZP. and system will throw error.
    Am I right?
    Please confirm the understanding.

  • Approval Query for Outgoing Payment

    Hi All Experts,
    I have to Create Approval for Outgoing Payment where payment means is Cash,Cheque or Bank Transfer but not Credit Card.
    In other words approval should be raised for all payment means other than Credit card payment means.
    For which I have Created Query as follows
    select Distinct 'true' FROM dbo.OVPM T0
    Left join dbo.VPM3 T1 on T0.DocEntry=T1.Docnum
    WHERE  T0.CreditSum=0 And T1.CreditAcct is null
    payments goes for approval but Credit Card payment also goes for Approval which is not required.
    Please Help me to Correct the Query.
    Regards,
    Gayatri Shukla.

    Hi,
    Little modification to your query. Try this.
    select Distinct 'true' FROM dbo.OVPM T0
    Left join dbo.VPM3 T1 on T0.DocEntry=T1.Docnum
    WHERE  T0.CreditSum = 0
    Regards,
    Amrut Sabnis.

Maybe you are looking for

  • Portege R600 - How do I install XP on a new HDD?

    I did the mechanical install of a new hard drive, and know it's correct. Now, I want to install XP - not Vista. However, nothing I have tried will enable the BIOS to recognize that new drive. Toshiba XP "alternative media" disk should include the SAT

  • Not all the photos in an event sync

    I have an event in iphoto with 311 photos but only 27 sync.  There is enough room on my phone, itouch and the events meet my sync criteria.  Any suggestions on why certain pictures are being omitted?

  • Can you run dreamweaver 11.5 with older versions of php?

    I believe I understand from this group that dreamweaver 11.5 needs to run with php 5.3.  I have version 5.1.6.  Is there a way to edit a config file and run with an  older version of php?  And is so, could you please name the config file? Thanks!!

  • Re: FI-SL financial accounting link

    Hi Extraction gurus, Am a newbie trying to learn extraction (FI-SL), as i was said to work on i need to 1.) enter t-code sbiw-> expand settings for application specific datasources->expand financial accounting special purpose ledger..and so on but in

  • NullPointerException - collection

    I got lot of errors regarding this - I read the NullPointerException in the API - it states that if the collection is null, then it should return the NullPointerException. I was trying to evaluate the three collections - if they are empty. I tried tw