Badi that trigger after saving Material document (MIGO)
Hi,
I want a Badi that trigger after saving Material document (MIGO) ie after updating the MKPF and MSEG tables
Thanks
These steps should enable you to find any BADI related to any transaction in a matter of minutes.
1) Go to the transaction SE37 to find your function module.
2) Locate the function SXV_GET_CLIF_BY_NAME.
3) Put a breakpoint there.
4) Now open a new session.
5) Go to your transaction.
6) At that time, it will stop this function.
7) Double click on the function field EXIT_NAME.
8) That will give you name of the BADI that is provided in your transaction.
Regards,
Kashyap
Similar Messages
-
User exit for MIGO after the material document is created?
hi guys ,
I have requirement like after the material document was creted in migo i need to call my new transcation. can any one please let me know how i have to solve this ?
Moderator Message: Unfortunately, this is not a training forum and we can teach all about Exits and Badi's. I suggest you take a classroom course..... or do some R&D first
Edited by: kishan P on Nov 30, 2010 11:57 AMHi
U need to create a FM with UPDATE MODULE attribute checked: so you fm can be run in UPDATE TASK
This fm has to have the same interface of the method of the BAID (or user-exit) or a parte of it, if you don't need to use all parameters of the interface.
All code to schedule the job has to be placed in this fm: you can use the fm JOB_OPEN and JOB_CLOSE in order to scheule a job programmatically.
Call this fm in the BADI, the call has to be in UPDATE TASK, in this way your porgram can start as soon as all updating processes are over
Max -
BADI / User exit for Purchase order(ME21N) after saving the document
Hi expert,
I need the BADI / User exit for Purchase order(ME21N) after saving the document
This is for email sending after create the purchase order so PO document number will be the import parameter
pls help me
point will be reward
Regards,
GaneshHi Ganesh,
Could you please share your solution?
Thanks.
Hoops
Edited by: Hoops on Jun 13, 2011 10:51 PM -
Hi,
I am getting Message having CALL_FUNCTION_NOT_FOUND after saving my document in ME22N Tcode.
Message i am getting in my inbox:
Transaction.. ME22N
Update key... 80234FDE6D51F11C9004001A6435E8C6
Generated.... 02.06.2009, 05:15:29
Completed.... 02.06.2009, 05:15:31
Error Info... 00 671: ABAP/4 processor: CALL_FUNCTION_NOT_FOUND
Can any one please tell what will be the problem?
My out type also configured correctly with function module routine and program name.
Please reply.
Regards,
Kusuma.Hi Karthik,
Thank you for ur reply.
I did not implement any user exit/ badi. Dump is saying that my smarform function module does not exist in the se37 library.
I have excuted my form through se38, that time is working fine. When i tried through output type it is going to dump.
Regards,
Kusuma. -
Badi that trigger when opportunity created from lead
Hi,
I am looking for a Badi that trigger when opportunity created from lead. I looked from Order_Save but i am unable to find the preceeding lead number for the opportunity as the link will be created after the opportunities saved.
Kindly help me
Thanks
NaveenHi Naveen,
You have to do it in Copy control customizing..
SPRO->CRM->Transactions->Basic Settings->Copying Control for Business Transactions->Define Copying Control for Transaction Types..
here you specify you Source transaction as LEAD and Target transaction as OPPURTUNITY and give some arbitarory filter value.
Then use this filter value in CRM_COPY_BADI implementation.
Dont forgot to reward points if this solves...
Siva -
Invoice outputs are not printing after saving the document..!
Invoice outputs are not printing after saving the document. Eventhough we maintain all condition records not only that Processing log also it showed that it has been processed on some date. but customer not received the printout
AmarhI,
GO TO IMG, SD, BF, OUTPUT CONTROL, OUTPUT TYPES, SELECT UR OUTPUT TYPE, GO TO DETAILS ICON AND ASSIGN THE VALUE "ISSUE OUTPUT IMMEDIATELY SAVING THE APPLICATION" FROM DROP DOWN DOWN LIST IN THE DEFAULT VALUES
AND ASSIGN THE RELEVENT PRINTER TO USER ID IN SU01 AND IN CONDITION RECORDS
REGARDS,
SK
Edited by: Sadanandam Kasarla on Mar 16, 2009 12:07 PM
Edited by: Sadanandam Kasarla on Mar 16, 2009 12:08 PM
Edited by: Sadanandam Kasarla on Mar 16, 2009 12:10 PM -
After saving, word documents have been disappearing from my macbook air
After saving, word documents have been disappearing from my macbook air. Have checked outlook temp files, temporary files don't show them, can't find them anywhere. Includes coursework files that I have lost because I don't back up regularly. Even the finder cannot find them, word recent documents doesn't show them. 100% positive I saved htem. Please help someone!!!
Hi there. If you have save file selected in word you should be able to find it. Here is some options. http://superuser.com/questions/845543/accidentally-clicked-dont-save-in-new-word -document You could select the finder, then Go from the top menu and then go to folder from the drop down list. Then type in private/var/folders then enter.
-
Can i know the user exits which should trigger while saving billing docu
hi,
please can u help me to find out user exits which should trigger while saving billing documents.A couple years ago I downloaded this program, I think from SAPFANS. I don't take any credit for it...Not sure who originally wrote it. Just type in the t-code and hit execute.
*& Report name : Identify and Drill-Down to SAP User Exits. *
*& Program name : ZZ_FIND_USER_EXITS *
REPORT ZZ_FIND_USER_EXITS
NO STANDARD PAGE HEADING
LINE-SIZE 132
LINE-COUNT 65
MESSAGE-ID MM.
D A T A D E F I N I T I O N *
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
S E L E C T I O N S C R E E N *
PARAMETERS : P_TCODE LIKE TSTC-TCODE OBLIGATORY.
I N T E R N A L S T R U C T U R E S & T A B L E S *
DATA : GT_TADIR LIKE TADIR OCCURS 0 WITH HEADER LINE.
V A R I A B L E S *
DATA :
GV_FIELD1(30) TYPE C,
GV_DEVCLASS LIKE TADIR-DEVCLASS.
C O N S T A N T S *
CONSTANTS:
GC_F LIKE TRDIR-SUBC VALUE 'F',
GC_R3TR LIKE TADIR-PGMID VALUE 'R3TR',
GC_FUGR LIKE TADIR-OBJECT VALUE 'FUGR',
GC_SMOD LIKE TADIR-OBJECT VALUE 'SMOD',
GC_PROG LIKE TADIR-OBJECT VALUE 'PROG'.
R A N G E S *
RANGES:
GR_VKORK FOR WKBP-VKORG.
E V E N T P R O C E S S I N G *
INITIALIZATION.
AT SELECTION-SCREEN.
SELECT SINGLE PGMNA
INTO TSTC-PGMNA
FROM TSTC
WHERE TCODE = P_TCODE.
IF SY-SUBRC <> 0.
MESSAGE E899(MM)
WITH TEXT-E01 " Input Transaction Code is Invalid.
TEXT-E02. " Please Correct !!
ENDIF.
SELECT SINGLE TTEXT
INTO TSTCT-TTEXT
FROM TSTCT
WHERE SPRSL = SY-LANGU
AND TCODE = P_TCODE.
START-OF-SELECTION.
CLEAR GV_DEVCLASS.
SELECT SINGLE DEVCLASS
INTO GV_DEVCLASS
FROM TADIR
WHERE PGMID = GC_R3TR
AND OBJECT = GC_PROG
AND OBJ_NAME = TSTC-PGMNA.
IF SY-SUBRC <> 0.
SELECT SINGLE SUBC
INTO TRDIR-SUBC
FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC = GC_F. " Function Group
SELECT SINGLE FUNCNAME
INTO TFDIR-FUNCNAME
FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE AREA
INTO ENLFDIR-AREA
FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
CLEAR GV_DEVCLASS.
SELECT SINGLE DEVCLASS
INTO GV_DEVCLASS
FROM TADIR
WHERE PGMID = GC_R3TR
AND OBJECT = GC_FUGR
AND OBJ_NAME = ENLFDIR-AREA.
ENDIF.
ENDIF.
SELECT *
FROM TADIR
INTO TABLE GT_TADIR
WHERE PGMID = GC_R3TR
AND OBJECT = GC_SMOD
AND DEVCLASS = GV_DEVCLASS.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(36) TSTCT-TTEXT.
SKIP.
IF NOT GT_TADIR[] IS INITIAL.
WRITE:/(95) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Exit Name',
21 SY-VLINE ,
24 'Description',
95 SY-VLINE.
WRITE:/(95) SY-ULINE.
SORT GT_TADIR BY OBJ_NAME.
LOOP AT GT_TADIR.
SELECT SINGLE MODTEXT
INTO MODSAPT-MODTEXT
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = GT_TADIR-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/01 SY-VLINE,
02 GT_TADIR-OBJ_NAME HOTSPOT ON,
21 SY-VLINE,
22 MODSAPT-MODTEXT,
95 SY-VLINE.
ENDLOOP.
WRITE:/(95) SY-ULINE.
DESCRIBE TABLE GT_TADIR.
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.
AT LINE-SELECTION.
GET CURSOR FIELD GV_FIELD1.
IF GV_FIELD1(8) = 'GT_TADIR'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
ELSE.
MESSAGE I899(MM)
WITH TEXT-I01 " Click on the Exit Name to Drill-Down
TEXT-I02. " to SAP Enhancement Information.
ENDIF.
END-OF-SELECTION.
TOP-OF-PAGE.
S U B R O U T I N E S *
E N D O F R E P O R T **************************************** -
hi! I've got a problem, after saving pages document to iCloud on my mac I can't download it on my pc as pdf... only pages available, when I do the same on iPad everything is fine... is there way to fix it?
Welcome to the Apple Community.
You need to open the documents on an iOS device before you can open them as anything other than pages documents. -
User Exit or BADI for catch the document number after saving the document
Hi ,
I am working on data conversion where Document number(BELNR),BKPF and BSEG data should
transfer to my Z table(Containes fileds of BKPF and BSEG) after SAVE the document related to
Tcodes F-01 , F-22 , F-28 , F-43 , FB01 , FB02, FB60 ) . It need to go through by any user-exit or
BADI.So Could you please suggest me any User exit or BADI ASAP.
Waiting for reply.
Thanks
LakshmiYou should use BTE (Business transaction event). This concept is used especially for FI related enhancements...
Study this document to know how to use BTE
http://www.todoabap.com.ar/archives/FI%20Enhancement%20Technique%20-%20How-To-Guide%20on%20the%20Usage%20of%20Business%20Transaction%20Events%20(BTE).pdf
Let me know if you face any specific issues.. -
BADI or User Exit - Change Material Document(GL/Account) before posting
Hi,
I want to change the MSEG and FI Posting values before the material documet is posted. I am not using the transaction MIGO for the material document posting. The material document which has to be changed was created during the stock adjustment (MI01,MI02,MI07.etc)
The Details I want to change is "GL Account No" based on
storage location. Since I cannot solve this requirement throught customization, I need a way to achive this using
user exits or badis..
Points will be rewared.
Prasath
Edited by: Prasath Kumar R on Jul 24, 2008 1:18 PM
Edited by: Prasath Kumar R on Jul 24, 2008 1:18 PMHi ,
What you advised is right, But my customer demands to set the Gl Account at Storage location level.
Is there any way that i can change GL/Account after Posting....????!!!! I hope it also not possible..
Plz advise..abt my assumption.
Regards
Prasath
Dear All,
Please let me know the possiblity of achiveing the above reqmt. Your suggestions will be helpful..
Regards
Prasath
Edited by: Prasath Kumar R on Jul 25, 2008 9:33 AM -
BADI / User Exit after Saving of Business Partner
Hi Experts,
Is there a BADI / user exit that is triggered after saving / updating of Business Partner using transaction code "BP"?
We want to send a XML file thru ALE after creation/modification of BP. We are using CRM WinClient 4.0.
Thanks.Hi Mikhail Khorpyakov,
Thank you very much for your reply. It was a helpful answer.
BUPA_GENERAL_EXPORT is triggered before database update of table BUT000 and other related tables.
Is there a BADI that is called after saving which contains general data of business partner?
Thanks in advance.. -
Error after saving co11n document
Hi
While Entering Confirmation of Production order using tcode CO11N, at the time of saving, it showing the message ( Confirmation Saved (Goods movement 2, Failed 0) )
afterwards showing below message
Express Document u201CUpdate was terminatedu201D received from author u201DUserNameu201D
Message detail in INBOX
Update was terminated
System ID.... PRD
Client....... 444
User..... CEO
Transaction.. CO11N
Update key... 51817DDDDE72F1F09150001A64484A38
Generated.... 08.09.2008, 14:07:45
Completed.... 08.09.2008, 14:07:45
Error Info... F1 109: Line item 001
============----
Here we are started to capture Personnel ID
Pls. help in this.
PrakashHi Prakash,
As per your error message the problem is the document updation is not happening in the system according to your data, you tell ABAP or Basis people they will help you in that it may realeted to technical or configuration.The technical people can tell what is excatly happening.
Please change the number range define for confirmation then try again.
Please check T. Code SM21, SM22 and SM13
Check the link below:
Re: Me21n after saving Update Terminate Error Coming
Check the 'Update debuggiing ' option from menu
Regards,
R.Brahmankar -
Copy text field from material document (MIGO) to invoice document (MIRO
Logistic users first create a purchase order. During goods receipt with MIGO they fill in a note in the text field. After MIGO they want to have this text field in MIGO (screen field GOITEM-SGTXT) to be copied to the screen field DRSEG-SGTXT during the creation of an invoice with MIRO. Is this possible via customizing? If so, how?
Hi Everard,
What exactly is the requirement in business process?
Are you making any decision during invoice verification on the basis of this item text which are entering during goods receipt?
In case if these details are required only for the purpose of information to Invoice Posting person, this can be made on the basis of ABAP Query using table ralated to text in Material Document.
Hope above information will be helpful to you.
Regards,
Satish -
Cancellation Material Document-MIGO Problem
Hi All
I done Goods Receipts (105 Movement) For material quantity =30 in date 27.08.2009 After that I haven't done any goods issue
for the same material .Now I am trying to cancel material document ( 106 Movement) in the same date( 27.08.2009) of goods receipts But
system is given - Error Deficit of SL Unrestr. prev. 15 NO : 600538 1001 0001
Message no. M7021
But when I am checking in MB5B for date 27.08.2009 it is showing Stock of 36 quantity . then Why system is issuing this error massage if stock is there in that date
please provide solutionError Deficit of SL Unrestr. prev. 15 NO : 600538 1001 0001
the PREV in this message indicates that SAP is checking previous period stock. SAP does not do this daywise. It just looks into table MARD field VMLAB.
In case of a batch managed material it is checking the stock in table MCHB field CVMLA
It just means that you do not have enough stock at the end of the last period. Of course you have to have enough stock in current period to, to be able to goods issue this quantity.
So you either change the goods issue date to a date in the current period, or you have to get stock into your previous period first.
Maybe you are looking for
-
I can't update my iPhoto to 9.2.1
Resently my harddisc of my macbook pro crashed. I had a new one installed and I did a timemachine restore. But I gave my mac an other name. When I want to update iPhoto it says that the update is available on an other account. How can I solve this pr
-
How to export Date book and Address book from Palm Desktop to Apple iCal and Address Book?
I have my calendar information and addresses stored in Palm Desktop date book and address book, respectively. I am running Palm Desktop 4.2.1. Everytime I try to export the date book or address book to my desktop using the vCal format, the Palm deskt
-
Has anybody ever seen BW Functionality used to create an application which can then be used by business users to identify reports in BW, based on Input Parameters ( eg. Sales Org, Material, Division etc. ) and / or Key Figures ( eg. Shipment Value, O
-
Can't see folder in Dreamweaver
Hi, I've got a site that was developed in Dreamweaver using templates. Those pages based off the templates are edited by users using Contribute. Things have been going smoothly for months. They are still working, however a sub-folder in the site d
-
Special stock for an STO and MRP segment
Hi, I have a scenario wherein I need to differentiate between stocks for two diff. STO's in manufacturing plant coming in from 2 diff. plants. The demand at the recieving plant is through reorder point which then drives creation of an STO. I cannot u