BADI USER/EXIT for inserting cust. data after the Pruch. Requsitio is SAVED
Hi all,
Is there any BADI or USER EXIT available for the transaction ME51N to save
some customer data fields in a separta Z table , after the data is saved from the
Purcahse requistion .
I have used the customer exit MEREQ001 for additing the customer filelds with TABLE CONTROL.
I am not able to save the data from the table control . Any suggestion on this will be apprecitated .
Best Regards
Hi,
You have to use 'EXIT_SAPLMEREQ_003' to import data from screen to your tables and use 'EXIT_SAPLMEREQ_001' to send data to screen.use the below code like below:
EXIT_SAPLMEREQ_001:
tables : ci_ebandb.
data : i_mereq_item type mereq_item.
if im_req_item is initial.
clear: ci_ebandb.
else.
i_mereq_item = im_req_item->get_data( ).
move-corresponding i_mereq_item to ci_ebandb.
endif.
EXIT_SAPLMEREQ_003
data : i_mereq_item type mereq_item.
if not im_req_item is initial.
i_mereq_item = im_req_item->get_data( ).
move-corresponding ci_ebandb to i_mereq_item .
call method im_req_item->set_data( i_mereq_item ).
endif.
Also set the flag EX_CHANGED = 'X' to transafer the changes to database
Regards,
Himanshu
Similar Messages
-
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 -
USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT
Hi,
Pls advise any USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT.
Regards,Hi,
There is another user exit for updating material document data Upon posting is MB_CF001
I hope this will fullfill you.
Prem -
Badi/User Exit for IE02 and IP02 after status changed to deleted/deactivate
Hi all,
I need to change the status of the Plan Maintenance(IP42) when the Functional Location(IP02) or the Equipment(IE02) status is change to deactivated/deleted.
I cant find any related badi or userexit that can be used to achieve the above purpose.
Is there any suggestion available to achieve that? Please advise. Thanks.
Regards,
lsemunHi,
You will either have to use the user exit on save or use the change documents functionality through transaction SWEC to trigger a custom process to accomplish your needs.
Regards
Narasimhan -
BADI / user exit for Tcode IW32?
Hi
Are there any BADIs / user exits for changing component data in Transaction IW32 for a maintainance order?
regards
csEnhancement
IWO10012 Maintenance order: Priority handling on central header
Business Add-in
IWO_UI_USEFLEX BAdI for Calling Up an Alternative UI
I hope it helps.
Best Regards,
Vibha
Please mark all the helpful answers -
Dear Experts,
When I'm setting the BUDGETED status manually to Internal Order (With out distributing the Budget to Order in IM52) and after if I m setting RELEASE status the system is accepting. So, I want to stop this without giving the budget in IO, it should not accept to release IO.
This is not possible with User Status, coz' User may go and set manually "REL" Status.
can anyone suggest me the BAdi/User Exit for KO02(Internal Order Change) tcode.
Thanks,
Sanju.When you set a User status , you can assign an Authorization Object on who can change the status .
Follow the path in SPRO--> Controlling --> Internal orders --> Order Master Data > Status Management> Define authorization Keys for Status Management
Define Authorization Keys for Status Management
In this step you define authorization keys which you can use to set up authorization checks when you manually set or delete a user status. When the system sets a user status as a reaction to business transaction, it does not perform an authorization check.
When you set or delete a user status, the system checks whether the user is authorized for this action. In addition to the status profile and the object type, the system also checks the authorization key assigned to the user status in question.
Example
You want to define that certain user statuses can be changed only by a specified employee group.
To do this, create an authorization key and assign it to the relevant user statuses.
In the general authorization maintenance you can then assign authorizations for this key via the authorization object B_USERSTAT.
Activities
1. Check whether you want to define authorizations for your user statuses.
2. If necessary, create authorization keys as follows:
a) Choose "New entries".
b) Enter a key and an explanatory text in the appropriate fields and choose "Save".
You have now created the authorization key.
3. Assign the authorization key to one or more user statuses in your status profile.
4. Define corresponding authorizations and include them in the relevant authorization profiles. -
BADI / USER-EXIT FOR DEFAULTING THE FIELD VTTK-TNDR_ACTC IN TCODE VT01N
Hi,
I require a BADI / USER-EXIT for defaulting the field VTTK-TNDR_ACTC(Currency of Actual Shipment costs) to 'EUR' in transaction VT01N(Shipment Transaction) .
Please could anyone help me with this .
Regards,
Sushanth H.S.Hi!
User Exits in Transportation
In Transportation, there are enhancements that you can use with transaction CMOD.
For a detailed description of the individual enhancements, see the documentation on the individual enhancements or function modules in transaction SMOD.
You can display all enhancements that are available for the area of transportation by choosing F4 in the Enhancement field. Enter V56* in the Enhancement field and choose Execute. Enter V54* to get a list of all enhancements for the area of shipment cost processing.
Business Add-Ins in the transports
Business add-ins (BADIs) are predefined user exits. They enable businesses, partners, and customers to add additional softward to the SAP source code. The linkup of SAP's New Dimension Products, such as APO and BW, to the standard system is thus possible.
Customer-specific functions can be executed before the save time and after the database update.
The following methods are available for the BADI with the definition name 'BADI_LE_SHIPMENT':
AT_SAVE: BADI is called up at the time of the save. Checks and return to dialog are possible.
BEFORE:_UPDATE: BADI is called up right before the data is saved to the database, that is, when all the data is available (for example, internal ly assigned shipment number).
IN_UPDATE: BADI is called up after the database update.
Standard Settings
Creating a BADI method:
Call up transaction SE19. Enter a name of your choice. Choose "create" and in the dialog box enter the definition name 'BADI_LE_SHIPMENT'. Afterwards, enter a short text for implementation. Save the BADI.
On the tab page 'Interface', choose the method for implementation by double-clicking on it. Now you can enter your customer-specific program code. Save and activate the code. You can acess the transmission parameters entered in the BADI definition. With the method ***_AT_SAVE you can initiate the exception ERROR_WITH_MESSAGE (description 'An error message has occurred' ) if you wish to return to the dialog.
Afterwards, go to the heading and activate the interface.
Regards
Tamá -
BADI/ User Exit for transaction FTR_EDIT/FTR_CREATE initial screen
Hi All,
I want a BADI/User Exit for FTR_EDIT/FTR_CREATE transactions to validate company code and partner fields.
please provide your suggestions.Hi,
here is a coding example that I implemented in the BAdI FTR_TR_GENERIC. This coding is executed when the user press the check button. The method is EVT_TRANSACTION_CHECK. This example is checking the payment date dfaell if it is equal to the system date. If not then a message is sent to the message handler. Here is the code:
DATA: faelligkeit TYPE d,
faelligkeit_text type c length 10,
meldungstext TYPE c LENGTH 100.
FIELD-SYMBOLS: <it_source> LIKE LINE OF pi_proxy_transaction->a_tab_conditions.
IF sy-uname = 'XYZ'.
* BREAK-POINT.
READ TABLE pi_proxy_transaction->a_tab_conditions INDEX 1
ASSIGNING <it_source>.
faelligkeit = <it_source>-dfaell.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
DATE_INTERNAL = faelligkeit
IMPORTING
DATE_EXTERNAL = faelligkeit_text
EXCEPTIONS
DATE_INTERNAL_IS_INVALID = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF faelligkeit <> sy-datum.
CONCATENATE 'Fälligkeit' faelligkeit_text 'incorrect' INTO meldungstext separated by space.
CALL METHOD pi_proxy_messages->set_message
EXPORTING
pi_message_id = 'T0'
pi_message_number = '101'
pi_message_severity = 'E'
pi_message_var1 = meldungstext
EXCEPTIONS
OTHERS = 4.
ENDIF.
ENDIF.
It is not a really nice coding but it shows in a simple way how to use the BAdI.
Regards
Robert -
BADI/ User Exit for transaction FTR_EDIT/FTR_CREATE
Hi All,
I want a BADI/User Exit for FTR_EDIT/FTR_CREATE transactions to validate company code and partner fields.Hi,
here is a coding example that I implemented in the BAdI FTR_TR_GENERIC. This coding is executed when the user press the check button. The method is EVT_TRANSACTION_CHECK. This example is checking the payment date dfaell if it is equal to the system date. If not then a message is sent to the message handler. Here is the code:
DATA: faelligkeit TYPE d,
faelligkeit_text type c length 10,
meldungstext TYPE c LENGTH 100.
FIELD-SYMBOLS: <it_source> LIKE LINE OF pi_proxy_transaction->a_tab_conditions.
IF sy-uname = 'XYZ'.
* BREAK-POINT.
READ TABLE pi_proxy_transaction->a_tab_conditions INDEX 1
ASSIGNING <it_source>.
faelligkeit = <it_source>-dfaell.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
DATE_INTERNAL = faelligkeit
IMPORTING
DATE_EXTERNAL = faelligkeit_text
EXCEPTIONS
DATE_INTERNAL_IS_INVALID = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF faelligkeit <> sy-datum.
CONCATENATE 'Fälligkeit' faelligkeit_text 'incorrect' INTO meldungstext separated by space.
CALL METHOD pi_proxy_messages->set_message
EXPORTING
pi_message_id = 'T0'
pi_message_number = '101'
pi_message_severity = 'E'
pi_message_var1 = meldungstext
EXCEPTIONS
OTHERS = 4.
ENDIF.
ENDIF.
It is not a really nice coding but it shows in a simple way how to use the BAdI.
Regards
Robert -
BADI/User Exit for custom table update from Delivery
Hi
Our requirement is to update a custom table with the delivery number and other related details when the picking status is changed to "C". Kindly suggest BADI/User exit for this requirement .
Thanks in Advance for your immediate help .Hi Joseph,
See SAP Note 415716 - User exits in delivery processing. It says when you have the document number available, what is permitted, what not, ....
I hope this helps you
Regards
Eduardo -
User exit for "Latest GR date"
Hi Experts,
Please can any one provide me user exit for "Latest GR date" field in PO item level to update the value with 180 days plus on the delevery date mentioned for PO item.
Thanks in advance.
Regards,
VijayPlease check this answered link:
Common USER EXIT for ME21N,ME22N
Edited by: Afshad Irani on Jun 18, 2010 11:08 AM -
BADI/user exit for transcation code "BP" in CRM
Hi Experts,
Is there a BADI / user exit that is triggered after successful saving/updating of Business Partner using transaction code "BP"?
We want to send general infos such as partner number, Name, Birth date, etc. about the business partner being created/updated using IDoc.
We are using CRM WinClient 4.0.
If you know the steps on how this requirement will be done, kindly post them.
Thank you very much.I don't have any CRM system at hand, but I'm sure there are some BAdI's for this. Look in SE18 for BP or BUS, and i'm sure you will find something.
One suggestion though: Before going for the BadI, try and see if CRM also uses change pointers for sending Idoc's . This case you wont need any user exits / badis, an probably no programming at all.
Transaction
BD50: Activate Change Ptrs for Mess. Type
BD61: Activate Change Pointers - Generally
and use report RBDMIDOC for triggering IDoc. -
Hi,
Our client wants to update certain data in PR while the PRs are created from Planned orders or after a PR is created from a Planned order.
I've implemented BADI MD_PURREQ_CHANGE but while testing, the debugger is not taking to the break point.
Thus it appears that this BADI is not applicable for MD14.
I need a BADI/User exit where I can change the material description in PR.
Please help.Helpful answers shall be rewarded.Hi abhijit,
Check this program.You will get all exits for a transaction.
TABLES : TSTC, TADIR, MODSAPT, MODACT, TRDIR, TFDIR, ENLFDIR.
TABLES : TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE OBLIGATORY.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
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 EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
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.
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. -
BADI/User Exit for KE51 and KE52
Hi Experts,
I am searchinf for a BADI/User exit In profit center master transactions KE51 and KE52 which should trigger when we activate the Profit center and after the data base committed as i need to send the changed profit center data to other system.
any ideas will be highly appreciated.
Thanks,
RajinikanthTry
PCA00003 Derive Partner Profit Center for External Deliveries
EXIT_SAPLPC45_002
EC-PCA: Activate Derivation of Partner Profit Center -
Hi experts,
I need to find a User-Exit or a BADI in transaction VF01 or VF02, I have found several but I need one before save or after save.
Anyone knows any User-Exit or Badi for this case?
Thanks in advance
Nuno RodriguesSDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX009 Billing doc. processing KIDONO (payment reference number)
SDVFX010 User exit item table for the customer lines
SDVFX011 Userexit for the komkcv- and kompcv-structures
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lists
V61A0001 Customer enhancement: Pricing
check out which exit suits ur reqirement.
Maybe you are looking for
-
Ok, so I have my page layout almost completed in DW. Id like to add a photo gallery to my page, but not the kind DW automatically creates. Id like the gallery to stay within my page layout, and have a few rows of thumbnails, and when a thumbnail is c
-
Inspection Lot not generated, with MIGO 561
Hello All, Please help me with this issue. WHen i do MIGO with 561, inspection lot is not generated. So there is a setting in spro, if we check that, inspection lot wont be generated. So now in my IDES, i tried to uncheck that box. When i save this s
-
Satellite A100 (PSAA9): Win7 + screen brightness adjustment issue
Hi I have installed Windows 7 64-bit on my toshiba A100 (psaa9) machine, and i cannot modify screen brightness anymore. It is maximum brightness always. Fn key does not work, and neigther i can modify the brightness manually through nvidia control pa
-
Unable to install AcroPro90_efg.exe
adobe acrobat 9 pro extended not printing to Adobe printer in Win 8.1 following resolution instructions at Printing problems | Acrobat 9.4.2 update to make sure all updates are installed (currently none installed and Help>Update says no update to ins
-
Absence request status = "Work in Progress" ?? in SSHR
Hi exprts we tried to post an absnece request (ex. holiday). The status is set to "Work in Progress". The approver is also nominated. But he did not get the request for approval. Question: What can be the reason. Now if w click on yellow pencile for