Mandatory field - Header text and Reference field  for company code

Hi
In transaction code FB60, I want to make header text and reference field mandatory at the company code level.
For one company code , the header text and the reference field should be made mandatory but for the other 8 company codes , those fields should not be mandatory.
if I make the fields mandatory via the document type , then it will be applicable for all the company codes using the document type.
thanks in advance
Kind regards
sap student

Hi Chintan
I have written the validation rule and it is working fine.
Thanks
kind regards
sap student

Similar Messages

  • VAT and CST details for Company Code

    Hi All
    I have a requirement to store following details at the company code and plant level in SAP ECC for India implementation. Can someone please guide me where can I store these information in SAP ECC 6.
    VAT - Plant Level
    CST - Plant Level
    TIN - Company Code Level
    PAN - Company Code Level
    Service Tax - Plant Level
    Also, can i store VAT, CST and Service Tax at storage location level?
    Regards
    Diya

    Got the point, my question was wrong. i have to maintain VAT for company code did it using OBY6.
    Have to explore for updating IBAN and swift details now.

  • Can any one pls tell me the mandatory fields for BAPI_ACC_DOCUMENT_POST

    hi all ,
    Can any one pls tell me the mandatory fields for BAPI_ACC_DOCUMENT_POST
    what all data i need to give to post a document.
    Thanks and Regards
    JK

    Hi...
    part of my source code:
    ** Header Data " Sending comp code
    wa_documentheader-comp_code = 'XXXXX'.
    wa_documentheader-doc_date = '20060620'.
    wa_documentheader-pstng_date = '20060620'.
    wa_documentheader-doc_type = 'XX'.
    wa_documentheader-username = sy-uname.
    wa_documentheader-ref_doc_no = 'XXxxxxxx'.
    wa_documentheader-header_txt = 'Text Header.
    wa_documentheader-bus_act = 'XXXX'.
    *it_currencyamount
    wa_currencyamount-itemno_acc = '1'.
    wa_currencyamount-currency = 'COP'.
    wa_currencyamount-amt_doccur  = 1943.
    APPEND wa_currencyamount TO it_currencyamount.
    *it_accountpayable
    wa_accountpayable-itemno_acc = '1'.
    wa_accountpayable-gl_account = '1234567890'.
    wa_accountpayable-bus_area = 'DIV'.
    wa_accountpayable-item_text = 'Text 1 XXxxxxx '.
    wa_accountpayable-pmnt_block = ''.
    APPEND wa_accountpayable TO it_accountpayable.
    *it_accountgl
    wa_accountgl-itemno_acc = '2'.
    wa_accountgl-gl_account = '1234567890'.
    wa_accountgl-item_text = 'Text 2 XXxxxxx'.
    wa_accountgl-bus_area = 'DIV'.
    APPEND wa_accountgl TO it_accountgl.
    wa_currencyamount-itemno_acc = '2'.
    wa_currencyamount-currency = 'COP'.
    wa_currencyamount-amt_doccur  = ( 1943 ) * -1.
    APPEND wa_currencyamount TO it_currencyamount.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
      EXPORTING
        documentheader = wa_documentheader
      TABLES
        accountgl      = it_accountgl
        accountpayable = it_accountpayable
        currencyamount = it_currencyamount
        return         = it_return.
    clear it_return.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
          EXPORTING
            documentheader = wa_documentheader
          TABLES
            return         = it_return
            currencyamount = it_currencyamount "currencyamount
            accountpayable = it_accountpayable "accountpayable
            accountgl      = it_accountgl "accountgl
          EXCEPTIONS
            OTHERS         = 01.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

  • Make material as a mandatory field for a particular document type in PR

    Hi,
        Currently we are in SAP 4.6c version. There is a business requirement for making material as a mandatory field for a particular document type of purchase requisition as they don't want the user to raise non material purchase requisition using that document type. The field for material is currently not available in the configuration for Define Screen Layout at Document Level for purchase requisition.
    So could you kindly let me know the possible options to prevent user from raising a non material purchase requisition using that document type. If not could you kindly suggest me the user exits available at the time of saving purchase requisition which i could use so that we can write a code to check if the material number is entered or not. If not entered prevent the user from saving the purchase requisitions.
    Also it would be helpful if you could let me know how the fields for enjoy transaction (like material,document type) can be made available for selection in the configuration for Defile Screen Layout at Document Level for purchase requisition.
    All you help in the solving the above problem is highly appreciated.
    Thanks & Regards
    Ram

    Hi,
    Check below method works out for you, if you do not want to proceed with any ABAP development.
    Have a custom field selection key with Material Description field as "Mandatory" and "Display" in Basic Data, Item selection group.
    Assign this to your PR document type which need material as mandatory. With this you are making user to enter material indirectly as mandatory & user will not have an option of entering text which avoids indirect / service procurement.
    "Material Group" option won't help as User can have default settings with some value and it updates even in display mode of field.
    Regards,
    Ram
    Edited by: Ramprashanna S on Jan 11, 2012 11:51 PM

  • Mandatory fields for  BAPI_ACC_DOCUMENT_POST

    Hi
    I am getting the follwing data from the file (Which is coming from oracle) invoice number and the amount,
    from that i have to use Fb70 tcode for posting ,Please help me what are the mandatory fields for FB70,
    how will get those fields from SAP. How to use the BAPI ?
    Regards
    Pabs

    hi
    check out this thread
    Re: BAPI_ACC_DOCUMENT_POST
    hope this helps
    regards
    Aakash Banga

  • Mandatory fields  for mapping in ORDERS idoc.

    Hi
    I m working on File to idoc scenario for creation of sales order in ECC 6.0 , now I want to know what are the mandatory fields in ORDERS idoc which needs to be populated or else disbaled so that the sales order gets created properly in the ECC 6.0..
    Pl let me know the method of finding mandatory field for mapping for  any idoc  and which fileds of idoc are to be disabled.
    Pl help ..
    ans will be rewarded .
    thanks & rgds
    mojib

    HI,
    U can disable the control record segment and in the IDOC adapter use the option apply control record from payload.
    If you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter, the following fields are filled from the IDoc-XML payload:
    ·        MESCOD
    ·        MESCFT
    ·        TEST
    ·        EXPRSS
    ·        STD
    ·        STDVRS
    ·        STDMES
    ·        SNDSAD
    ·        SNDLAD
    ·        RCVSAD
    ·        RCVLAD
    ·        REFINT
    ·        REFGRP
    ·        REFMES
    ·        STATUS
    ·        DIRECT
    ·        OUTMOD
    ·        CREDAT
    ·        CRETIM
    read the information in below link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/ab/bdb13b00ae793be10000000a11402f/frameset.htm
    thnx,
    chirag

  • Mandatory fields for vendor master load

    Hi Experts,
    what are the mandatory fields for the vendor master upload? how can I find that?
    Thanks for the help.

    In addition, you can also refer the links:
    http://www.auditnet.org/docs/SAPR3AccountsPayable.txt
    http://users.ev1.net/~gmorris/securitydocs/SAPR3AccountsPayableMatrix.doc
    Hope this’ll give you idea!!
    <b>P.S award the points.!!! !!!</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • Mandatory Field for Entering Delayed Reason for project during scheduling .

    Hi Friends
    Here I have a question on "Scheduling"?
    My Client want an mandatory field for entering the delay reason if any phase or tasks or project definition get delayed.
    Your input would be highly appreciated
    Regards,
    YAGHAG

    Hi Abhijit,
    Thanks for your prompt reply.
    I am implementing cprojects 4.5 in PLM 7.0 and not in PPM 5.0.
    Regards

  • Mandatory field for TIN No, or  Contact Person

    HI Expert,
                     Can anyone please tell me code for Mandatory field for TIN number or Contact person  at the time of adding Purchase Order.its possible by SP i tried for it but its variable so pls anyone have any idea.
    Sudhir

    Hi Sudhir,
    Try This.
    FOR Contact Person-----
    IF EXISTS (SELECT DocEntry FROM [dbo].[OPOR]
    WHERE
    ((CntctCode IS NULL OR CntctCode = '')
    AND DocEntry = @list_of_cols_val_tab_del))
    BEGIN
    SELECT @error =1, @error_message = 'Your Error Msg1'
    END
    END
    For TIN No.-------
    IF (@object_type = '22' AND @transaction_type= 'A')
    BEGIN
    IF EXISTS (SELECT DocEntry FROM [dbo].[POR12]
    WHERE
    ((TaxID11 IS NULL OR TaxID11 = '')
    AND DocEntry = @list_of_cols_val_tab_del))
    BEGIN
    SELECT @error =1, @error_message = 'Your Error Msg 2'
    END
    END
    Regards
    Ashutosh T

  • Standard SAP Table for PO Header Text and PO Item Text

    Hi,
    I want to know the Standard SAP Table where the PO Header Text and the PO Item Text are stored.
    Thanks,
    RK

    PO texts are stored in tables STXH and STXL.
    TDOBJECT is EKKO for header texts and EKPO for item texts.
    Just for future reference with regards to getting text id's etc.
    eg: PO texts.
    --> Go into the PO.
    --> Go to the text tab (item or header - depends what u want).
    --> Double click into the required text.
    --> Click the "GO TO" menu option.
    --> click Header.
    and all the info you need is there.
    You need to use function module READ_TEXT. Since lenght of text is variable it is stored in binary format and cannot be read via a table viewer.

  • Mandatory fields for VF01, ME51, XD01, Co40

    can anyone tell me the mandatory fields for the tcodes to do BDC:
    VF01
    ME1
    XD01
    CO40

    Hi,
    ME51,VF01 -- No mandatory fields for these transactions.
    XD01-- account group and customer number are mandatory.
    CO40- Planned order mandatory.
    Regards,
    Jagadish.

  • Mandatory fields for xd01

    hai,
    what are the mandatory fields to create the datas for xd01.(customer master data).
    regards
    surender

    HI
    MANDATORY FIELDS FOR CREATING CUSTOMER DATA ARE:
    Account Group---ktokd(field name)
    Name---Name1
    Search term----sortl
    postal code----pstlz
    country-----land1.
    Regards,
    vineela

  • Mandatory Fields for IDOC ORDERS01 for Pricing Condition EDI1 to trigger

    Hi ,
    I'm Testing an Inbound ORDRSP using we 19  for Pricing Conditions EDI1. What are the Mandatory Fields for IDOC ORDERS01
    Thanks

    hello,
    I think it's better to execute VA01 to create a sales order; in that way you should have an idea of mandatory fields.
    Thanks.

  • How to get subject text and Reference Object both Screens at the Header lev

    Dear Experts ,
                    I am getting only Notification Header Screen ( Subject Text, Notification system and User Status) at the Header of Notification and different Tabs under that screen.
                    I want Subject Text and Reference Object screens at header Level so that any screen Tab selected at a time I can see the Subject and Reference Object of the Notification.
                    Pls tell me is there any way so I can Include 2 screens( Subject and Reference Object at the Header Level.)
    With best regards,
    Narendra

    Narendra,
    You can't in the standard system.
    Only the tabs are configurable.
    PeteA

  • Table and fields for " Batch Code Date " and "Shelf Life days".

    Hi All,
    What is the field for " Batch Code Date " and "Shelf Life days".
    And in which table are they present.
    Thanks & Regards,
    Ahmed.

    Check the table
    MCHA  Batches
    Field VFDAT  Shelf Life Expiration or Best-Before Date

