cancel
Showing results for 
Search instead for 
Did you mean: 

User Exit after GR Creation

Former Member
0 Kudos

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:)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (6)

Answers (6)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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:)

kesavadas_thekkillath
Active Contributor
0 Kudos

Where have you added the custom field. Is it added to the standard structure or is it in any of the custom table ? If standard structure then please mention the name of it.

kesavadas_thekkillath
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.