Enhancement of MIGO
Hi all,
I have a requirement to post an accounting entry into 2 gl accounts when a migo (Good Reciept [both posting and rversal] ) is done on a particular type of purchase order (this is apart from the normal ones which have been added by the MM person). This I did through a BDC program on F-02 and added it through an enhancement. But now, the requirement is that the DOCUMENT NUMBERs of the normal accounting entry and that of my new posting should be same so that when they click on accounting documents for that particular migo, it should display all the postings; both the normal one and that which i have just added. I have tried all i could but have not gotten a right way to do this.
Please any body in the house with any sound advise on how to do this?????
Of course, you realize it is not possible to get two accounting documents with the same document number, you need two different accounting (FI, BKPF) documents referencing the same material document. (MM, MKPF)
In your batch-input (BAPI would be better) give reference to the material movement document:
- AWTYP = 'MKPF'
- AWKEY = MKPF-BELNR + MKPF-GJAHR
Sample: (in an implementation of MB_DOCUMENT_BADI~MB_DOCUMENT_BEFORE_UPDATE "Exit after Writing a Material Document. Not in 'update task'")
DATA : lv_awtyp TYPE awtyp,
lv_awkey TYPE awkey,
ls_mkpf_awkey TYPE mkpf_awkey.
WRITE 'MKPF' TO lv_awtyp.
ls_mkpf_awkey-belnr = i_mkpf-mblnr.
ls_mkpf_awkey-mjahr = i_mkpf-mjahr.
WRITE ls_mkpf_awkey TO lv_awkey.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'BKPF-AWTYP'.
ls_bdcdata-fval = lv_awtyp.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'BKPF-AWKEY'.
ls_bdcdata-fval = lv_awkey.
APPEND ls_bdcdata TO lt_bdcdata.
Regards,
Raymond
Similar Messages
-
Enhancement in MIGO Required....
Hi Everybody,
I have to enhance Migo transaction with internal batch number which will contain alphanumeric number. I have used Enhancement SAPLV01Z , but the code provided by sap standard is not working properly. So that no batch number is generating in MIGO transaction.
Your valuable suggestion required for solving the issue.
With Best Regards,
Debraj Pal.
Edited by: Dj_technical on Feb 20, 2012 1:48 PMHi,
Bellow are the list of enhancements for MIGO.
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
Regards,
Goutam Kolluru. -
Enhancement in MIGO for Goods Movement
Hi Gurus,
I got a requirement to Create a 262 goods movement materials document with reference to a Sub-Contract GR for an account assigned Sub-Contract PO thru TCODE MIGO. The details are describe as follow:
Once the 101/543 GR movement is carried out, a 262 movement type needs to be executed to reverse the consumption of the material against the service order and bring it back to the inventory (open stock). This movement needs to be triggered once MIGO subcontractor goods receipt -101/543 is committed (saved).
When the 101/543 GR movement transaction MIGO is saved-
1. User exit needs to be invoked
2. Check if the GR is
o for an account assigned (EKPO- KNTTP Acct Assignment Cat =F) Sub-Contract PO (EKPO- PSTYP Item Category L)
o AND the service order number (AUFNR) exists in ZXXXXXX (ZSUBCON_VALIDATION) table
3. Identify the line item material in the goods receipt document (First item /against movement type 101),
4. Identify the service order number (AUFNR) from ZSUBCON_VALIDATION table.
5. Call the goods issue (262) transaction via the BAPI using the material derived via step 3 and against the service order number derived via step 4. BAPI_GOODSMVT_CREATE post goods movementsHi Matt,
There are lots of Exits and BADI available in this transaction. See which suits you.
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_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF
MB_DOC_BADI_INTERNAL BAdIs During Creation of a Material Document (SAP Internal)
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
MB_PHYSINV_INTERNAL Connection: Core Inventory and Retail AddOn
MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check
MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data
MB_RESERVATION_SCR Screen BAdI for Retrofit DFPS
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)
MB_DOCUMENT_BADI_SAP BADI for Creation and Changing of a Material Document
ARC_MM_EBAN_CHECK BAdI: Enhancement of Archivability Check (MM_EBAN)
ARC_MM_EBAN_PRECHECK BAdI: Enhancement of Archivability Check (MM_EBAN)
ARC_MM_EBAN_WRITE BAdI: Enhancement of Scope of Archiving (MM_EBAN)
ARC_MM_EINA_CHECK BAdI: Enhancement of Archivability Check (MM_EINA)
ARC_MM_EINA_WRITE BAdI: Enhancement of Scope of Archiving (MM_EINA)
ARC_MM_INVBEL_CHECK BAdI: Enhancement of Archivability Check (MM_INVBEL)
ARC_MM_INVBEL_WRITE BAdI: Enhancement of Scope of Archiving (MM_INVBEL)
ARC_MM_MATBEL_CHECK Prüfung ADD-ON-spezifischer Kriterien für MM_MATBEL
ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL
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 During Creation of a Material Document
Regards,
Atish -
Hi Experts,
I want to add a new tab in SAPLMIGO (standard program for MIGO screen).Is it possible to do it using enhancement framework because i am working in ECC 6.0.
If so please help me with the step-by-step procedure.
Plese help me.........................................
Its very very urgent...................................
Thanks in Advance
AthuHi skk
Those enhancements in SMOD will work but my requirement is to create a tab in the stnd prgm. SAPLMIGO using explicit or implicit enhancement implementation.
please help me...................
thnks -
Enhancement for MIGO when SAVE with any of these tables afru,aufk,jest,tj02
Enhancements/BADI's for MIGO Transaction When SAVE.
Tables: afru,aufk,jest,tj02t,afpo,
eban,qave,qals.
can anyone pls suggest Enhancements/Exits/BADI's
for MIGO transaction where i can use any of the
above tables .
i found mb_migo_badi, i dont think i can use this.
If any one know any user exits to do it .
Regards
Ashok.Hi Madhu,
user exits for stopping PO creation without production order confirmation.
Regards,
Ashok. -
Hi:
Is there anyone who has done modifications on MIGO transaction using MB_MIGO_BADI. I need to attach an extra tab with some extra fields. Please give me the complete detail. Points will be rewardedHi,
Please take a look at these threads:
MB_MIGO_BADI IMPLEMENTATION
MB_MIGO_BADI Implementation
https://forums.sdn.sap.com/click.jspa?searchID=4337016&messageID=3896299
Regards -
Enhancement in MIGO to change the G/L account for Acc. asgnt category 'A'
Hi,
MY requirement is in the goods receipt when the Acc. assignement category is 'A' of the posting item then the G/l Account assigned should be changed.
I found FM MR_ACCOUNT_ASSIGNMENT and EXIT EXIT_SAPLKONT_011. but the exit is not getting triggered.
Please suggest.
ThanksI tried this ...... but it is not working.....My requirement is to change G/L Account no for Accounting document ....
By default it is picking up from transaction OBYC according to the configuration done .......I need to assign different G/L account which is not assigned in OBYC Transaction .......and SAP should not pick it from the configuration
Regards,
Sivani. -
Enhancements applicable to transaction MIGO
Dear All,
There is a requirement from a business to make a field 'Unloading Point(WHERE tab)' of transaction MIGO as a 'Required' field only if Purchase order type is 'ZE'. Also, custom F4 help needs to be provide to this field.
Is there any User Exit or Badi to achive this requirement.
Thank you.
Best Regards,
Renuka.Hi,
This is the list of enhancements for MIGO tcode:
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
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
Hope this helps.
Regards,
Satyam -
Transfer posting with Mov Type 311E in MIGO with reference to SC-PO
Hi,
I am working with MTO scenario.
I want to carry out transfer posting of material with movement type 311E against subcontracting Purchase Order which is sale order specific.
However, system does not allow me to do the same. whenever transfer posting, PO & movement type is selected in transaction MIGO, item details entry tabs are displayed blank.
Below steps are being follow:
Scenario is MTO ( special stock subcontracting)
1. Subcontracting PO no. 4500000147 against Sale Order no 61 created.
2. RM code - 61, available stock 100 TO & batch no.0000000127
3. Transfer material to vendor for processing through MIGO ( since it is a special sales order stock, transferring happens from SL 0001- Main Stores to SL VLSC -Virtual storage location) using movement type 311 E
5. Item Data details tabs are blank.---This is the issue / error.
Note: I am restricted to post transfer posting through MIGO-Transfer Posting (will not use MB1B) due to some enhancement of MIGO and interfaces with legacy system.
Please have a look on attachment for SAP screen issue.
Regards
Mohit JaiswalHi Mohit ,
please check below link , you need to perform steps as given
http://help.sap.com/saphelp_470/helpdata/en/4d/2b90b043ad11d189410000e829fbbd/content.htm
also see the sales order subcontracting using the business addon
http://help.sap.com/erp2005_ehp_04/helpdata/en/c7/2587b8dad94c52854ccd28015dceb0/frameset.htm -
Saving custom fields to MSEG added in additional TAB in MIGO transaction
Hi Experts,
I am facing an issue with an enhancement in MIGO transaction for which i need help. I have gone through several threads with similar issues but none of them have solved my issue. I have worked around with all BADIs of MIGO and user exits available but to no avail so I am posting a new thread.
The requirement is pretty straight forward of adding a custom TAB in item details section of MIGO transaction. I have done that using BADI: MB_MIGO_BADI, method PBO_DETAIL. I created a screen with my custom fields and passed them in this method. The TAB appears as expected with all the fields. The custom fields are in MSEG table which has been enhanced and it needs to be updated with the user values on the screen.
The issue creeps in when there are multiple materials in the purchasing document and user works around with them. Say he clicks on the second material and in the custom TAB changes its details in custom fields. Now he clicks on the fourth material and changes its details. Continues this for all the materials in random order. How do i identify in my custom screen [developed separately and called in PBO_DETAIL of the BADI] which details belong to which material or line number. The only way to do it is by using the purchasing order number and line item number. These are not available in my custom screen and needs to be exported from somewhere and imported there. I have not been able to identify the point where export can be done.
Can anyone help me out with this problem? Either the point where export can be done or any other way of identifying the link between the line number / material number and the custom field details entered by the user.
Thanks,
RitvikHi Ritvik,
you will not need it.
The item methods will process exactly the item what the addional item data are related to. In PBO_DETAIL and PAI_DETAIL, use parameter I_LINE_ID for the item reference.
Note: Not only read SCN etc, also the parameters desciption of the methods used.
Regards,
Clemens -
How to check what are the enhancement done for MIRO transaction
Hi Experts,
Please help me out, how to check what are the enhancement done for MIRO transaction.
Thanks in advance.
Thanks,
BasanagoudaHi
Use the BADI
Please refer these documents: [Enhancements required in MIGO|Enhancements required in MIGO; and
[Enhancement in MIGO for Goods Movement|Enhancement in MIGO for Goods Movement;
Hope this helps!!
Regards
Vijay -
Hi,
I have to do GR against the Outbound delivery.I have a lot of delivery in a Shipment .Can we enhance the MIGO for the shipment so it can post all delivery at a time?
Please suggest me .
Regards
RickyHi,
That's I don't want.
I want to enter a shipment number and get all delivery at a time.
Regards
Ricky -
BADI or userexit for MIGO transaction
hi All,
I have a requirement to enhance the MIGO transaction subscreen 304.
In subscreen 304 there is only check box ITEM_OK.
In the MIGO at the bottom of the screen ,whenver we click on item_OK check box and press enter, in the line item it will automatically checks.
After the first check it has to get disabled in the screen.
I am trying to find the BADI for this..still trying
Please let me know how to achieve this functionality.Hi,
Try below BAdi's :
MB_MIGO_ITEM_BADI or
MB_MIGO_BADI
MB_DOCUMENT_BADI.
Also these will be of help furthur.
Enhancement/ 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
hope this will help you.
Regards,
Kiran -
CST-Material Cost Picking High value in MIGO
Hello Gurus,
My Client facing a issue in value difference while posting GRN.
Materials Cost value picked higher value for different GRIR in same
purchase order.
Scenario :
We are Using TAXINJ Procedure - For a PO we entered Tax Code, which include ED+CST
For Your Reference Pl find the below calculation with difference posted in MIRO for a PO
I Have Checked OBYZ- Procedures / Condition Types, What else to be check for it.
Base Value
1157274.92
ED-12%
138872.99
Hr.Ed-2%
2777.46
Secc.ED-1%
1388.73
ED Total
143039.18
Base Value + ED Total
1300314.1
CST Value – 2%
26006.28
MIGO – GRN MADE
Actual amt to be Post in MIGO Value Inc. (Matrl Cost + CST)
DIFF
1185481.3
1183281.2
2200.1
Because of this value difference i m getting price difference in MIRO of Rs.2200.1/-
Someone give us the solution for it.
Thanks For your Understanding...
Reg,
Suresh BHi Arunachalam,
Check these points.
1) Check whether any condition values changed in between PO and Goods receipt.
2) Check whether any custom development or enhancement in MIGO
3) Check whether any routine is active for the Pricing Procedures
Regards
Binoy -
User exit or any other enhancements during good receipt
Hi
i am lookin for user exit or other enhancements during MIGO / goods receipt
actually i want to generate internal serial no. with my own logic
the system should take serial number with my own logic at the time of goods receipt .Hi,
Plz find the below exits,
Enhancement
MBCFC004 Maintenance of batch specifications for goods movements
MBCFC003 Maintenance of batch master data for goods movements
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
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
Business Add-in
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
Regards
Ravi Ganji
Maybe you are looking for
-
Web ADI issue after Hardware Change
Hi, We are encountering an issue when uploading the template in Linux OS. The same template works in Solaris instance. Can you please help. The error on the excel template is "ORA-00976: Specified pseudocolumn or operator not allowed here." 9/22/10 5
-
Re iBooks author, assets of the book
I need to make changes in the assets of the book, not the book itself. Will I have to re-upload the book to iTunes Store?
-
Besides this script should I start or invoke any other script to make the Apps fully functional. adstrtal.sh Do I need to start startJServ.sh or any other scripts under Apache to start the Oracle Application Server as well? Any help would be apprecia
-
Firewall ports for appv client
native Appv infrastructure. Apps are published using UNC. what ports should be open for the clients sitting behind the firewall? --- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis
-
I am writing a program to edit the web.xml file and weblogic.xml file of a war file and create a new war file. below is my code. I am getting error:invalid entry compressed size(expected 320 and got 0bytes) public void modifyWar(String inputWar, Stri