Business Partner approval when changing payment term

Hi Expert,
Is it possible to set up approval process when user changing payment term in existing Business Partner?
Thank you in advance.

Hi,
Try this:
IF @object_type = '2' AND @transaction_type = 'U'
BEGIN
     IF EXISTS
     (SELECT T0.CardCode from OCRD T0 INNER JOIN ACRD T1 On T1.CardCode=T0.CardCode
WHERE CardCode = @list_of_cols_val_tab_del AND T1.GroupNum !=T0.GroupNum)
     BEGIN
           SELECT @error = 2, @error_message = 'Payment Terms should not be changed'
     END
END
Thanks,
Gordon

Similar Messages

  • BAPI/FM to Change Payment Terms ZTERM of FI Invoice

    Hi,
    I am trying to chnage Payment Terms(BSEG-ZTERM) using FM FI_DOCUMENT_CHANGE and FM FI_ITEMS_MASS_CHANGE but none of these FM is working.
    For FI_DOCUMENT_CHANGE it is giving error "You cannot change Payment Terms(ZTERM) and inFM FI_ITEMS_MASS_CHANGE it is not providing option to change Payment Terms (I have checked Coding of the FM FI_ITEMS_MASS_CHANGE).
    Can anyone guide me on this? How can I change Payment Terms(ZTERM) of FI Document.?
    Thanks.

    Sapan,
    My requirement is to Develop an Interface, through which you can change payment terms of Customer open line items.
    Manually in FB02 I am able to change the Payment Terms but when I am not able to change it using FM FI_DOCUMENT_CHANGE and FM FI_ITEMS_MASS_CHANGE.

  • Change Payment terms invoices

    Hi
    is it possible to change payment term in transaction VF01 or VF02 with standard SAP??

    Hi,
    Maybe you can try this userexit
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data
    Reward points if helpful
    Regards,
    Amrish Purohit

  • How to prevent change payment term in sales order?

    Hi,
    My client not allow sales admin. to change payment term in sales order. How to do this? (by standard SAP functions or authorization)
    Thanks & Regards,
    Jr.SD

    Either you can run T.Code shd0 or apply User exits in the program MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAP to achieve this.
    thanks
    G. Lakshmipathi

  • How to use BAPI_SALESORDER_CHANGE to change payment terms in Orders?

    Can any body give me an idea on how to use BAPI_SALESORDER_CHANGE to change payment terms in Orders?
    Regards,
    Dantham Conpolwedson

    Hi,
    try the link
    Link:[https://forums.sdn.sap.com/click.jspa?searchID=24060901&messageID=7265357]

  • How to allow a user to change Payment terms on A/R documents

    Hi All,
    I want to allow one of my user to change payment terms on A/R documents. I could'nt found it where to authorize a user for this purpose. Can anybody help me out with this?
    BR

    Dear Naveed,
    To enable users to change the Payment Terms in A/R, please give the user Full Authorization for Price Lists (Inventory -> Price Lists -> Price Lists).
    Hope this helps.
    Regards,
    Lorna

  • How to change Payment Terms in multiple orders at same time?

    How to change Payment Terms in multiple orders at same time?
    I have got 10,000 Order, I need to change the payment terms for all these Orders.
    Can I Know the way out for this.
    Regards,
    Dantham Conpolwedson
    Edited by: Dantham Conpolwedson on Mar 25, 2009 11:18 AM

    Hi
    There are as many options for that
    You can go for
    1)MASS t code
    2) LSMW  (by recording)
    3)BDC (by recording)
    and the most easiest way is by doing the MASS tcode
    goto MASS and enter the object type as BUS2032
    execute now select the sales order haeader data and execute and now enter the sales doc from and to range and execute now all the sales dox will be displayed
    and from the menu click on select fields  and select the terms of payment
    now select the terms of payment row and enter the new values  and click on carry out new changes
    regards

  • Business Partner Code when using *

    Hi all,
    In Business Partner code when the user want's to see all Business Partner and makes "*" appears the BP code, BP Name and Foreign Name.
    All user see this information except one that doesn't see the Foreign Name.
    Why?

    Hi Ad,
    Thank you for your reply.
    "Foreign Name" is already select in the Form Setting.
    You say that "This is a setting per user" but i dont think so. In Form Setting of the "List of Business Partners" i add "Account Balance" to one user and ALL users see the same information.
    Best regards,
    Augusto Silva

  • Change payment terms

    Hi,
    How do i change payment terms for an invoice after few installments have been made.
    ex.Lets say there is an invoice for Rs 500 and the number of installments to pay it is 2 250 for the first installment  and 250 for second installment.The first installment is made,Now the customer wants to change his installments to 3 for the remaining amount.Can this be donw in SBO.
    Thanks in Advance

    Dear Vikas,
    Yes I beleieve this can be done.
    Initially you set up the 2 Installments in the payment Terms Table and carry on with your Transactions like the Sales Order and the Delivery and create the A/R Down Payment invoice for say 50% and then make the payment for this 50% Amount WRT the A/R Down Payment Invoice. Now while you are creating the final A/R Invoice for the remaining amount in the accounting Tab go to the payment terms tab change the Installments to 3 and eneter the other relevant data. After this is done go to the Installmant tab and chane the Installments to 3.
    Hope this is helpful.
    Nagesh

  • How to change payment terms in FV70

    Hi All,
    I am trying to post FV70 Customer invoice park but system defaultly picking paymnet terms from master data, i want to change payment terms in FV70 but it displaying in graed mode, How to chage payment tems
    thanks & regards
    mohiddin

    Hi ,
    Go to T.code OB32 Path: SPRO >FA (New)> Financial Accounting Global Settings (New)> Document> Rules for changing document --> Document Change Rules, Document Header
    Select Document Change Rules, Document Header Execute button go to new entries  select Field name BSEG-ZTERM
    Account Type = A     Assets,D     Customers,K     Vendors,M     Material,S     G/L accounts
    Company Code = xxx
    Field can be change check box
    and  save
    Thanks,
    Raviteja
    Edited by: Ravi Teja.T on Feb 6, 2012 11:57 AM

  • How can we change payment terms in existing billing documents

    Hi all,
    we created a billing document with reference to delivery ,before creating accounting document for that billing someone deleted payment terms which are existing in that billing , so i tried to delete billing document and recreate by changing payment terms in sales order ,but while creating billing system throwing error as "update was terminated'.
    what is the best way to process this.
    Edited by: suresh saketh on Aug 27, 2010 2:54 AM

    Hi,
    It has happened billing index is not properly updated-
    check this snote -12934 - how to correct billing index
    Thanks
    Chidambaram

  • Change Payment terms combo value when change Total Document

    Hi:
    I need to change the selected value of payment terms combo (Item 47) of the  form(133). This combo is placed in the third pannel of a form. Always appear the message “Valid Value – Value do not exist”
    The code is :
    Dim cItem As SAPbouiCOM.ComboBox
    If pVal.FormType = "65300" Or pVal.FormType = "133" Then
    'facturas deudores y facturas de anticipo de deudores
    'cambiamos la forma de pago si llega a cierta cantidad
    If pVal.ItemUID = "38" And (pVal.ColUID = "11" Or pVal.ColUID = "17") And pVal.EventType = BoEventTypes.et_VALIDATE And pVal.ItemChanged = True Then
          ' el evento es que cambie el total
          oForm = SBOApp.Forms.Item(FormUID)
          oItem = oForm.Items.Item("4").Specific
          StrCliente = oItem.Value
          oItem = oForm.Items.Item("29").Specific
          dblImporteTotal = CMonedaToNumber(oItem.Value)
          BuscarFormaPago(StrCliente, dblImporteTotal, StrFormaPago)
          cItem = oForm.Items.Item("47").Specific
       If cItem.Selected.Value <> StrFormaPago And StrFormaPago <> "" Then
           cItem.Select(StrFormaPago, SAPbouiCOM.BoSearchKey.psk_ByValue)
       End If
    End If
    End If
    Protected Sub BuscarFormaPago(ByVal StrCliente As String, ByVal DblImporte As Double, ByRef StrFormaPago As String)
    Dim StrDato As String
    StrDato = CStr(FNDameValor("[@" & StrPrefijo & "_FPAGO]", "U_" & StrPrefijo & "_OCTG", "U_" & StrPrefijo & "_OCRD='" & StrCliente & "' and U_" & StrPrefijo & "_IMP<=" & FNComPunN(DblImporte) & " ORDER By U_" & StrPrefijo & "_IMP DESC", pCmp))
    StrFormaPago = StrDato
    End Sub
    I´ve used BoSearchKey.psk_ByValue,but with psk_Index or psk_ByDescription .I have the same problem.
    Thanks for all
    Joaquin Gomez

    Hi Joaquin,
    Why don´t you use a formatted search instead of coding?
    The formatted search should be executed when the total is changed. And the value should be what BuscarFormaPago returns.
    Regards,
    Ibai Peñ

  • Rights to change Payment Terms on Purchase Order

    Hi,
    How can we assign rights to a user who is allowed to change the Payment terms for Purchase orders entered.
    Currently , the moment a PO is entered and the payment terms is changed it prompts a message saying that you are not authorized to change the payment terms.
    Where under Authorizations can i go and change this?
    Can anybody suggest a solution?
    Jyoti

    jyoti,
    Go to
    Administration>System Intialization>Authorization-->
    Genreral Authorization>Select user left side>
    Select Drill Down Administration>Drill down Setup>
    Drill Down Business partner>Drill Down Payment terms>
    Give Full Authorisation
    Jeyakanthan

  • Unable to change payment terms for BP

    Forum,
    I have a system where on the business partner master if we change the payment terms for a business partner the price list is also changing which we do not want it too. Is there a way to stop this from happening?
    An example is:- The business partner's payment terms = 30 days with a price list called 'Distributor'
    After changing the payment terms it changed the price list 'End User'
    And if we change the payment terms back to 30 days it changed the price list again but to another called 'GN Purchase Price GBP'
    I look forward to receiving your advise.
    Regards,
    Juan

    Noticed afterwards that there is a Price List option within the payment terms screen. This is what's causing them to change.

  • WS20000263 Workflow configuration in Treasury (Business partner approval)

    Hi Experts,
    Currently we are doing an SAP Upgrade from 46C to ECC 6.0 (Enh. 4) and in Treasury we cannot solve a problem. There is a workflow (id: WS20000263) which is used in case when the BP is created or changed. This workflow was used in 46C, but in ECC 6.0 this is changed (in the new system the BP is managed in a different way as it was in 46C - Central Business Partner).
    The problem is that the workflow is not working: I am not even able to do the proper configuration. There are some contradictory parts in SAP help which confuse me! (i.e.: in SPRO in "Active Release" config point, it says "activate the release object CBP SAP Business Partner". But the table - which contains this configuration point - is filltered for "ZBP" object, which means i can activate only the "ZBP" object and never the "CBP" object. The other point is that I cannot add "CBP" value in a "proper" way...)
    I hope any of you faced with this workflow configuration and help me out or at least give me some advices.
    Thanks in advance for your help!
    Best Regards,
    Attila

    Hello Atrtila ,
    Good Morning.
    can you please tell me how your problem is solved.i am facing exactly the same issue in our system.exactly same thing.workflow release is getting triggered on changing any business partner role but not triggering at the time of creating a new line in business partner role .
    please help.
    Vijay Agarwal.

