Exit in Tcode MIGO
Hello Experts,
I have got a peculiar Issue.
First, I have to find a exit in MIGO, which should repost the primary cost for the WBS element.
Inside the exit I have code a program to repost the primary cost for the WBS element.
Can any tell me a BAPI to repost the primary cost for the WBS element.
Please share ur views for this issue.
Regards,
Vasanth
Hey,
I dont understand what do you mean by repost the primary cost for the WBS element. Any ways list of exits in MIGO.
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.
-Kiran
Similar Messages
-
hi all,
plz solve my problem.
how to find a badi for tcode migo ?
wher to write code?
can any bodysuggest me?
thanks
sachhidanandaHi Sachhidananda,
MIGO belongs to MB Package
These are the BAdI's for MB package.
MB_CHECK_LINE_BADI..............BAdI: Check Line Before Copying to the Blocking Tables
MB_CIN_LMBMBU04...................posting of gr
MB_CIN_MM07MFB7...................BAdI for India Version exit in include MM07MFB7
MB_CIN_MM07MFB7_QTY...........Proposal of quantity from Excise invoice in GR
MB_DOCUMENT_BADI................ BAdIs when Creating a Material Document
MB_DOCUMENT_UPDATE ..........BADI when updating material document: MSEG and MKPF
MB_MIGO_BADI .........................BAdI in MIGO for External Detail Subscreens
MB_MIGO_ITEM_BADI ................BAdI in MIGO for Changing Item Data
MB_RESERVATION_BADI............MB21/MB22: Check and Complete Dialog Data
After finding the appropriate BAdI u need to Implement the BAdI in SE19 Tcode.
In SE19 , give the Implementation name and click on create pushbutton then u get a popup Definition Name. Give the Definition Name and click on Enter (Continue).
Here u can see all the Methods in Interface Tab.
U need to select the Appropriate METHOD and in that METHOD u need to write the Code.
For Example
Best regards,
raam -
Hi to all
I need do it, a enhancement by the transaction MIGO, just when the document is saved.
Somebody knows, an enhacement in particular ??
Thank by their aid.
regards
DarioHi,
Assuming this is your requirement..
Store the MKPF & MSEG details in a Z table...when the material document is created..
Solution
1)
Create a function module Z_ADD_ZTABLE..Which should be remote enabled..
Give the parameter..
You can select on MKPF and MSEG with the material document number that has been just posted...The values are available in XMKPF-MBLNR..
Example.
SELECT SINGLE * FROM MKPF WHERE MBLNR = XMKPF-MBLNR.
****The return code will be zero..Means the record is available in the database.
2)
IN the BADI MB_DOCUMENT_BADI or in the USER EXIT...
CALL the function module in BACKGROUND TASK..
Example
CALL FUNCTION 'Z_ADD_ZTABLE' IN BACKGROUND TASK
Exporting
Hope this is clear..
Thanks,
Naren -
User exit/Badi in MIGO after save
hi all
I am trying to find a user-exit/BAdi in tcode MIGO.
This one should be called after saving the MIGO document.
Using this i want to put control over auto TO creation for some specific plants and storage locations.
Important thing is I am using version 4.6C.Hi,
Please try the last one. This may suit.
For "Automatic TO creation (background processing)", the following user exits are available:
MWMTOAU1 Selection of requirements for automatic creation of orders.
MWMTOAU2 Reference number assignment.
MWMTOAU3 Selection of posting change notices for automatic creation of transfer orders.
Thanks and Regards
Guru -
Hello All,
Could someone let me know what all kind of transactions can we do by tcode MIGO and in real scenario mainly for what purpose is MIGO used for. I know it is used for goods receipt. But I am confused about one thing, I saw many options there like goods receipt and goods issue. But I also saw inbound delivery, outbound delivery, purchase order and others also. This is not clear to me.
Could someone direct me to breif note or some help and In short can let me know the basic functionality of this tcode.
Thanks,
Markhi
good
go through this links
http://purchasing.mpls.k12.mn.us/sites/725fb275-2139-4882-87c5-69b708b1eef9/uploads/SAP_TIPS__May_1_2006_.doc
This is the list of user exits for the transaction code MIGO.
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
MBCFC003 Maintenance of batch master data for goods movements
MBCFC004 Maintenance of batch specifications for goods movements
thanks
mrutyun^ -
MB_MIGO_BADI change header data in tcode MIGO
HI Experts,
I have a requirement to change the feild posting date(BUDAT) in the header data while doing migo.
For this i have implemented a badi MB_MIGO_BADI->IF_EX_MB_MIGO_BADI~PAI_HEADER. This method has the field is_gohead-budat. but when i'm changing the value in the method, its giving an error message saying you cannot change filed BUDAT.
Can anyone help me how to achieve this change?
Regards,
SatyamHI Harald,
Thanks for your active reply.
I tried exit EXIT_SAPLMBMB_001. But it is not getting called while doing MIGO. I tried putting a break-point.
I followed the following procedure. Kindly correct me if I'm wrong.
1. In tcode CMOD, I created the project: ZMD.
2. In Enhancement assignment i have given the enhacement name as MB_CF001.
3. In component section the exit EXIT_SAPLMBMB_001 has include ZXMBCU01.
4. I have written the following code in the include :
break-point.
if sy-UZEIT GE '000000' AND sy-UZEIT LE '060000'.
XMKPF-BUDAT = sy-datum - 1.
endif.
5. I activated the project ZMD.
When i execute the tcode MIGO and post the document, ideally it should stop at the break-point. If it does not stop than that means the exit is not being called during the run time.
Could you kindly guide me on this.
The movement type for the GR is 101 and is done for outbound deliveries.
Thanks & Regards,
Satyam -
Getting dump while posting goods receipt through TCode migo
Hi,
I am getting dump after I click on post button in TCode 'MIGO'.
Short text
The current application triggered a termination with a short dump.
Short text of error message:
Document number 9 5000000000 2010 was already assigned
Long text of error message:
Diagnosis
Document number 5000000000 in company code 9 and fiscal year 2010
has already been assigned.
System Response
Termination of processing.
Procedure
Check document number range 50 in company code 9 and fiscal year
2010 and correct the number range status if necessary.
Technical information about the message:
Message class....... "F5"
Number.............. 152
Variable 1.......... 9
Variable 2.......... 5000000000
Variable 3.......... 2010
Variable 4.......... 50
So please help me what I can do?
Thanks,
Moderator Message: The short dump is self-explanatory.
Edited by: kishan P on Nov 18, 2010 11:17 AMHi,
plx try to chane the status in IE02
Go to edit ,manual options , in that delete the HU assignemtn
and then save it and come out of it ..
Hope that helps -
How to send mail to vendor mail id from Tcode MIGO when GR is created
Hi Experts,
My requirement is to send one mail to vendor when GR is created in Tcode MIGO.
I tried to setup configuration in tcode NACE, creating new message type MAL1. but i am not able to locate Message tab in tcode MIGO, also, When i goto transaction MB02 i can give message type MAL1 in output types then mail is going to scot, but my main problem is as:
Output type MAL1 is not automacially trigerred from transaction MIGO (I need to go to MB02 and add output type in Messages)
Please help me to configure this. Again, i did configuration only in NACE and not any other tcode. So please tell me whether i need to configure in other tcodes specifcally WE20 (if yes, please give me message type and process code for GR) .
Many thanks, please help me. points assured!
Thanking you,
Jogdand M BHi,
Via t-code NACE select inventory management, then you can use output type WE01 or MLGR base on transmission medium -- 5 External send. After that you need to maintain the condition record accordingly, then that will be ok! After GR with MIGO, system will generate a email to vendor's mailbox in the vendor master data!
Good luck
Tao -
Tcode MIGO Background Job Not working
Hi All,
I am facing problem in TCode : MIGO for Background JOB of BDC Program with below details,
CALL_TRANSACTION MIGO returncode: 1,001 RECORD: 0
MIGO 017 S
The front end is not suitable for the transaction (see long text)
DC 006 S
Control Framework: Fatal error - GUI cannot be reached
00 341 A
Runtime error RAISE_EXCEPTION has occurred
Please let me know above error what needs to be done.
Thanks in Advance,
Mahesh DevershettyI am facing the same problem while calling MIGO from RFC
CALL_TRANSACTION MIGO returncode: 1,001 RECORD: 0
MIGO 017 S
The front end is not suitable for the transaction (see long text)
DC 006 S
Control Framework: Fatal error - GUI cannot be reached
00 341 A
Runtime error RAISE_EXCEPTION has occurred
BDCMSGCOLL Returns the following :
TCODE MIGO
DYNAME SAPLMIGO
DYNUMB 0001
MSGTYP A
MSGSPRA E
MSGID 00
MSGNR 341
MSGV1 RAISE_EXCEPTION
please help me as soon as possible
giving thanks in advance
goutam roy -
ABAP dump while running the tcode MIGO
Hi All,
I am getting the abap dump while running the tcode MIGO when I searched I got two relevant sap notes but our functional team said that its not applicable in our case.
Please find the details of ST22 analysis-:
Runtime Errors MESSAGE_TYPE_X
Date and Time 17.04.2009 13:18:45
Short text
The current application triggered a termination with a short dump.
What happened?
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
Error analysis
Short text of error message:
No RFC destination is defined for SAP Global Trade Services
Long text of error message:
Technical information about the message:
Message class....... "/SAPSLL/PLUGINR3"
Number.............. 002
Variable 1.......... " "
Variable 2.......... " "
Variable 3.......... " "
Variable 4.......... " "
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"MESSAGE_TYPE_X" " "
"SAPLMBWL" or "LMBWLU21"
"MB_POST_GOODS_MOVEMENT"
SAP Notes i have reffered 1098491, 1041122
Currently we are running on SAP_APPL 600 0007 SAPKH60007
Regards,
PrashantHi Rohit,
This particular note is valid for
Support
Packages Release Package
Name
PI 2004_1_46B SAPKIPZI38
PI 2004_1_46C SAPKIPZI48
PI 2004_1_470 SAPKIPZI58
PI 2004_1_500 SAPKIPZI68
Our system is running on PI_BASIS 2006_1_700 0005 SAPKIPYM05
Pls suggest.
Regards,
Prashant -
ECATT issue in Tcode MIGO- High priority
Hi ,
We are facing an issue in eCATT for Tcode MIGO in MM.
Everything went on well earlier. All of a sudden an error occurs as"Programming error. Data already aggregated". I asked my MM guy to check with his data. he says the MIGO is fine when ran independantly as aTcode. Thi serror occurs only while running thro' eCATTs. I would request someone to respond on this ASAP as we are stating our UAT today.
SudhaHi Sudha,
Even I am getting exactly the same error while running the script in Ecatt for the Tcode - MIGO.
(Error : Proramming error : Data already aggregated)
How did you resolve the error? Please help me in solving this error.
Regards,
Sachin Maheshwari
9881154030 -
Function module exits for Tcode MD11.
Please tell me, Function module exits for Tcode MD11.
Reg .
PrajuHi
LMDR2001
LMDZU001
Try out these exits.
Check the folloing BADI's
MD_PLDORD_SCHEDULING
MD_PIR_FLEX_CONS
MD_PLDORD_SCHEDULING
Regards
Divya -
Posting Stock Transfer Order (STO) in Tcode MIGO
Hi,
Is there a BAPI on posting(goods receipt) STO in tcode MIGO?
if there is a BAPI, please provide me also table mapping for the exporting and tables parameters on that BAPI.
Thank you so much.
jamesHi use this BAPI,
data : goodsmvt_header like bapi2017_gm_head_01,
goodsmvt_code like bapi2017_gm_code,
testrun like bapi2017_gm_gen-testrun,
goodsmvt_item like bapi2017_gm_item_create
occurs 0 with header line,
goodsmvt_serialnumber like bapi2017_gm_serialnumber
occurs 0 with header line,
return like bapiret2 occurs 0 with header line,
goodsmvt_headret like bapi2017_gm_head_ret,
materialdocument like bapi2017_gm_head_ret-mat_doc,
matdocumentyear like bapi2017_gm_head_ret-doc_year,
returncmt like bapiret2 occurs 0 with header line .
pass header details to goodsmvt_header,
item details to goodsmvt_item.
goodsmvt_code-gm_code = '01'.
( for Goods receipt for purchase order)
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = goodsmvt_header
goodsmvt_code = goodsmvt_code
IMPORTING
goodsmvt_headret = goodsmvt_headret
materialdocument = materialdocument
matdocumentyear = matdocumentyear
TABLES
goodsmvt_item = goodsmvt_item
return = return.
IF return[] IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'
IMPORTING
return = returncmt.
COMMIT WORK AND WAIT.
ENDIF. -
Urgent- error when use TCODE MIGO
Hi All,
we have got problem with TCode MIGO,
when we click save then system show message follow:
"WM movement type 101 not allowed for warehouse number TPR"
We used TCode OMJJ but can't where to assign for w/h TPR.
pls help Us
Thankshi,
Go to OMLJ trx..
and enter New Entry click on this button
Movement type 101 for warehouse number .
Edited by: MANI ROOPA SD/MM on Apr 24, 2008 10:04 AM -
Insertion of field to tcode MIGO
Hi,
I want to insert Issue date for TCode MIGO which is using structure GOHEAD. Please tell me how to do so??
Thanks n RegardsHi,
GO to SHDB transaction and record BDC codings for MIGO
Regards
Divakar
Maybe you are looking for
-
My WiFi is not working on my ipod touch third gen. The wifi option in setting is blanked out so i am unabole to select it. I have tried restored it and resetting network connections. Also the battery life is very low. How do i fix this????????????
-
Hi all... I've used FCP since version 1.2 and I like it. When I had version 3, I was able to ouput my FCP project via Firewire right to my PC, and my PC video software would recognize it. (I have a frequent need to do some cross platform work.) Howev
-
How to include image file in ard
Dear members, I have to include one more menu next to reports menu in sap B1. I need to include the picture symbol. Can anybody inform me how to include the image file while making the add-on.Normally we include the exe file and dll files.Is there an
-
Hi every time I connect my nano to itunes and want to sync the fields it says" that it can't do it because the file name is invalid? what the heck am I supposed to do now. It syncs the calender and address book but not my newly bought music from itun
-
PROBLEM IN INTERNET EXPLORER WITH THE fileupload API
i written a servlet to upload a file which will upload a file to a specific directory.............. this program is working with opera or Mozilla browser.......but it is not working in internet explorer 8. i can not understand what is the problem....