Validating Material Type on BD21

Hi,
Requirement : I need to Automate ALE for only material type 'HAWA'.
Solution Tried:  called BD10 in Userexit on save in MM01, Problem here is it is taking the old material and ALEing and not the newly changed one.
So how to use BADI BDCP_BEFORE_WRITE to filter the change pointer table on material type and will this be triggered with BD21.
Best regards
Satich Kumar K

Hi Team,
Or else can I have possibility to schedule a job that runs after 30 sec's of the material saved?
Best Regards
Satich Kumar

Similar Messages

  • Validating material types in LSMW

    Hi Experts,
        How do we vaqlidate material types in LSMW.
    what are the kind of problems generally we get doing LSMW.
    Thanks,
    Naren,

    material types are stored in table T134.
    so we will write a SELECT to know,its a valid or not.
    SELECT SINGLE MTART INTO V_MTART
                  FROM T134
                  WHERE MTART = ZSOURCE-MTART.
    IF SY-SUBRC = 0.
    *--ITs a valid Material type
    BMMOO-MTART = ZSOURCE-MTART.
    else.
    *--Invalid material type,its an error.
      SKIP_RECORD. <--this SKPS the current record,as there is no meaning to process this error record.
    ENDIF.
    Regards,
    Srikanth
    Message was edited by: Srikanth Kidambi

  • Matarial master changes for a particular material type using BD21

    Hi All,
    <b>I am facing one problem related to change pointer in ALE.</b>
    I have configured the ALE layer between two systems successfully.
    <b>I have used filter group</b> on material type and also I have done the <b>reduction of IDOC.</b>
    When I trigger the material master data changes using BD21, it triggers the data for all the material type where as I want to trigger the material master data chages to particular material type only.
    Can anybody suggest some solution for this.
    Note: Please don't say to use <b>filter group on material type</b>......I have already done that.
    The correct solution will be rewarded with 10 points!
    Thanks & Regards
    Prabhat

    The firs thing I would do is verify the config.  Make sure the message type of the created IDocs matches the message type to which the filter is applied in the distribution model.  If everything looks ok, place break-points at the following locations:
    In FM MASTER_IDOC_DISTRIBUTE, on the call PERFORM DIST_MODEL_READ_FOR_MESTYP.  This subroutine reads the filters from the distribution model.  Verify the values in internal table RECEIVERS_AND_FILTERS are correct.
    In FM MASTER_IDOC_DISTRIBUTE, in FORM IDOC_SELECTION_AND_SERVICES, on the call to FM IDOC_DATA_APPLY_FILTER_VALUES.  This function should return the filtered results.  IDOC_DATA contains the data segments of your IDoc and CONDITION_BLOCKS contains the filter.
    When you run BD21, you should hit these break-points.

  • How to post return stock to unrestricted stock for only Plant & Material Type combination?

    Hello Everyone,
    At present, whenever the stock is returned then it posted through 655 movement type. So, material is posted as quality stock.
    Now, the requirement is to post the stock to unrestricted stock for Plant and Material type combination only. Which means, if the plant is 1413 and the material type is ERSA, VERP, and HIBE then for return sales order system post the stock directly to unrestricted stock, instead of quality stock.
    So, is there any standard way of configuring the above scenario without going for validation (Z Fields)?
    Regards
    Anwar

    Dear Mohammed ,
    as per your scenario , there is two movement type has to trigger in the Delivery level according to the plant and material combination .
    as per my knowledge it will not configurable in standard process . this will possible with user exit logic only .
    follow the below logic to achieve your issue .
    you have to create two item categories and two schedule lines with (655 &653) , that means your movement type has to trigger at sales order level only . write a logic in the user exit - MV45AFZZ -USEREXIT_MOVE_FIELD_TO_VBAP , if this combination matches then automatically item category has to over write other wise it will copy the existing item category .at delivery level you can see two movement types in item level.
    wait for other experts solution , if any standard is possible or not  .
    Regards,
    C.B Reddy.

  • Packaging material type-SU type

    Hello to all
    While manually packing / repacking HU for outbound delivery against customer order the error "Packaging materail type XXXX in warehouse ABC is not assigned to SU type"
    On checking the customising setting at "Logistics General >HUM>Basics>WM>Assign Storage unit type to packaging material type" I found that there is no assignment of Pkg mat type to SU type.
    Please confirm (as I am under the belief that this setting is relevant only when HU has to be automatically packed for moving into warehouse) if the above customising  controls the error as I do not have access to test by changing the customisation.
    Thanks
    Prasad

    Hi Prasad,
    Even you do the manaul packing also. system checks the validation for  SU type with HU type
    regards,
    Ramana

  • Net price in P-info record  for DIEN material type

    I am supporting a system ,
    The issue is as follows ,
    I have created a P-info record for material with material type as DIEN , and maintained Net price and system automatically updates the price in the condition type PBXX .
    The pricing procedure in this system doesnt have PB00 , but has PBXX with Access sequence .
    Now when I try to view the price in ME12 , I see the Net price as 0.00 , but the value for condition type PBXX exists when I click on conditions push button .
    Has any one come across this scenario , Pl help .
    Thanks in advance ,
    Amit

    Hi,
    The first time you create a PO for a material/vendor combination, then system will not prompt any price as info record or valid conditions have not been found.
    The next time you create a PO for the same material, then the price will be defaulted/found from the order price history from the info record(As info record would be reated after the first PO is created) and the latest PO price for the mat/ven combination would be found.
    Hope you are clear with this..Any doubts revert back.
    Regards,
    Deepak.

  • Get Material Type in SRM

    Hi Gurus,
    How to get the material type in SRM? If we enter the material in the product field in the shopping cart, based upon the material type some validation needs to be done in the shopping cart.
    Please advise if anybody is having any clue.
    Thanks & Regards,
    Aswini

    Hi,
    Now I got to know how to get the material type in SRM. Would like to share the information.
    Material along with the material type get replicated into SRM from R/3 system. In COMMPR01 transaction, we can search for the material by entering the number in the product id and then it will show the detail information. When the material is replicated into srm, it will be tagged to both the hierachies R3MATCLASS as well as R3PRODSTYPE. The category id corresponding to the hierachy R3PRODSTYPE will have the format MAT_XXXX where XXXX denotes the material type. e.g. MAT_ESRA where ESRA denotes the material type in R/3. The characters after MAT_  will vary.
    The below step is followed to get the material type in SRM:
    1. Get the product GUID of the material (product) used int he shopping cart from the BBP_PD transaction. Or the product GUID can be obtained from table COMM_PRODUCT.
    2. Get the Hierarchy GUID of R3PRODSTYPE from COMM_HIERACHY.
    3. Get the CATEGORY_ID from the table COMM_PRPRDCATR based upon product GUID and HIERARCHY GUID of R3PRODSTYPE.
    It will give the result in MAT_XXXX format. The remaining characters after MAT_ represents the material type.
    Hope this information will be useful.
    Regards,
    Aswini
    Edited by: Aswini Kumar Sahoo on Sep 18, 2009 5:29 PM
    Edited by: Aswini Kumar Sahoo on Sep 18, 2009 5:30 PM

  • Material type not getting displayed in the cube........

    Hi,
    In my infocube material type for one of the material is not getting displayed.
    When I check in the content of the cube for this material all the fileds are getting displayed except material type.
    However it is present in the material master data from which it is put into the update rules to populate in the cube.
    Its getting displayed for some other materials , so we cant say that mapping is wrong or problem with update rules.
    Can some body let me know what could be the reason.
    Thanks,
    Jeetu

    Hi Jeetu,
    can you check in your cube if you have for one material, entries with AND entries without the MATL_TYPE? If this is the case then you were loading transactional data before having the corresponding material master data.
    You should adapt your scenario:
    - first do not use the standard attribute derivation during your URules: performance is very bad.
    - implement a start routine filling an internal table with your material and MATL_TYPE for all entries of material in your datapackage.
    - implement an update routine on the MATL_TYPE with a READ on this internal table an raise an ABORT = 4 if the MATL_TYPE is initial or the material in not found.
    Now to fix your situation you'll have to reload your cube or alternatively just reload your missing MATL_TYPE MATERIAL from your cube itself and selective delete those which are empty.
    hope this helps...
    Olivier.

  • Mandatory fields With reference to Material types

    Dear Gurus,
    I need to make few fields as mandatory with reference to material types while creation of the material master data.
    For example:
    For Semi finished and Finished Schedule margin key is required(mandatory)
    For Raw Materials Schedule margin key is optional.
    Regards,
    Siddharth

    Hi
    find  following step to make field mandatory for material type
    Follow the stpes for making field as optional, required entry
    1 click the tab ,(Which is u want to be Required entry )and get the field name by pressing F1 key and then
    2.Go to T.Code: OMSR and enter that field name and get Selection Group
    once you get selection group and field name
    3 Use t.Code: OMS2 and click your material type and in next screen check Field reference ( you have assigned for material type; example :;For ROH material type the Field reference is ROH
    3. Use T.code:OMS9,, Double Click your Field Reference and select field selection Group , & select round box of Required Entry or optional and save
    check following link you will get clear idea [How to configure the fields required for each Material type ?;
    Regards
    Kailas ugale

  • SAP report for movement type and material type

    Hi!
    I would like to use a standard SAP report to give me a list of all the movement types (much like MB51) but instead of material I would like to select on Material type e.g. ROH. The result should for example be a list of the movement types 501 on material type ROH.
    It is urgent, if you could help me I would be very greatful!
    Sincerely
    Anders Öhrling

    Thanks for your answer!
    I have managed to join the two tables and created a report that will work, except that the amounts in local currency that is given by movement type 201 is not negative (as in MB51). I need all movement types that generate a debit must be shown as a negative value. Wo when I summarize all the movement types I end up with the value of 101 minus 201.
    Is that possible without ABAP programming?
    Sincerely Anders Öhrling

  • Issue to make mandatory field(SELD/BBD and Date of manufactor)in migo for particular Material type and material Number starting with'1' series.

    Hi friend,
    i have issue regarding mandatory  self life field (SELD/BBD and Date of manufactor)in migo for Batch Tab for particular Material start with '1' Series and material type.
    i want to make mandatory above field during GR from migo..any one let me know exit or badi for that to full fill this goal..
    Regard's,
    shaikh Khalid.

    Hi Shaikh
    First of all Thread is not closed seconldy as a good practice if you have resolved your issue kindly document it here so that it may help someone in future
    Nabheet

  • Change material type - any warnings?

    A material with very little history exists in the system as a semi-finished item with 1220 valuation class.  One purchase order exists that is due in, in two days.  No inventory exists.  The problem is that the system is not configured to post goods against 1220 valuation class items.  So it needs converted to a finished good since the plan is to sell it after it is received from a vendor.
    No open orders or other movements exist in the system.  Just one new open po that was created today, and could easily be deleted. 
    So, delete the po then change the material type using MMAM. 
    Are there any recommendations/warnings someone can offer before this is done?

    Hi,
    Pre requisites for changing a material types:
    1. If you use a material ledger the material ledger must be settled in it.
    2.If the old material type did not require you to specify a price control for the material the new material type must not be configured such that it allows only
    standard price as price control.
    3.If the material is already in stock or reservations exists or purchase orders exists the following conditions must exist.
          1. The stock values of the new material types must be updated in the same
              G/L Account as the stock values of the old material types
         2.  Quantities and values of the new material types must be updated exactly as were by the old material types.
    Regards,
    nandha

  • Change material type

    When i am changing the material type i am getting this msg. In Po items were deleted.
    Change Material Type
    The material type cannot be changed.
    The reasons for this are:
    Valuated stock exists (see valuation areas below).
    However, account determination for the two material types differs.
    (different account category reference or no valuation data defined)
        Valuation area
        1030
    No open purchase order are there.

    hi
    plz check mmbe for the stock
    check for the open PR and PO in ME5A and me2m
    then try Change material type
    Material Type can be changed using transaction MMAM
    Menu: - Logistics > Material Management > Material Master > Material > Change Material Type
    u can also use MMZ2 to change material type and ind sec
    Refer following link for the same;
    http://www.sap123.com/showthread.php?t=21
    regards
    kunal

  • Relationship between material type and industry sector

    Hi experts
    when using t-code mm01,there are two fields material type and industry setor in screen.Is there any relationship between material type and industry sector? I want to know if user be able to see the material type related to particular industry sector?
    thanks in advance!

    Hello
    There is no direct relationship between the material type and the industry sector.
    The industry sector is used only for field sttus maintenance (fields in display/optional/requierd entry) in transactions.
    We will assign seperate field reference groups to industry sectors and deopending on how we configure the field references, the fields will appear for the materials created for that industry sector.
    regards

  • Allow mov type 261 and 262 for a material type only

    Requirement is to allow movt type 261 and 262 for a particular material type.( Assume Only 261 - 262 issue transactions happen against that material type.)
    User to be restricted, while material issue (migo), for the material type XXXX to 261 - 262 movt type only.
    No any other movt type allowed for this material type while issuing material.
    All suggestions welcomed.
    Regards,
    Rakesh

    Thanx amit.
    But same user uses all other movt types for other material type also.

Maybe you are looking for

  • Firefox wont start, all soloutions given on website do not work

    I am using Windows XP and the most recent version of Firefox. I was browsing last night and had multiple pages open (the websites were bbc.co.uk, eurogamer.co.uk, ign.co.uk). I clicked on a link for an article and the page started behaving strangely,

  • IMovie HD Quality: Does iMovie compress by default?

    Helping a friend out making a movie via iMovie, using clips from a fairly decent quality digital movie (Quicktime format). She's on a pre-intel G5 iMac. The issue: it appears that iMovie is compressing or lowering the quality of the clips we're impor

  • E51 WiFi internet sharing via bluetooth

    I have E51 with established wifi conection to internet. Is it possible to share this internet connection with PDA (w/o wifi) via bluetooth ?

  • New Desktop sync download not working

    Downloaded the new desktop software ver 7. will not complete sync just states processing sync preview. Had to remove old version and add new ver 7 would not update automatically.

  • CS11 and Recursive

    Hi Due to BOM strucutre change, the BOM was maintain with ECN and now BOM was recursive, due to SAP recursiveness check did not consider BOM effectivity date (note 42891), and now CS11 will stop at the recursive BOM and will not exploide down further