User exit on MB21
I wish to restrict my user to use only 3 movement types 201 241 & 261 in MB21.
As i defined a user exit it give following error
The project contains inactive include tables.Wht to do next.
I'm using MBCF0005 enhancement.
Please guide.
Hi,
Hope you are using the below Function Modules.
EXIT_SAPM07DR_001
EXIT_SAPM07DR_002
And have activated the project and the components.
If you have activated a customer Include CI_AM07M then you will need to activate your Customer Include and also your table or Structure.
Hope this resolves your problem. If not can you please paste the ST22 dump records for us to analyse as the message what you have written does not give us any clue what would have caused the problem.
Hope this helps you.
Help Children of U.N World Food Program by rearding with points and also encourage others to answer your queries
Thanks
Venugopal
Similar Messages
-
Hi Folks,
I have designed custom screen for MB21 transaction which calls the standard screen.
I want to pass some data from the custom screen to the standard screen but for that i need a user exit to do the same
I tried get/set parameters but they work only for next screen, but i am skipping first screen so it is not working.
I need exits for passing value for these fields - Order Number, WBS Element, Cost Center and Goods Recepient(WEMPF).
Please help.
Thanks
VarunHi varun,
MB_CF001
MBCF0002
MBCF0005
MBCF0006
MBCF0007
MBCF0009
MBCF0010
MBCF0011
these are available user exit for MB21.
Regards,
vijay -
Dear Gurus,
While creating Service Entry sheet (ML81N) - what the user exit?
while Create reservation MB21 - whats the user exit?
Please advice
Regards
RSPlease check user exit EXIT_SAPMM07R_001for MB21
User exit for ML81N
EXIT_SAPLMLSR_020
EXIT_SAPLMLSR_021
you may like to search more on the forum depending upon your specific requirement. -
Hi
There is an user exit or add in that validates the information field "good recipient" in the transaction MB21 to the vendor table LFA1?
Thanks and regards.
Edited by: buck485821 on Sep 7, 2010 8:45 PM
Edited by: buck485821 on Sep 7, 2010 8:46 PMHello,
You could review MB_RESERVATION_BADI.
Regards
Waza -
User exit or badi for item text in mir7 transaction
Hi Gurus,
Please provide me suitable user exit or enhancement or badi for this requirement.
client enter TEXT fied data in MIGO transaction for material document and purchase order in where tab.
in MIR7 i entered reference number as material document number and purchase order number after triggering enter button it gives the list of items but IT IS NOT GIVE THE ITEM TEXT DATA which we entered in MIGO transaction.
Please provide me suitable user exit or enhancement or BADI for this.
Thanks A lot in Advance.
With Regards,
Radhakrishna.Hi RadhaKrishna,
You can find the BADI by yourself just follow the below any methods you will get the appropriate BADI name..
Method 1:
Go to Tranaction: SE24.
open class CL_EXITHANDLER
Open the method " GetInstance"
Put Break point in the statement
call method cl_exithandler=>get_class_name_by_interface
Now execute the Transaction which you need teh BDC it will automatically stops at the the method. In debugging mode double click on the variable: " exit_name" It will return the BADI Name.
Method 2:
find the Package name and go to the tranaction SE84.
Enter the package name
inside the left navaigaiton panel there is one option " Enhancements" click on this enhancement and then enter the package name and execute it. you will get hte number of enhancement.
for your reference I am sending you the list of BADI present in MIRO transaction.
ARC_MM_MATBEL_CHECK --------Check AddOn-Specific Criteria for MM_MATBEL
ARC_MM_MATBEL_WRITE ---------- Archive AddOn-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 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
Thanks,
Chidanand -
User exit or cutomer exit for migo?
HI friends,
Could anyone help me by providing the customer exit or user exit that need to triggered while saving in MIGO txn.
Thanks & Regards,
Sathish Kumar.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 Archive AddOn-Specific Data for MM_MATBEL
ARC_MM_MATBEL_CHECK Check AddOn-Specific Criteria for MM_MATBEL
Try this user exits & badis.
Regards,
Madan. -
User Exit in MB11 / GOODS MOVEMENT +_+_+
Hi experts,
I have a requirement where I need to know the User exit in MB11.
My requirement is such that when a goods mvmt 261 is done using MB11, It should call a special function (custom program) using a Userexit.
Or a general user exit in goods movement if not (MB11 specifically), so that I can trigger this call for special function.
Any info is greatly appreciated.
Thanks
Preeti
MB1C, MB11, Goods movement.Check these BADIs:
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 Archive AddOn-Specific Data for MM_MATBEL
ARC_MM_MATBEL_CHECK Check AddOn-Specific Criteria for MM_MATBEL
Rob -
Pls tell me about step by step procedure in user exit for MIGO
hi
manpreet
just follow tis this may help u.
tcode->> MIGO...in memu bar select SYSTEM--->STATUS...
now u wil get a pop up ..double click on the program name.........u wil get a program.....use find option (ctrl F)and find
CL_EXITHANDLER=>GET_INSTANCE
u wil get the line where this syntax is used.....
double click on that.....there u wil find
call method cl_exithandler=>get_instance
exporting
exit_name = 'MB_MIGO_ITEM_BADI'
null_instance_accepted = x
changing
instance = if_badi_item.
endmethod. "class_constructor
now double click on the if_badi_name...it wil give
the instance name....
if_badi_item type ref to if_ex_mb_migo_item_badi.
now the badi name is mb_migo_item_badi.....the instance wil just contain the addition if_ex to the badi name....
goto se 18 transaction give the badi name...and in menu bar select implementation display/change......u wil goto the implentation screen.....
then select the INTERFACE tab and double click on themethod...and write u r code there..........
_some another badi for migo**_
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 -
User Exit / Enhacement / BADI for MB1B transaction
Hi all,
Movement type -311
Plant 1004
Storage Location - XXX
Now reuirement is like during Transfer posting when user provides Receving Location and Material and Press Enter
batch and qunatity should be automatically populated based on some Selection.
I checked BADI but no BADI is available when user press Enter.
Please suggest me with Enhancement Spot , User Exit for this requirement.\
Thanks in advance.
Harsharandeep SinghHi Harsha,
Try these User Exits/Enhancements.
Following are the BADIs for MB1B transaction:
ARC_MM_MATBEL_CHECK Check Add-On-Specific Criteria for 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 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
Following are the user exit for the same:
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
Vishnu. -
User exit in CO11N ,goods movement specific component can split for batch
Hi experts
When system going to production confirmation by CO11N . now user go to goods movement button , here i want to know user exit,here component line item is batch active or not so i can allow or validate . at that time if component is batch active then user can split qty batch wise else validate (you can not change & exit).
Much regards .
Anup shuklaCheck these BADIs:
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 Archive AddOn-Specific Data for MM_MATBEL
ARC_MM_MATBEL_CHECK Check AddOn-Specific Criteria for MM_MATBEL
Rob -
Hi,
I want to add a user exit to MB01 i.e, add production date to the third screen in the transaction. If i make changes in the exit of this t.code ,does that effect any other Transactions.
please help me out,its urgent.Hi
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 helpful rewards points
Regards
Pratap.M -
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. -
User exit ZXPADU02 - evaluating SY-UCOMM
Hello everyone,
I am trying to display an error message whenever someone tries to create a new work schedule rule (P0007-SCHKZ) in infotype 7. However, the error message should just come up when the user is trying to save his data.
I am using user exit ZXPADU02 for this purpose. My problem is that SY-UCOMM does not seem to hold reliable data in this user exit, and SSCRFIELDS does not seem to be supported at all.
My code looks like this (only the relevant code snippet in ZXPADU02):
CASE INNNN-INFTY.
WHEN '0007'.
CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
EXPORTING PRELP = INNNN
IMPORTING PNNNN = P0007.
CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
EXPORTING PRELP = PSAVE
IMPORTING PNNNN = P0007_ALT.
IF P0007_ALT-SCHKZ <> P0007-SCHKZ
AND IPSYST-MASSN IS INITIAL " do not warn within an info group of a personnel action
AND SY-UCOMM = 'UPD'. " only warn when saving the data -> problem here <-
MESSAGE 'Do not change IT7 directly or else.' TYPE 'I' DISPLAY LIKE 'E'.
SHOW_DATA_AGAIN = 'X'.
ENDIF.
At first glance, the above works nicely. But this is what happens when I test more thoroughly:
I create a new period in IT 7, enter a P0007-SCHKZ other than the one that was previously valid, press F11. Some warnings appear (for different reasons), which I dismiss using the Enter key. Afterwards, the above code fires, the error message is being displayed, and I am thrown back into the data screen. So far, so good.
Now I simply alter the value in the field "Weekly hours" (P0007-WOSTD) and press Enter (!). Again a series of warnings appear, including one that a dataset is going to be deleted (seeing that an IT 7-period with just the same date range already exists). I confirm that with Enter, and the data is being saved. The above code does not fire because I have only pressed Enter - but the data is being saved anyway!
Looks like a pretty erroneous behavior on the side of the SAP system. The question is whether I have a chance to do something about it in the code.Mihir Nagar wrote:
Dear Petersen,
Your IF condition seems ok. I doubt on the message statement. Can you replace your message statement with type E.
MESSAGE 'Do not change IT7 directly or else.' TYPE 'E'.
ENDIF.
Hope this works.
Regards,
Mihir.
I did not expect this to work, because normally you use type 'E'-messages only in certain PAI-environments, but it does the job, thank you!
make use of field IOPER of the structure PSYST to check on the infotype actions INS, MOD, COP, DEL...
In this particular case I did not care, so I did not check that. IT 7 should only be maintained through personnel actions in our case.
Next you can check with sy-ucomm field the different between "enter" and "save". With "save" sy-ucomm will be 'UPD'.
That is what I did, but as I described, there was a situation when SY-UCOMM is SPACE, but the system saved anyway due to a prior save attempt. -
Using a variable not in the Export,Import, table Parameters in USER EXIT
Hi all,
During the Invoice Creation, I need to add an entry in the VBFS table, so that it will be displayed in the system log. In the FM 'RV_INVOICE_CREATE', the structure corresponding to it is XVBFS. There is a user-exit CALL CUSTOMER-FUNCTION '002', in this FM 'RV_INVOICE_CREATE'. But the import, export or Table Parameters does not have XVBFS.
How can I use XVBFS inside the User exit?..
Please help.
Regards,
AshaHi,
I dont know whether this will help u...
write this in user exit...to access variables/tables of main program..
FIELD-SYMBOLS: <komv>.
ASSIGN ('(SAPLMEPO)TKOMV[]') TO <komv>.
where.. SAPLMEPO is the main program...and TKOMV[] is a internal table in SAPLMEPO.
regards
Sukriti.... -
How to find out the user exit is implemented
Hi All,
Kindly let me know the process to be followed to find out the User exit is implemented in SAP system.
I have seen many senriors suggestions for some treads to check if there is any Exit is implemented in the process when the system is behaving differently rather standard.
Is it the only way with help of ABAP'er we can find out or the functional consultant also can find out through some procedure?
I tied in google for this doubt, but i could not get the relavant answer.Pleaea execuse me if this already answered.
Thanks,Hi Krishna/TW,
Thank you for your immediate replies. Sorry i think i have not explained correctly my requirment.
Let me explain my requirement once again.Let us say Comapny has implemented one Exit in the project, now i want to find out what exactly the Exit was implemented.
Example: In STO process user is able to increase the qty in delivery. As per the client requriement system should not allow.
This is not possible in standard to control even after maintainig check over delivery field in 0VLP.
For this comapny has already implemented one enahnceament.
User Exit : USER EXIT_READ_DOCUMENT
Program: MV50AFZ1
like this when any one joined in the project we do not know what are all the Exits are implemented in the SAP system where we are working.
So if i want to find out if there is any Exit or enhancement implemented, what is the process to find out?
I hope now am clear with my requirement.
Thanks in advance.
Maybe you are looking for
-
REPORT PERFORMANCE TUNING:Array FETCH SIZE
Hi Folks, DOES any one has an idea about array fetch size in CRYSTAL REPORTS XI connected to oracle database. I have two basic questions here 1. What is the default array fetch size in CRYSTAL XI 2. how to change this
-
I don't see a tab to access my photos on iCloud website
I'm trying to access my photos on iclouds website and there isn't a tab for photos, I've looked at everything i can think of and searched online, all my settings are on, are my photos gone?
-
Sudden severe lag in World of Warcraft
There are pages and pages of BT customers suffering the same thing. It started a couple of hours ago and it seems to be only effecting BT customers. http://eu.battle.net/wow/en/forum/topic/2313684718?page=1 [code] Tracing route to 213-248-127-130.cu
-
Importing box sets of multiple cds under one album listing in iTunes?
I am trying to import a box set of music cds into my PC library and have them under one album listing. Currently, each disc is shown in library with its own album cover listing. I am trying disc 1, disc 2 & disc 3 contents listed under 1 library alb
-
Need to rename my handheld device to match my computer.
I bought a new Palm Z22 and I apparently named it differently than the old Palm I had set up on my computer. I want to transfer my info from my computer to my new Palm and my computer does not recogize the name. I'm not very computer savy so any he