Making Read Only 'Payment Terms' field.

Dear All,
I want to restrict the changes in 'Payment Terms' in a sales order.
It should be read only for the user who is using VA01 & VA02.
Is this possible to do in object level? If so, what is the object i can use for this.?
regards,
buddhika

HI,
To make a filed entry enabled or grey (non-entry allowed):
User exits in the program MV45AFZZ-USEREXIT_FIELD_MODIFICATION
This user exit can be used to modify the attributes of the screen fields.
To do this, the screen fields are allocated to so-called modification groups 1 - 4 and can be edited together during a modification in ABAP.
If a field has no field name, it cannot be allocated to a group. The usage of the field groups (modification group 1-4) is as follows:
Modification group 1: Automatic modification with transaction MFAW
Modification group 2: It contains 'LOO' for step loop fields
Modification group 3: For modifications which depend on check tables or on other fixed information
Modification group 4: is not used
The FORM routine is called up for every field of a screen. If you require changes to be made, you must make them in this user exit. This FORM routine is called up by the module FELDAUSWAHL.

Similar Messages

  • Dynamically making read only for a field in get_data(CL_EHHSS_INC_BINFA_UI_FRM)

    Hi Experts,
    I am making read only for a field based on condition in get_data method of class CL_EHHSS_INC_BINFA_UI_FRM.
    But it is not working. Pls find the code for the same.
    LOOP AT CT_FIELD_USAGE INTO lw_field WHERE NAME = 'OC_INC_TYPE'.
       lw_field-read_only = ABAP_TRUE.
       MODIFY ct_field_usage FROM lw_field TRANSPORTING read_only.
       ev_field_usage_changed = 'X'.
    ENDLOOP.
    Pls help me what is wrong in this coding.
    Regards,
    Reny Richard

    Hi Richard,
    Please check if   this loop is executing for the correct desired event(say on click or from the start ). & the field name specified is correct or not through debugging. And check by placing the parameter ev_field_usage_changed = 'X'. after the loop statement.
    Below is a sample code for making the field read only.
    field-SYMBOLS: <fs_field> like line of CT_FIELD_USAGE.
       loop at CT_FIELD_USAGE ASSIGNING <FS_FIELD>.
         case <FS_FIELD>-NAME.
         when 'OC_INC_TYPE'. " name of the field
             <FS_FIELD>-READ_ONLY = 'X'.                " ' ' for editable
         ENDCASE.
    CV_FIELD_USAGE_CHANGED = abap_true.
    Regards,
    Harsha

  • Block payment term field

    Hi,
    we want to grey out the payment term field in the sales order screen for the end user.Please suggest what should be done
    Thanks
    AJ

    Hi,
    This can be done by using the T.Code "SHD0".
    Goto the T.Code "SHD0".
    Enter the "Transaction Code" as "VA01".
    Click on "screen variants" tab.
    Enter the "Screen variant" as "BUS2032_4480".
    Click on Change.
    Search for the field " VBKD-ZTERM" by using (Ctrl+F).
    Maintain the tick mark under "Output Only" field.
    Save.
    Regards,
    Krishna.

  • Payment terms field as reuired field

    hello gurus
    where i have to configure for payment terms field as a required field at the time of making Purchase order.
    Thanks
    Venkat.P

    Hi Venkat,
    This is defined in Screen Layout at Document Level. For all external purchasing documents and purchase requisitions, you can   specify the input attributes of fields by using field selection keys.
       A field selection key determines whether a field is:
       o   A mandatory-entry field (input required)
       o   An optional-entry field (input possible)
       o   A display field (field displayed only, input not possible)
       o   Suppressed
    To do this setting you need to follow the path as SPRO->Material Management->Purchasing->Purchase Order->Define screen layout at document level. Create ur field status group with payment terms as mandatory.
    Hope I had been able to help you. please assign points.
    Rgds
    Manish

  • Missing Payment Term field on tcode FBR2 Customer Invoice Display

    Hi Experts,
    This is a more detailed explanation on the Payment terms field issue we are encountering since last week.
    I have some problems with their request that they want to show the payment terms field in the transation code FBR2 - Customer Invoice even if the Sales Area Data for Customer is not maintained but Company Code Payment Terms is maintained. I need help on the configuration on how to show the field.
    What I researched is that there are 2 maintainance of Payment Terms Field:one in the Company Code and another in the Sales Area. As I read on some forums, the Payment Terms in Sales Area should be the default when using the SD Process however, the Payment Terms in the Company Code should be the default value when they use FBR2 - Customer Invoice. But thay still cannot see the payment terms field in the Accounting Document they already created.
    I already checked in transaction OBC4 the Reconcilliation Account Group and the Payment Terms field is optional there and even the Posting Key 01, which is also optional.
    Please help me on this. Thank you.

    I did some checking on the past few posting, and I found some posting to the same account also the same tcode FBR2. However, the other one is with posting key 01 - Invoice.
    The Problem occurs when we use FBR2 then the posting key is 09 - which is a special g/l posting for the account. How can I check why the "Payment Terms" field is still not displayed or cannot maintain in this transaction?

  • FBR2 Customer Invoice - Payment Terms Field Display

    Hi Experts,
    Is there a configuration where the payment terms for this transaction is always displayed even if the customer used has no sales area maintained? The reason is they don't want to maintain the sales area for customers since it is a inter-company non-trade transaction which is they post directly to customer via transaction code FBR2.
    Thank you for your help!

    Hi Experts,
    Is there a configuration where the payment terms field is always appearing in the FBR2 transaction code?
    Thank you so much!

  • Invoice Reference Number "V" + Blank Payment Terms field

    Hi Experts
    Need your validation on one point. I have credit memos with invoice reference number field filled with "V" but payment terms in document is blank.
    Payment terms in Vendor Master Data is XXXX (Net due 30 days). But when I run the Payment Program within 30 days for this vendor, the credit memo is picked up and adjusted.
    Is my understanding correct that it is because of the following reasons -
    By putting V in invoice reference number, the system will overlook the payment terms mentioned in Vendor Master Data and follows whatever is mentioned in the document.
    And because the payment term field is empty in the document, it is taking baseline date as payment due date and thus picks the document in F110 program.
    Points will be rewarded to replies with explanations.
    Regards
    Arjun

    Arjun,
    please check my comments:
    By putting V in invoice reference number, the system will overlook the payment terms mentioned in Vendor Master Data and follows whatever is mentioned in the document.
    In all cases the document entry overlook the master data entry. The vendor works as default values during document entry.
    And because the payment term field is empty in the document, it is taking baseline date as payment due date and thus picks the document in F110 program.
    Don't change the document defaul entry if you want the vendor assignment. If it's blank you have to assign same Payment terms from you vendor otherwise you will have only the baseline date.
    Best Regards

  • MIRO - Payment Tab Payments Terms Field (Display Mode)

    Hi,
    My requirement is to make the MIRO - Payment Tab> Payments Terms Field into Display Mode.
    How to achieve this.
    Regards,
    Baskar

    Hi,
    With the help of the Screen Variant, you can able to set it.
    Thanks,
    Log.

  • Payment term Field at header level

    Hello
    my requirment is while creating sale order the payment term field at header level should be in display mode. or not shown while creating sale order. doesnot want to maintain user exit. or anyone have knowledge of field (of payment term ZTERM ) object ?
    Regards

    Dear Mr. M Yasir Dogar,
    To this requirement as Lakhsmi says, to make the Payment term in display mode, without user exit you can do with Tansaction variant SHD0. It actually make a view sort of control.
    Steps:
    Run T CODE: SHD0
    Transaction         VA01
    Variant                ZVA01_VARIANT
    create a sales order.
    during the process system, records all the details of object involved in the sales order creation.
    and it records with the screen number as variant name.
    After execution go to details, Go to
    Name of screen variant:  ZVA01_VARIANT_4440
    and in Payment terms VBKD-ZTERM, select Output only (means it will only display the data from master) and others option also will be there like * Invisible, Required.*
    Select the appropriate one.
    Along with this activity,in the authorization - profile the Variant should be assign to the USERS having T CODE : VA01. This can be done by the Basis team.
    We did similar to control the manual entry of Payment terms.
    Regards,
    Mani

  • Payment term field.

    hi,
    i am doing a Finace Aging report now, and i need to cater for the payment term field.
    however, does any know the table for payment term that store the days value? i cant find it. thanks

    Please check table: T052.

  • Payment Term field to be set as Non Editable in Sales Order

    Hi,
    I have a requirement, in which the user wants to make the Payment Term field in Sales Order as Non Editable in case the Payment terms is copied from Customer Master to Sales order.
    In case no value is copied, it should be editable.
    Is there any setting to make this happen.
    Can anyone help on this?
    Please advise.
    Regards,
    Harsh

    Harsh,
    2 Options,
    1 by changing screen variants by SHD0
    2. By modifying USEr Exit.
    Thanks,
    Raja

  • Disable Payment Term field in the Marketig Document

    Hi everyone,
    I would like to ask if I can make a particular field in the marketing document be active but disabled without having to modify it using SDK? I would like to make the Payment Terms field in the Accounting tab of the AP Invoice to be disabled from the user so that he cannot change the default value during encoding of invoice. If it is not possible what workaround can you suggest.
    Any help will be appreciated. Thanks
    Malu

    Hi,
    for further infos about Coresuite u may have a look at their homepage :
    http://www.coresystems.ch/coresuite-customize.html?&L=2
    We bought Customice & Designer. Customice enables you to change the hole forms, create new tabs eg. in BM Master form or to hide fields. The designer is a very nice form editor, much easier than XL Reporter and more powerful than pld.
    Regards Steffen
    P.S. I am not a employee of coresuite

  • Payment Terms field mandatory in PO

    how do you make the payment terms field mandatory in ME21N - ie creating a purchase order screen??
    pls help

    Hi,
    The payment terms is picked up from vendor master or it may pick from inforecord if maintained,
    There are 2 types of payment terms one mainitained in purching view and the other maintianed in company code view.
    Payment terms if not made mandatory in vendor master then you have to make this mandatory in screen selection for tcode ME21N
    Thanks & Regards,
    Kiran

  • Reg:FB02 - payment terms field shouldbe disable

    Dear all,
    When i am doing the transaction by using FB02 tcode for open items once i am maintaining  the payment terms for that document number , after that no one cant able to change that document number payment terms field should be disable mode.
    But  i cant get this feature for open items. But i can get this feature for cleared items. Once that document get cleared , automatically the payment terms field also going to disable mode.
    This same feature should be needed for open items also, once the payment terms field entered, it will leads to go to the non editable mode. 
    Helpful answers will be rewarded.
    Thanks,
    Sankar M

    Hi Enrique,
    I think it is because of Field Status .So Check the Field Status Variant in SPRO.
    Path:Financial Accounting (New)->Accounts Receivable and Accounts Payable->Business Transactions->Outgoing Invoices/Credit Memos->Make and Check Document Settings->Define Field Status Variants
    Check for your Field Status Variant assigned for your company code then the Field Status Group.Hope you can see the Field Payment Term check whether it is Suppressed or not else make it Optional or Required according to your requirement.
    Hope this might help you
    Regards
    Andrew

  • Locking Payment Terms field on OM Sales Order

    Hi,
    Our users are entering sales order using OM responsibility. We have customers that have a payment term of COD. Within a sales order, when one of these customers is selected and COD is returned to the payment terms field, the user can still change it. We would like to lock the payment terms field when a payment term of COD is returned and not allow it to be updated. If the payment term is not COD, we would allow the user to change it if needed. Can we possibility do this using forms personalization?
    Thanks for the help

    Dear MoazzaM,
    I know that payment term is available in 3 screens. My question is that if I make the field invisible in any of the screen then it should at least perform for that particular screen. Because I tried the same with Std TV BUS2032 and it worked.
    Or is it that If apply the changes for all the screens it would take effect in case of Z transaction variant?
    But I am surprised why the same is not getting called when I use a Z transaction variant. Also please note that if I refer to the Std TV BUS2032 and make a copy of the same I am still not able to use it as the screens called there are already used at many places in standard SAP?
    Please suggest.
    Regards,
    Anirban

Maybe you are looking for

  • Variable selection screen

    Hi, I have 2 currency varaibles in my variable selection screen. Now i want to remove one. I can't find these variables in query deffination. Can you tell me how should i remove the currency conversion variables from the web template selection screen

  • Profit center balance carry forward

    Hi, If i post any profit center documents after i do the balance carry forward for the profit center balance sheet accounts to the new fiscal year, will the system update the opening balance of the new fiscal year automatically or i have to re-run th

  • Debit/Credit Indicator in VA05 Transaction

    Hi, We have a requirement where in a new program designed in lines of VA05 for open sales orders & customer needs to differentiate Debits & Credits separetely for all the open sales orders. When checked in VA05 there is a field named as Debit/Credit

  • PDF Object Name

    Hi Gurus, Can anyone tell me the PDF object name for the sales orders. Thanks KeviN Mike

  • Contact Center Script for AgentExtension

    Hi, I need a script that returns Agent extension of an already logged-in agents.. (I mean that I need to know if a specific agent is already logged in or not) is it possible?.. thx in advance