In migo transaction mb_migo_badi problem
Dear ,
In migo i have created one implementation for mb_migo_badi badi and in this implementation i am call the functional module j_1iex_fill_excise_items by passing mseg data and document date(22.dec.2009), and this function module calls internally j_1iex_default_excise_duty functional module by making use of date passed by above functional module(j_1iex_fill_excise_items) and according to it is picking bed TAX 10% after this Z implemetation execution system internally calling the standard implementation cin_plug_in_to_migo of mb_migo_badi this implementation is also calling the same function module(j_1iex_fill_excise_items) which is called in Z implementation by passing mseg data and posting date(25.DEC.2009). due to this date difference system picking 8% (as per the fucntional maintaince) then it is overwritting the 10% by 8 % . plz give me the solution what i have to do. plz let me know is system calls its standard implementation in every case even z implementation there .plz help me .
Hey Manoj,
Check the method where your written code. Always standard implementation will trigger first and then customized implementation will trigger. Try to write code in POST_DOCUMENT method.
Otherwise you try this User Exit : MBCF0002
Revert back for further clarifiation.
Regards,
Saravanan M
Similar Messages
-
Custom screen using MB_MIGO_BADI in MIGO transaction
Using MB_MIGO_BADI i have cretaed a subscreen in MIGO transaction.WHen i select a particular item in MIGO transaction that particulra item value,i have to get into my custom code to make some validations.In which method i have to use set& get parameters.
Hi sashi,
Check the pbo and pai of that screen.
Regards,
Madhu. -
Problems with accounting on MIGO transaction
Hello All!!
A problem that happens on QAS system and not happens on PRD system.
When I create a Goods Receipt (MIGO transaction) with apportionment of Cost Center (Good Receipt with more of one Cost Center), the system isn't accounting (Controlling and Financial Accounting) the posting.
Does Anybody know the solution to this problem?
Thanks!!
Regards,
Vitor Chagas
SAP Consultant Material ManagmentI am very certain that this is not limited to your QAS . It is SAP standard that in case of multiple account assignment the costs will be posted with the invoice, not with the receipt as it is usual for single account assignment.
You PO has a flag for GR non-valuated at item detail in tab delivery. and the F1 field help tells you: This indicator must be set in the case of multiple account assignment for example. -
Problem in Posting Document through MIGO transaction
I am posting goods in MIGO transaction.When the goods are posted tables MSEG(Document Segment: Material) and table MKPF(Header Table for material) are getting updated for the new material.My requirement is to update the table QALS and QAVE with the new batch number getting updated in MSEG table.I have to fetch some data(Inspection Lot Number) from these tables.
Hi,
You can find data in these tables when quality checking is done, these needs to be set by functional consultants.
Chekc your process if any Inspection lots size is defined for each each goods movement at all, if not these tables will not be populated at all.
Regds,
Mano Sri -
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 -
Here we are facing one problem in one of the Business Add ins for MIGO Transaction .
The BADI we have used is MB_MIGO_BADI. It successfully adds the extra tab in migo transaction. But if the change the fields of the communicating structure in Line_modify method it says BADI doenot allow to change the fields and it doesnot modify the database Table MSEG. we have append structure in goitem structure and MSEG Table ... but still we are still getting a msg that the field cannot be modified ....There is a BADI MB_MIGO_BADI for adding tabs for MIGO transaction. When you go to se18, open the BADI. Then go to 'GOTO' -> sample code -> display. You can copy the example and play with it.
The Badi, you can use multiple times. Which means you can create more than one tab. You just need to create more implement against the BADI.
Hope this helps.
JC. -
While creating MIGO transaction against a PO I am getting this error continously
PL Stock in transit exceeded by 12 PC : QS8X20 2100 2110 9000000010
I dont know what to do.??
can any one please tell me how to get rid of this error.Hi
But after creating PO when i am checking ME2M for the particular material i cannot see the PO number generated at ME21N
I still unable to understand where the problem lies
See for a while forget about ME2M and check you PO in ME23N T-code you are getting your Po or not
IF not then while saving PO,system giving any message to you?
Regards
Kailas Ugale -
How to add a new field in migo transaction (header level)
hi guru's
can you please tell me how to add a field in migo transaction?
i want to add a field in header data and that too under "general" tab. i dont have data regarding that field.
and when we enter a value for that field in migo, it has to take .
thank you.Hi, My problem is allmost like the one you are discussing here....
I have appended MKPF for my Z-fields and created a sub-screen (Design the screen). I am calling this screen in PBO_HEADER. Now i can see my newly created tab along with fields.
Now the problem is:-
1. How I can transfer that data entered in screen fields back to my BADI.
2. How to update my z-fields in MKPF table along with standard fields. I have tried using FM - 'J_1IEXGM_BADI_POST_DOCUMENT' in Method - POST_DOCUMENT, but its not updating table record in MKPF for Z-Fields.
Please advice.....
Thanks -
Inserting/ deleting a line item in MIGO Transaction ( Goods Issue )?
Hi,
Can anyone help me with the logic for Inserting / deleting a line item in MIGO Transaction?
Thanks,
csHi
The following user exits and badis for migo:
Check the mb_migo_badi and check the method 'LINE_MODIFY' for u r purpose.
For undestanding see the documentation of the badi and see the example implementation
class: CL_EXM_IM_MB_MIGO_BADI
Enhancement/ Business Add-in Description
Enhancement
MB_CF001 Customer Function Exit in the Case of Updating a Art. 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 Article document item for goods receipt/issue slip
MBCF0002 Customer function exit: Segment text in article 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 an Article Document (SAP Internal)
MB_DOCUMENT_UPDATE BADI when updating article document: MSEG and MKPF
MB_DOCUMENT_BADI BAdIs when Creating an Article 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
If it is helpfu rewards points
Regards
Pratap.M -
Table used in goitem fields in MIGO transaction.
Hello experts,
I was given to write BDC for MIGO transaction.
Please any one suggest me how to get the following fields (from which table) .
material text - maktx,
Quantity in Une - ERFMG
batch number - CHARG
external entered posting amt in local currency - EXBWR
please do me the requested favor,
advanced thanks,
vijayHi,
Better way i`ll tell you how to find the database tables.
Goto the transaction CV03.
Get the program name.
SYSTEM ---> STATUS ---> PROGRAM(GUI)
The program name for this transaction SAPLCV00.
Copy this program name.
Goto SE38. Open this program.
Get the package name.
GOTO ---> ATTRIBUTES ---> PACKAGE
The package for this program is CV.
Copy the package name.
Goto to SE80 or Click on Display Object List(CtrlShiftF5) button which is on the toolbar.
Select package and open the package name.
You will get the list of business engeneering, dict.objs, class library, programs etc.
Goto Dict.objects ---> Database tables.
All the tables related to this transaction are given here.
Use these steps to find the tables, programs, function grps etc
whenever required.
Hope this solves your problem.
Thanks,
Darpana. -
Issue with the MIGO transaction recording
Hello All,
I am working on the MIGO transaction(Goods receipt purchase order) and i am doing the recording for this transaction but it is not recorded properly, the same screen information is recording twice even though i was given only one entry for that item.
what i am doing is i am just entering the document number and then the document date . After entering this header information i am
entering the quantity in unit of entry field and then clicking on the distibute qty icon.Later after distributing the quantity i am saving the data.
This is what i am recording but the same code is repeting twice in the recording. Can anyone suggest what will be the reason.
Thanks.Hi,
MIGO is use Enjoy transaction so there will be always problem with BDC.
I will suggest you to use BAPI for same.
Thanks.
Dhiraj, -
Reg: How to add new tab strip in MIGO transaction
Hi Experts,
I need to add a new tab strip(Inside one selection screen, If the user clicks the new tab strip, New selection screen should populate) in MIGO transaction after pressing enter for the movement type '122'.
I tried with the BADI MB_MIGO_BADI, Simply i called the module pool program inside that BADI, But it is not giving any solution.
Please guide me to find the solution for this requirement.
Regards
Vijay.RHi,
You may also try the exits available with the MIGO transaction. To find exits you can use the fillowing code by giving tranasaction code as input.
REPORT zrmexitfinder .
TABLES: modsap, modact, tstc.
PARAMETERS: input1 LIKE tstc-tcode DEFAULT ' ',
input2 LIKE modsap-typ DEFAULT ' '.
DATA: search1(6),
search2(3),
search3 LIKE modsap-member.
DATA : first_row VALUE 'Y'.
CONCATENATE: '%' input1 '%' INTO search1,
'%' input2 INTO search2.
SELECT * FROM tstc WHERE tcode LIKE search1.
first_row = 'Y'.
CHECK tstc-pgmna NE space.
CONCATENATE '%' tstc-pgmna '%' INTO search3.
SELECT * FROM modsap WHERE typ LIKE search2
AND member LIKE search3.
SELECT SINGLE * FROM modact WHERE member = modsap-name.
IF first_row EQ 'Y'.
WRITE: /0 tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,
45 modsap-member, 70 modact-name.
first_row = 'N'.
ELSE.
WRITE: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name.
ENDIF.
CLEAR : modsap, modact.
ENDSELECT.
IF sy-subrc NE 0.
WRITE : /0 tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.
ENDIF.
CLEAR tstc.
ENDSELECT.
END-OF-SELECTION.
CLEAR: search1, search2, search3.
Regards,
Renjith Michael. -
Final Internal Table used in MIGO Transaction
Hi Experts,
I need to know the final internal table used in the MIGO transaction. Why I want to know this is, I need all the records which are there in the table control (GODYNPRO) of the MIGO transaction. I have used the BADI BADI MB_MIGO_BADI to read the values. But since it is a table control the values are getting changed when the user scrolls down the table control. How can I get all the values shown in this table control. Is there any global internal table in the SAPLMIGO program?
BR.Hi ABAP,
Check the BADI MB_MIGO_BADI the example class CL_EXM_IM_MB_MIGO_BADI
In attributes tab variable GT_EXTDATA contains all migo positions.
Read the internal table to check items.
in this method the internal table is filled.
Therefore define your internal table in the class attributes.
I hope you help. -
Screen Exit in MIGO transaction
Hi All,
My requirement is to add new tab in the item level of the transaction MIGO.
For this purpose, I found the BADI MB_MIGO_BADI in which I am making use of methods PBO_DETAIL, PAI_DETAIL, LINE_MODIFY and POST_DOCUMENT in my enhancement.
Now In my enhancement, I have create a container on the sub screen along with few fields and display some text based on the material. For this I have created a program ZTEST_BADI with screen 9000 and handled the logic for placing text editor on the container and populating the text in the text editor. But I am getting an exception ERROR_DP from the method SET_TEXT_AS_R3TABLE in the class CL_GUI_TEXTEDIT.
Exception is stated as "Error while sending R/3 table to TextEdit control!"
My questions:
1. What might be the reason for this exception? This functionlity is working when I have tested the program by executing it individually with out calling from MIGO transaction.
2. How text should be passed when we are handling text editor in sub screens.Is that mandatory to convert to stream? or will this method SET_TEXT_AS_R3TABLE suits my requirement?
Thanks,
Ravee..hi ravee,
Please go through that link ...it will helpful for U...
WWWDOTSAPTECHNICALDOTCOM/Tutorials/ExitsBADIs/MIGO/screenexit.htm
Regards,
Arun.
Edited by: Arun Kumar on Dec 4, 2009 11:51 AM
Edited by: Arun Kumar on Dec 4, 2009 11:51 AM -
Reg: Additional header tab strip in MIGO Transaction
Hi Experts,
I have added a new header tab strip in MIGO transaction. The tab strip is triggered using the BADI 'MB_MIGO_BADI' (PBO_HEADER method), I populated a selection screen using module pool program through the same BADI. Now i need to update the values in the selection screen fields to the data base table MKPF. I need a solution for update the screen field values to the data base table MKPF. Whether some other BADI i need to use? if yes how can i pass the screen field values to that BADI.
Please guide me.
Thanks
Vijay.RHi,
You may also try the exits available with the MIGO transaction. To find exits you can use the fillowing code by giving tranasaction code as input.
REPORT zrmexitfinder .
TABLES: modsap, modact, tstc.
PARAMETERS: input1 LIKE tstc-tcode DEFAULT ' ',
input2 LIKE modsap-typ DEFAULT ' '.
DATA: search1(6),
search2(3),
search3 LIKE modsap-member.
DATA : first_row VALUE 'Y'.
CONCATENATE: '%' input1 '%' INTO search1,
'%' input2 INTO search2.
SELECT * FROM tstc WHERE tcode LIKE search1.
first_row = 'Y'.
CHECK tstc-pgmna NE space.
CONCATENATE '%' tstc-pgmna '%' INTO search3.
SELECT * FROM modsap WHERE typ LIKE search2
AND member LIKE search3.
SELECT SINGLE * FROM modact WHERE member = modsap-name.
IF first_row EQ 'Y'.
WRITE: /0 tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,
45 modsap-member, 70 modact-name.
first_row = 'N'.
ELSE.
WRITE: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name.
ENDIF.
CLEAR : modsap, modact.
ENDSELECT.
IF sy-subrc NE 0.
WRITE : /0 tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.
ENDIF.
CLEAR tstc.
ENDSELECT.
END-OF-SELECTION.
CLEAR: search1, search2, search3.
Regards,
Renjith Michael.
Maybe you are looking for
-
BT Infinity modem problem with Kelly Communication...
Hi all, I am using Unlimited BT Infinity 1 (just for one month). I just received a call from a mobile phone regarding my broadband modem. He said he is from Kelly and there is something wrong with my broadband equipment. He is going to send an engine
-
How Does AppleCare Work?
So I live in Canada and I purchased an iPhone 5 from Bell. I was reading about AppleCare+ and it sounds like a really great thing because it covers accidental damage. However, Bell sells iPhone insurance that covers accidental damage BUT it also cove
-
i am living in china and after installation of the new iOS the appstore and iTunes open in chinese. all language settings are in german. whar can i do?
-
Hey all, I am running into an issue when I paste text into an editable region in an xhtml file--it automatically resizes the region width (to wider), and will not shrink again. I tried just copying unformatted text, that doesn't work. I also tried re
-
How to install PS CS3 for Windows on my new iMac? [was:New computer]
I have a new iMAC and would like to download Photoshop CS3 extended. I had before a PC and I have the serial number. Is there a way? I really need to install it and dont mind to upgrade it.