Doubt in Material Change BO

Hi
I need to create a workflow, whenever user modify/change or newly assign Inspection type in MM02. I have checked in mm02, which bo is trigger. But i can see in swel A00MARA trigger while change the inspection type or any thing in MM02.
But i checked in SWo1, A00MARA is not available.
My requirement like whenever user assign or modify inspection type in MM02, i want to send mail. Before that i have to identify which BO is trigger.
Can any one help me for that?

First check which event of which object is getting triggered in SWEL transaction code and use that event accordingly. Generally the event changed of BUS1001006 should be triggered. Related with changes in inspection type you have to create a attribute named flag which will check whether the changes has been made in Inspection lot or not. If it is made this attribute should be assigned a value X. Use this attribute to check whether to send mail or not.
Thanks
Arghadip

Similar Messages

  • A Doubt on Material and Chapter ID Combination

    Hello All,
    A Doubt on Material and Chapter ID Combination.
    We use HALB materials - for procurement as well as manufacturing. It manufactures certain parts in-house and sells them outside. If there is no manufacturing capacity, we procure same parts from outside and then sells them outside.
    How do we enter Material and Chapter ID Combination for such items in J1ID ? Their count is 5000+.
    In Material and Chapter ID Combination, when we specify "Material Type" for such items as Raw Materials and manufacture them in-house and sell them outside, SAP does not update RG1 register. It updates RG1 register, only when "Material Type" for such items is RG1.
    If we specify "Material Type" for such items as RG1, but procure them from outside, SAP does not update RG 23 registers. It updates RG 23 registers, only when "Material Type" for such items is Raw Materials.
    Any solution for the above problem ? Creating a separate material code is out of question.
    Thanks and Regards,

    Hi,
    there is no possibilty to have two differant material type for a material, you may assign the material as RG1 and when you procure the goods you can change the material type as Rawmaterial during MIGO/J1iex so that you will be allowed to take the credit and also the RG23 registers will be updated, there is no other possibility.
    Regards,
    Murali

  • ALE distribution of planned material changes made using MM12

    Greetings,
    I have searched and come up empty-handed looking for an answer, perhaps someone in this forum can point me in the right direction.  I am trying to find out if there is a tcode and idoc message type that will distribute a planned material change, prior to it's activation, while it is still in it's planned state.  While in the source system, I can see these changes in mm14, I do not see the "future" values as part of the MATMAS generated by a BD10, nor as part of the ECMMAS generated by a CC92 transaction.  Ideally we could allow material master changes in our source system on a future date using the same ECM number as a BOM change for example, and distribute these changes together to the target system, prior to the ECM effectivity, without further requiring a additional BD10 to be performed after the material change activation date.  Does anyone have advice on this?  Thank you for any info you can provide.

    1. Activate change pointers
    2. Customize it to check for status before activation and trigger the distribution. (I think it should generate even if the material is not activated so no customization required - but just test and confirm. It's been a while I've looked at this).
    3. Maintain this in your distribution model and distribute master data accordingly.

  • How to differentaite between material created on & material changed ??

    Hi all,
            How to differentiate between material created and material changed???
    is there any flag or indicator present to differetiate between two....please guide me.
    Thanks,
    Ashu

    Hi Ashu,
    I just want to clarify one point from you.
    i always prefer to hit MARA with below feilds, if you want track singe change of the material
    ERSDA - Creation date
    ERNAM - Name of Person who Created the Object
    LAEDA - Date of Last Change
    AENAM - Name of person who changed object.
    some times material may change multiple times, in these cases we need to hit CDPOS and CDHDR
    to track the material changes....
    or you can create a custom table with the feild  time & date of change...and when ever material getting changed
    in the ME21n exit update one entry in custom table.
    Many Thanks
    Raghu

  • Regarding display of material changes- really urgent

    hi,
    i had assigned a work in which i have to collect information that in  the period from 1.12.2007 to 31.12.2007 the number of materials had been changed and what changes had been made to them.
    plzz tell me about it as help will be definately rewarded.

    Hi,
    PAss cdhdr-objectclas = MATERIAL
    cdhdr-udate = sel. screen value
    get all changenr from cdhdr
    pass all to the cdpos-changenr & objectclas = MATERIAL
    from cdpos-chngind = 'U' means material changed
    and if chngind eq 'I' means material entry created.
    else, MSTA is already there to just know which mat. created pass ersda value
                                                                and for changed pass laeda value.
    Reward points for the helpful answer....
    Regards,
    Brijesh Patel

  • Workflow for material changed

    Hi Gurus,
    I would like to implement a workflow with a mail which wil be triggered whenever a material is changed.
    I have created a workflow using SWDD..How can I link this workflow to Material change transaction(MM02)..
    I am new to this workflow...Pls help me...
    Thanks in advance...
    Regards,
    Saj

    Hi,
    you need to create an event for your change document  BOR 1001006 thru SWEC.
    create a similar event in your BOR Event and use this event in the Basic Data of your WF.
    So whenever a material is changed your event would trigger your WF.
    Hope I am clear,
    any issues reply back to this thread.
    Aditya.
    P.S
    just a suggestion, could you put in your name instead F1 (as I like referring to names, though I just address all by initials) offcourse no hard n fast rule,
    but since its a <b>wonderful Forum</b>, lets know each other .
    Well my friend I still have no issues with your Display Name, it was just a thought.

  • Idoc for Material Change

    Hi Experts,
    The requirement is to receive a standard Idoc for material change and trigger the material creation process in case the material does not exist.
    Secondly, what is the Idoc for material change?
    Thanks and Regards,
    Ravi

    Hi,
    Go through the following Steps for Creating IDoc Via ALE
    ALE IDOC
    Sending System(Outbound ALE Process)
    Tcode SALE ? for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 ? Create Model View
    Tcode BD82 ? Generate partner Profiles & Create Ports
    Tcode BD64 ? Distribute the Model view
    Message Type MATMAS
    Tcode BD10 ? Send Material Data
    Tcode WE05 ? Idoc List for watching any Errors
    Receiving System(Inbound ALE )
    Tcode SALE ? for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 ? Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 ? Idoc List for inbound status codes
    ALE IDOC Steps
    Sending System(Outbound ALE Process)
    Tcode SALE ?3 for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 !V Create Model View
    Tcode BD82 !V Generate partner Profiles & Create Ports
    Tcode BD64 !V Distribute the Model view
    This is Receiving system Settings
    Receiving System(Inbound ALE )
    Tcode SALE ?3 for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 !V Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 !V Idoc List for inbound status codes
    Message Type MATMAS
    Tcode BD10 !V Send Material Data
    Tcode WE05 !V Idoc List for watching any Errors
    1)a Goto Tcode SALE
    Click on Sending & Receiving Systems-->Select Logical Systems
    Here Define Logical Systems---> Click on Execute Button
    go for new entries
    1) System Name : ERP000
    Description : Sending System
    2) System Name : ERP800
    Description : Receiving System
    press Enter & Save
    it will ask Request
    if you want new request create new Request orpress continue for transfering the objects
    B) goto Tcode SALE
    Select Assign Client to Logical Systems-->Execute
    000--> Double click on this
    Give the following Information
    Client : ERP 000
    City :
    Logical System
    Currency
    Client role
    Save this Data
    Step 2) For RFC Creation
    Goto Tcode SM59-->Select R/3 Connects
    Click on Create Button
    RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
    give the information for required fields
    RFC Destination : ERP800
    Connection type: 3
    Description
    Target Host : ERP000
    System No:000
    lan : EN
    Client : 800
    User : Login User Name
    Password:
    save this & Test it & RemortLogin
    3)
    Goto Tcode BD64 -- click on Change mode button
    click on create moduleview
    short text : xxxxxxxxxxxxxx
    Technical Neme : MODEL_ALV
    save this & Press ok
    select your just created modelview Name :'MODEL_ALV'.
    goto add message type
    Model Name : MODEL_ALV
    sender : ERP000
    Receiver : ERP800
    Message type :MATMAS
    save & Press Enter
    4) Goto Tcode BD82
    Give Model View : MODEL_ALV
    Partner system : ERP800
    execute this by press F8 Button
    it will gives you sending system port No :A000000015(Like)
    5) Goto Tcode BD64
    seelct the modelview
    goto >edit>modelview-->distribute
    press ok & Press enter
    6)goto Tcode : BD10 for Material sending
    Material : mat_001
    Message Type : MATMAS
    Logical System : ERP800
    and Execute
    7)goto Tcode : BD11 for Material Receiving
    Material : mat_001
    Message Type : MATMAS
    and Execute --> 1 request idoc created for message type Matmas
    press enter
    Here Master Idoc set for Messge type MATMAS-->press Enter
    1 Communication Idoc generated for Message Type
    this is your IDOC
    Change Pointers
    I know how to change the description of a material using ALE Change Pointers.
    I will give the following few steps
    1) Tcode BD61---> check the change pointers activated check box
    save and goback.
    2) Tcode BD50---> check the MATMAS check box save and comeback.
    3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
    4) Tcode BD52---> give message type : matmas press ok button.
    select all what ever you want and delete remaining fields.
    save & come back.
    5) 5) go to Tcode MM02 select one material and try to change the description and save it
    it will effects the target systems material desciption will also changes
    6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
    give Message type : MATMAS and Executte
    ALE/IDOC Status Codes/Messages
    01 Error --> Idoc Added
    30 Error --> Idoc ready for dispatch(ALE Service)
    then goto SE38 --> Execute the Program RBDMIDOC
    29 Error --> ALE Service Layer
    then goto SE38 --> Execute the Program RSEOUT00
    03 Error --> Data Passed to Port ok
    then goto SE38 --> Execute the Program RBDMOIND
    12 Error --> Dispatch ok
    Inbound Status Codes
    50 Error --> It will go for ALE Service Layer
    56 Error --> Idoc with Errors added
    51 Error --> Application Document not posted
    65 Error --> Error in ALE Service Layer
    for 51 or 56 Errors do the following steps
    goto WE19 > give the IDOC Number and Execute>
    Press on Inbound function Module
    for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error.
    hope this helps you.
    plz reward if useful.
    thanks,
    dhanashri.

  • Material changes checking

    Hi all,
             How to check material changes from  last year to current year in material master level

    Hi,
    You can check it in the Change or display mode of Material master MM02 / MM03 it self or by transaction MM04.
    In MM02 / MM03 transaction, click on the 'Environment' tab from menu bar then select Display changes. A pop up will be displayed with the list of all changes for that material in the system. Select the required line and click on the details (F2). Complete changes will be displayed.
    Regards,
    Hiren Ramani

  • Reg: Material change Management.

    Dear Friends,
    can i get some information about Material change management.
    Please let me know..
    thanks in advance.

    Hi,
    Pl go through the sap help... will get deatail idea.
    [http://help.sap.com/erp2005_ehp_04/helpdata/en/d8/731cab4b7511d1894b0000e8323c4f/frameset.htm]

  • Table stores the history of  material change

    Hi, expert,
    please kindly tell me which table stores the history of material change(MM04 is inconvenient).
    Regards,
    David

    I think your requirement availble in this table
    T005T      Country Names
    T134T      Material Type Descriptions
    T606R      Legal Control: Legal Regulation Descriptions
    T685T      Conditions: Types: Texts
    TCURM      Customizing: MM Configuration
    TSKMT      Taxes: Materials: Texts
    by
    prasad

  • Save_text not working when material changes

    Hi,
    I am working on a sales order exit. The requirement is to keep the text of the line items intact evn if material number changes. Let's assume tht there is a material 'A' on line item 10 which is having text ' This is test' maintained. If the user changes the material  on lineitem 10 from 'A' to 'B', the text 'This is test' shoud remain intact. I am using Userexit_read_document to read the text maintained in the line item 10 for 'A' and then using Userexit_save_document to save the text for material 'b'.
    The problem is that the texts are not getting saved. I am using Read_text to get the texts and then using save_text in the userexit_save_document to save the chanes. The text name, id, object are same for both cases. Save_text does not give any exception and the sy-subrc is 0 but still the changes are not getting reflect on material 'B'. Am i missing something?Can some one help?
    I have attached my save_text code along with this.
          l_thead-tdobject = 'VBBP'
                l_thead-tdname(10) = vbak-vbeln .
                l_thead-tdname+10 = w_lines_all-posnr .
                l_thead-tdid = 'ZEDI'
                l_thead-tdspras = sy-langu .
                l_thead-mandt = sy-mandt .
                CALL FUNCTION 'SAVE_TEXT'
                  EXPORTING
                    header          = l_thead
                    savemode_direct = 'X'
                  TABLES
                    lines           = tbl_lines
                  EXCEPTIONS
                    id              = 1
                    language        = 2
                    name            = 3
                    object          = 4
                    OTHERS          = 5.
    Regards,
    Venkat

    Hi,
    Check whether the field w_lines_all-posnr is having a proper value. Have to used proper conversion exits, to chage the format of POSNR (line item 10 should be converted to 000010).  Also check whether the values are updated in STXH table after the order is saved.
    But, I don't think you should use SAVE_TEXT with SAVE_MODE_DIRECT = 'X' in the user exit. (Does this triggeres an explicity commit during user exit processing ?  Any comments ?)
    Regards
    Vinod

  • Manual condition types need to be reapplied after material change

    HI Team,
    For some of order items user enters manually condition type through VA02 for availing discount for the order item,
    I am having a custom program for updation of sales orders, Through which we can change the order materials.
    Order 123 having item material ABC. For which he entered manual condition type ZXYX.
    now using custome program he wants to change the mateial ABC  to XYZ. Thorugh custom progam material is updated. Price has been recalculted.
    But customer wants condition type ZXYX also need to apply for the XYZ material.
    Please guide me how to proced.
    Regards.

    Hi,
    Ask your ABAP consultant to check program MV45AFZZ.
    Here in item pricing update i.e
          FORM USEREXIT_PRICING_PREPARE_TKOMP   *
    write   PERFORM preisfindung_gesamt(sapmv45a) USING charc.
    where charc is  'C' (copy manual pricing elements & redetermine others) or you may also use 'G'(Copy pricing elements unchanged and redetermine taxes.)
    This surely works.
    Regards,
    Amit

  • How to find variant config material changes

    Hi!
    I have a requirement to compare variant config material under an equipment sales order. Scenario is:-
    Suppose company has sold one product and that product is variant configured. Under configuration tab user has selected different characteristics and because of that characteristics some materials has come under that config material in sales order. Suppose customer has returned that material after some time and now I have to create a follow on return order. My requirement is , I have to check that if that configured material has been changed now (depending upon same characteristic values ) or not. May be that configured material is now having one more component material added that is priced now and that configuration product price has been changed because of that new added component .
    Is there any way I can compare that configured material in sales order with regards to todays date. (Depending upon characteristic values) .
    Regards
    Yogesh

    The material documents are NEVER deleted. You can reverse them (MBSM provides a list of reversed documents) but not delete them.
    You can delete the delivery, then the VBFA is cleared but in MKPF table a trace of this still stay in field MKPF-XBLNR that contains the deleted delivery number.
    Regards
    Roberto

  • Really urgent: Collective display of material changes made f

    hi,
    i had been assigned a work in which  i have to display that from this time period 1.12.2007 to 31.12.2007, these are the materials in which these are the changes made by these persons.
    can anybody provide me tcode for this ,as help will be definately rewarded.
    plzzz its really urgent.

    HI,
    BUT IWANT TO HAVE COLLECTIVE DISPLY FOR IT.
    PLZZ DAT TCODE . I KNOW DAT DIS TCODE MM04 BU TIT SHOWS FOR SINGLE MATERIAL BUT I WANT IT FOR COLLECTIVE MATERIAL.

  • Order as Direct Material Changes the Delivery Address

    Hello,
    We have encountered an odd behavior when the Order as Direct Material button is pressed. The delivery address that previously displayed is changed to the plant address.
    Is this normal? Can it be de-activated so that is does not changes the address?
    Regards, Dean

    Muthu,
    Thanks for the reply.. been busy...Is there a way to change this behavior with BADIs, etc? I think I can do it BBP_DOC_CHANGE_BADI. However, I thought there might be a more elegant way .
    Regards, Dean.

Maybe you are looking for

  • Giving error of insufficient privileges while creating triggers

    Hi all, I am facing the problem of insuffcient privilege on base tables while creating triggers. I have three schemas say A, B, C in my database. Base tables are in schema A. I have given all the grants on base table to schema B and C. grant all on b

  • Printing into multiples columns on several pages

    Hi, I am looking for a way to print a list in TWO columns using SAPscript. Here is the SAPScript : /E   POS_ITEMS                                    L                                                       L    &itemno1&  &itemno2& a list that looks l

  • Single artist is appearing twice in My Music

    One artist, one album, saved in one folder on my PC. Yet she appears twice in My Music. In one of the appearances there is one track, in the other are the rest. They both appear in My Music with the same artist name and same album name. How do I merg

  • Why i do not have "Custom" category when trying to add a new web part

    I have deployed a .wsp solution to my web application as follow, using Visual studio:- But when I try to add this web part to my brand new enterprise wiki site collection, I can not see any "custom" web part area as follow:- Baring in mind that we ha

  • Question on Query

    Hi Friends, Business wants empty values to be displayed as zeros (0.00) in the query for key figures. Please help me how i can proceed further, becasue i am new to BEX. Many Thanks! Regards, Syed