Maybe you are looking for

  • Problems with the Creative Cloud Desktop

    Hi i changed my Email adress cause i couldnt verify it, because this email got spammed by facebook and all that stuff so my mailbox was always full and i didnt get adobe email. So the problem is, that i changed the email to a new one cause i need to

  • The Genius playlist and the 1st Generation ipod touch

    I am just wondering, is the genius playlist ability not available to the 1st Generation iPod touch or does it only work on certain songs? Because it would be really annoying if they limited to the 2nd Generation iPod touch only.

  • Windows 8.1 and Illustrator CC 2014- performance computer

    so i've exhausted myself searching...i actually think this will be the first time i've ever had to ask a question on the forums for ANY adobe product...i generally can find an answer; it's also generally my fault! slow movement of objects in illustra

  • NamespaceContext.getPrefix() never called

    I am a newbie in the Java XML world. Here is my issue and the snippet of code is used to explain the problem: XPathVariableResolver jxvr = new JSTLXPathVariableResolver(pageContext); Node contextNode = adaptParamsForXalan(n, xpathString.trim(), jxvr)

  • Encore CS4 crashes during build

    I have a Blu-ray project setup in Encore. I've burned many versions of it to a BD Folder and also a BD-RE disc. Worked fine. But then Encore crashed. Now I can open the file but everytime I check the project or burn to a folder or a disc it crashes.