Need a BADI/ exit for MIGO transaction
Hi,
I need a BADI / exit for tha transaction MIGO. My requirement is before displaying the materials in the item tab, check whether the user has authorization for that material or not. If he has no authorization, give error message. This should be done for all types of documents.
Please let me know if you need more information.
thanks,
Kishore
hi,
You can have the authorization for the inventory management via authorisation..
Check the path: SPRO --> MM --> Purchasing --> Inv. management nad physical inventory --> Authorization management --> Maintain roles and assign users....
Regards
Priyanka.P
Similar Messages
-
What to do if there is no relavent BADI/EXIT for standard transaction
Hi,
Can any one say,What to do if there is no relavent BADI/EXIT for standard transaction.
Helpful Answer will be rewarded.SAP provide some hooks to add our code to the standard program. This is what we called enhancement.
It has following types:
1. Personalization ( here the fields can be hide, display only etc. )
2. Customer Exit ( Function module Exit, Menu Exit and Screen Exit )
3. BTE
4. BADI( Function module Exit, Menu Exit and Screen Exit )
5. User Exit
Suppose all these are not helpful, then you could create the code from scratch. But it is too difficult to develop because of its complexity.
So what you can do is get SAP access key and change the code in the standard program. This is called as modification. Advantage of Enhancement and modification is whenever there is a new version come the changes made by us in standard code will be attached in the newer version also.
The final way is copy the source code into customer namespace and make changes according to your criteria. Eg. in the standard PO creation if you do like this, several disadvantages are the user has to give a new t.code, BASIS guy has to restrict the standard PO create T.code and you can't avail the new features of future versions.
Hope this gives you complete picture and solution. -
User exit for MIGO transaction
I'm checking for user exit in Migo transaction
what I want to do is when I enter the PO# and try to save all the details ,it must trigger a pop-up(customized transaction) thru USEREXIT.
Thanks in advance.Hello Hema
These are the "old" customer-exits on ECC 5.0:
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.
Regards
Uwe -
BADI/EXIT for MIGO for accounting document posting
Hi
I am using MIGO where SAP post Mat Document and Accountying document.
This Uses FM 'MB_POST_GOODS_MOVEMENT < Include LMIGOKG1>, once this FM executed both MKPF and BKPF data gets filled . I can see tha data for MKPF in debug but I am not able to see data for Accounting Document.Even I cant see the Acc. document no assigned by SAP
I need to change some fieds for Acc. Document <BSEG-VBUND>
Can any one help me to find in which structure or table I can get data for Accounting documentam using the method POST_DOCUMENT,
am writing the code like..
sample code..
DATA: wa_mseg type mseg,
wa_mch1 type mch1,
wa_ausp type ausp.
loop at it_mseg into wa_mseg.
*select single * from mch1 into wa_mch1 where matnr = wa_mseg-matnr*
and charg = wa_mseg-charg.
if sy-subrc is initial.
*select * from ausp into wa_ausp where objek = wa_mch1-cuonj_bm*
and klart = '023'.
if sy-subrc is initial.
if wa_ausp-atwrt EQ 'ACCEPTED'.
continue.
else.
if wa_ausp-atwrt EQ 'REJECTED'.
call function 'popup_to_display_text'.
endif.
endif.
endif.
endif.
endloop.
when i debug ,i find no data in the mch1 table ..
any help..
thanx -
BADI/EXIT for MIGO Tcode..
Hi all,
When am creating GR for a PO, i want to raise a pop up when the batch is REJECTED.
any one help me in solving this issue..?
thanksam using the method POST_DOCUMENT,
am writing the code like..
sample code..
DATA: wa_mseg type mseg,
wa_mch1 type mch1,
wa_ausp type ausp.
loop at it_mseg into wa_mseg.
*select single * from mch1 into wa_mch1 where matnr = wa_mseg-matnr*
and charg = wa_mseg-charg.
if sy-subrc is initial.
*select * from ausp into wa_ausp where objek = wa_mch1-cuonj_bm*
and klart = '023'.
if sy-subrc is initial.
if wa_ausp-atwrt EQ 'ACCEPTED'.
continue.
else.
if wa_ausp-atwrt EQ 'REJECTED'.
call function 'popup_to_display_text'.
endif.
endif.
endif.
endif.
endloop.
when i debug ,i find no data in the mch1 table ..
any help..
thanx -
Hi Gurus,
I am looking for user exit for MIGO transaction. User exit should be given after saving the material document & I need this document number for carrying out some updations.
regards,Hi
You need to use the BAdi MB_DOCUMENT_BADI.
This BAdi has two methods
MB_DOCUMENT_BEFORE_UPDATE
MB_DOCUMENT_UPDATE
The method MB_DOCUMENT_BEFORE_UPDATE is called up before the FI document is created. This means that it is called up even if the program is terminated by an error during the subsequent processing. The update of data in separate tables should always be contained in function modules that are called up with the addition 'in update task'. This ensures that all the data is updated consistently.
The method MB_DOCUMENT_UPDATE is not carried out until update. This means that all updates are carried out immediately in their own tables and do not have to be contained in 'update task' in function modules. For performance reasons, you should not re-read the tables or carry out any time-consuming routines at this point.
You should always call up MB_DOCUMENT_BEFORE_UPDATE before MB_DOCUMENT_UPDATE, particularly if time is a critical factor when posting the material documents. The method MB_DOCUMENT_UPDATE is processed after the FI document numbers are called. As a result, no other FI documents can be posted until this document is completely updated.
hope this helps...
Thanks & Regards
Kishore -
Exit or Badi for Migo transaction for given condition
Hi,
I need exit or Badi for MIGO transaction for the following condition ( When the goods receipt for the PO is initiated, prior to posting the accounting document).
Please let me know
Regards
RameshHi
In rel 4.6C you can find these BADIs:
- MB_DOCUMENT_BADI or MB_DOCUMENT_UPDATE
and these exits: MBCF0002, MB_CF001
Max -
BADI/User exit for MIGO fi postings
Hello Experts,
I have one requirement regarding at the time of MIGO accounting entry is generating based on the OBYC settings,now the client want along with this entry, want to create one more FI document through background,In the background we will give the debit g/l and credit g/l.That means at the time of MIGO two FI documents has to generate one is with OBYC setting gl's and second FI entry is from programe hard coded gl's.
For this requirement has any BADI/USER Exit.I appriciate your valuable inputs.
Regards,
Nivas.Hi,
May I know why you need two accounting documents?
You may refer the similar thread: BADI / Exit required for MIGO for posting FI document
And about the number ranges - I would suggest a custom number range object and a different number range for these additional documents.
Also refer the doc: Methods to find Customer/User Exit's & BADi's for a Transaction Code!
Regards,
AKPT -
HI EXPERTS,
HOW CAN I ADD TWO SCREEN FIELDS FOR MIGO TRANSACTION?
HOW CAN THE TWO SCREEN CAN VALIDATE DATA FROM PURCHASE ORDER NO ENTERED?
CAN ANY ONE FIND A SOLUTION AND HELP ME THIS.Hi,
You may create an implementation for the badi in SE19. Then the attributes will be available during runtime for the method, and you may use those to validate the data.
The BADI MB_DOCUMENT_BADI and method MB_DOCUMENT_BEFORE_UPDATE also triggred during MIGO and the structures XMKPF, XMSEG contains the runtime values for the document.
Regards,
Renjith Michael.
http://www.sourceveda.com/page4.htm -
User-exit for MIGO, need change GKONT for CO
Good evening,
Dear friends, sorry for my english.
I have made user-exit for MIGO in GGB1 and put on it in SPRO.
I have HKONT=V3100* and corresponding HKONT=1551*( OBYC, group WRX).
Then i run MIGO and make Purchase Order.
In my user exit, if HKONT of first position eq V3100, i must change corresponding HKONT from 1551 to V1551*.
When i make Order, i am run view documents: FI and other HKONTs changed successfully! ( first possition has V3100, second - V1551).
User-exit must work only with sy-tcode = MIGO or MIRO.
But CO documens NOT changed: HKONT(type of cost) eq V3100, but corr GKONT = 1551*...
I also try to use OPEN FI, but have the same picture... (in CO docs V3100* and 1551, but all another docs and FI too - V3100 and V1551*).
I see, that GKONT has only COEP. And this table a cannot see in user-exit.
I think, that FI doc must do CO doc,
but why in
View documents->RW-infodocs->documents CO = it is not change?
Please, answer me? if you can. regards.Please, view Print-Screen of my problem:
<a href="http://rodendron.blogspot.com/2007/07/user-exit-for-migo.html">http://rodendron.blogspot.com/2007/07/user-exit-for-migo.html</a>
Anybody can help? -
Which exit for MIGO Subcontracting
Dear Abaper,
We were using MB1B t-code for doing subcontracting with reference to PO. We had used a BADI for that.
Now, we have upgraded our system to EHP6.
In EHP6 MB1B is obsolete. And as per SAP we have to use MIGO.
In MIGO we cannot do subcontracting with reference to PO.
In the transaction MIGO this PO reference functionality is not implemented for movement type 541.
There are so many exits available in MIGO,
please tell me which exit to use to do the subcontracting with Movement type 541 for MIGO Transaction.
Thanks and Regards,
Arati.Arati, follow this note, it is exactly what you need:
1915825 - Transfer Posting reference to a Purchase Order in MIGO
Resolution
The business function 'LOG_MM_OM_1' must be activated in your system.
Also, the BADI MB_MIGO_SC_PO_TRANSFER must be activated into the system and then the option 'A08 Transfer Posting' and 'R01 Purchase Order' appears.
To activate the business function go to tcode SFW5 and mark the function LOG_MM_OM_1 and click on Activate Changes.
After that you can go to MIGO and check:
Regards,
Felipe -
User Exit for MIGO (goods receipt and goods issue)
Hi all ,
When i create a cross company goods receipt or goods issue through MIGO,I need to add another line item to the accounting documents posted with the sales tax calculated.For this i need to use a user exit which adds another line item.
Can someone suggest me the user exit which i need to use ?
any input would be of great help.
Thanks,
nsp.Hi
Available exits for MIGO are
Transaction 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.
No of Exits: 8
You would hav to search through these.
Hope this helps to solve ur problem....
<b>do reward if useful....</b>
regards
dinesh -
Hello,
I need to find a BADI or USER-EXIT for MIGO and MB01 at the time of posting, to store in table BSEG fields ZBD1T LIFNR ZTERM the table EKKO.
I found User-exits several but none contains the BSEG as output instead contains MSEG and the MKPF which I serve.
Someone can help me?
Thanks
DiegoTry this BTE 00001120
link:
Fill in BSEG-ZUONR with PO BEDNR field
Thanks,
AMS -
BADI/EXIT for FB60 Save document
Hi All,
I need to perform certain custom checks and save custom date in FB60 transaction.
Please let me know the BADI/EXIT for header check and save document badis in FB60 transaction.
Thanks and Regards,
VijayHi,
Could any of these exits be useful for you..??
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
Thanks -
Screen exit for FS00 transaction
Hi All,
My requirement is i need to provide a button in FS00 transaction to approve the GL Code. Can anyone suggest me screen exit for FS00 transaction.
Thanks,
Chitra.Hi
You can find Exits and BADI from SPRO. Just identify the area where you want to enhance and go to that area by SPRO , then you can see system enhancement that are available. This is the good way to find enhancement because you can find the documentation related to enhancement.
Like SPRO > Material Management > Purchasing > Develop enhancement for purchasing (Exits)
or see Business add ins for purchasing. Read the documentation.
Else you can search exits and badi by the package name like find the package of a transaction where you want to put enhancement. SE93 > Transaction name > Display > Package.
then go to SE80 and open the package then see function group start with X. this are exits that are available. you can find enhancement also.
Else to find BADI related to a transaction just put break point to class method cl_exithandler->get_instance in SE24.
and run the transaction , then you can find the BADI as exit name in this function call.
These are the way you can find enhancement , but the way which is describe 1st is the best way.
hope it will solve ur problem.
Thanks
Maybe you are looking for
-
How I got 48.11gb FREE on my MBA SSD.
Got the MBA today and i am LOVING IT. Here's how I got 48gb free -- and my reasoning behind it... 1. I followed everything in this article -- http://guides.macrumors.com/CompleteSteps_to_Perform_a_Clean_OS_X_Reinstall_on_Your_MacBookAir. I remote ins
-
Scanning enabled but still won't scan
I have enabled my mac to be scanned to and have been able to in the past. My 8600 began to have issues several months ago, beginning with my document feeder and then to my flatbed scanner. I was at first able to scan from my printers interface bo
-
How do you combine iMessage sent to phone number and email?
I talk to someone who sends me imessages to my phone number from their phone, and also from their ipad to my email. Both phone number and email are under the same contact. But the mesages go into 2 different threads. Id like to combine them since bei
-
I am trying to re-install OS-X Mountain Lion,
I am trying to re-install OS-X Mountain Lion, but I get a message that my apple id did not purchase the software. The OS comes bundled with the hardware, can anyone help?
-
Every time I open Firefox I can't get beyond the first page. No connection to internet. It just says "connecting" and hangs. I create a new profile and delete the old one and I can start firefox and get to the internet, but when I shut the system dow