Material Document change

Dear All,
Can material document be changed once it's been created? User wants to update Delivery Note in Matetial document, is there any transaction to do that?
Regards
SD

Samier Danish wrote:>
> Dear All,
>
> Can material document be changed once it's been created? User wants to update Delivery Note in Matetial document, is there any transaction to do that?
>
> Regards
> SD
Hi Samier,
Try using MB02 it is the TCode to change Material Documents.
Hope it helps
Regards
Abhishek Swarup

Similar Messages

  • BADI for MIGO ( Material document change for Production Order goods Receipt

    Hey experts,
    I am actually stuck up with MIGO BADI.
    There are many BADI's available but i dont think any one would suit my requirement.
    here goes my requirement.
    When a Production Order is created in transaction CO01 , the system picks the value of the moving  material and multiplies it with the quantity .
    But when the production order is being confirmed thru CO11N , again the system picks the present moving price of the material and multiplies it with the quantity. This goods receipt is done through MIGO transaction by selecting goods receipt for order that is 101 movement type. I have been asked to get the value of the material at the time of production order create and then change the dmbtr value of MSEG table, this can be done in the badi at the time of creation of material document number but the BADI's MB_DOCUMENT_BEFORE_UPDATE,  MB_DOCUMENT_UPDATE do not allow me to change the values .
      The BADI MB_DOCUMENT_BEFORE_UPDATE does not allow any changes to be made for XMSEG table
    and MB_DOCUMENT_UPDATE is passed by value and hence the changes are not affected after it comes out of the method.
    Guys please help me as this creating a hell lot of problem here and i would surely reward the max points if answered.
    here is the example to be more precise.
    Material : Pen
    Quantity : 10.
    date : 01.06.2008.
    TYransaction co01.
    lets say at the time of creation the value of the material was 5 rs
    a material document would be created with the value  : 50 rs.
    Now for this prod. order goods receipt is being done on 01.07.2008.
    Let the value be 4 rs now.
    so the Material document would be created with a value of 40 rs.
    I need to make this 50 rs.
    I have got all the data to do it but i am not gettin the coreect BADI, i just want the BADI name to change the DMBTR value at the time of creation of material Document.
    Thanks in Advance.

    User-exit /BADI to change mseg during migo
    https://forums.sdn.sap.com/click.jspa?searchID=-1&messageID=5435559
    try this links

  • Change "Reason for Movement" on Material Document

    I've posted a Material Document.  I now need to change the Reason for Movement.  I've tried this via MB02 but only the Goods Recipient and Text appear to be updatable.  Is it possible to change the Reason for Movement after the Material Document has been posted?  If so, how?

    Hello David,
    Except "text field" & "unloading Point", you can not modify any other field in Material document change mode (MB02 t-code)
    Hope this helps.
    Regards,
    Arif Mansuri
    Reward if answer is helpful.

  • Multiple Posting change notice created for one material document

    Hi All,
    The scenario is that the user needs to transfer material from unrestricted to quality stock type. while doing so the storage type is different than the actual storage type for the material. Meaning if the material is normally stored in high rack storage type, when it is found that the material is damaged or expired it need to be moved to the quality storage type. For this the user will first create  material document in IM with movement type 322 transferring material from unrestricted stock to qualtiy stock. A PCN will be created in back ground which will in turn be converted manually by the user to a TO. while doing so the user will pick the quant manually from the required storage type and select the destination storage type as the quality or quanranntine area.
    The issue here is that system creates one PCN for each material document line item. The requirement is that the system should create only one PCN with multiple lines for one Material document.
    The setting in the movememnt type clearly says that it will behave as it is behaving.
    Is there any other way or setting by which we can create one PCN with multiple line items for a material document.
    Would look forward to your replies.
    Regards,
    Jeetendra

    Thanks and Sorry for the delayed reply. We have now convinced the users that the system behaviour is standard and we cannot change the same.
    To your question about the need to have one PCN with multiple lines please note that the setup is such that when material document is created for transferring material from unrestricted to quality and vice versa this document is created with multiple materials in one go. Now when the PCN is to be converted to TO then the user ends up in creating number of TO's equal to the number of lines in the Material Document. We wanted to avoid this and hence this was posted in SDN.

  • BADI or User Exit - Change Material Document(GL/Account) before posting

    Hi,
    I want to change the MSEG and FI Posting values before the material documet is posted. I am not using the transaction MIGO for the material document posting. The material document which has to be changed was created during the stock adjustment (MI01,MI02,MI07.etc)
    The Details I want to change is "GL Account No" based on
    storage location. Since I cannot solve this requirement throught customization, I need a way to achive this using
    user exits or badis..
    Points will be rewared.
    Prasath
    Edited by: Prasath Kumar R on Jul 24, 2008 1:18 PM
    Edited by: Prasath Kumar R on Jul 24, 2008 1:18 PM

    Hi ,
    What you advised is right, But my customer demands to set the Gl Account at Storage location level.
    Is there any way that i can change GL/Account after Posting....????!!!!  I hope it also not possible..
    Plz advise..abt my assumption.
    Regards
    Prasath
    Dear All,
    Please let me know the possiblity of achiveing the above reqmt. Your suggestions will be helpful..
    Regards
    Prasath
    Edited by: Prasath Kumar R on Jul 25, 2008 9:33 AM

  • Material Master Change Documents

    We have currently added additional fields to MARA and I am trying to add the changing of these new fields to the Material Master Change Documents.  Does anyone know how I can accomplish this?

    Dear Khrista,
    I hope you are looking for change documents that would be generated whenever specific field value changes when you change material master. It would be stored in CDHDR and CDPOS.
    One way is to add custom fields to be considered is to implement a proper BAdi/Enhancement.
    Please check this sample program from other thread to find BADI and enhancement for a given transaction code. You just need to create a custom program in your system by cut and paste below codes.
    REPORT ZTEST.
    TABLES: TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA: FIELD1(30).
    DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS: P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA: WA_TADIR TYPE TADIR.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    ENDCASE.
    Alternatively, you can do the following:
    1. For what ever transaction u want the enhancement .. just check for the System-->status (menu) and find out the PROGRAM name....
    2. Double click on to the program name and go inside the program (Abap editor)
    3. Search for "Call Customer-function " ... and u'll get some search results .. If u get results then u have enhancement in that tcode .....
    4. Then it actually calls a Function module .... copy the Function module name .... go to SE80 (object navigator) click on "Repository Information system" then Customer Enhancements .... Give the Function module name in the "Components" field and click Execute ....
    ull get a list of Enhancements related to that Componene....
    5. Choose which ever enhancement will suit ur business need ..
    6. Go to CMOD... create a project .... assign ur enhancement ... and then code ur logic.... activate ur enhancement in CMOD ....... Ur Buisness need will be solved...
    For a user exit......
    Finding whether there is any User Exit or not for tcode VA42
    1. For what ever transaction u want the user exit .. just check for the System-->status (menu) and find out the PROGRAM name.... ( The program name would be for our scenario "SAPMV45A" )
    2. Double click on to the program name and go inside the program (Abap editor)
    3. Search for the word "USEREXIT" .... u ll find all the user exits in the search result .. and find ur's then ...
    Hope this will help.
    Regards,
    Naveen.

  • Trace Changes in Material Document

    Dear All,
    Is there any way to trace which material document has been changed manually by the user? Our situation is as follows:
         User use MB02 to update header text field in the old material documents. We need to extract all the changes information and
         what is the best option to do this? Is this from CDHDR/CDPOS tables? I tried to use the "Change On" field in the table MKPF, but
         nothing can be extracted because it seems that this field is always blank.
    Sorry, please correct me if I'm wrong.
    Thank you in advance for helps.
    Best Regards,
    Edwin

    To track changes :
    Try to check the setting in OPUV for change docs for material
    (or)
    Try to use AUT10 t.code , in that enter the t.code which you want track the chnages and execute.
    (or)
    Check in Txn CN60. Here you can view list of change documents for materials, networks and WBSE
    Edited by: m_n_novice on Aug 27, 2009 10:06 AM

  • Changing delivery note on material document

    Hello!
    We have booked some material documents with a wrong delivery note. Is it possible to change the document number without
    canceling the material documents?
    Thanks
    Markus

    Please check this answered link:
    change the delivery note number
    Change Delivery Note
    Edited by: Afshad Irani on Jun 17, 2010 5:11 PM

  • Change in Profit center of Material Document

    Dear SAP
    I have made a outbond delivery with movement 601 and corresponding material document is being created with accounting entries. but here profit center got wrong and when I am changing profit center through SAP Edit (Changed in MSEG,LIKP,BSEG).
    But the the MIGO Display and MB5B report are showing the earlier profit center.
    How and where we can change the profit center so that it gets corrected

    Hello
    As per standards, you can't change account assignment for a document after you have posted the material document. It is advised to reverse the material document and then do the neccessary corrections in the preceeding documents and then post the material document again. So, even though you have changed same may not help.
    If you still want further information, consult FICO consultant on this.
    Thanks & Regards
    JP

  • USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT

    Hi,
    Pls advise any USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT.
    Regards,

    Hi,
    There is another user exit for updating material document data Upon posting  is MB_CF001
    I hope this will fullfill you.
    Prem

  • BAPI/FM for change Material Document Posting date

    Hi Experts,
    Is there any BAPI/FM for change a material document posting date.
    Its urgnt.

    Hi You can check the source code of MB02.
    i doubt whether you can change the date , hope so you have to reverse the document asd post it again.
    check & use MB_CHANGE_DOCUMENT at your own risk.

  • Standard report for material price change documents

    Hi Friends,
    Is there a standard report which lists all the material price change document?
    To view the document individually t-code CKMPCD can be used, but I need a report which lists all the documents for a specified period of time.
    Thanks a lot for all the efforts.
    Regards,
    Shilpi

    Hi,
    I do not know a standard report but an infoset+query created based on logical database BRM and BKPF-AWTYP = PRCHG (price change), BKPF-BUDAT (posting date),... and some BSEG-fields will give you the posted amounts. The original document (=corresponding price change document) number can be seen in BKPF-AWKEY.
    best regards, Christian

  • Change Number Range of Material Document

    Hi Guru,
    We have a requirement to change material document number range that depend on movement type.
    I have check in SPRO and read some document for material document number range.
    I understand that this is a standard SAP.
    - GR from PO or Order         Number Rage will be 5000000000 to 5099999999 and Fiscal Year
    - GR Other, GI, Transfer      Number Rage will be 4900000000 to 4900000000 and Fiscal Year
    My question is Can we change this number range?
    I guess that we have to implement BADI or User-Exit to determine new number rage but I don't know how to do this.
    Please kindly advice or guide me.
    Thank you very much.
    Saiyaman

    Hi,
    Insted of Movemen ttype you can asign seperate number range to a transaction code follow the process as below
       First u need to create seperate document type in OMR4  or OBF4,   then create a new number range in OMBT  assign your new number range to new created document type then in T. code OMBA  assign new created document type to the transaction code  so whenever u will create document with this Transaction code u can get new number range.
    regards,
      zafar

  • Change Material Document Header Date

    Hi SAP,
    can we can material document header date ? is there any impact if we change it ?

    Hi,
    In standard SAP, you can not change document header date in material document.
    If you change "posting date" or "entry date" by your own coding, it will cause unexpected
    result in MM-IM report. For example, if you change "posting date", it will affect MB5B.
    But if you only change "document date", as far as I know, there will be no affect.
    Thanks and regards,
    Polly

  • Bapi or function module to change Material document

    can any one plese tell me the function module or BAPI to chenge the material document.i need to chenge some fields in the material document like XBLNR(Reference document number) after it is created.
    Thanks ,

    Hi,
    try this out.
    SRS_PDC_GR_MATDOC_GET
    <REMOVED BY MODERATOR>
    Thanks,
    Madhura
    Edited by: Alvaro Tejada Galindo on Feb 6, 2008 2:15 PM

Maybe you are looking for