2010 Mar 02 3:13 AM
Hello all,
I am using the BADI MB_DOCUMENT_BADI to add custom code when posting the Material Document using Transaction Code MIGO. I would like to ask is there any default field that helps to check if the current action is "Create" or "Update". I try to search through Structure "SYST" but could find any suitable fields. Please kindly assist.
Thanks.
Hello all,
I am using the BADI MB_DOCUMENT_BADI to add custom code when posting the Material Document using Transaction Code MIGO. I would like to ask is there any default field that helps to check if the current action is "Create" or "Update". I try to search through Structure "SYST" but could find any suitable fields. Please kindly assist.
Thanks.
2010 Mar 02 11:48 AM
There seems to be no field with the action in.
Can you just select on MKPF for the document details, and if it exists, then you can assume an update, if it does not exist then assume a create.
2010 Mar 02 11:54 AM
Hi,
I too agree with paul... Also see if you use this badi " MB_MIGO_ITEM_BADI" for your requirement and see if any field is there in the structure.
Regards,
Nagaraj
2010 Mar 02 12:08 PM
Doesnt the transaction differentiate this ?
sy-tcode.
Oops .. Now i got your question exactly !!!!
Edited by: Keshav.T on Mar 3, 2010 12:48 AM
2010 Mar 03 3:51 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |