BADI or USER EXIT for MIGO when changing order number
Hi experts, I'm looking for a BADI or USER EXIT in Tx. MIGO that is triggered after pushing ENTER when you change the order number. What I need to do is to propose the movement type depending on the order data. Thanks.
Not sure but you can try in BADi MB_DOCUMENT_BADI menthod:
MB_DOCUMENT_UPDATE
Similar Messages
-
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? -
BADI and User exit for MIGO item and header enhancement
We want to add three extra fields in MIGO screen for specific movement type 101 . Two fields at item level and one filed at header level .
Item level fields are independent fields it will store in separate z-table and z-field and dont't have any relation with other table .
but header field has some relation with quantity field in item level . All the item quantity has to add up in header , Is it possible to add up .
What are the BADI and user exit need to use for this enhacement and etc required detailsHi Raghavendra,
Use BAdI MB_MIGO_BADI.
It has all the methods that cater your requirement.
Try to have a design such that you can store the values within the document by enhancing the tables using Append Structures, they surely have a link with the document.
regards,
Aabhas K Vishnoi -
Badi or user exit for changing currency INR to EUR
hi friends,
in po header there is one tab called status.
in this tab there is one field called delivery payment
which has curr INR but i want to change that INR CuRR
to EUR.Can any one tell me how do this is there any badi or user exit
for this req.
thanks.Hi Sonu,
Use the following program to find out the appropriate user exist for ur transaction:
REPORT ZGURU_USER_EXIT_FIND .
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
Then u can use the function CONVERT_TO_LOCAL_CURRENCY to change the amount from INR to EUR.
Regards,
Himanshu -
User exit for MIGO - Change on Posting A/C Code Upon Saving.
Hi,
I have a requirement to to split the GR/IR clearing account during the posting of goods receipt in MIGO by filled in BSEG-HKONT with specify a/c code (hard coded).
I'm not able to find any user exit to change the value in BSEG-HKONT
while click on save.
Is there any suggestion on it?
Thanks.Hi ,
Try with the following User Exits for MIGO.
MB_CF001 Customer Function Exit in the Case of Updating a Mat. D
MBCF0002 Customer function exit: Segment text in material doc. i
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_CREA
MBCF0011 Read from RESB and RKPF for print list in MB26
Thanks,
SVREDDY -
BADI or User Exit for updating MSEG
Hi,
We are using ECC 6.0 and here is the scenario that we have to update custom fields into VBAP, LIPS and MSEG tables when these fields are entered on the sales order screen VA01,VA02.These field are added on this screen using Additional Data B screen.Also, These fields are there in VBAP and LIPS through Append Structure and MSEG through CI_COBL.Is there any BADI or USER EXIT for this.Thanks in Advance.
Priya.Hi
You can use exit ZXMBCU02 ( Function EXIT_SAPMM07M_001
in SAP enhancement MBCF0002 ). Here also whtever changes you make to I_MSEG will be lost as MSEG is an importing parameter. You can do something like this.
FIELD-SYMBOLS <F1> TYPE MSEG.
DATA NAME(50) VALUE '(SAPMM07M)MSEG'.
ASSIGN (NAME) TO <F1>.
<F1>-KOSTL = 'XXXX'.
( In above example MSEG-KOSTL will be set as XXXX, you can change any of MSEG fields in above way. ).
Cheers -
How to create user exit for MIGO check "item OK" Field select/unselect?
Hi All,
I want to know User Exit for MIGO Screen. when I click check button it will be show "Item OK " Field select or not.
MIGO Screen post if Item ok field select both parent id and line id . otherwise it will be show error message?.
Can Please every one tell me how to do user exit for MIGO?
mail id: [email protected]
thanks,
S.Muthu,Hi,
check the BADI <b>MB_MIGO_BADI</b> ( method: POST_DOCUMENT).
COMD enhancment <b>MBCF0005</b>
Regards -
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 -
BAdI: or User Exit for Campaign Creation IN CRM 5.0
Hi all,
we are working in CRM 5.0,
we have a Requirement like :
when we create the campaign it should check higher level project ID (marketing Plan ID)
if it is there it should permit for create campaign else it ll show error...
Any BAdI: or User Exit for Campaign Creation?
I ll geive reward points....
Rhanks & Regards,
GaneshIN WHICH TRANSACTION U R CREATING CAMPAIGN ??
-
BADI or User Exit for Txn : CRMD_ORDER
Hi Experts,
Is there any badi or user-exits for the transaction crmd_order.
regrads,
arul jtohi aDear Arul Jothi,
BAPI_ACTIVITYCRM_CREATEMULTI
BAPI_BUSPROCESSND_CREATEMULTI
CRM_BUSPROCESSND_BAPI
CRM_LEADCRM_BAPI
BAPI_LEAD_CREATEMULTI
CRM_OPPORTUNITYCRM_BAPI
BAPI_OPPORTUNITY_CREATEMULTI
CRM_SLSTRANSACTCRM_BAPI
BAPI_SLSTRANSACT_CREATEMULTI
Also, visit the following thread:
Change status for sales order in crmd_order
BAdi/Enhancement:
/people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
Regards,
Naveen. -
BAdI: or User Exit for Campaign Creation
Hi all,
we are working in CRM 5.0,
we have a Requirement like :
when we create the campaign it should check higher level project ID (marketing Plan ID)
if it is there it should permit for create campaign else it ll show error...
Any BAdI: or User Exit for Campaign Creation?
I ll geive reward points....
Rhanks & Regards,
GaneshDear Ganesh,
As campaign can be created and executed individually also, it will never check for higher level project ID.
Let me check the system if we can block creation of campaign individually, without having a higher level marketing plan. -
BADI or USER Exit for BP Adress check
Hi All ,
what is the badi or user exit for giving a additional check on Postal Codes when creating a BP ?
I have checked BUPA_ADDR_CHECK
BUPA_ADDR_EXPORT
BUPA_ADDR_IMPORT
BUPA_ADDR_UPDATE
BUPA_ADRREL_EXPORT
and the user exit ZXSZARU01
but when i am entering the postal code and pressing Enter , i am not able to catch the User/EXIt or badi .
Thanks for help.Hi
Use the BAdi : ADDRESS_CHECK
Implement the method: ADDRESS_POSTAL_CHECK
Once you enter the Post Code and Country on BP Txn, Pressing Enter will trigger this Badi for address check !
Good Luck !
Thanks
<b>Allot points if this helps !</b> -
Hi Gurus,
I am looking for BADI's or User exits for transaction ME23n.
Exactly I am looking for BADI or user exit for the release strategy for the PO and then mailing it to th e apporover.
regards
kanishkadear ,
check out these two badi it may be useful for your requiremrnt
ME_RELEASE_CREATE
SMOD_MRFLB001
Cheers
fareed -
Badi or user exit for allocation run (Tcode-J3AT) on save button
hi friends,
i m searching for the BADI or user exit for the Tcode J3AT on the save button press. if u know any badi or user exit for same pls let me know.
thanks and regards,
vicky.solved with the help of SAP note.
-
Hi friends,
Facing problem in USER EXIT for MIGO...
My requirement is...
I want to give a error message for good issue or it should not be posted in MIGO, if the Item OK check has not been made for all the available materials corresponding to Order no while posting goods issue.
the structure and field names are: GODYNPRO-DETAIL_TAKE
i.e., If the user omits to do the item-check for any materials while posting Good issue(after the Production order made),one popup(error) message will come/display b4 posting the document (by way to alert him).
If anyone have solution or worked on this previously...pls post ur example by reply or let me know which is the corresponding USER EXIT to include my coding part.
I've tried in MB_CF001 and MBCF0005 and its not working.
Pls do the needful at the earliest.
Thanks & regards
sankar.Hi
I hv same req. did u found correct exit?
thanks
Maybe you are looking for
-
I have an HP 4380 on my home network and suddenly when I send a print job, a bunch of code prints out (looks like computer code) and will continue until all of the paper has been used up. When I send a print job or go to control panel, it says HP 250
-
When I select a bookmark, the page opens on the left instead of in the main window?
Most bookmarked pages replace the page being displayed. But one of them keeps popping up on the left in a window which can only be expanded to about a third of the width. I need it to open in the main window rather than in the left hand column. Perha
-
How to create queue !!
Hi experts!! can any one guide me...in cretaing queues in sender side..integration server and in the receiver side... I min .. i want to send some messages to legacy system from SAP system... so i want to know..how to create queue in Integration ser
-
Connect to offshore/public Wi-Fi
Hi, Considering purchasing an iPad....I have one issue though. I work offshore and the wi-fi connection here requires you to login and then leave the login page (or tab) open in order to use the service. Is there any way to do this on the iPad? I cur
-
Cs4 student cloud subscription?
After trying to 'chat' with what I assume was a computer, I have what I think is a simple question. Will my student creative cloud membership allow me to activate a copy of CS4 Premier Pro? My normal computer has suffered from a recent move and I'd l