Material number mandatory (field selection) based on acc. ***. category

Hy Folks,
i am looking for a solution to define the Material Number as a mandatory field if the Account Assignment Category "Q" is used in a Purchase Order Item. Field Selection of Account ASsignment category Q is not sufficient as the material number is not included.
Any ideas for a solution in SAP standard customizing? (sure, user exit will be possible...)
THX!
Gregor

Hi dear,
With settings in SPRO this is not possible you have to go for exits or BADI take help of ur ABAP er.

Similar Messages

  • Material Number mandatory for PR exceptP for Service Purchase Requisition

    Hi All,
         Our client's new requirement is we need to give material number mandatory for Purchase Requisition. But it should not affect for Service Purchase Requisition (as we don't have material number with material type DIEN. Till now, we were using Acc Assignment Category K and Item Category D with only Short Text description). We have separate document type for Service Purchase Requisition(ZSRV).
        In order to make Material number mandatory, in PR, we need to give in "Define Screen Layout  at Document Level for PR",right? Is there any way to give, "Material Number Mandatory at Document Type Level"?
    Please suggest.
    Regards,
    rosh

    hi sridhar,
      Thank you for your answer. So as you said, there is no possibility to make material number as mandatory at DOCUMENT TYPE level through Customzining, right?
    Regards,
    Rosh

  • How to give out a status message indicating the number of fields selected

    Hi experts,
    I hope some one might have done what I'm trying to do. Could some one please show me how to give out a status message saying for example how many fields have been give out(or selected) in the t_ouput in an alv grid? Is there a FM that could do this? I mean like giving the FM the t_output and it will show a status message with the number of fields selected?
    Thank you for your input.
    Nadin
    Message was edited by:
            nadin ram

    Hi Ram,
    Write this code,
    Message 'Select Only Ten Fields' type 'I'.
    It displays The Message in Message Box.
    Or if you want the Error Message means,
    Message 'Select Only Ten Fields' type 'E'.
    Thanks,
    reward If Helpful.

  • Field Selection Based on Material Type

    Hello!!
    Can any one tell me how to make a single field mandatory in material master based on material type?
    I know we can use OMS9 to make it mandatory... the field i was looking is in a field selection group....when i make it mandatory i am actually making all the fields in the field selection group as mandatory...i dont want to do that...i just want to make only one field as mandatory.....
    If some one has any kind of training documents...could you please send it across?
    Thanks in advance.....

    Dear,
    Go through: http://help.sap.com/saphelp_45b/helpdata/en/08/6dec6eb435d1118b3f0060b03ca329/frameset.htm
    http://help.sap.com/saphelp_45b/helpdata/en/8e/204b6e5733d1118b3f0060b03ca329/frameset.htm
    Re: New Movement Type
    Define field in a particular movement type
    Regards,
    Syed Hussain.

  • Determine material master mandatory fields

    Hello,
    I've developed an workflow based program to create material master.
    I want to set all fields in my proram as required
    which are defined mandatory in Customizing of material master.
    Can anybody give me a hint how to determine the mandatory fields for
    material master creation.
    What i tried up to now:
    I have tried MATERIAL_UPDATE_ALL ( used in MATERIAL_MAINTAIN_DARK )
    and then analysed the retrun table. This is working fine when calling from SE37 but
    fails when integrated in my own program.
    The Problem is:
    In SE37 following statement is true altough the fieldsymbol is empty (it's assigned and
    really empty, so it should not work).
    IF NOT <f3> IS INITIAL.
    In my program it fails, which is IMHO correct.
    Perheps someone can tell me why?
    If you have any other suggestions how to solve my problems let me know.
    Thanks for your time and efforts.
    Andy Iskalla

    Hi,
    In MAterial MAster, you can make any field mandatory or optional . It all depends on the business process.\
    Read the document from belwo link.
    http://help.sap.com/printdocu/core/print46c/en/data/pdf/LOMDMM/LOMDMM.pdf
    Any queries, le tme know.
    Regards,
    Smitha

  • Making old material number mandatory for mm02

    hi,
       how to make  old material number(mara-bismt) mandatory for mm02 transaction.
    regards

    Hi,
    You can do the validation using enhancement "MGA00001", component "EXIT_SAPLMGMU_001".
    Regards
    Vinod

  • Dispaly material with key field customer based on tax classification

    Hello all,
    Material is classified based on tax classification as products and goods.I need to dispaly these of either for some customers.
    Client is saying me to use the table MLAN(Tax Classification for material).
    Can anybody suggest me how can i pull the material part/service part(matnr)  from the table (MLAN) based on tax classification(TAXKM) with key field customer(KUNNR) when this table does not have customer has key field in it.
    Thank you,
    Sirisha

    Hello all/Brad,
    Requirement is , i need to add and dispaly material data in a column with heading as  tax classification  in ALV Report for the customer.
    Ex:  Customer 11094 brings material 336047-B21(Product)
          Customer 10973 brings material LDMSPMAP-M (Service)
    Material is classified as per the tax classification  as Product and Service. If tax classification is 1 then it is Product and if the tax classification is 2 then it is Service.
    So i'm trying to pull the material(Product/Service) based on tax classification with customer as key field.
    Customer is coming from customer master data.
    So i have used MARA table which has all three fields (Customer,Material,Tax classification) to get the required information but the table does not have test data for customer.So i told my client to update mara table with customer and tax classification data.
    But  my client told me to use MLAN table  because they have updated the data in this table.But unfortunately this table doesn't have customer field to pull the data.
    So that is the reason, i put the above question in the forum.
    PLease help me in solving this issue.
    Thank you,
    Sirisha

  • Disable a mandatory field in ME21N (Material Group)

    Hi Experts,
    Material group field is mandatory in ME21N. I need to disable the control on this field, how can I do this ?
    In fact, I need to disable this mandatory field for a PO creation in reference to a Contract.
    Many thanks in advance for your help.
    BR,
    Cesar

    Hi,
    If PO is created with material number this field is get defaulted from material master basic data view. But If PO is with short text means without material number, then material group is mandatory anyway..Its stadard SAP program behavior.
    You are saying this field should be optional in case of PO with refernce to contract? Does it mean that Contract is not with material and it is with short text? Please elaborate little bit on your requirement so as to answer d same.
    Deepak.

  • Material determination with Product selection

    Hi SAP Gurus
    We are using material determination with product selection. The process is that customer will send in one product in a sales order. At the time of doing ATP we have to look for about three or four possible alternatives and confirm that alternative which has the highest stock level depending on the ATP situation. We have configured material determination with SAP standard substitution reason’0006’ to take care of this. The problem with this is that this creates two line items in sales order as the item substituted is shown as a sub-item of the material entered. We do not want to have two line items in a sales order for this. Is there a way we can do material determination with product selection (Based on ATP) and have the item substituted replace the item entered in a sales order? In other words we do not want to see two line items in a sales order. The substitute item should simply replace the original item and the material entered could be stored in field VBAP-MATWA. I have gone through all the standard SAP documentation which clearly states that in order to material determination based on ATP we have to use outcome A or B both of which create a sub-item.
    I was wondering if there is any workaround or if there is any user exit in which we can replace the original item with the substituted item?? Any help or any direction will be highly appreciated.
    Another question is if we were to use APO for doing global/Rule based ATP is it possible to get rid of the double line items. We have also tried to use rule based ATP in APO and use product/location substitution in our sandbox system to see if we can get back only one line item. But even in that case we do get a sub item. Any help on this issue will be greatly appreciated. You can also send me an e-mail at [email protected]
    Thanks
    SDSAPCON

    >
    SAPCON SD wrote:
    > Hi SAP Gurus
    >
    > We are using material determination with product selection. The process is that customer will send in one product in a sales order. At the time of doing ATP we have to look for about three or four possible alternatives and confirm that alternative which has the highest stock level depending on the ATP situation. We have configured material determination with SAP standard substitution reason’0006’ to take care of this. The problem with this is that this creates two line items in sales order as the item substituted is shown as a sub-item of the material entered. We do not want to have two line items in a sales order for this. Is there a way we can do material determination with product selection (Based on ATP) and have the item substituted replace the item entered in a sales order? In other words we do not want to see two line items in a sales order. The substitute item should simply replace the original item and the material entered could be stored in field VBAP-MATWA. I have gone through all the standard SAP documentation which clearly states that in order to material determination based on ATP we have to use outcome A or B both of which create a sub-item.
    >
    > I was wondering if there is any workaround or if there is any user exit in which we can replace the original item with the substituted item?? Any help or any direction will be highly appreciated.
    >
    > Another question is if we were to use APO for doing global/Rule based ATP is it possible to get rid of the double line items. We have also tried to use rule based ATP in APO and use product/location substitution in our sandbox system to see if we can get back only one line item. But even in that case we do get a sub item. Any help on this issue will be greatly appreciated. You can also send me an e-mail at [email protected].
    >
    > Thanks
    >
    > SDSAPCON
    In the substitution reasons ...mark the OUTCOME as blank for this particular 0006. I am not sure for ATP
    rgds
    Sai
    Edited by: Sai on Mar 27, 2008 10:00 PM

  • New validation - don't inform material number when creating

    Hello!!!
    I'd need to create a validation in order to avoid informing the field 'SAP Material number' when creating a new entry in MDM Data Manager for specific material types (material type is a lookup field which has two values, let's say 1 and 2).
    For material type 1, we need to inform, when creating the entry, the material type 1, supplier name and supplier reference, but not the SAP material number, as it comes informed through an interface from SAP R/3.
    For material type 2, we only need to inform the SAP material number.
    Could you guide me on how to do this validation?
    Thank you,
    Carlos Santamaría.

    Hello,
    The data flow is as follows:
    There are two scenarios, one for Goods:
    1. Add new record into the Data Manager.
    2. Inform field 'Material type' (lookup field) Goods.
    3. Inform field 'Supplier name' (lookup field).
    4. Inform field 'Supplier reference' (text field).
    5. Field 'SAP material number' must be left EMPTY when creating the new record. Once it's created, there is an interface from SAP R/3 which updates through ABAP API the records, informing the SAP material number and other fields informed in SAP R/3.
    The validation should avoid that the user informs the material number when creating the new record.
    Second scenario is for Finished Goods:
    1. Add new record into the Data Manager.
    2. Inform field 'material type' (lookup field) Finished goods.
    3. Inform field 'SAP material number' (text field).
    4. Optionally it is possible to inform Supplier name and Supplier reference, but it's not always inform.
    There is already a validation rule that force the user to inform 'Supplier name and supplier reference for Goods, and for Finished goods it's mandatory to inform the SAP material number.
    There is another field which is 'Unique key' which is a calculated field and it's composed by SAP material number + Supplier number + Supplier reference.
    Our problem is to avoid that the user informs the SAP material number only for Goods. If the user does it, the interface will not work as it is designed.
    Thanks for your feedback.

  • Search MAT0M - Material Number/Material Description does not  work

    Dear Guru,
    I don't know why search help in MM60 F4 at material field.
    Use search help: Material Number/Material Description
    It does not work when I selected material number because of it did not return material number to field.
    How should I do? Please help.
    Regards
    Thank you very much.

    go SE11
    display search help  MAT0M
    Check whether you have an flag for import and export  next to the MATNR field.
    if that is okay, then open search help MAT1
    select there search help MAT1_A then click  the big button for parameter allocation, check if related parameter MATNR is to collective search help parameter MATNR.
    if that is okay, then close the window, and doubleclick MAT1_A
    MAT1_A ha sagain included search helps.
    Select there your MAT0M and click the the big button for parameter allocation and  check there the same as above.
    Further check whether all search helps, MAT1 and MAT1_A and MAT0M ar active. (you can see that next to the description)

  • Field selection for MM01

    In Material Master for Material type ROH , I need to make Volume, Size/Dimension, Basic Material as Mandatory field.
    If i select field group 14 (where i can see size/dimension & basic material) systm also makes industry specific standard as Mandatory
    Pls guide me how to group these fields together(above said 3 fields) and make it as Mandatory fields

    Hi,
    The reason is Field selection group  14 by default assigned with
    MARA-GROES -> Size/dimensions
    MARA-NORMT  -> Industry Standard Description (such as ANSI or ISO)
    MARA-WRKST -> Basic Material
    and Field selection group   86 is assigned with
    MARA-VOLEH -> Volume unit
    MARA-VOLUM -> Volume
    {this part is OK as you want both of these}
    Now in Field selection group 14 you want only 2 fields as mandatory entry
    Go to OMSR -> find field MARA-NORMT here assign a new field selection group ( from available say 207)
    No need to change MARA-GROES and MARA-WRKST as you require both of these  ( keep them as 14)
    and in OMS9 make this Field selection group 14 mandatory for your raw material
    Thats it

  • Material No. Mandatory with account assignment category K

    Dear,
    Can i make Material No. Mandatory with account assignment category K
    Please advise
    Rami

    Hi,
    It is not possible to make material number mandatory for Account Assignment Category.
    But you can make Account Assignment mandatory for a material if material is non-valuated (Mat Type - UNBW) or Non-stock (Mat Type - NLAG)

  • Mterial Number mandatory for Purcahse Resuisition except for Nonstockable I

    Hi All,
      The requirement is like material number should be mandatory except for Non Stockable items (likePen, Stationery Items) while creating a Purchase Requisition.
    I know in SPRO Settings, "Define Screen Layout at Documnet Level" in Purchase Requistion we can make material number as mandatory. But how can we differentiate it for Non-Stockable Item. Please suggest
    Regards,
    rosh

    Hi Jurgen,
       Thanks a lot for your immediate response. yes..if we dont have material number it is no longer a stockable item. So
    1. If i give material number mandatory in ME51N, i cannot procure Nonstockable items(which does not have material code),rt?
    2. If i create material codes with NLAG, is there any possibility that "If i make material number mandatory in ME51N, it should not affect NLAG materials?
    Our client's requirement is "Material Number mandatory should not affect for Non - stockable Items". Please suggest how is it possible.
    Please reply
    Regards,
    Rosh

  • How to get company code using material number

    Dear all,
              I have material number & plant on selection screen, but how do I get the company code details using MARA-MATNR ?

    HI,
    You can use a cmobination of T001K and MARC Table.
    T001K table is assignment of Plants to a company code and MARC is a table with combination of Material and Plant.
    Regds,
    Anil
    Edited by: Anil Katoch on Jul 23, 2009 6:24 AM

Maybe you are looking for

  • Non-English artist name sorting

    Hello! I just bought my iPod Touch today, and it's my first ever iPod so i'm still getting used to it. I have a question, though, regarding how artists are sorted. I bought my Touch in Japan (finally found a store with stock!), and I would say 90% of

  • Problem while starting Weblogic Server

    Hi, I upgraded my weblogic domain 8.1 to 10.3 and also i upgrade securityprovides and when i tried to start the weblogic server, server failed to start stating following err log: ####<May 19, 2009 2:36:21 PM SGT> <Info> <Server> <RAJI> <portalServer>

  • Excel Report Generation in Report Builder 6i

    i want to generate Reports in Excel using report builder 6.0. is there any facility to generate reports in report builder 6 in proper excel format

  • Photos not staying after rendering

    I had this problem before, after installing Leopard. Got the machine fixed and doubled the RAM. Now I have a video of the holidays to edit and it STILL won't keep photos. They render and the panel turns black, the video stops when it gets to the phot

  • RTP support in J2ME

    hi, i am doing a proj to stream captured video to mobile phones. i can stream them using rtp. but in the mobile, i am not able to receive it. the code is player = Manager.createPlayer("rtp://192.168.10.81:42060/video"); this throws a mediaexception: