Need User Exit/Badi in ME31K to override value of EKPO-XERSY
Could someone please tell me if a user exit or badi is available to override the value of EKPO-XERSY on the conditions tab in transaction ME31K?
We have created a customer field in SRM and wish to override the backend value of the ERS indicator in the ECC system.
Thanks in advance for any help you can give me.
Edited by: Mary Culpepper on Feb 12, 2008 11:15 PM
Hi Mary,
Write the code in the below exit:
EXIT_SAPMM06E_013 :Update Customer-Specific Data in Purchasing Document
Here get the value of XERSY from YEKPO structure.
Thanks.
Note:Reward Points if you find useful.
Similar Messages
-
Need User exit/BADI or BTE for FF_5
Hi,
My requirement is to enhance the automatic clearing rules for tcode ff_5.
Program RFEBKA00 will upload bank statement items based on the external transaction codes provided by the banks .
The standard posting rules will clear a GL bank account using a set of algorithms for further interpretation
set of standard algorithms do not meet the clearing criteria .hence i need user exit / badi/bte to enhance the automatic clearing rules.
EXIT ZXF01U01& or FEB_BADI are triggering before posting the document.hence i think we can not use these.
Please suggest me the alternate solution.Hi,
We are facing a similar requirement. We are trying to enhance the interpretation logarithm using search string. The requirement is to update the text field with a Constant Prefix + a number from the Notes to Payee field. For e.g.:
The BAI file transaction data is like:
16,169,94906,V,120108,0000,6008ABS43400024460,783517/
88,TBS EUROPE LTD 203647 10293164
88,/ENTRY-06 FEB
88,TRF/REF 6008ABS43400024475
88,783517 BANK GIRO CREDIT
We defined a search string to find the text 'TBS EUROPE LTD' and if it is found, the search string fetches the number '783517' from the Notes to Payee field and thereafter, at the time of posting, the text field has to be updated with '120108 TBS EUROPE LTD 783517', where 120108 is the validity date of the incoming money through this transaction and which does not form part of the Notes to Payee field.
Also, if just the number '783517' has to be updated in the text field.
Please suggest how to achieve this functionality.
Thanks in advance.
Regards
Sourabh -
Hi All,
I have following requirement for USER EXIT/BADI:-
Requirement : If some material number is entered in Transaction ME11 /ME12 , I have to find a user exit/BADI where I will find material group from mara based on EINA-MATNR = MARA-MATNR if that group is within some specific group like CHEM ,POLY,OIL etc. , user will not be allowed to go to next screen and it will show message to user on the first screen itself..
If any one has come across such requirement please help me on this asap.
Thanks.
LokeshHi Lokesh,
i am sending one program using which you can check for the user exits and Badi's used in the respective transaction.
It will surely resolve your issue.
Use the following prog. it will fetch the Exits as well as BADI's for that T Code.
*& Report Z_USEREXIT_DISPLAY
REPORT Z_USEREXIT_DISPLAY
NO STANDARD PAGE HEADING
LINE-SIZE 200 MESSAGE-ID ZZ.
T A B L E D E C L A R A T I O N S *
TABLES: TFTIT,
E071,
E070.
S T R U C T U R E D E C L A R A T I O N S *
TYPES: BEGIN OF X_TSTC,
TCODE TYPE TCODE,
PGMNA TYPE PROGRAM_ID,
END OF X_TSTC.
TYPES: BEGIN OF X_TADIR,
OBJ_NAME TYPE SOBJ_NAME,
DEVCLASS TYPE DEVCLASS,
END OF X_TADIR.
TYPES: BEGIN OF X_SLOG,
OBJ_NAME TYPE SOBJ_NAME,
END OF X_SLOG.
TYPES: BEGIN OF X_FINAL,
NAME TYPE SMODNAME,
MEMBER TYPE MODMEMBER,
INCLUDE(15), "Include name
END OF X_FINAL.
I N T E R N A L T A B L E D E C L A R A T I O N S *
DATA: IT_TSTC TYPE STANDARD TABLE OF X_TSTC WITH HEADER LINE.
DATA: IT_TADIR TYPE STANDARD TABLE OF X_TADIR WITH HEADER LINE.
DATA: IT_JTAB TYPE STANDARD TABLE OF X_SLOG WITH HEADER LINE.
DATA: IT_FINAL TYPE STANDARD TABLE OF X_FINAL WITH HEADER LINE.
V A R I A B L E S D E C L A R A T I O N S *
U S E R I N P U T S S C R E E N *
S E L E C T I O N S C R E E N *
SELECTION-SCREEN: BEGIN OF BLOCK BLK01 WITH FRAME TITLE TEXT-T01.
PARAMETERS: P_TCODE LIKE TSTC-TCODE OBLIGATORY.
SELECTION-SCREEN END OF BLOCK BLK01.
S t a r t o f S e l e c t i o n *
START-OF-SELECTION.
PERFORM GET_TCODES. "Get Tcodes
PERFORM GET_OBJECTS. "Get Objects
E n d o f S e l e c t i o n *
END-OF-SELECTION.
PERFORM DISPLAY_RESULTS. "Display Results
*& Form get_tcodes
Get Tcodes
FORM GET_TCODES.
SELECT TCODE
PGMNA
INTO TABLE IT_TSTC
FROM TSTC
WHERE TCODE = P_TCODE.
IF SY-SUBRC = 0.
SORT IT_TSTC BY TCODE.
ENDIF.
ENDFORM. " get_tcodes
*& Form get_objects
Get Objects
FORM GET_OBJECTS.
DATA: L_FNAME LIKE RS38L-NAME,
L_GROUP LIKE RS38L-AREA,
L_INCLUDE LIKE RS38L-INCLUDE,
L_NAMESPACE LIKE RS38L-NAMESPACE,
L_STR_AREA LIKE RS38L-STR_AREA.
DATA: V_INCLUDE LIKE RODIOBJ-IOBJNM.
DATA: E_T_INCLUDE TYPE STANDARD TABLE OF ABAPSOURCE WITH HEADER
LINE.
DATA: L_LINE TYPE STRING,
L_TABIX LIKE SY-TABIX.
IF NOT IT_TSTC[] IS INITIAL.
SELECT OBJ_NAME
DEVCLASS
INTO TABLE IT_TADIR
FROM TADIR FOR ALL ENTRIES IN IT_TSTC
WHERE PGMID = 'R3TR' AND
OBJECT = 'PROG' AND
OBJ_NAME = IT_TSTC-PGMNA.
IF SY-SUBRC = 0.
SORT IT_TADIR BY OBJ_NAME DEVCLASS.
SELECT OBJ_NAME
INTO TABLE IT_JTAB
FROM TADIR FOR ALL ENTRIES IN IT_TADIR
WHERE PGMID = 'R3TR' AND
OBJECT = 'SMOD' AND
DEVCLASS = IT_TADIR-DEVCLASS.
IF SY-SUBRC = 0.
SORT IT_JTAB BY OBJ_NAME.
ENDIF.
ENDIF.
ENDIF.
*- Get UserExit names
LOOP AT IT_JTAB.
SELECT NAME
MEMBER
INTO (IT_FINAL-NAME, IT_FINAL-MEMBER)
FROM MODSAP
WHERE NAME = IT_JTAB-OBJ_NAME AND
TYP = 'E'.
APPEND IT_FINAL.
CLEAR IT_FINAL.
ENDSELECT.
ENDLOOP.
*- Process it_final contents.
LOOP AT IT_FINAL.
L_TABIX = SY-TABIX.
CLEAR: L_FNAME,
L_GROUP,
L_INCLUDE,
L_NAMESPACE,
L_STR_AREA.
L_FNAME = IT_FINAL-MEMBER.
CALL FUNCTION 'FUNCTION_EXISTS'
EXPORTING
FUNCNAME = L_FNAME
IMPORTING
GROUP = L_GROUP
INCLUDE = L_INCLUDE
NAMESPACE = L_NAMESPACE
STR_AREA = L_STR_AREA
EXCEPTIONS
FUNCTION_NOT_EXIST = 1
OTHERS = 2.
IF SY-SUBRC = 0.
IF NOT L_INCLUDE IS INITIAL.
*- Get Source code of include.
CLEAR: V_INCLUDE, E_T_INCLUDE, E_T_INCLUDE[].
V_INCLUDE = L_INCLUDE.
CALL FUNCTION 'MU_INCLUDE_GET'
EXPORTING
I_INCLUDE = V_INCLUDE
TABLES
E_T_INCLUDE = E_T_INCLUDE.
IF SY-SUBRC = 0.
LOOP AT E_T_INCLUDE.
IF E_T_INCLUDE-LINE CS 'INCLUDE'.
CLEAR L_LINE.
L_LINE = E_T_INCLUDE-LINE.
CONDENSE L_LINE NO-GAPS.
TRANSLATE L_LINE USING '. '.
L_LINE = L_LINE+7(9).
IT_FINAL-INCLUDE = L_LINE.
MODIFY IT_FINAL INDEX L_TABIX TRANSPORTING INCLUDE.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDFORM. " get_objects
*& Form display_results
Display Results
FORM DISPLAY_RESULTS.
FORMAT COLOR COL_HEADING.
WRITE:/1(150) SY-ULINE.
WRITE:/ SY-VLINE,
2(23) 'Extension Name',
24 SY-VLINE,
25(39) 'Exit Name',
64 SY-VLINE,
65(74) 'Description',
140 SY-VLINE,
141(9) 'Include',
150 SY-VLINE.
WRITE:/1(150) SY-ULINE.
FORMAT RESET.
SORT IT_FINAL BY NAME MEMBER.
LOOP AT IT_FINAL.
CLEAR TFTIT.
SELECT SINGLE STEXT
INTO TFTIT-STEXT
FROM TFTIT
WHERE SPRAS = 'EN' AND
FUNCNAME = IT_FINAL-MEMBER.
WRITE:/ SY-VLINE,
IT_FINAL-NAME COLOR COL_KEY, 24 SY-VLINE,
25 IT_FINAL-MEMBER, 64 SY-VLINE,
65 TFTIT-STEXT, 140 SY-VLINE,
141 IT_FINAL-INCLUDE, 150 SY-VLINE.
WRITE:/1(150) SY-ULINE.
ENDLOOP.
ENDFORM. " display_results
Hope this resolves your query.
Reward all the helpful answers.
Regards -
PA30 : IT2010 & IT 0015. User exit / BADI required to retrieve BETRG value
good day to everyone,
My objective its to retrieve Amount ( BETRG) value in PA30 --> IT2010 and PA30 --> IT0015 screen.
I have tried using the User exits and Badi below. However, there are no structure to retrieve BETRG value when i am i at the IT2010 and IT0015 screen.
-EXIT_SAPFP50M_001 in enhancement PBAS0001
-badi HRPAD00INFTY
Could anyone let me know is there any way to retrieve the BETRG value or any user exit/badi available?
hope to hear from you soon.
Thank you.
Regards,
SWIn PAI of user exit ( ZXPADU02 ) you can get it easily
data i0015 like p0015.
if INNNN-INFTY = '0015'.
call method CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
exporting
PRELP = INNNN
importing
PNNNN = I0015. "here you have record of IT0015 so BETRG is also available
"cast back values to screen fields
call method CL_HR_PNNNN_TYPE_CAST=>PNNNN_TO_PRELP
exporting
PNNNN = I0015
importing
PRELP = INNNN.
endif.
Similar code can be done for IT2010
Regards
Marcin -
Need user exit, BAdI for acc. determination in PO-multiple a/c assignment
Hi,
I am looking for a user exit in ME21N transaction.
In case of multiple account assignment, I need a user exit where I can calculate the percentage to split the item to post into different G/L accounts. The percentages need to be calculated based on custom configuration tables. The percentage and G/L Account should be defaulted on the screen. Even setting them during save may also be fine.
Thanks.
Srinivas.Hi,
U can try this badi:
ME_PROCESS_PO_CUST. -
Need User-Exit / Badi For CO11N selection screen
Hello Gurus,
I need to add an extra functionality in the selection screen of the Tcode CO11N .Can you suggest some user exit or badi for the same .
The Functionality is : We need to make the field 'Reason' as mandatory whenever there is an entry in the field 'Scarp' .
Waiting for your valuable suggestion on this .
Regards,
Abhijit MandalHi,
Followings are Enhancement or BADI for Tcode-CO11N
CONFPP01 PP order conf.: Determine customer specific default values
CONFPP02 PP order conf.: Customer specific input checks 1
CONFPP03 PP order conf.: Cust. specific check after op. selection
CONFPP04 PP order conf.: Customer specific input checks 2
CONFPP05 PP order conf.: Customer specific enhancements when saving
CONFPP06 PP Order Confirmations: Actual Data Transfer
CONFPP07 Single Screen Entry: Inclusion of User-Defined Subscreens
CONFPS01 PS confirmation: Determine customer specific default values
CONFPS02 PS confirmation: Customer specific input checks 1
CONFPS03 PS confirmation: Customer specific check after op. selection
CONFPS04 PS confirmation: Customer specific input checks 2
CONFPS05 PS confirmation: Customer specific enhancements when saving
CONF0001 Enhancements in order confirmation
CONFPI01 Process order conf.: Calculate cust.specific default values
CONFPI02 Process order confirmation: Customer spec. input checks 1
CONFPI03 Process order conf.: Cust. spec. check after op. selection
CONFPI04 Process order conf.: Customer specific input checks 2
CONFPI05 Process order conf.: Cust. spec. enhancements when saving
CONFPI06 Process order confirmation: Actual data transfer
CONFPM01 PM/SM order conf.: Determine cust. specific default values
CONFPM02 PM/SM order confirmation: Customer specific input checks 1
CONFPM03 PM/SM order conf.: Cust. spec. check after op. selection
CONFPM04 PM/SM order conf.: Customer specific input check 2
CONFPM05 PM/SM order conf.: Cust. specific enhancements when saving
Regards. -
Needs User-Exit/BADI name for Purchase Order in ECC 5.0
MM Experts,
We are using ECC 5.0. We have a requirement to change the value of standard SAP fields on the line item and header of the PO tables after PO is saved in the system.
I will appreciate if someone can guide me about which BADI or User-Exit I have to use to achieve this.
Rewards will be awarded for helpful tips.
Thanks in advance!
MPCharlie,
Thanks for your quick reply. Do you have sample code for this BADI. If yes, then can you please let me know your email address .
Thanks.
MP -
Need user-exit/BADI for my requirement in transaction CRMD_ORDER...
Hello Experts,
I was just given a development task under CRM module. The transaction that I would enhance
would be CRMD_ORDER. What I need to do is that I need to check the customer class
in table CRMM_BUT_FRG0041-classific if it falls under 09. If true, then search for the
condition exclusion from the table PRCC_EXCL_PROC for a given combination and by checking the
fields KAUGR1 and KUAGR2. If found, then bypass this exclusion for customer class 09 so that it will
be given a trade discount and bypass the pricing procedure.
Hope you can help me guys as I am fairly new to CRM module. Thank you and take care!Hi,
You will have to put the required Logic there and test.
But what I feel is you need to use IPC Pricing routines, which are assigned in the Pricing Procedure. They are java routines.
According to my understanding, you will have to first check the customer class from table CRMM_BUT_FRG0041. If it is 09 than u read the condition exclusion groups, the condition type assigned and bypass it.
Wish it helps.
Regards,
Shalini Chauhan -
Need user exit or BADI for NMM1
Hi,
I need user exit/BADI for transaction NMM1.
We need to know the material status of material to determine whether to send a Reservation or PR.
Presently it is determining depending on material type .
Regards,
Sekhar Raju.It's a really big list -:)
<b>Enhancement</b>
NLEI0003
NLEI0004
NLEI0005
NLEI0006
NMAT0001
NMAT0003
NMAT0004
NPDIST00
NPDIST01
NPDIST02
NPRI0001
NPRV0001
NQSFP001
NTPK0001
NZUZ0001
NLEI0002
N1200001
N1400001
NBDT0001
NBILL000
NBILL001
NBILL003
NBTYPE00
NC160001
NC160002
NC160003
NCPR0001
NHCO0001
NKOS0001
NKOS0002
NLEI0001
<b>Business Add-in</b>
ISH_PROCEDURE_CHECK
ISH_PROCEDURE_ADJUST
ISH_PRINT_INVOICE
ISH_PRICING_FIELDS
ISH_PICKLIST_000002
ISH_PICKLIST_000001
ISH_PAYDIST_INSREL
ISH_P21_TRANSFER
ISH_PROCEDURE_PROPOS
ISH_PROCEDURE_SORT
ISH_REV_ASSIGNMENT
ISH_RNZUZBI1_SORT
ISH_SERVICEFORM
ISH_SERVICE_DPD
ISH_SERVICE_ENTRY
ISH_SERVICE_MOVEMENT
ISH_TREATMENT_DETERM
ISH_CONTRACT_MAXIMUM
ISH_COPAY_REPAY
ISH_COPAY_TRANSFER
ISH_DE_DRG_SC_FOREIG
ISH_DIAGNOSIS_CUST
ISH_DOP_DEDUCTION
ISH_DRGCASE_CHECK
ISH_INSREL_CASE_SAVE
ISH_INVOICE_CHECK
ISH_INV_CANCEL_CHK_1
ISH_IR_DEFAULT_UNTGR
ISH_MM_CONS_CO_PREP
ISH_MM_DOCTYPE
ISH_MM_EXT_INQUIRY
ISH_MM_MAT_PRICE
ISH_MM_STORL2MMDOC
ISH_NPDRG2_FINAL_CHK
Greetings,
Blag. -
User Exit/Badi for G/L account assignment in ME21n/ME22n
Hi All,
I need user exit/badi for account assignment in item details for following requirement.
If user changes G/L account of the first line item then I have to copy same G/L account to all line items.
Please suggest me suitable user exit for this.hello,
follow the steps.......
For User Exit's
goto to tcode->status->program name->double click on that,
then goto to-> attribute take the package name and
Goto SMOD tcode ->Utilities->give the package name and F8
then a list of exits will display for that tcode as well as that package.
u can check the table MODSAP
For BADI's,
1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE
keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'
then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.
2)Goto to tcode->status->program name->double click on that program will display's
then press crtl+F then cl_exithandler
Thank u,
santhosh -
User Exit / Badi / BTE for Asset creation A ?
Hi Experts,
I need User Exit / BADI / BTE for asset Creation.
After saving newly created Asset from As01 we need to send a mail to the person for whom the Asset is assigned.
i have tried all this.But no one is triggering after saving the As01 transaction.
Exit Name Description
AAPM0001 Integration of asset accounting and plant maintenance
AFAR0003 External changeover method
AFAR0004 Determination of proportional values for retirement
AINT0004 Change amount posted for certain areas
AINT0005 Dummy for extended syntax check. Do not use.
AISA0001 Assign Inventory Number
AIST0001 Exchange number range in master data maintenance
AIST0002 Customer fields in asset master
AMSP0002 Determine relationship type for two company codes
TRAN0001 User exit for asset transfer
Please suggest if anybody worked on this.
regards,
ImranHi,
Check out the following posts pertaining to similar topic.
Change Asset Workflow
Asset Management WORKFLOW
Regards
Sreekanth -
User exit/ badi needed for planned order create/change,collective ATP check
Dear All,
I'm looking for a user exit/ badi which can be used for planned orders at the stage of
mass collective availability check (COMAC tcode) update; or at some other relevant stages of mass update of planned orders.
I need after collective availability check to perform the following:
1) to copy date from "total comitment" field on header tab of planned order and paste it (replace old date) to order finish date on header screen
then
2) to start a scheduling.
Very appreciate your help.
Best Regards,
Andrey
Edited by: Andrey Kruglov on Apr 15, 2010 3:06 PM
Edited by: Andrey Kruglov on Apr 15, 2010 3:07 PMDear,
Use the BAPI : BAPI_PLANNEDORDER_CHANGE
Or use the function module MD_SET_ACTION_PLAF for Schedule planned order.
and the transaction MDAC Execute action for planned order
This function module includes the following actions:
Explode BOM
Explode BOM, check availability
Check availability, only explode BOM in the case of a requirement
Check availability, do not explode BOM
Reset availability
Change planned order data
Schedule planned order
Delete planned order
Assign the key for the respective action control to the materials in the material master (MRP 4 view).
Please refer this thread,
Re: MDVP for collective orders
Regards,
R.Brahmankar -
Need User exit or BAdi for VF01
Hi.
I need User exit or Badi for VF01.
Condtion: After Successful Save of document number in database.
Please help me.
To be reward all helpfull answers.
Regards.
JayHi
The follwing user exits and badis available:
Enhancement
V05N0001
User Exits for Printing Billing Docs. using POR Procedure
V05I0001
User exits for billing index
SDVFX011
Userexit for the komkcv- and kompcv-structures
SDVFX010
User exit item table for the customer lines
SDVFX009
Billing doc. processing KIDONO (payment reference number)
SDVFX008
User exit: Processing of transfer structures SD-FI
SDVFX007
User exit: Billing plan during transfer to Accounting
V61A0001
Customer enhancement: Pricing
V60P0001
Data provision for additional fields for display in lists
V60A0001
Customer functions in the billing document
Business Add-in SD_CIN_LV60AU02
BADI for billing
VOR_WA_FAKTURA
Billing before Goods Issue
If it is helpful rewards points.
Regards
Pratap.M -
Need the user exit/BADI name for Reverese order MIGo- ME21N(changing item)
Hi
I have the below requirement.
I am changing the item details in the transaction MIGO transaction,the value of MSEG entries
are got changed.and also it should change in the Purchase order level also(in the table EKKO).
Can anybody tell me the User Exit /BADI name which is triggered in the Reverse order
i.e MIGO -> ME21N.So that i can implement my code in the reverse order in the User Exit/BADI.hi I did not find any paramater type EKPO in the Exporting or changing of any methods in the BADI's given by you...........
-
User exit -BADI for overriding Partner number in Purchase order output type
Hello All,
We have a requirement wherein the EDI message type will distribute the Idoc to the partner number determined in the output type of the purchase order. We are maintaining the condition record for a generic partner number in MN04 and we want this partner number with partner role SH from the condition record to be modified to the sales order sold to party partner number. We are using third party processing and hence sales order number can be fetched from account assignment (EKKN) table of the purchase order. Kindly do let me know the user exit /BADI that can be used for achieving this functionality.
Thanks in advance for your immediate response.
With regards,
Joseph Anand BHi,
check with below link,
fo this one you will find both user exit and badis
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
Regards,
Madhu
Maybe you are looking for
-
SAPScript: How to combine two text in the same line?
Dear Gurus, I have a case to combine hard code text and long text in the same line. For example, i need to display following line: 'Project name:' <long_text> How to do it in SAPScript? Can we do it with following code? /: 'Project name: ' INCLUDE Z_
-
My ipod separated the artist twice. Help!
Hi, i bought an ipod three months ago and when i go view my music by artists, there are two or three different tabs for the same artist. I've checked and double checked that they are spelt the same and still nothing works. All i want is that the arti
-
Problem in displaying dynamiic japanese data
I am trying to display japanese data (address) fetched from RDBMS database but only ???????? getting displayed. First the data is fetched from database then populated in xml. XML is in UTF-8 encoding,From xml ,databean is created . Steps taken I have
-
Hi all What is the problem in this code declare type temp is record (invoice_num inv_detail.invoice_num%type); type temp5 is table of temp index by binary_integer; temp6 temp5; idx integer := 0; begin go_block('inv_search'); first_record;
-
Hi! Can anyone please tell me, which user exit is running during the VL02N delivery saving? I can check the user exits, but I don't know which one is executed when I save the document. I'll reward only the useful answers, please read the thread care