BADI/USER EXIT information required for CLWF
hi
i want to badi/user exit for CLWF,to change its rcords through the BAPI:BAPI_CLASS_CHANGE,i found one badi CACL_CHANGENO_NEEDED for my requiremnet,its working as desired only in TCODE,but when i want to change the record through the BAPI,its not executing.
Can any one please help me ,how to process in this?
regds
vipin
Hi,
Let s say
var1 is from varaible
var2 is to variable
var3 is user exit variable
USe the code like this:
DATA:
l_s_range TYPE rsr_s_rangesid,
l_s_var TYPE rrs0_s_var_range.
DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
DATA: LOC_VAR_RANGE2 LIKE RRRANGEEXIT.
WHEN 'VAR3'.
IF I_STEP = 2.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'VAR1'.
LOOP AT I_T_VAR_RANGE2 INTO LOC_VAR_RANGE
WHERE VNAM = 'VAR2'.
CLEAR L_S_RANGE.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(8).
L_S_RANGE-HIGH = LOC_VAR_RANGE2-LOW(8).
IF LOC_VAR_RANGE2(8) = '00000000'.
L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW(8).
ENDIF.
IF LOC_VAR_RANGE(8) = '00000000'.
L_S_RANGE-LOW = LOC_VAR_RANGE2-LOW(8).
ENDIF.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'BT'.
APPEND L_S_RANGE TO E_T_RANGE.
EXIT.
ENDLOOP.
EXIT.
ENDLOOP.
ENDIF.
With rgds,
Anil Kumar Sharma .P
Similar Messages
-
Product View: BADI/user-exit at "SAVING" for transaction /SAPAPO/RRP3
Hi to All,
i need to insert my custom routine BEFORE saving for transaction /SAPAPO/RRP3.
I should display an error message that stop the saving.
Does some BADI or user-exit exist for my requirement?
Best Regards,
Alessia Bassano.
Edited by: Umberto Panico on Mar 19, 2009 10:07 AMhi
/SAPAPO/RRP_EXPLODE BAdI for the Explosion of Orders
/SAPAPO/RRP_IO_COL BAdI: Enhancement of the Order View
/SAPAPO/RRP_ORD_CONV Enhanced Check for the Convertibility of an Order
depends on your requirement you can select anyone of the above BADi's.
if not try to use enhancement points.
Rgds. -
User exit code required for manadatory variable
we have vendor in rows and sales in columns, the requirement is there is a mandatory variable for retrieving the sales between months, that is if
customer gives calmonth january as <b>from</b> and march as<b> to</b> the sales should be from Jan to March, if the customer only gives <b>from</b> month and nothing for<b> to</b> month, only <b>from</b> month should be calculated, if the customer gives only<b> to</b> month and no <b>from</b> month, the <b>to</b> month should be calculated. Remember the variable is mandatory.Hi,
Let s say
var1 is from varaible
var2 is to variable
var3 is user exit variable
USe the code like this:
DATA:
l_s_range TYPE rsr_s_rangesid,
l_s_var TYPE rrs0_s_var_range.
DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
DATA: LOC_VAR_RANGE2 LIKE RRRANGEEXIT.
WHEN 'VAR3'.
IF I_STEP = 2.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'VAR1'.
LOOP AT I_T_VAR_RANGE2 INTO LOC_VAR_RANGE
WHERE VNAM = 'VAR2'.
CLEAR L_S_RANGE.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(8).
L_S_RANGE-HIGH = LOC_VAR_RANGE2-LOW(8).
IF LOC_VAR_RANGE2(8) = '00000000'.
L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW(8).
ENDIF.
IF LOC_VAR_RANGE(8) = '00000000'.
L_S_RANGE-LOW = LOC_VAR_RANGE2-LOW(8).
ENDIF.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'BT'.
APPEND L_S_RANGE TO E_T_RANGE.
EXIT.
ENDLOOP.
EXIT.
ENDLOOP.
ENDIF.
With rgds,
Anil Kumar Sharma .P -
BADI-User exit required for updating Purchase order header field -IHREZ
Hello All,
We have requirement in our business to update the purchase order header field "our reference" EKKO-IHREZ with some text field. We need a BADI/user exit that can be used for updating this field . We have checked the BADI ME_PROCESS_PO_CUST and unfortunately we are not able to use this BADI as it getting triggered in enjoy SAP transactions ME21N , ME22N etc. We are not creating the purchase order manually and we are using ME59N for creating Purchase order . Hence we are looking for some user exit/BADI that can be used in ME59N for updating the purchase order header field IHREZ.
Thanks in advance for your immediate response .
With regards,
Joseph Anand BTRY using the exist u2022 EXIT_SAPLME59_001
You can also later on add this field by BAPI_PO_CHANGE -
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 Experts,
Please understand my issue/requirement that, I have to make the item conditions tab in display or deactivate mode to prevent users to change or create the price or conditions while posting VF01.
As std, system allows users to create or change the prices/qts and also add new conditions. My client needs to make it as display mode for all type of postings in VF01.
Please guide me, how to arrive it through Exit or Enhancements.
thanks & regards
Sankar.Hi,
Try these steps to find the BADI.
1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
2. In 'Display' mode, go to 'Methods' tab.
3. Double click the method 'Get Instance' to display it source code.
4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.
5. Then run your transaction.
6. The screen will stop at this method.
7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
These are exits in VF01.
SDVFX001 User exit header line in delivery to accounting
SDVFX002 User exit for A/R line in transfer to accounting
SDVFX003 User exit cash clearing in transfer to accounting
SDVFX004 User exit G/L line in transfer to accounting
SDVFX005 User exit reserves in transfer to accounting
SDVFX006 User exit tax line in transfer to accounting
SDVFX007 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
J_3RSINV 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
Hope this helps u.
Thanks. -
BADI/USER EXIT for MIRO.
Hi All
I have added a new field (GST) on MIRO screen using GUI XT.
The requirement is such that I need to populate this field after I have entered the purchase order no (It needs to take the vendor from the PO and then its subsequent VAT no from the vendor master). I am not sure where to do this part of the coding.
i have tried to implement BADIs
BADI_ENJ_ALT_ADR
INVOICE_UPDATE
BADI_FDCB_SUBBAS01
but it doesn't help.
Is there any other BADI/User Exit that I can try.
Thanks in advance.
HarshHi,
Bellow are the exit names for MIRO.
<Irrelevant enhancement list removed by moderator>
Regards,
Goutam Kolluru.
Edited by: Vinod Kumar on Feb 3, 2012 9:34 AM -
BADI / user-exit for MD02 while creating Schedule Lines
Hi experts,
I have a problem with implementation that I'm designing.
Current situation:
While MRP run (MD02 or background) new Schedule Lines are being created in reference to MM Scheduling Agreement.
Example:
04.08.2014
SchLne
5500000415/00010
200
04.08.2014
IndReq
VSFB
200-
05.08.2014
SchLne
5500000415/00010
300
05.08.2014
IndReq
VSFB
300-
2 Schedule Lines where created - for wuantity 200 and 300.
Target:
There is a need to create more than one Schedule Line per day during MRP run. According to example there should be for example 2 Schedule Lines in 04/08 and 3 Schedule Lines in 05/08 all for quantity = 100. There is possibility to change Schedule Lines in ME38, but there is a need to make a change during creatin while MRP run.
04.08.2014
IndReq
VSFB
200-
04.08.2014
SchLne
5500000415/00010 *
100
04.08.2014
SchLne
5500000415/00010 *
100
05.08.2014
IndReq
VSFB
300-
06.08.2014
SchLne
5500000415/00010 *
100
06.08.2014
SchLne
5500000415/00010 *
100
06.08.2014
SchLne
5500000415/00010 *
100
So instead of creating only 2 Schedule Lines, MRP should create 5.
I'm looking for a BADI/user-exit to edit Schedule Lines which are to be created by MRP and change it tn reference to the needs.
I found only one BADI:
BADI: MD_CHANGE_MRP_DATA
method: CHANGE_MDPSX_MDBS
The priblem is that this method is only being executed when there are Schedule Lines which already exist.
Maybe some of you have done some extension similar to mine? Please give me advice where I should put extension.
Thanks in advance!Dear Saravaran,
Thanks for the reply.
This will not suits to us. The provided BADI will works upto Posting the material document in transaction MIGO and it will not considered for the FI level entries.
Hope you could have understand mine requirement.
The requirement of mine is:
While doing the GR with ref to PO the material documnet will be posted and subsequently FI documnet will be generated in Background. While generating the FI document i need to manipulate the values for the G/L. So that the manipulated values will be flow into BKPF and BSEG tables.
Thanks.
Regards
Swamy -
BADI/User exit for MIGO fi postings
Hello Experts,
I have one requirement regarding at the time of MIGO accounting entry is generating based on the OBYC settings,now the client want along with this entry, want to create one more FI document through background,In the background we will give the debit g/l and credit g/l.That means at the time of MIGO two FI documents has to generate one is with OBYC setting gl's and second FI entry is from programe hard coded gl's.
For this requirement has any BADI/USER Exit.I appriciate your valuable inputs.
Regards,
Nivas.Hi,
May I know why you need two accounting documents?
You may refer the similar thread: BADI / Exit required for MIGO for posting FI document
And about the number ranges - I would suggest a custom number range object and a different number range for these additional documents.
Also refer the doc: Methods to find Customer/User Exit's & BADi's for a Transaction Code!
Regards,
AKPT -
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 -
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-EXITS available for Txn. QE01
Hi Experts,
Could anyone please suggest appropriate BADIu2019s and user-exists available for Txn. QE01 to send the status change.
Our requirement is to send a mail notification to the user when all the result recording status of the inspection characteristics turn to 'complete'
In Tx QE01 the inspection results are recorded for each inspection characteristics.When results recorded for all the characteristics the user will close the insp. characteristic and the status will change to 'complete' then needs a mail notification so that user decision (UD) can be performed for the inspection lot.UD (Txn QA11) will be performing after result recording.
Any suggestion will be appreciated.
Thanx and RegardsHi ,
Please check below BADI and User exits .
Bus. add-in name Description
QE_RESULT_VALUATION "Valuation of Single Values
QE_SAVE "Save Results
QEEM_SUBSCREEN_5000 "EE: BAdI Subscreen for Display of Data on Screen 5000
QM_IDI_INSPPOINT "Changing of Inspection Point Processing in IDI and BAPIs
QM_INPUT_PROCEDURE "Input Processing
Exit name Description
QEEM0003 "User exit: add. functions after valuating insp. characs
QEEM0004 "User exit: add. functions after valuation of partial samples
QEEM0006 "User exit: add. functions after closing inspection characs
QEEM0007 "User exit: add. functions after completing partial samples
QEEM0011 "User exit: add. functions before valuating insp. characs
QEEM0012 "User exit: add. functions before valuating partial samples
QEEM0015 "User exit: add. functions after entering individual results
QEEM0020 "User exit: additional functions after entering the inspector
QEEM0021 "User exit: additional functions for user key +US1
QEEM0022 "User exit: additional functions for user key +US2
QEEM0023 "User exit: additional functions for user key +US3
QEEM0024 "User exit: additional functions for user key +US4
QEEM0029 "User-Exit for Characteristic Overview Subscreen
QEEM0030 "User-Exit for Subscreen: Characteristic Single Screen
QEEM0031 "User-Exit for Table Structure with External Numbers
QEEM0032 "Presentation of the characteristic text in the logon lang.
QEEV0003 "Determination of order type for print
QIST0002 "Generating MATERIAL_DATA for QM STI Interface
QIST0003 "Generating VENDOR_DATA for QM STI Interface
QIST0004 "Generating CHARACTERISTIC_HEADER for QM STI Interface
QIST0005 "Generating CHARACTERISTIC_QUANTITATIVE for QM STI
QIST0007 "Generating SAMPLE_HEADER for QM STI Interface
QIST0008 "Generating RESULTS_ADDITIONAL_DATA for QM STI
QIST0009 "Generating RESULTS_QUANTITATIVE for QM STI Interface
QIST0010 "Generating REPORT_HEADER for QM STI Interface
QIST0011 "Generating METHOD_DATA for QM STI Interface -
BADI/User Exit suggestion - for determining Partner in PO header
Hi All,
I want to be able to automatically populate and determine a manual partner function within the header of a purchase order creation.
Example, when PO is allocated against account assignment 'P' then go to the WBS element assigned and retrieve the specific partner number for partner function type XX. Then populate this into the relevant header partner function of the PO.
Any ideas of which BADI/User exit could be used in ME21N?
Thanks
SteveHi Steve
Before going to search the UserExit/BADI, please remember your account assignment will be at item level and the partner will be at Header level.If you have number of line items with different account asssginments or different WBS elements under account assignment P, it is difficult to determine the partner functional at Header level.Please think on how can you build logic? There are number of BADI/Exits available for Purchase order.
Regards
Ramakrishna -
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 -
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.
Maybe you are looking for
-
How do you get your site to appear the same in all web browsers?
There are some things that show up differently in Safari than they do in IE and Firefox, how do I get everything to jive the same? I think it is in the code which I am not an expert on. My website was a template that I purchased online and most of t
-
List of Open Transfer Requirement(TR)
Hi all I want to know about report : List of Open Transfer Requirement(TR). Where i have to get the details. ie. Which table i have to get it? Can any one explain that reports briefly? Any Standrad T.code is there ?
-
Looking for best solution for adding Text Alerts to site
I would like to add a feature to a website which permits visitors to get text alerts on their mobile phones. Can someone recommend an application...preferably one which is free. Thanks1
-
AAk handling in different scenarios
Hi, We have been receiving (in system "B" and "C") BW objects (Infoobjects, cubes,..) by AAK as Customer Content developed in System "A". From now on we have to maintain & deliver mentionated BW objects, our goal is deliver it by AAK. We want to dev
-
Can't Compile My classes!!
Hey all I'm doing servlets bt the compiler gives me an error of package javax.servlet not found!! i do have tomcat and Sun's application server bt what's wrong i dunno! Pls suggest what should i do in order to compile these files Thanx