Restrict selection for Payment Terms on VA01/VA02

In user exit MV45AFZZ I want field VBKD-ZTERM to be changed to certain values.
I have other fields disable like this:
WHEN 'VBKD-PRSDT'.
        screen-active = 1.
        screen-input = 0.
And other fields have a condition check prior to disable them:
IF kuagv-kunnr NE 90000.
          screen-active = 1.
          screen-input = 0.
But now the user wants the field active but only allow some values.
For example if the default field options can be A, B or C. That only A and B are available to select when a modification ocurrs.
Anyone has an idea how to develop this?
Thanks
Regards,
Carlos

In USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ.
Check if the field has been changed and that the value selected its allowed, else throw an error.
But I dont know the code to check if field VBKD-ZTERM has been changed.

Similar Messages

  • Transaction variant for Payment terms in VA01

    Hello experts
    I already found lot of forms regarding, by using transaction variant how to control the Payment terms while creating Sales order as well as in tras code VA02(Change sales order).
    I have created T.Var and screen variant and done all other relevant things like activate the standard variants and also tried to assign via user through variant groups. The option invisible and required were working as per Transaction variant but the same not working for Output Only.
    Hence pls suggest whether i had made any mistakes or any other things to be carried out for same.
    Regs,
    S.Ramesh.

    Solved own through user exit,please close this thread.
    Regs
    S.Ramesh

  • Payment Block for Payment Terms

    Please let me know the steps to activate payment block for payment terms
    while posting the doucments through MIRO.
    Thank you
    Ravi

    Hi Ravi
    while defining the payment terms you can give the payment block.
    TCODE-OBB8
    Beside to the block key you have one check box available - if you select that, then system populate the payment block only when you change the payment terms in the line item.
    But, as you are asking directly with payment terms so you give the payment block in OBB8 without selecting the check box beside to that field
    VVR

  • Substitution Rule for Payment Term

    Hi Expert,
    I have to have Substitution for payment term the following criteria:
    Company Code = '1000' AND Document Type = 'L1' AND Posting key = '14', then ... substitution bseg-zterm with certain payment term.
    Problem: there is no substitution for bseg-zterm.
    I read the post at http://sap.ittoolbox.com/groups/technical-functional/sap-acct/substitution-rule-for-payment-term-489202
    and found that I need to apply a SAP note 42615 in order to enable the BSEG-ZTERM field in Substitution Rule for Payment Term, and after that run Program RGUGBR00 to regenerate the substitution.
    But, problem again, our SAP is ECC 6.0, and the said SAP note is not applicable.
    Kindly advise is there any other way that I can enable the bseg-zterm field at substituion.
    Thanks,
    sbmel

    Hi
    1. Go to SE16N and enter Table GB01
    2. Enter &SAP_EDIT in the command prompt i..e the space where you type your T code and press enter
    3. BCL TAB = BSEG and Field = ZTERM... Execute
    4. Remove the X for the field BEXCLUDE.. SAVE....
    5. Select this entry and menu Table > Transport > Include in tr request
    6. Run RGUGBR00
    Br, Ajay M

  • User Exit for payment term

    Hi Friends
    how to write the User Exit for Payment terms at Item Level. Any Sample User Exits can help me if no exact User Exit Is there
    User Exit Name : USEREXIT_MOVE_FIELD_TO_VBKD
    Thanks in Advance.
    Regards
    sahiti

    Hi Amrish.
    thanks again.
    Hear is the complete ticket which i got from the client.
    1. User exit in Program MV45AFZZ
    User Exit Name : USEREXIT_MOVE_FIELD_TO_VBKD.
    create an include first - and then add the statements to that include..
    this way when there is a patch or an upgrade - we need to only type the include statement and not the extire userexit.
    2. External Table Specifications:
    the table is client dependent
    table name: zpaymentterm.
    client(keyfield)-mandt
    sales org(key)vkorg
    sales Doc-(key)auart
    material Grp-Matkl
    cust:kunnr
    Payment term (zterm) : ijput field in table maintenance
    3. select from the ztable using vbak-vkorg/vbak-auart/vbap-matkl/vbak-kunnr is equal to zztable fields.
    move corresponding zztable-zterm to vbkd-zterm.
    4. Validations: if no entry found in ztable then payment term from the customer master should be copied in the document.
    5. Create the maintenence view for the table and assigned with Transaction Code.
    Thanks in advance.
    Sahiti.

  • Restrict changes in payment terms

    Hi All,
    We have a requirement where in we have to restrict certain users from changing the sales order payment terms. This process has to be SOX compliant also.
    This requirement is for a certain sales org.
    What are all the various ways of achieving this objective with a scalable solution.
    Thanks in advance,
    Ashish

    Hi,
    In the userexit USEREXIT_FIELD_MODIFICATION in the include MV45AFZZ...
    Check for the sales org..
    FORM USEREXIT_FIELD_MODIFICATION.
    IF VBAK-VKORG = '0100'.  " CERTAIN SALES ORG.
    disable the input for payment terms..
      IF SCREEN-NAME = 'VBKD-ZTERM'.
        SCREEN-INPUT = '0'.
      ENDIF.
    ENDIF.
    ENDFORM.
    Thanks,
    Naren

  • HT2534 When i go to review my apple ID it doesnt have a none selection for payment and it wont let me go on what do i do?

    I had to make a new ID because the old one I have had for years now was not working. So I made a new one under the same e-mail and it said it was not in use. When I go to review it I go through all the steps until I get to the payment and then there is not a none selection for payment.

    Thats how mine is acting right now. I went to an apple store today and they couldnt help me with it. did u end up getting it to work??

  • Complete text for payment terms

    please help in picking up complete text for payment terms.i used TVZBT table.but only one line is stored in this table.if they give text in 4 lines,im getting only 1st line if i use TVZBT.please tell how to pick up the entire text.

    Hi Srinivas
    Please check FM
    FI_TEXT_ZTERM
    Regards,
    Arun

  • Table for Payment Terms

    Good day!
    Is there an available table for Payment Terms?
    Thank you!

    1.     TVKGGT-          TEXTS FOR CUSTOMER CONDITION GROUPS(CUSTOMER MASTER)
    2.     TVZBT    -          CUSTOMERS:TERMS OF PAYMENT TEXTS
    3.     TINCT     -     CUSTOMERS:INCOTERMS:TEXTS
    4.     DD01T     -      domain Descriptions
    5.     DD07T     -      Domain Value descriptions
    6.     DD07T     -     DD: Texts for Domain Fixed Values (Language-Dependent)
    7.     DD07V     -     View on fixed values and domain texts
    8.     DD03T     -     DD: Texts for fields (language dependent)
    9.     DD03L     -     Table Fields
    10.     DD07V will contain all the domain values.

  • Payment Terms - Only specify sales text for payment terms for customers !

    What is wrong with the format in the attached screen shot ?
    Do I have to Choose Customer & Vendor ?

    Hi Emad,
    This error “Only specify sales text for payment terms for customers" appears because this payment term is not applicable for customer. There are two choices either to delete the description text and make the payment term applicable only to vendor,However if you want to keep the description text, then make payment term applicable to customer as well by tick mark.
    Regards,
    Sam

  • For pAyment Terms Changes , where we can maintain the relevant Enteries

    Hi Gurus,
    My Query - For Payment Terms where we can Maintain The Relevant enteries other than Customer Master from FI point of view.
    pls guide me in this..
    Thanks in Advance
    poonam

    Hi Poonam,
    Payment term we are maintaining in customer master in two places.
    1) - Company code data page --> On payment transaction tab --> This is for FI
    2) - Sales area data page --> Billing document tab --> This is for SD
    Hope it helps,
    Regards,
    MT

  • In AP invoice i need to make "Terms date " field to calculate the date automatically when i select the payment terms

    In AP invoice i need to make "Terms date " field to calculate the date automatically when i select the payment terms.
    How can i do this?

    Hi,
    You can select the Payment Term at PO Header Level.
    When you book an invoice, that Payment Term will automatically defaulted to Invoice.
    You can define Payment Term in AP.
    Payment terms have one or more payment terms lines, each of which creates one scheduled payment. Each payment terms line and each corresponding scheduled  payment has a due date or a discount date based on either a specific day of a month, such as the 15th of the month, or a number of days added to your terms date, such as 14 days after the terms date.
    Payment Terms (Oracle Payables Help)

  • G/L account for payment terms

    Hi,
    Is it possible to maintain 2 G/L accounts under 1 chart of account for cash discount? For example, G/L account 333333 for payment term Z333 and G/L account 222222 for payment term Z222.
    Will appreciate immediate feedback. Thanks.

    Hi,
    Good morning and greetings,
    You can use the OBBH or GGB1 option to determine the right GL account based on the payment term.
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Dynamic Search Object for Payment Terms

    Hi,
    May i know the Dynamic Search Object for Payment Terms. I have to create a Advanced Search Page with Payment terms. I could not find the dynamic search object for Payment terms. Any help is appreciated
    Thank you.
    -Siddharth

    Hi,
      The search help for the payment terms is not coming from the DDIC search help..
      It is coded in the process on value-request event...
      The function module FI_F4_ZTERM is called for this..you have to change this function module in case if you want the values from a different table..
      OR do implicit enhancement in the subroutine FORM HELP_ZTERM in the include MF02DFH0 to call your search help instead of the function module FI_F4_ZTERM ..And do the same for the sales order also..
    Thanks
    Naren

  • Change Search Help for Payment Terms Field

    Hi,
    I would like to change the Search Help for Payment Terms Field, in Customer Master (KNVV-ZTERM). and in Sales Document. I believe it is the same.
    Default is From Table T052 / T052U
    ZTERM  and TEXT1  Fields
    I would like to have
    From Table TVZBT
    ZTERM and VTEXT
    PayT    Own Explanation Field.
    Can we change the Search Help.

    Hi,
      The search help for the payment terms is not coming from the DDIC search help..
      It is coded in the process on value-request event...
      The function module FI_F4_ZTERM is called for this..you have to change this function module in case if you want the values from a different table..
      OR do implicit enhancement in the subroutine FORM HELP_ZTERM in the include MF02DFH0 to call your search help instead of the function module FI_F4_ZTERM ..And do the same for the sales order also..
    Thanks
    Naren

