Mandatory field in sales order additional data tab

Hi,
I have added an extra field in additional data tab of sales order. 
How can i make this field as mandatory for certain sales organisations ?
TIA

since it's conditional, I think I would add code in SAVE_DOCUMENT_PREPARE subroutine in MV45AFZZ, based on transaction code, prior values (YVBAP) and current values (XVBAP), and issue an error message, allowing user to return to the screens displaying Item table control, when the field is not properly populated.

Similar Messages

  • Sale Order additional data B.

    Hi,
    I have created 2 z fields in sale order additional data b at item level.
    but when user is entering any data in that field,same data is getting displayed for all line items.
    how to control that for particular item for which user has entered.
    Data Entered in z fields are used only for display purpose which are used for some calculations.

    hi,
    in PAI  usercommand  module  
    use loop endloop for internal table which store item level data 
    loop at item level data
    user command module 
    endloop.
    in module  driving program .
    module
    read table it_issue index tab_ctl-current_line transporting no fields.
      if sy-subrc = 0.
        it_issue-kostl = p_kostl.
        it_issue-ktext = p_ktext.
        it_issue-for_sys = p_for_sys.
        modify it_issue from it_issue index tab_ctl-current_line.
        clear it_issue.
      else.
        it_issue-kostl = p_kostl.
        it_issue-ktext = p_ktext.
        it_issue-for_sys = p_for_sys.
        append it_issue .
        clear it_issue.
      endif.
    endmodule  .
    regards
    deepak.

  • Profit center mandatory field in sales order !

    Hi All !
    How to make profit center mandatory field in sale order can any body let me know...
    Thanks & Rgds
    Naveen

    Hi
    You can either Transaction variant SHD0/User exit
    Refer below<a href="http://www.sap-img.com/sap-sd/supressing-fields-in-sale-order.htm">Fields in Sale Order</a>
    help required: how to makes sales office field mandatory, in inquiry and qu
    Re: supress  some fiels in sales order? user exit?
    Message was edited by:
            SHESAGIRI.G

  • Regarding Making Of Mandatory Fields at Sales Order

    Hi Gurus,
    My reuirement at site is like this:
    Separate Sales Order document type, Delivery Type and Billing type Should be maintained for Narcotic drugs. This thing i can maintain but they want,
    Five fields in Sales Order will be identified and made Mandatory for entering the details of information pertaining to Narcotic drugs viz., License no, Expiry date etc., How we can make mandatory of this fields.
    Please suggest me
    Regards
    Kiran

    Hi,
    go to t.code SHD0, enter t.code VA01, and description go to screen by screen and select ur fields, make it as required indicator activation.
    hope this will help u
    regards,
    sk

  • Grouping field value in the additional data tab is saved with capital lette

    Hi,
    Whenever I change the value in the 'Grouping field' in the additional data tab, it gets saved with all letter caps.
    For e.g, if i enter 'Manager'.. it gets saved as 'MANAGER'.
    what could be the reason for this? Is there any configuration for this?
    Regards,
    Simmi

    Hi Simmi,
    For Grouping and Search Field, this seems to be the standard system behaviour in cProjects and as per my knowledge there are no settings for the same.
    Probably you can raise an OSS message regarding the same.
    Regards,
    Vivek Pandey

  • Add extra field in ME21N at Additional  Data Tab

    Hi All,
              I want to add Two fields from our custom table (Tax and Tax type) in ME21N T code at Additional data tab,
              and save the value in our custom table.
    Please suggest me for this .
    I searched for this there mentioned  BADI-   ME_GUI_PO_CUST
    So Please advise me how to proceed for this one.
    Thanks & Regard
    Vivek

    Use MM06E005 enhancement to add fields in screen of ME21N
    SAPMM06E 0101 CUSTSCR1 SAPLXM06 0101 Subscreen: PO header
    SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen:  PO item
    SAPMM06E 0201 CUSTSCR1 SAPLXM06 0201 Subscreen: agreement header
    SAPMM06E 0211 CUSTSCR1 SAPLXM06 0211 Subscreen: agreement item
    SAPMM06E 0301 CUSTSCR1 SAPLXM06 0301 Subscreen: RFQ header
    SAPMM06E 0311 CUSTSCR1 SAPLXM06 0311 Subscreen: RFQ item
    Use the appropriate screen exit depending on where u require to add field

  • How to make plant mandatory field in Sales order thru standard SAP process

    Hello,
    There is requirement in business that User wants to make plant field Mandatory in Sales order line item once material number is entered. Can you please guide me how I can make Plant field mandatory thru Standard SAP process.
    I had checked it thru Incompletion process & Order type incompletion messages but still Plant field is not becoming mandatory in Sales order. It only gives incompletion log while saving the SO. Please suggest how to do it thru Standard SAP process.
    Thanks & Regards,
    Saurabh

    HI
    Plant will determine based on Customer-material Info Record, Customer Master data & material Master
    If plant is not mandatory in customer Master and Customer material no problem
    but at the time of creating the material master  Plant Mandatory as per my knowledge, so system will pick plant from Material master  that is the case why you required plant Mandatory in Sale order level
    and you need to do Shipping Point Determination for that plant
    Did you check by using User Exit ? if not try once what i have suggested
    Try with User Exit
    MV45AFZZ , FORM USEREXIT_SAVE_DOCUMENT
    VBAP - WERKS = " "
    if VBAP - MATNR , POSNR = not initial
    Error Messgae "E"
    Check and Revert
    Regards,
    Prasanna
    Edited by: prasanna_sap on Feb 14, 2012 11:41 AM

  • Mandatory field in sales order entry  VA01.

    Hello ,
    I need help to resolve my problem. I am using transaction VA01. In the sales order entry we have provision for fast entry for characteristics.
    This can be customized in SPRO .. IMG -> Sales and Distribution -> Sales Documents -> Fast Data Entry of Characteristics in Sales Documents -> Define Characteristics Display for Overview Screen.
    In the characteristics display I have added the required characteristics I need for sales order creation. Now i need to make one of the characteristics field as mandatory for sales order creation.
    How can I do that setting, so that each time when the sales order is created the particular characteristics fields pops out to be mandatory?
    Thanks in advance.
    Regards,
    Divya

    Hi,
    How can I do that setting, so that each time when the sales order is created the particular characteristics fields pops out to be mandatory?
    Maintain the Entry required for all the desired characteristics of finish material class.
    Try and revert.
    Thanks
    Hrishi

  • Screen compression problems in sales order additional data b screens

    When i enter va01 for the slaes order he screens are:
    SAPMV45A8309, Sales Document Header - User Exit Header
    SAPMV45A8459, Sales doc. Item - User exit item
    Use screen painter to change them. (transaction SE51)
    what happened is that i have four boxes in additional data b subscreens and i am calling another sub screen 9801 which contains table control what happened is that while run time i am getting gap in the boex of screen 8459, how to compreess the boxes or spaces to accomodate the table control.
    very urgent pls.....
    regards
    subba

    Thanks for your reply , Actually i am calling  9801 sub screen  with table control on to 8459 sub screen(sapmv45a program)
    still the problemm remains the same. I am using the code as below.zie,z01,zia are all modification groups to hide the boxes in the 8459 screen, pls check my code and revert back   urgently urgently.....
    PROCESS BEFORE OUTPUT.
                               Verarbeitung vor der Ausg
        MODULE ZZ_GET_TEXT.
       MODULE ZZ_FIELD_SETTINGS.
      CALL SUBSCREEN ZZAUDIT INCLUDING 'SAPMV45A' '9801'.
    PROCESS AFTER INPUT.
       CALL SUBSCREEN ZZAUDIT.
    MODULE    ZZ_FIELD_SETTINGS OUTPUT.
      LOOP AT SCREEN.
      Determine main grouping based upon mod group 3 field.
        CASE SCREEN-GROUP3.
          WHEN 'ZIA'.                    " Orbit  /interface architecture.
            PERFORM ZZ_FIELD_ZIA.
          WHEN  'ZIE'.                  " ERI interface.
            PERFORM ZZ_FIELD_ZIE.
          WHEN 'Z01'. " Generic -Relevant for all interfaces potentially.
            PERFORM ZZ_FIELD_Z01.
        ENDCASE.
      Handle display of contract versus other doc types.
        IF VBAK-VBTYP EQ  'G'.       "Contract doc type.
          IF SCREEN-GROUP4 NE  'Z02'.
            SCREEN-ACTIVE = 0.  " field not relevant for contract display.
          ENDIF.
        ELSE.                    "other doc types.
          IF SCREEN-GROUP4 EQ 'Z02'.
          Field not relevant for non-contract display.
            SCREEN-ACTIVE  = 0.
          ENDIF.
        ENDIF.
    FORM ZZ_FIELD_ZIE.
      IF NOT VBAK-AUART IN ZZR_AUART.
    IA related Doc Type - Hide ERI fields
        SCREEN-ACTIVE = 0.
      ELSE.
      IF SY-BINPT NE 'X'.         " Not Processing in BDC Mode
        SCREEN-INPUT = 0.         " Turn Off Input Ability
      ENDIF.
        CASE SCREEN-GROUP4.
          WHEN 'ZAU'.                " Audit Toggle Related
           IF zzshowaudit NE 'X'.
             screen-active = 0.
           ENDIF.
          WHEN 'ENA'.
            SCREEN-INPUT   = 1.
          WHEN 'ZTS'.
            IF SY-SYSID EQ 'DV2'.
              SCREEN-INPUT = 1.      " Testing Allowed in Development
            ENDIF.
        ENDCASE.
      ENDIF.
    FORM ZZ_FIELD_ZIA.
      IF VBAK-AUART IN ZZR_AUART.
      ERI related Doc Type  -Hide IA related fields
        SCREEN-ACTIVE = 0.
      ELSE.
        CASE SCREEN-GROUP1.
          WHEN '001'.                             "0902 specific fields
          WHEN '002'.                              "0902 WebCore fields
            IF  VBAK-VKORG NE '0902' AND
                VBAK-VKORG NE '0903' AND
                VBAK-VKORG NE '0917'.
              SCREEN-INPUT = 0.
            ENDIF.
          WHEN '003'.                              "0917 specific fields
            IF VBAK-VKORG NE '0917'.
              SCREEN-INPUT = 0.
            ENDIF.
          WHEN '999'.                             "Generic Fields
            IF VBAK-VKORG EQ '0917' OR
               VBAK-VKORG EQ '0902' OR
               VBAK-VKORG EQ '0903'.

  • Sales Order Additional Data

    Hi,
    I have 2 sales orders:
    SO1) with an entry in the Header Level field VBKA-KVGR1 (Additonal Data A).
    SO2) No entry in the Header Level field VBKA-KVGR1 (Additonal Data A).
    If I open SO1 in VA02 and F3 Back out of it without making a change, I am asked "do I want to Save Changes"?
    If I open SO2 in VA02 and F3 Back out of it without making a change, I am not asked the question.
    Anyone know why?
    Thanks.

    Hi Max,
    I said yes to the 'Save Changes' question but no new change document appeared.
    I'll do a debug now and see if there is a userexit somewhere changing something.
    From the quick debug that I have done, the Popup appears because...
    (SAPMV45B)R185D-DATALOSS = X here:
    SAPLV00F / LV00FF0D
    Form DIALOG_AUSGEBEN
    IF T185D-DIADYN NE SPACE.
      PERFORM DIALOGFELD_DYNAMISCH USING MODUL-POOL USER_DATALOSS
                                         USER_FIELD.
      ASSIGN (USER_FIELD) TO <FS1>.
    Datenverlust -
      CHECK <FS1> NE SPACE. -
    >>>>> 'X'
    ENDIF.
    (USER_FIELD)  = (SAPMV45B)R185D-DATALOSS
    In the other one (SAPMV45B)R185D-DATALOSS = '  '
    Thanks.

  • Credit memo and mandatory fields in Sales order

    Dear all,
    I have 2 problems, hoping these are not too basic questions I'm asking here.
    1). I have created a sales order for credit memo's and I'm using the standard billing type G2.
    The amounts are negative in the order & in the billing document, however, when transferring to FI, it is posted as a normal invoice (Debit customer) instead of credit memo.
    Where are the posting keys defined or where do you determine which kind of posting will happen in FI based on the billing document?
    2). When creation a sales order (VA01), the sales office and sales group should be mandatory fields. What is the best way to do this? Or is the only option to go via the document completeness check?
    Many thanks!
    Best regards.

    Hi There,
    > 1). I have created a sales order for credit memo's and I'm using the standard billing type G2.
    > The amounts are negative in the order & in the billing document, however, when transferring to FI, it is posted as a normal invoice (Debit customer) instead of credit memo.
    >
    > Where are the posting keys defined or where do you determine which kind of posting will happen in FI based on the billing document?
    This is the standard SAP behavior. Simple thing, All the values are negative so when it will post to FI
    It will be like
    Dr  Customer Invoice amount ( which is negative ) so end result is +ve. ( as Debit is -)
    I hope its understandable.
    For example:
    While creation of simple invoice say of 1000 $
    Entries were Dr Customer 1000 $
                         Cr Revenue    1000$
    Now After Credit memo
                        Dr Customer    -1000 $
                         Cr Revenue    -1000 $
    Which will nullify each other.
    > 2). When creation a sales order (VA01), the sales office and sales group should be mandatory fields. What is the best way to do this? Or is the only option to go via the document completeness check?
    The best way is to include these two fields in the Sales order incomplete procedure in OVA2. Put Error/warning as required by you.
    Thanks,
    Raja

  • Question on setting mandatory field in sales order?

    Hi SAP Gurus,
    Hope all doing fine.I have a scenario like i have to put tax classification field mandatory in sales order, user must have to enter some value in the field before saving it.how to do it in standard sap?
    Regards
    chandu.

    Hi.,
              Can u be little bitt clear where the tax classification filed is in sles order?
    If Alt tax classification you can make it mandatory in SHD0
    Thanks & Regards
    Narayana
    Message was edited by:
            manam narayana

  • One Time Customer Mandatory field during Sales Order Creation

    Hi
    My client has lots of one time customer and they need to capture the phone number  and name of the individual customer at the time of sales order creation using one time customer code.
    They want only "NAME & PHONE NO" as mandatory field so that the Person who creates a Salesorder should enter the NAME & PHONE NO" . Please let us know where the configuration for teh above is?
    We have tried in Account Group One time customer settings which is working at the time of creation of order and not at the time of creation of Sales Order, please help us on the above..
    Regards
    Anis

    Hi Anis,
    In the Account group , if you check the one-time customer then while creating the sales order itself it will appear to change the address for that customer.
    By the time you can enter your required fields.
    I think you mentioned as
    We have tried in Account Group One time customer settings which is working at the time of creation of order and not at the time of creation of Sales Order, please help us on the above..
    Order creation and creation of sales order are both same.
    May be you would have confused.
    regards,
    santosh

  • Sales Employee mandatory field in sales order item level

    Hi all
    I want to do SALES Employee mandatory on sales doc. item level, once i have gone through customization i did it check BOX on but once i save there where no effect, that check BOX still blank
    please provide me how i should do it
    Regards,
    Abhijeet

    hi Cong,
    i earlier i unable to save due to VE and PE confusing partner function but now i have to save the setting means check BOX marked but still there where not effect.
    Again i want to tell you the requirement i have to do Mandatory Partner function (Sales Employee) on sales order item level,may be that will be PE or VE i m not sure....
    Management want to track like who is the owner of this business at the per item level for incentives purpose and after that marketing team can analyze the incentive or commission by the end of the every months from early this practice is going on but every sales order or every line item every time user not used to fill sales employee so that i have to do Mandatory, If any user creating sales order and if in sales order there end of line item means 2-3- 5-10-50...so on....may be every item has different sales employee and all has to be complete or els sales order should be pending or sales order not going to save...
    I hope u understand the requirement and pls provide me solution
    Regards,
    Abhijeet

  • Sales Order Addl data B field changes

    Dear friends,
    I have a requirment here to record document changes for a customized field Zlabdip in sales order additional data B.
    The document changes automatically gets recorded for standard SAP fields, how i can add document changes for a Z field.
    Kindly suggest.
    Regards,
    Praveen Lobo

    Hi Praveen,
    Goto dataelemnt of the zfield and in tab' further characteristics' Check the option 'change document'.
    Reddy

Maybe you are looking for

  • Video filters not working when applied to sequence clips

    I have looked through the forums and haven't found the solution to my problem. I am having problems with video filters on clips in the timeline. I have footage that needs color correction. In the viewer I created a 3 way filter for one clip, saved it

  • Updating Email Addreses - is there an APi for that?

    Updating Email Addreses - is there an API for that? Ive got several APIs running in a script some to insert, some to update employee details in ORACLE Financials 11i Payables. I'm missing email addresses to update - is there an API for this? If so wh

  • How to hide rows?

    Hello folks, I just would like to know that how to hide rows except dbms_rls package? I mean, it has been said that I can hide rows to create views but lets said that I have got 200 students and each student can see only their rows in students table,

  • Why is my attachment finder window different

    My finder window has my frequent file folders in the sidebar. When I use mail to send an attachment it's finder window (and Sidebar) usually mimick the finder sidebar. However I noticed my recently added folder in my finder sidebar does not show up i

  • Unable to remove Adobe Photoshop CC

    無法刪除的Adobe Photoshop CC