Query to check BP Payment terms and Document Payment terms

Hi All,
Can any one help me to create an approval query to check the BP payment terms and Document Payment terms are same or not?
Normally we change our BP payment terms regularly as per the agreements between Customer and us.
but when we copy any previous document into invoice it calculate the Due date as per previous payment terms. so we need an query to check wether the BP payment terms and document Payment terms are same or not? if it is different they it should ask for authorization from manager or else the document should be saved.
Thanks in Advance,
Prachi.

Hi
I will test this and will let you know if it works or not?
Thank you very much.
Prachi.

Similar Messages

  • What is the difference between organisation payment method and Assignment payment method?

    What is the difference between organisation payment method and Assignment payment method?
    As i am a new bie, i am curious to know this though it might sound a silly question.
    Thank you,
    Kuton

    You can create an Organization payment method of any Payment type(Cash, Check, BACS, NACHA etc) under the same country.
    All these will be valid payment methods on the payroll description form.
    And you can even attach these to a person.
    In which case you will have a Base currency (say USD) and payment currency (say GBP).
    These cases are not normal and only used by people who use a single BG for paying employees in 3-4 countries.
    So, unless you need to pay in different currencies, do not use it.
    Cheers,
    Vignesh

  • What is the difference between "viewable/ printable payment history" and my "payments received history"? Shouldn't my "payments received" (money verizon got from me) be my "payment history"be my

    What is the difference between "viewable/ printable payment history" and my "payments received history"? Shouldn't my "payments received" (money verizon got from me) be my "payment history"?

    I have not directly myself. One of the reps put me on hold while they said they spoke to finical services. He said they would not turn off my phone while he (the rep) looked into the problem. He couldn't give me a phone # to call him back the next day and told me he would call me instead on my home land line phone #. But what I got the next day was a text message that started with" DO NOT RESPOND" to this text message and it said that I was past due on my account, and that it was due immediately. signed out again with only his first name and no phone # again. Thing is he promised he could help in my first conversation with him, where I had started with "can I speak with a supervisor as I did not want to have to repeat the whole spiel again as he was going to be my third time". He said he was authorized to take care of all & any problems and I did not need a supervisor. I took him at his word and said OK. Turns out like I said earlier…I wasted 2 hours on the phone. Can't find him as I don't know what call center and no last name. I should have gotten that up info front. Hindsight is 20/20.

  • Query with two filter prompts(phase and document)

    Hi All,
    I am new to sap sourcing.
    I am trying to customize a query for (Sourcing Report for all supplier registrations showing the cycle times for each
    approval phase of the process)which I have added two filter prompts(phase and document name).
    When I try to execute the query, I don't get the required output for the phase filter prompt.
    Also phase is a value list and when I select the phase from the drop down, the report doesn't give any value.
    Please find the query as mentioned.
    SELECT <%RESULTS%>
    FROM <%SCHEMA%>.FCI_WORK_ITEM
    T1
    INNER JOIN <%SCHEMA%>.FCI_WORK_PROCESS T2 ON T1.PARENT_OBJECT_ID =
    T2.OBJECTID INNER JOIN (
    SELECT
    OBJECTID,
    10002203 AS
    CLASSID,
    CREATED_BY_USER_OBJECT_ID,
    CREATED_BY_USER_CLASS_ID,
    CREATED_BY_USER_OBJECT_NAME,
    CREATED_AT,
    EDIT_AT_DATETIME, MODIFIED_AT
    FROM
    <%SCHEMA%>.ODP_ODP_VEN_MODIFICATION_WF
    WHERE
    CONTEXTID=<%CONTEXT(odp.vendormgmt.wf_vendor_modification)%>
    UNION
    ALL
    SELECT
    OBJECTID,
    10002213 AS
    CLASSID,
    CREATED_BY_USER_OBJECT_ID,
    CREATED_BY_USER_CLASS_ID,
    CREATED_BY_USER_OBJECT_NAME,
    CREATED_AT,
    EDIT_AT_DATETIME, MODIFIED_AT
    FROM
    <%SCHEMA%>.ODP_ODP_VEN_REGISTRATION_WF
    WHERE
    CONTEXTID=<%CONTEXT(odp.vendormgmt.wf_vendor_registration)%>
    T3 ON
    T3.OBJECTID = <%COALESCE%>(T1.ROOT_PARENT_OBJECT_ID,
    T1.BIZ_DOC_OBJECT_ID) AND
    T3.CLASSID = CASE WHEN
    T1.ROOT_PARENT_OBJECT_ID IS NULL THEN T1.BIZ_DOC_CLASS_ID ELSE
    T1.ROOT_PARENT_CLASS_ID END
    WHERE
    T1.CONTEXTID=<%CONTEXT(workflow.process)%> AND
    (T2.PHASE_SUB_REF_OBJECT_NAME like ?OR T2.BIZ_DOC_OBJECT_NAME like
    <%ORDERBY%>
    Please suggest how can I change the query accordingly.
    Also , please suggest how can add the result fields for calculating the duration(created at - Action date).
    Please do the needful.
    Thanks and Regards
    Ganga

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             Hello Vignesh,
    Thank you!!
    I could find that only the supplier registration modifications are included in the query given by you, but we need to include the supplier registrations as well.
    I tried modifying the query and it worked.
    But, now the challenge is to include the workflow status(T1.APPROVAL_STAUS) in the filter prompt.
    T1 table is FCI_WORK_ITEM.
    T.APPROVAL_STAUS is an integer data type in the table.
    I defined the T.APPROVAL_STAUS as string In Result fields and in the filter prompt.
    But the query works for other filter prompts except workflow status.
    I have included the filter prompts as mentioned below:
    T1.CONTEXTID=<%CONTEXT(workflow.process)%> AND
    UPPER(T2.BIZ_DOC_OBJECT_NAME) like ? AND
    UPPER(T2.PHASE_SUB_REF_OBJECT_NAME) like ? AND
    UPPER(T1.APPROVAL_STATUS) like ? AND
    UPPER(T1.PERFORMER_OBJECT_NAME) like ?
    <%ORDERBY%>
    Please suggest on this.
    Thanks and Regards
    Ganga Durga

  • What exactly we do as part of Generate Comparison Terms and Evaluate Comparison terms

    Dear Experts,
    As part of SAP GTS area menuin SPL Screening process,
    I could see below 3 options, I tried to understand by reading SAP HELP and other available documents, but not able to understand completely .
    Can you please help me in by explaining these 3 terms.
    ●  Generate comparison terms
    ●  Evaluate comparison terms
    ●  Aggregate comparison terms
    Thank you
    Rama

    Hi Rama,
    It is quite simple and below is the required explanation.
    Generate Comparison Terms:- This is used to generate comparison terms up for comparison with Business Partners after the exclusion of various exception terms like aliases etc . to get a proper term for comparison.
    Evaluate Comparison Terms:- This feature is used to define how much percentage a particular search term  should fulfill to qualify for comparison.
    Aggregate Comparison Terms:- This is used to keep the aggregate and keep the comparison terms handy for ready reference against Business Partners during SPL check. This drastically increases the system performance.
    The real meaning of the above terms will be more clear when you will go inside each of these areas and check what it is doing.
    Regards,
    Aman

  • SAP IHC Payment notes and customer payment automation

    Hi,
    I have two questions related to IHC (In-house Cash):
    1. Is there a way to customize payment notes in a payment order when it is created after a payment run in subsidiary company code? By default it has IDOC creation date, payment document (subsidiary) and company code (Subs) information. I would like to also add trading partner and invoice number to it so that the same is included in internal EBS notes to payee information.
    2. How do you automate posting and clearing of customer account by internal EBS in intra-company settlement? For example, subsidiary 1 is making payment to subsidiary 2 in which case Subsidiary 1 is created as a customer in Subs 2 and the receivable needs to be automatically cleared when Subs 1 makes payment.
    Thanks in advance.
    Thanks,
    Abhinav

    Hi Manish,
    we have the same issue in our system. Could you please help us know what you have done to correct this?
    Regards
    Gearoid

  • Need the SQL Query to check SQL time zone and change the time zone

    Hi All,
    I am using SQL Server 2008 SP2. My Ex SQL Admin said that the data which we query from our database gives the output in London time.
    But the SQL server is located in USA and is having US time.
    I would like to know how to find what time zone is the SQL application running on and how to change it ?
    Is there any query which i can use to determine and change the time zone ?
    Gautam.75801

    Refer the below two links
    http://blog.sqlauthority.com/2014/02/15/sql-server-get-current-timezone-name-in-sql-server/
    Check this link
    http://dba.stackexchange.com/questions/39421/how-to-handle-timezone-properly-in-sql-server
    SELECT [DateTimeUtil].[UDF_ConvertLocalToLocalByTimezoneIdentifier] (
    'GMT Standard Time', -- the original timezone in which your datetime is stored
    'Middle East Standard Time', -- the target timezone for your user
    '2014-03-30 01:55:00' -- the original datetime you want to convert
    --Prashanth

  • Basic pay, recurring payments/deductions and additional payments

    Hi,
    My client wants to be able to view annual amounts payable to employees by wage type. This I would think would be a common requirement and I'm amazed there doesn't appear to be a standard extractor for this. Specific wage types include PA0008, PA0014 and PA0015 and maybe hopefully also infotype PA0220.
    Does anyone know of a standard extractor that will give at least PA0008, PA0014 and PA0015? I've tried DataSource 0HR_PY_1 but this gives monthly amounts so, for example, if we're currently in August I can't see annual salaries for 2010 because Sept to Dec haven't posted yet????
    I've also tried cube 0PACM_C01 but this bundles all of the wage types into 0ANSALARY via function module and the requirement is to be able to split it by wage types in reports.
    I hope someone can help.
    regards,
    John

    have you seen this doc
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/be/57194273b75233e10000000a155106/frameset.htm
    Service (transaction SIMG_SPORT), under Manager Self-Service ® Employee Review ® Define Wage Types for Annual Salary.
    Read the SPRO doc help on this as it lists the steps

  • How to control authorization about terms of payment in customer document ?

    Dear,
       I need to control authorization about terms of payment in customer document. the terms of payment fields can only be maintance by some persons, others persons can not be maintance the terms of payment, although they have the FD01 or FD02 athourization.
       how can we archieve this programme?

    Hi,
    Like T.Nishanth says, use tcode SU21 to create your own auth.object. Mantain it with tcode PFCG.
    Only an additional point. Use the enhancement SAPMF02D. In the include zxf04u01 (EXIT_SAPMF02D_001), click on 'pattern' and in the pop-up dynpro, try the field authority-check and populate it with the auth.object created before.
    After, check it with FD02, XD02 and so on.
    I hope this helps you
    Regards,
    Eduardo

  • Invoice number and document number not printed in payment advice

    Hello Gurus,
           I am executing reprint check through transaction fch7, In that Invoice number and document number not printed in payment advice. I have created zscript for that and also assinged regup-belnr and regup-xblnr and used standard program RFFOUS_C.
    other fields from regup table are displayed but above two mentioned fields are not displayed.
          I even tried debugging standard RFFOUS_C prog, in that regup-belnr and regup-xblnr are coming but it is not printed on form.
    With regards,
    Vikram

    Hi,
    Debug you Zscript and check the invoice no and document no. Have assigned that script in FBZP..? check the which form is calling FCH7 in debugger mode..?
    Rgds
    Aeda.

  • BAPI - Change Payment Terms - FI Document

    Hi,
    I need a BAPI to change the payment terms and the payment method supplement of FI documents. I'm trying the Function Module FI_ITEMS_CHANGE, even though I can change the payment block and some other fields with this one, I'm not able to change the 2 above fields mentionned.
    Thanks for your collaboration!
    Martin

    Hi,
    I'm doing it with transaction FB02. But I would like to do it with a BAPI and I'm looking for it. Are you sure there is not?
    Anyway, this is my BDC code, you can get it doing a recording of the transaction you want in the SM35.
    data: lt_bdcdata   type table of bdcdata,
             lwa_bdcdata  type bdcdata,
             lv_pos(2)    type n,
             lv_buzei(15) type c,
             lv_line      type i.
      define bdc_dynpro.
        clear lwa_bdcdata.
        lwa_bdcdata-program  = &1.
        lwa_bdcdata-dynpro   = &2.
        lwa_bdcdata-dynbegin = 'X'.
        append lwa_bdcdata to lt_bdcdata.
      end-of-definition.
      define bdc_field.
        clear lwa_bdcdata.
        lwa_bdcdata-fnam = &1.
        lwa_bdcdata-fval = &2.
        append lwa_bdcdata to lt_bdcdata.
      end-of-definition.
      bdc_dynpro 'SAPMF05L' '0100'.
      bdc_field  'BDC_OKCODE' '/00'.
      bdc_field  'RF05L-BELNR' if_belnr.
      bdc_field  'RF05L-BUKRS' if_bukrs.
      bdc_field  'RF05L-GJAHR' if_gjahr.
      if if_buzei <= 31.
        lv_pos = if_buzei.
      else.
        lv_line = if_buzei.
        while lv_line > 31.
          bdc_dynpro 'SAPMF05L' '0700'.
          bdc_field  'BDC_OKCODE' '=P+'.
          lv_line = lv_line - 31.
        endwhile.
        lv_pos = lv_line.
      endif.
      concatenate 'RF05L-ANZDT(' lv_pos ')' into lv_buzei.
      bdc_dynpro 'SAPMF05L' '0700'.
      bdc_field  'BDC_OKCODE' '=PK'.
      bdc_field  'BDC_CURSOR' lv_buzei.
      bdc_dynpro 'SAPMF05L' '0301'.
      bdc_field  'BDC_OKCODE' '=ZK'.
      bdc_dynpro 'SAPMF05L' '1301'.
      bdc_field  'BDC_OKCODE' '=ENTR'.
      bdc_field  'BSEG-ZLSCH' if_zlsch.
      bdc_dynpro 'SAPMF05L' '0301'.
      bdc_field  'BDC_OKCODE' '=AE'.
      call transaction 'FB02'  using lt_bdcdata
                               mode  if_mode
                               messages into et_msg.
    Hope this helps you.
    If anyone knows a BAPI for this, please tell me.
    regards,
    Ainara

  • Priority or payment method and Vendor in F110

    Hi All,
    During APP (F110) which takes the priority. Payment Method or Vendor.
    For Example we have given Payment Methos as A & F in payment Run and Vendor as 30000. This vendor has payment method H on its master.
    Now when we are running payment run it is picking this vendor in exception list;
    Error#016     Pmnt methods for this run are not specified in master record or in item
    Is it because we specified this vendor in Payment run and the payment method used is different.
    Please correct me if my understanding is wrong.
    Thanks!
    Regards,
    Vivek

    Hi Vivek,
    Your Question as to which one takes priority in F110, the vendor or the Payment Method.. so please understand, that System will have vendors mentioned as the base for checking.. the question of priority does not come here..it will check for all documents posted for this vendor with payment method A & F and propose for Payment, and if it does not find anything, it will show this vendor in the exception list.
    I guess you are asking, whether system would propose, all vendors line items with Payment method A & F as per your question of priority, then the answer is "No'. System does not behave like that.
    For all vendors that you have specified in the list of vendors in the parameters, it will check whether the Payment method mentioned in parameters exists or not, if yes, it will propose all line items with that payment method and if none found, it will show that vendor in exception list.
    Hope it clarifies..
    Regards,
    SAPFICO

  • About AP Down Payment Request, AP Down payment invoice and AP reserve inv.

    Hi:
    Which are the main differences? I need to pay in advance to my supplier 100% of the invoice, the purchase invoice would be received one month later. How can i link them? And what about the payment, how can i remember easily that invoices are missing when the account balance is = 0 because the payment is done.
    Best regards,
    Alberto.

    Hi,
    There is a business need for companies to issue/receive Invoices including tax (or
    VAT) for Down Payments made or received. These Invoices can then be cleared with
    partial or final Invoices. Companies can record a Down Payment received in SAP
    Business One by creating a Payment not based on an Invoice. However, due to legal
    requirements in certain countries the recording of a Down Payment requires an Invoice
    or a billing document.
    Down Payment Request and Down Payment Invoice documents have their own numbering series. The Down Payment Invoice
    resembles a regular Invoice and the Down Payment Request resembles a Sales
    Quotation. The user may define a different series under Invoices to be used in the
    Down Payment document. Neither of these two documents affects the On Hand stock
    or the stock valuation. They can be of Items or Service type.
    The process for them are:
    Down Payment Invoice>Payment of Down Payment Invoice >Regular Invoice> Payment of Regular Invoice.
    Down Payment Request>Payment of Down Payment Request > Regular Invoice >Payment of Regular Invoice and Clearing of Down Payment.
    For the invoice paid, you can find a Payment Means icon from Invoice window, click on it, there is payment information and a link for it.
    Hope this helps,
    maggie an

  • Reset, reorganize and reversal payment

    Hi,
    I want to discuss under which scenario we should use reset/reorganize payment media/reversal payment document.
    we are using DME and F110,
    (1).  if we input wrong bank key for the vendor, after F110 payment run,before click printout, no dme will be generated, thus we can use mass reversal payment (FBRA)and revise vendor bank info, re-run F110. is this solution correct?
    (2) DME file is generated, but we want to cancel, should we use re-organize payment medium data, I heard reorganize payment medium will delete all payment run ID after company golive, is it true? if we can't use re-organize, how to reset payment medium data, any t-code to use?
    (3). any scenario we should reset payment medium rather than reversal payment document? any scenario we should both reset payment medium and reversal payment document?

    Dear:
                           Your statement with reference to your statement  "if you think wrong clearing of outgoing payments were done then you can only should only reset that clearing document. No need to reverse the original document. is not correct" i would like to clarify one thing
    Suppose you made payment to  vendor with all correct assignments
    Vendor Dr
    Bank clearing a/c Cr
    but while clearing the it manually in F-44 you applied this payment against wrong invoice then this is for your kind information that you will only reset the clearing document only so that wrong clearing could be rectified. There might be some differences in understanding context of question , this arises due to differences in frame of mind with which you perceive question. This is for your information.
    SE80 t code is used to reset payment media and i am not user that will it work on ECC 4.6
    Regards

  • FB60 and Document Type

    Hi Experts, i need to limit the document types an user can choose on the transaction FB60, how can i do that? thanks in advance.

    HI
    Use validation for this purpose. OBB8
    Write a validation at Header level.
    In pre requisites : User Name (give here all user with operator Or")
    In check : Give Compnay code and Document type
    Create a message like " You cannot post using this document type"
    What system does is first checks the user name for ex : XYZ if it is correct, then system goes to check and checks for company code XXXX and teh doc type XX
    If these two conditions are satisfied only the system allows user to post the transaction.
    Reward if useful.
    sarma

Maybe you are looking for

  • Result shown in Bex Report is different from Infocube

    In BI, Flat file loading, I got data correctly into the cube. But when I tried to generate the report its showing all the key figure values divided by 10. Keyfigures are of type Amount. And when I checked for scaling factors, its showing nothing 1 on

  • Photosmart B8350 Prints page bottom as black block

    My Photosmart B8350 printer sometimes prints what should be blank space at page bottom as a large black block. This mostly occurs on the last page of a set, or  the bottom of a single page,  but have had intermediate pages (eg. pages 2 & 4 of 5) that

  • Model number?

    I have an Apple PowerBook G4, 1.33GHz, 60 MB, 512 RAM. How can I find my specific model # and build date (generation)? From what I have seen, it looks like a 2004-2005 unit, but I have yet to locate anything specific on the laptop. Thanx in advance

  • New ipad to 30-pin keyboard dock. any way use correctly?

    The iPad keyboard dock we were using with our 30-pin iPad now seems to be essentially worthless with the lightning connector unless someone has an inspiration. Using an adapter raises the iPad enough to limit the support provided by the dock and like

  • I have updated my iPhone 4S to 8.0.2 and my app store icon has disappeared. How do I restore it.

    Updating ti IOS 8.0.2 has made my App Store icon disappear.  How do I get it back please.