Maybe you are looking for

  • Itunes-error "Itunes was unable to load data class information from sync services"

    Something is going wrong when ever i want to plug in my ipod-using itunes. It loads for like 5 minutes then a error message pops up saying "Itunes was unable to load data class from sync services. reconnect or try again later." Though it works when i

  • IDOCS: One time customer Processing Issue with TRMTYP

    Hi Gurus, We are working on the process of Transfer of Location Master from SAP ECC 6.0  to Third Party TMS  and we are facing the following problems: While transmitting One Time Customer: In case of one time customer Account group used are CPD and C

  • Problem while using an adobe form "Unable to fulfil request for memory"

    Hi Experts, When I try to call a Adobe Form from the porta,l the system encounters a problem and the error message is "Unable to fulfil request for 3665920 bytes of memory space.".Could yopu please provide you valuable suggestion to resolve the issue

  • Dynamic call for ADOBE FORMS

    Hi , I want to call Adobe forms with dynamic table . Some one please explain me how I can implement this in ADOBE interface ? Any Pointers or Help higly appreciated. Thanks James

  • How to open mail on old PPC 10.5.8 after data migration to MBP?

    Hi All,  I have had a Mac 10.5.8 PPC (Leopard) for years, and recently got a shiny new MBP.  After an Apple consultant migrated the data for me from the old to the new, I can no longer open mail on the 10.5.8  I can send email, and receive it, but I