MIGO - user exit - POST
Hi,
I have added code in the user exit MB_CF001 for the transcation code MIGO.
I put a break-point in it (hard coded),
I have activated in SMOD and CMOD also.
But when i run MIGO and POST (click on post button on application tool bar) it is not posting, while clicking on SAVE also it is not stopping.
Please tell me when the user exit will be encountered.
regards,
Prabhu.
Points assured.
sorry.
regrads,
Prabhu
Similar Messages
-
MIGO User Exit after Mat Doc creation
Hi Experts.
I would like to request for your help about an user exit that will be triggered after the material document has been created or posted. The requirement is that I need to extract the material document from SY data and create a textfile via download. Thanks a lot!
Best Regards,
RandyTransaction Code - MIGO Goods Movement
Exit Name Description
MBCF0002 Customer function exit: Segment text in material doc. item
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal
No of Exits: 8 -
MIGO user exit to get serial number
Hi Experrts:-
I need to change the status of serial number (equipment number ) during Migo (good receipt,Transfer posting).
I have checked all the user exits and number of badis but i am not getting serial number at run time if i get serial numbar
in exit od badi i will change the status
I have used following badi:-
MB_DOCUMENT_BADI
MB_MIGO_ITEM_BAdI
ThanksHi ,
m also using GET_SERNOS_OF_DOCUMENT
but not getting serial number.
need to get serial number in MIGO.
how to pass parameters to this fm.
KEYDATA-TASER = 'SER03' "Goods mvmnt
KEYDATA-SDAUFNR = ??
KEYDATA-POSNR = ??
CALL FUNCTION 'GET_SERNOS_OF_DOCUMENT'
EXPORTING
KEY_DATA =
TABLES
SERNOS =
EXCEPTIONS
KEY_PARAMETER_ERROR = 1
NO_SUPPORTED_ACCESS = 2
NO_DATA_FOUND = 3
OTHERS = 4
please guide.. -
Hi all,
my requirement is "whenever the user is performing the MIGO transaction and presses the post button,i have to populate all the values what ever the user is entering along with the MBLNR (material document number) field and also to populate somemore fields from 2 ztables and post it into IDOCs".
For this i have found the userexit which is MBCF0002.
Im getting all the fields values, what ever the user is entering but for the MBLNR (material document number) field its blank. The reason for this is , only after the successful movement of the material MBLNR field will be generated.
so ,
To be Reward all helpfull answers.
Regards.
JayHi,
You need to use a user exit which is getting triggered only after material document no has been generated. You may use INCLUDE ZXMBCU01 of EXIT_SAPLMBMB_001. Please note that this exit is getting executed whenever a material document is generated by the system. Hence you need to check your specific tran code+reason code. Please also note that if at all you need to debug this exit, just put /h in command box just before pressing post & then settings---->update debugging shystem should give you the message update debugging has been switched on. You need to ensure this since it's a toggle.
I hope this helps,
Regrads
Raju Chitale -
HELP..migo user Exit
HI all..
please help me...
this is my third post and i badly need a user exit after posting of material document..
is there a user exit avaible before migo will pop up the success message Material document number 49000000 posted?..
because in my requiremnt, material document must be posted(save in table mseg mkpf ) and all lock entries(material batch etd) are already released..
thanks u very much.Hi ,
You can use BADI MB_DOCUMENT_BADI ( MB_DOCUMENT_UPDATE ),
here u will have the Doc number too..
The following steps to activate the BADI.
1. Execute Business Add-In(BADI) transaction SE18
2. Enter BADI name i.e. MB_DOCUMENT_BADI and press the display
button
3. Select menu option Implementation->Create
4. Give implementation a name such as Z_MB_DOCUMENT_BADI( depends on the naming conbvention)
5. You can now make any changes you require to the BADI within this
implementation, for example choose the Interface tab
6. Double click on the method you want to change, you can now enter
any code you require. ( SE19 )
7. Please note to find out what import and export parameters a
method has got return the original BADI definition
(i.e. MB_DOCUMENT_BADI) and double click on the method name
for example within MB_DOCUMENT_BEFORE_UPDATE is a method
8. When changes have been made activate the implementation
Please rewards the point if answer is helpful.
Regards. -
Hi All,
Please let me know which user exits / badi for MIGO which is effective at SAVE time (only for GRN) with using PO.
Best Answer Best Points....
Thanks In AdvanceEnhancement/ Business Add-in Description
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_BADI MB21/MB22: Check and Complete Dialog Data
MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check
MB_PHYSINV_INTERNAL Connection: Core Inventory and Retail AddOn
MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data
MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens
MB_DOC_BADI_INTERNAL BAdIs when Creating a Material Document (SAP Internal)
MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF
MB_DOCUMENT_BADI BAdIs when Creating a Material Document
MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR
MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7
MB_CIN_LMBMBU04 posting of gr
MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blocking Tables
ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL
ARC_MM_MATBEL_CHECK Check Add-On-Specific Criteria for MM_MATBEL
Regards. -
Hi
I have been create a ztable.it will contain PO no, then I go to MIGO Transaction While saving goods receipt PO, I want to check with Ztable.PO No(MIGO trs) is Available or Not? Such as (Po is not available means Display error Message in MIGO transaction) If any standard user exits are available?Check MBCF0006
Regards,
Amit
Reward all helpful replies. -
MIGO User Exit/BADI to disable field
Hi,
I would like to disable a specific set of fields in MIGO (fields under the GOITEM structure). Is there a BADI (or user exit) I can use to implement this functionality ?
Thanks.Hi,
My understanding is this BADI is used for modifying the value of the field itself. My requirement is to disable the field (user should not be able to edit the value). Whenever I add the LOOP AT SCREEN statement on this BADI, the screen field GOITEM-CHARG is not processed.
I am actually looking for a BADI/user exit where this screen field can be read.
Thanks. -
MIGO - User Exit / BADI / BAPI
Hi All,
I have an reuirement that when user save document in MIGO then I want to send an e-mail alert to concerned user for inspection of goods in store. Is there any user exit / BADI / BAPI where I can write my code to send mail in MIGO tcode.
Thanx and Regards,
Rajesh VasudevaHi,
Try using BADI MB_MIGO_BADI or MB_MIGO_ITEM_BADI or WB2_ADDITIONAL_DATA or WB2_EXPENSE_ENHANCE or BADI_MATN1 or WVKU_DETERMINE_SP or ME_CIN_LEINRF2V or ME_CIN_LEINRF2R.
KR Jaideep, -
MIGO: user exit for checking batch number
Hello,
When using MIGO to do goods receipt (101 mvt) I need a user exit in each time a line is added to check the batch number entry. If the batch number is empty for certain materials issue a error message to the user.
Thanks,
Peterwhere is your problem then?
If you create batches automatically with 101 ,then each line will get its batch from SAP, no need to check if there something entered manually.
Why do you customize auto creation of batches, while you want the user to enter the batches manually?
can you give a bit more background? -
Message to display in MIGO user exit
Hi everyone,
I have used a User Exit EXIT_SAPMM07M_001in migo for automatic batch generation, the problem is that when I give the message in the user exit it does not pop up the information.
E.G. message 'Batch is xyz' type 'I'
also i have tried to use the function module POPUP_TO_CONFIRM but this also does not give a pop up display.
How can I go about giving a message popup in MIGO .
regards
Yao ChhangMaybe it's not running the code in the exit.
You can check this by add some lines to a logfile on the application server for testing purposes.
data: l_dataset type string value '/export//intf/abaptemp/zzhstest0001.txt',
l_string type string,
l_string2 type string value '**********************************************'.
open dataset l_dataset for appending in text mode encoding default.
l_string = 'Test 1'. transfer l_string to l_dataset.
concatenate sy-Datum sy-uzeit sy-uname into l_string. transfer l_string to l_dataset.
l_string = l_string2. transfer l_string to l_dataset.
close dataset l_dataset.
Run the program.
Check the logfile.
regards,
Hans
Please reward all helpful answers !!!!! -
Hello people,
I have the next requirement: when u make a movement through MIGO transaction, always we have to put the stock type to blocked (mseg-insmk = 3). Im trying to look for user exits...
I have ZXMBCU02, but mseg is not passed by reference, so if i change the insmk, this change is not outside the user exit.
Do you know any user exit where i can modify mseg before the movement is done? Or maybe any user where you can modify the document material after the movement is done? ( i would need a BAPI for this so i think the other option is easier )
Thank you,
ManelCheck BADI MB_MIGO_BADI.
Regards,
Naimesh Patel -
Modification in migo(User exit)
Hi Techis
Can anybody pls tell me modification in Tr code MIGO AND EXIT NAME IS
"MBCF0005" Material document item for goods receipt/issue slip
Will any body pls provide soln wid stepd how to make it...
Pls help me out..
Reward will be awarded for answers
regards
santogo to TC: CMOD,
create a project : ZMIGO,
and click on assign enhancement and assign 'MBCF0005'.
and clikc on component, it shows 2 FMs,
EXIT_SAPM07DR_001
EXIT_SAPM07DR_002
double click on EXIT_SAPM07DR_001, which is related to your requriement.
again double click on INCLUDE ZXMBCU05 .
theri u can imp. ur logic
active include and come back to ZMIGO and activate the Project. -
MIGO user exit : MBCF0009 Filling the storage location field
Hi all,
I want to change the storage location filed after loading data (GR for PO, GI for network) before output (show in grid).
I found the exit MBCF0009 but it does not work. Any other way to do this ?
Thanks.
WayneDera Suyog,
I try to use method line/item change, but I cannot find a solution.
Acctually I cannot change the value of cs_goitem and to display it.
Below is my code!
Pls help !
Please have a look on my code !
method IF_EX_MB_MIGO_BADI~LINE_MODIFY.
break skolev.
data: p_groes type mara-groes.
data: p_maktx type makt-maktx.
data: p_all type goitem-maktx.
data: p_len type p.
select single groes into p_groes
from mara
where matnr = cs_goitem-matnr.
select single maktx into p_maktx
from makt
where matnr = cs_goitem-matnr
and spras = sy-langu.
concatenate p_maktx p_groes into p_all SEPARATED BY space.
p_len = strlen( p_all ).
cs_goitem-maktx = p_all.
CALL METHOD cs_GOITEM->HOLD_DATA_SAVE( ).
break skolev.
endmethod. -
Re: IDOC User Exits
Posted: Aug 1, 2006 10:43 AM Reply E-mail this post
Hi
I have a basic doubt. We can modify or add new segments and change existing values to segments only for outbound idoc.
I have a requirement where a particular field in a segment would be empty for an inbound idoc. Is it possible to change inbound idoc values after the idoc is created and before it gets posted.
Please let me know,
Regards,
B.AnandhUpdating IDoc data in segments.
STEP 1 - Open document to edit
CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_EDIT'
EXPORTING
document_number = t_docnum
IMPORTING
idoc_control = itab_edidc
TABLES
idoc_data = itab_edidd
EXCEPTIONS
document_foreign_lock = 1
document_not_exist = 2
document_not_open = 3
status_is_unable_for_changing = 4
OTHERS = 5.
STEP 2 - Loop at itab_edidd and change data
LOOP AT itab_edidd WHERE segnam = 'E1EDKA1'.
e1edka1 = itab_edidd-sdata.
IF e1edka1-parvw = 'LF'.
e1edka1-partn = t_eikto.
itab_edidd-sdata = e1edka1.
MODIFY itab_edidd.
EXIT.
ENDIF.
ENDLOOP.
STEP 3 - Change data segments
CALL FUNCTION 'EDI_CHANGE_DATA_SEGMENTS'
TABLES
idoc_changed_data_range = itab_edidd
EXCEPTIONS
idoc_not_open = 1
data_record_not_exist = 2
OTHERS = 3.
Maybe you are looking for
-
How can i get the source code from java concurrent program in R12
Hi 2 all, How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template? Regards, Zulqarn
-
Adobe acrobat x pro can't install
Hi, I've managed to install all the elements of the CS5 suite (thanks to manish!), but the acrobat pro x still refuses to install. I'm getting a message that my system doesn't comply with the minimal requirements, but I've checked them out, and ever
-
Drawing Images in awt Panel object
HI, I need to display an image in a Label. My project is using awt and not swing. Can anyone help he how to use an setIcon() equivalent in an awt label. I have tried to work around a bit and remove the label from the parent container and diaplay an i
-
How to ensure unique values of all records in the form?
Hi all, I need to do some personalization in this Oracle EBS Form - Purchasing Super User -> Receiving -> Receipts -> Lot Entry I must ensure that evry record entered on that form has a unique value in the column Lot Number. Can anybody advise me p
-
Can two iphoto users create a shared photo book?
My sister and I would like to make a photo album for our parents for Christmas. We live in two different cities, but we each have pictures we would like to contribute to the book. can we create a photo album that we can both work on and add pictures