Maybe you are looking for

  • OSX 10.5.2 useless after security update

    Mail, Address book, Dashboard, Pages and iCal crash before even starting completely. These are the apps I tried, so there are probably others also crashing after this security update (2008-002). My wife has a MacBookPro that continues to run well aft

  • Payment Methods : Payment Demand

    Hello Experts, I need help on how the payment demand functionality works ? This is used for Customer Collections in FBZP transaction under payment methods by country especially France. Can anybody explain step by step process as what needs to be done

  • Avoid the arrayindexoutofbound exceptio

    hi, java.lang.ArrayIndexOutOfBoundsException: 7 i am getting this error while clicking the submit button.actually i am using display tag in .jsp. In that displaytag i have one text box.displaytag size is 5.i am getting data from DB.here we have pagin

  • BI Publisher is not showing Oracle BI Answers

    Hi, I've OBIEE 10g running on linux. I'm trying to publish one of the reports developed in OBIEE by using BI Publisher. In 'Data Model' -> 'New Data Set' when I use 'Type' as 'Oracel BI Answers' and then click on the 'flashlight' icon next to 'Oracle

  • How to have Leopard's Finder Behavior mimic Tiger's

    Hello, folks!  I recently upgraded my G4 PowerPC machines from Tiger to Leopard 10.5.8.  One aspect of the change that is not to my liking is the way that the Leopard Finder remembers your preferred view (icon, column, list, etc.) for each individual