Userexit MEREQ001 for ME53n
I have added a field in custom include CI_EBANDB (in table EBAN). Then i have activated
EXIT_SAPLMEREQ_001
- EXIT_SAPLMEREQ_002
- EXIT_SAPLMEREQ_003 have been activated
I could save the data .But I cannot Change to display mode always the fied i have used is in change mode
The interface if_purchase_requsition_item provides a method,
GET_REQUISITION, that returns the purchase requisition header. Using
method GET_TRANSACTION_STATE for interface if_purchase_requisition, you
can determine the transaction type from field ex_document
A display
V change
X create
I wrote the code in Pbeo of scustomer screen
Data : gt_atyp as atyp.
loop at screen .
If gt_atyp eq 'A'.
screen-input = 0.
else
screen-input =1.
Endif
Endloop .
Even then
in debugging mode also there is no value for gt_atyp (transaction typee)
Can you help where i should write the code to greyed in display mode .
I guess code is wrong :
loop at screen .
If gt_atyp eq 'A'.
screen-input = 0.
screen-active = 0.
else
screen-input =1.
screen-active = 1.
Endif
<b>modify screen.</b> " Add this code
Endloop .
even you can compare with sy-tcode like if sy-tcode = 'ME53N' then use your display logic.
Thanks
Seshu
Similar Messages
-
Help needed in UserExit QEVA0010 for UD Check
Hello All,
I need you help in UserExit QEVA0010 for UD Check. Actually i want to restrict user to enter stock posting when particular UD Code is Enter. For Exmple, If user set UD Code as 'A' (Accept) then in another tab for stock posting user can only enter stock quantity in "unrestricted" and in "Sample Qty". Is it posssible to disable all other fields except Unrestricted & Sample qty.?
With Thanks & Regards,
Mudassar Praniya.Hi,
Please use the following:
when 'SICH'. " On Save action
if vbak-vtweg eq 'HA'. " Check Distribution channel
flg_dh = 'X'. " Sets if DC is 'HA'.
endif.
if flg_dh eq 'X'.
if vbap-pstyv eq 'TANN'. " Check item category
flg_itmc = 'X'. " Set if item cat is 'TANN'.
else.
message 'SO could not be created Please enter brokerage material' type 'E' display like 'E'.
endif.
endif. -
Userexit/BAdi for CBIH102 (HR-EHS module)
Hi guru's,
Please help find the userexit/BAdi for Transaction code: CBIH102. The Requirement is to auto-populate the Accident Category (CCIHT_IPEVA-IALPCAT) field during the Creation/Change mode. I tried the below exits/BAdi & set all the breakpoints, activated CMOD projects and even implemented BAdi. It is not triggering. Enhancement Framew
Object Name Description
EHSIAHM1 EH&S: Menu Exit 1 for Incident/Accident Log Header
EHSIAHM2 EH&S: Menu Exit 2 for Incident/Accident Log Header
EHSIAPM1 EH&S: Menu Exit 1 for Incident/Accident Log Person
EHSIAPM2 EH&S: Menu Exit 2 for Incident/Accident Log Person
EHSMPHM1 EHS: Menu Exit 1 for Measurement Project Header Data
EHSMPHM2 EHS: Menu Exit 2 for Measurement Project Header Data
EHSMPJM1 EHS: Menu Exit 1 for Measurement Project Measurements
EHSMPJM2 EHS: Menu Exit 2 for Measurement Project Measurements
EHSSARA EHS: Check/Edit Lines in SARA List Before Printout
BAdi Name Description
EHSI_AC_COSTC EHS: Cost Calculation in Safety Measures
EHSI_ANNC_RATCP EHS: Calculation of Rating of Standardized Criteria
EHSI_ER_MEX_01 EHS: Risk Assessment Menu Exit 1
EHSI_ER_MEX_02 EHS: Risk Assessment Menu Exit 2
EHSI_ER_MEX_03 EHS: Risk Assessment Menu Exit 3
EHSI_ER_MEX_04 EHS: Risk Assessment Menu Exit 4
EHSI_FAL_***_SRV_SCR EHS: Screen Enhancement: Injury/Illness Log-Service Assignmt
EHSI_FAL_MEX_01 EHS: Injury/Illness Log Menu Exit 1
EHSI_FAL_MEX_02 EHS: Injury/Illness Log Menu Exit 2
EHSI_FAL_MEX_03 EHS: Injury/Illness Log Menu Exit 3
EHSI_FAL_MEX_04 EHS: Injury/Illness Log Menu Exit 4
EHSI_IA_RPHDFLG_COMP EHS: Determ. of Reportable Event Indicator in Inc./Acc. Hdr
EHSI_INT_ORG_1403 EHS: Write Long-Term Average to Infotype 1403
EHSI_MJVA_MATCHUP EHS: Transfer Measured Values - Amounts
EHSI_MJ_IMPORT EHS: Import Measured Values
EHSI_MJ_MEX_01 EHS: Measurement Management - Measurement - Menu Exit 1
EHSI_MJ_MEX_02 EHS: Measurement Management - Measurement - Menu Exit 2
EHSI_MP_CREATE EHS: Create Measurement Projects
EHSI_MP_DV_SCR EHS: Screen Exit: Device List in Measurement Management
EHSI_MP_EPI_IMP EHS: Import Exposure Profile
EHSI_MP_METHOD_HELP EHS: F4 Help for Measurement Method
EHSI_MP_MEX_01 EHS: Measurement Management - Meas. Project - Menu Exit 1
EHSI_MP_MEX_02 EHS: Measurement Management - Meas. Project - Menu Exit 2
EHSI_WA_MEX_01 EHS: Work Area Menu Exit 1
EHSI_WA_MEX_02 EHS: Work Area Menu Exit 2
EHSI_WA_MEX_03 EHS: Work Area Menu Exit 3
EHSI_WA_MEX_04 EHS: Work Area Menu Exit 4
EHSI_WA_OVERALL_RAT BAdI Default Impl.: Work Area Overall Rating
EHSI_WA_RECEIVED_RAT BAdI Default Impl.: Work Area Received Rating
EHSI_ACPM_DATA_TRANS BAdI Default Impl.: Work Area Received Rating
EHSI_CLM_HEAD_SCR BAdI Default Impl.: Work Area Received Rating
EHSI_CLM_MEX_1 BAdI Default Impl.: Work Area Received Rating
EHSI_CLM_MEX_2 BAdI Default Impl.: Work Area Received Rating
EHSI_CLM_PAY_SCR BAdI Default Impl.: Work Area Received Rating
EHSI_IAL_COSTS_SCR BAdI Default Impl.: Work Area Received Rating
EHSI_IPEVA_TIMDAT EHS: Make the Multiple Absences in the I/A Log flexible
Regards,
VinayakUp please )
-
Any Userexit & BADI for transaction VB(7 during final settlement
Hi SAP GURUS,
I have checked no user exit and BADI. Any Userexit & BADI for transaction VB(7 during final settlement. During final settlement of rebate, I have to change the amount from KONP table in transaction VB(7 . Let me know the userexit and BADI.
Regards,
Karthik.Hi Sekhar,
These following BADI are not capturing KONP item details.
I want to capture KONP item details to modify amount.
ARC_SD_COND_CHECK : Archiving Object SD_COND: Additional Checks
ARC_SD_COND_WRITE : Archiving Object SD_COND: Archive Additional Data
SD_COND_SAVE_A : Save condition application A, E
Regards,
Karthik. -
Screen exit MEREQ001- for Transactions ME51N/Me52N/ME53N
Hi,
I have implemented the Enhancement MEREQ001 to add a new tab for Purchase Requistion screen.
Requirement for me is to show the same data in the newly added tab for all line items and also to save the same data in EBAN table.
I am facing a problem while saving the data. In EBAN table, the data was saved for all line items. But the custom added field values are saved for only the line item displayed.
I ll explain with an example for better understanding.
I have created a PR with 2 line items ITEM1 and ITEM2
When i saved the data when ITEM1 is displayed, EBAN have custom added field values for ITEM1 but not for ITEM2.
The same way, if I save data when ITEM2 is displayed, EBAN has custom added field values for ITEM2 but not for ITEM1.
Now, my requirement is to get the both line items ITEM1 & ITEM2 updated with custom added field values in EBAN.
Has anyone faced this kind of issue.
Please reply back.
Regards,
Sreekanth.GHi,
Use BADI 'ME_PROCESS_REQ_CUST' to copy item 1 custom fields data to item 2 custom fields data.
Regards,
Hemanth -
Hi everyone,
We come across a requirement in ME52N/ME53N i.e.,if Requisitioner field is blank in contat person tab( item level ) it has to take default vale as Created by . Please suggest me in which BADI/EXIT i need write the code.
I have checked all the userexists /badi's related to ME53n but couldn't find a suitable one and searched in google also.
Please suggest one.
Thanks.Hi Reddy,
Please try to use this Exit: MEREQ001 -->EXIT_SAPLMEREQ_007
It contain im_ebkn-ERNAM and im_ebkn-AFNAM
lv_str = '(SAPLMEGUI)MEREQ3328-AFNAM'.
ASSIGN (LV_STR) TO <G>.
I hope this may helpfull.
Thank you,
Thanks,
AMS -
Hello!
I want to call a transaction-iview for transaction ME53N from my WebDynpro-application.
The application jumps to backend, but doesn't use the iView-parameters to show a special requisition.
The iView-parameters are: MEREQ_TOPLINE-BANFN_EXT='144141' and Prozess First Screen = YES.
With transaction ME53 it works fine.
Ideas?
Regards DennisHi,
In ME53 the field to enter the purchase request number was in the first screen. That's why you can pass the screen-field name & the value to display that purchase req.
But ME53N displays the last viewed purchase req. & the purchase req. number field on that page is read-only. Hence the old approach doesn't work.
In order to display a new purchase req. you would have to open the top-level menu "Purchase requisition"->"Other requisition". This would bring up a pop-up where you can enter the new number. You can't automate all that step by passing URL parameters.
Regards,
Satyajit. -
Hi
Does anyone know if there is a UserExit or Badi that i can use in order to change "Info Group" (In Pa0000), when executing pa48 ?
Thanks AmiHi Ami,
To find the badi's available for PA48 go to SE24 class CL_EXITHANDLER and double click on method GET_INSTANCE. In this method approximately line 28 there is "case sy-subrc." statement, this is directly after the call i.e. "call method cl_exithandler=>get_class_name_by_interface". Put a break-point here and then run PA48. Every time it hits a badi it will stop here, you can then have a look at the field content of variable EXIT_NAME and here you will find the name of the available BADIs.
Hope that helps.
Glen. -
Hi All,
IN the transaction ME53n(Purchase req display) in the Item overview, i have a Button DEFAULT VALUES.
Under Default values we have purchasing organization field. I need to customize the Purchasing Organization field help. It presently displays the pruchasing Organization description, i need the Puch Org name in the help. How do i do that?
I am stuck in this, not sure if it can be customized....pls help.
Thanks:
Siddharththe settings on the general data tab are for the ME21N item overview and detail views.
There is as well a setting that works system wide, not only for purchase orders.
For this click this coloured button for local layout (ALT+F12), then select Options in the context menu
you get a window with several tabs, goto the Expert tab and activate the show key box in the control section -
Enhancement for me53n through BADI
Hi Experts,
I need to check the Open order and closed order item in ME53N t-Code(PR) through Quantity and quantity order filed. Now the problem is Order Quantity value is exceeds than quantity.if Quantity value is equal to Order Quanity the order should be closed. If Quantity value is lesser than order quantity the order should be in open state.
Thanks
RajeshNot quite sure what you actually want to do here.
Do you want to "modify" an existing BADI or create a new one.
AFAIK there aren't any existing BADI's for ME53 so you'll have to create a new one --not too difficult so long as you follow the rules.
You will need some place also to call it from (a User / Screen exit / a user mod or whatever.)
Use code something like this.
*& Report Z_BADI_TEST
REPORT Z_BADI_TEST.
test call Badi from standard abap. (Only from rel 6.40 and above)
do the following
1) define the Badi (SE18). For Abap call test uncheck multiple use
and filter boxes
2) Implement the badi (SE19). Add any methods here in the implemntation
3) activate
4) define the standard class exithandler to the abap. This class is the "Badi caller
5) define an exit variable referring to your Badi Implementation interface
this interface will normally be something like ZIF_EX***************
You will see this in SE18/SE19.
6) Instantiate your instance of the badi (method call get_instance)
7) Now call any method(s) in the Badi.
class cl_exithandler definition load. "Declaration
data exit type ref to zif_ex__jimbotest. "Interface reference
data yes type c.
data: v_knvv type knvv. "Used in Fmod call in Badi methods
start-of-selection.
yes = ' '.
selection-screen begin of block b1.
parameters: r1 radiobutton group rad1,
r2 radiobutton group rad1,
r3 radiobutton group rad1.
selection-screen end of block b1.
parameters: p_kunnr type knvv-kunnr.
select single * into v_knvv
from knvv
where kunnr eq p_kunnr.
export v_knvv to memory id 'CUST6A'. "Save customer data for the function module
break-point 1.
call method cl_exithandler=>get_instance "Factory method call
exporting "Method
exit_name = 'Z_JIMBOTEST' "Name of your BADI
changing instance = exit.
if not exit is initial.
if r1 = 'X'.
call method exit->dispord "Add-In call
exporting kunnr = p_kunnr.
endif.
if r2 = 'X'.
call method exit->dispfakt.
endif.
if r3 = 'X'.
call method exit->dispmat.
endif.
endif.
Your badi will have different methods -- just check your quantities and if necessary close the order.
Ensure that when you call your Badi you have access to all the releveant data to close the order if required.
Cheers
Jimbo -
Userexit/badi for tcode MB1A
Hi,
I am currently looking for a userexit or BADI for transaction MB1A for me to modify/delete the accounting documents document created by this transaction.
Thanks!The below are the available user exits for MB1A.
MBCF0002 Customer function exit: Segment text in material doc. item
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_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
To check for the suitable badi, Go to transaction SE24 and give the Object type as CL_EXITHANDLER and click on Display button.
Double click on method GET_INSTANCE, put a break point on case statement.
Execute your transaction and look for variable EXIT_NAME at your scenario then It will show the available badi's.
Reward if it is useful.
Thanks,
Srinivas -
Hi Gurus,
We want to change the invoice date when we are doing MIRO.
Please suggest any UserEXIT or BADI where in we can change the invoice date when we are doing posting.
Thanx
RRcheck below exits
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice -
Userexit/BADI for FB60 - simulate button
Hi All,
I have a specific requirement in FB60. Need to know BADI or Userexit which gets triggered on Simulate Button.
Thanks in advance
RatnakarHi Ratnakar,
The best way to search for a BADI in a transaction is by putting a breakpoint in the class CL_EXITHANDLER (tcode SE24) in the "Get Instance" method.
go to SE24
enter classname as "CL_EXITHANDLER"
display
double-click on "get Instance" method.
Put a breakpoint.
Now run the 'Simulate' in FB60 and check for exit_name when program stops at breakpoint.,
Regards,
Vivek Kute. -
Userexit/BADI for MBST Tcode
Hi all,
Is there any userexit or BADI for Transaction MBST.
Pl help.
Regards,
Vamsi.hi,
I want know out of userexits listed in above thread, while saving which user exit will call.
iam trying putting breakpoint in all exits, but i am not getting any relevant exit.
while posting or saving Material document number for cancellation in MBST.
regards,
vamsi. -
BADI UserExit Required for Before transport Request is created
Hi Friends,
I have a problem in implementing :
We have two development client one for support and other for development.
Same object can be worked together in both client simultaneously that is causing lot of synchronization problem in both client.
Can any one suggest any BADI which i can use when creating Transport Request to check if the same object is locked in other client or not using the RFC.
Please provide if there is any solution to implement the same.Hi
Check the following BADI's
<b>
CTS_REQUEST_CHECK Request checks</b>
CTS_EXPORT_FEEDBACK Feedback after export of a transport request
CTS_IMPORT_FEEDBACK Feedback after import of transport requests
CTS_INT_REQUEST_CHCK Internal: Request Checks
CTS_TASKDOC_TEMPLATE Determine template for the task documentation
<b>Reward points for useful Answers</b>
Regards
Anji
Maybe you are looking for
-
I bought this iphone and it has a apple Id please help me bypass it thankyou
-
Relevance Engine in SAP CRM 7.0
Does SAP support or have Relevance Engine concept in SAP CRM 7.0 or any plans for SAP to build this process. Some brief on relevance engine (taken from Lead PAC ) How does the Relevance Engine Work? In a nutshell, at the core of the LeadPACu2122platf
-
Cluster Installation of Calendar Server-RedHat3 ES -JES2005Q4-Fatal error
Hello, I've installed messaging server and calendar server in cluster mode. Messaging server works well either calendar on the first node. On the second node Messaging server works (after shutting down the first node) but I didn't manage to start cal
-
Canon G7X camera raw files not recognised in Aperture?
I use Aperture 3.5 extensively and have updated to, I think, 6.07 which is the latest update pack but the RAW files are still not recognised in Aperture. Am I doing something wrong or any idea when aperture will be updated for this relatively new cam
-
ASM cache....
Hi, I want to understand what does ASM cache contains and for what purpose its used in ASM instance?I tried finding in docs but some how couldnt find it?ASM has all the other memory parameters than what does ASM cache does and how(if we can) change o