Skip to Content
author's profile photo Former Member
Former Member

User Exit after GR Creation

Dear All experts,

i would like to ask, is there any user exit which can trigger after GR creation?

it is because i added a customize field for batch classification so i would like to fill in value after GR posting automatically which similar like Expiration date field will update automatically after GR posting.

any user exit or BADI i can use?

Appreciate for your reply.

Thanks:)

Add a comment
10|10000 characters needed characters exceeded

Related questions

7 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2011 at 09:05 AM

    Hi,

    Please try the folllowing bdids 1.MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF

    2.MB_DOCUMENT_BADI BAdIs when Creating a Material Document

    3.MB_DOC_BADI_INTERNAL BAdIs when Creating a Material Document (SAP Internal). Hope it helps you. Thanking you.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2011 at 09:26 AM

    HI, thanks for your reply. appreciate it:)

    but the user exit which i want is can function after GR document posting. i need user exit to update a value to batch classification. just like Batch's expiration date will update after GR posting.

    Please advice.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 05, 2011 at 09:32 AM

    Hi

    What is your exact requirement? Which field you want to update?

    There are many enhanceemnts & BADIs available. following may be useful

    Enhancement

    MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.

    MBCF0011 Read from RESB and RKPF for print list in MB26

    MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1

    MBCF0009 Filling the storage location field

    MBCF0007 Customer function exit: Updating a reservation

    MBCF0006 Customer function for WBS element

    MBCF0005 Material document item for goods receipt/issue slip

    MBCF0002 Customer function exit: Segment text in material doc. item

    Business Add-in

    MB_RESERVATION_UPCHD BAdI for Creation and Changing of Manual Reservations

    MB_RES_BAPI_CHANGE BAdI: Execution of Changes to Reservation Fields

    MB_RES_BAPI_CREATE1 BAdI: Adoption of Customer's Own Fields as Reserv. Fields

    MB_RES_BAPI_DETAIL1 BAdI: Display of Customer's Own Fields in Reservations

    MB_STOR_LOC_BADI_GTS BADI to Check and Change Storage Location (GTS Fct. Only)

    ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL

    MB_RESERVATION_SCR Screen BAdI for Retrofit DFPS

    MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blockin

    MB_CIN_LMBMBU04 posting of gr

    MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB

    MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR

    MB_DOCUMENT_BADI BAdIs During Creation of a Material Document

    MB_DOCUMENT_BADI_SAP BADI for Creation and Changing of a Material D

    MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and

    MB_DOC_BADI_INTERNAL BAdIs During Creation of a Material Document (

    MB_ME_CSGMT_BADI_SAP BAdI: Consignment Processing - Stock Transfer

    MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens

    MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data

    Thanks

    Sachin

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 05, 2011 at 10:45 AM

    Please let us know how are you going to update that field . I need this confirmation because if you are planning to use Goods movement Bapi's inside it then it will go for dump.

    Kesav

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2011 at 01:37 AM

    HI all,

    Thanks for your valuable reply & appreciate much.

    actually my exact requirement is:

    i added one customize field (MPN Number) at Batch's Classification, and then new batch will create when GR (Movement Type:101) posting automatically at MIGO. Therefore, i would like to add MPN number to Batch Classification when new batch created and after GR posting.

    is it any suitable user exit and BADI i can use?

    I hope there is a user exit or BADI which trigger after GR posting, so that i will be able to update MPN number to Batch's classification.

    Please advice.

    Thanks:)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2011 at 05:37 AM

    is it not standard field...i customize add into Batch's Classification field.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2011 at 02:45 AM

    Dear All experts,

    Anyone can help on this issue.

    basically my issue is as follow:

    1st -> I created a new characteristic by using T-Code: CT04 & i named new characteristic as 'MPN Number'

    2nd -> I assigned new characteristic into exiting customized Class by using T-Code: CL02.

    After above first & second assignment, Classification Tab of batch master will show one new characteristic which added by using T-Code: CT04.

    When we create Good Receive Document by using T-Code: MIGO, system will generate Batch Number automatically when post for Good Receive Document successfully. Therefore, i would like to search for a user exit or BAPI or BADI which can update characteristic of batch which just new added by me as above. i would like to update MPN Number which attach with GR Document into Characteristic of batch when the batch generate successfully.

    is there any available User Exit or BAPI or BADI which i can use to update characteristic of batch when posting for GR document?

    Look forward for your valuable answer.

    Thanks alot.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.