2007 Jun 18 8:55 PM
Hi, experts
I have an urgent requirement on T/C MIGO, I have to validate field "Qty in UnE", I searched user exits but I don't know wich to use or if it exits a BADI?
User-Exit list:
MBCF0002
MBCF0005
MBCF0006
MBCF0007
MBCF0009
Any helpfull information I will appreciate it.
Regards
mgg
P.D. Points reward.
2007 Jun 18 9:53 PM
Try to write simple query on Enhancement MBCF0009( This will trigger )
also check with other user exits ( breake sy-uname)
Hi, experts
I have an urgent requirement on T/C MIGO, I have to validate field "Qty in UnE", I searched user exits but I don't know wich to use or if it exits a BADI?
User-Exit list:
MBCF0002
MBCF0005
MBCF0006
MBCF0007
MBCF0009
Any helpfull information I will appreciate it.
Regards
mgg
P.D. Points reward.
2007 Jun 18 8:58 PM
Hi Mgg,
Since you have already found out the user exits for MIGO, the best thing is put a break-point in each of these and run MIGO as usual. That way you can find out which one you need to write your code in.
Regards
Aneesh.
2007 Jun 18 9:08 PM
2007 Jun 18 9:12 PM
Hi,
Code it into your includes with your username. Syntax is:
break <ur username>.
Thanks
Aneesh.
2007 Jun 18 9:53 PM
Try to write simple query on Enhancement MBCF0009( This will trigger )
also check with other user exits ( breake sy-uname)
2007 Jun 19 4:37 PM
Hi guys
<u>Seshu</u>
Thanks for info, I put on user-exits BREAK-POINTS but no STOP on T/C MIGO,does it exit other user-exits for MIGO.
<u>Tomas:</u>
How can I do to put code lines on <b>B_MIGO_BADI</b>, method <b><i>CHECK_ITEM</i></b> or <b><i>LINE_MODIFY</i></b>?
Thanks in advance
mgg
2007 Jun 19 4:50 PM
Hi,
After putting break-point in user exits. you need to activate the project from Tcode CMOD.
Ashven
2007 Jun 19 7:24 PM
>>>
Tomas:
How can I do to put code lines on B_MIGO_BADI, method CHECK_ITEM or LINE_MODIFY?
<<<
You have to create an implementation of the BAdI. You must be familiar with the BAdI concept and implementations to do this. I can't really give you a step-by-step guide as it is largely dependent on what exactly needs to be done.
Please check the corresponding documentation if you didn't do this before.
Here is a thread that you might find interesting:
2007 Jun 20 3:45 PM
Tomas:
Thanks for your Info it was very helpfull, but now I know how to show a message on methods, because I have this one, but not execute it:
<i>MESSAGE i083(me) WITH 'Se cumple'.</i>
Regards
mgg
2007 Jun 21 12:16 AM
I'm not sure if I got what you're saying
Do you mean that you don't know how to generate a message?
With the example you gave, it would be simple, because you'd have to add the following lines to your implementation in method ITEM_CHECK:
DATA: ls_bapiret TYPE bapiret2.
<i>code that does the criteria check for your field</i>
...
IF <i>[message needed]</i>.
ls_bapiret-type = 'I'.
ls_bapiret-id = 'ME'.
ls_bapiret-number = '083'.
ls_bapiret-message_v1 = 'Se cumple'.
APPEND ls_bapiret TO et_bapiret2.
ENDIF.
However if your goal is to validate a field as you wrote in your first post, then I suppose you'd probably want to issue a message type E or W instead of I.
2007 Jun 18 9:56 PM
Use BAdI <b>MB_MIGO_BADI</b>, method <b>CHECK_ITEM</b> or <b>LINE_MODIFY</b>, depending on how/when do you want to do the checking. Take a look at the documentation and the sample code.
2007 Jun 19 4:45 PM
Also check exits MB_CF001, MBCF0010 and MBCF0011.
Maybe it will help.
Thanks
Aneesh.
2007 Jun 19 4:48 PM
Aneesh,
Thanks for answering but also I put BREAK-POINTS on these EXITS and no stop.
Regards
mgg
2008 Feb 15 4:58 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |