Need exit for ME51N G/L account number automatically populated
Hi ,
i have the issue with Enhancement.
<b>The requirement is in the tcode ME51N or ME52N .</b> They will enter maerial and Qty ,Plant, Purchase group.
i need to get G/L account number with respect to Purchase group automatically.
pls do the need ful if u know the procedure...
regards
devi
Transaction Code - ME51N Create Purchase Requisition
Exit Name Description
MEREQ001 Customers' Own Data in Purchase Requisition
No of Exits: 1
Transaction Code - ME52N Change Purchase Requisition
Exit Name Description
MEREQ001 Customers' Own Data in Purchase Requisition
No of Exits: 1
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Exits are basically the hooks whcih SAP has provided to add your own code. There are two types of Exits:
1. Customer exits: Implemented as Function Modules within z includes. Anybody can change it and no access key is required.
2. User Exit: Implemented as subroutines within includes (any include except y or z includes). You need access for the specific include and then you can any subroutine (user exit) within that Include.
BADIs are the enhanced version of user exits where the same logic is implemented via classes and object (OOP)
Enchancement point is the latest once introduces with ECC6.0 . Not very sure about that but you can change it without any access key.
Please go through the following link which will help you understand the exits in a much better way:
http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/content.htm
http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm
http://sap.niraj.tripod.com/id21.html
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
http://www.sap-img.com/ab038.htm
User Exits.
http://www.erpgenie.com/sap/abap/code/abap26.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
customer exits
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
Menu Exit.
http://www.sappoint.com/abap/spmp.pdf
http://www.sappoint.com/abap/userexit.pdf
http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
http://www.sapdevelopment.co.uk/enhance/enhanceh
Rewards if useful.........
Minal
Similar Messages
-
Screen Exit for ME51N and ME52N ??
Hi all,
I have to replace the standard Field "Requisitioner" in the CONTACT Tab with a Z table field with Search help and I have to make it mandatory, so that the user MUST enter the Requisitioner and its F4 help can be used from the Z Table field.
For this i need to modify standard program's screen using screen exit.
How can i meet the requirement?
Any sugegstions are welcomed...Helpful answers will be rewarded for sure..
Thanks in advance,
Regards,
TejasCheck the threads -
User Exit or BADI for ME21N or ME51N
ME51N user exit
Screen Exit for ME51N
Regards,
Amit -
Need BAPI for Parking G/L Account
Hi All,
I need BAPI for Parking G/L account document.
Please let me know.
Regards
R.Ragu
Useful Answers will be rewarded.Hi Ragu.
Try these:
BAPI_GL_ACC_EXISTENCECHECK
BAPI_GL_ACC_GETDETAIL
BAPI_GL_ACC_GETLIST
For further details GoTo->Transaction BAPI->Alphabetical->General Ledger Account.
Good Luck & Regards
Harsh
Edited by: Harsh Dave on Jul 11, 2008 10:14 AM -
User Exit for Changing G/L account in Accounting Document
hi all,
This one is urgent for me. If you guys can help.
Iam looking for a user-exit to change the G/L account while posting the accounting document.
If someone has worked on a similar user-exit Kindly help.
Thanks and Regards
VarunHi Experts,
The requirement is to change the GL account when PGI is done for a delivery.
I have coded in the above user exit for changing the GL account. I am facing the issue here.
I am changing the GL account through a user exit, but even before the user exit is called the standard SAP is throwing a error.
the Error is GL account is blocked for posting in the company code. This check is happening for the GL account what standard SAP proposes from the customization. The GL account that is getting picked is blocked in SPRO for posting in the mentioned company code. Because of the error message, our z code is not getting executed.
Kindly suggest if some user exits that can be used even before this error message. or let me know if you have any suggestions to over come this.
I have coded this in the enhancement point. Include MM07MFK0_KONTIERUNG_PRUEFEN and subroutine kontierung_pruefen.
Thanks, -
Screen exit for ME51N in header
Hi friends,
Is there any screen exit for ME51N(Purchase requisition) in header level.I found MEREQ001 enhancement, but this is for item level.please help.
regards,
Thoufique.Hi Thoufique,
try the following screen exits:
EXIT_SAPLMEREQ_001 Export Data to Customer Subscreen for Re
EXIT_SAPLMEREQ_002 Prepare Customer Subscreen for Requisiti
EXIT_SAPLMEREQ_003 Import Data from Customer Subscreen for
Also, for more help on your problem, refer to the following link:
Re: re: screen exits
Hope this will help you... -
Need API for EAM Active Association - Asset number and Asset Group
Hi
I am working in R12 and need api for EAM Active Association - Asset number and Asset Group to insert the new records.
If any one is aware please let me know API with sample script.
Regards
Suresh PAll APIs are listed in Oracle Integration Repository
http://irep.oracle.com/index.html
API User Notes - HTML Format [ID 236937.1]
R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
Technical Uses of Customer Interface and TCA-API [ID 269121.1]
Pelase also check below:
Api's in EBS
Re: Api's in EBS
http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
API
Fixed Asset API
List of API
Re: List of APIs
Oracle Common Application Components API Reference Guide
download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
List of APIs and open interface R12
Re: List of APIs and open interface R12
Regard
Helios -
SAP Standard Exits for ME51n/52n/53n
Hi Friends,
Please tell me is there any SAP standard Exits for Purchase requisition Me51n/me52n/me53n..
Thanks in Advance..........
Ravihi
this are
following enhancements that u can use
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requi
M06E0004 Changes to communication structure for release purch. d
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., previe
MEFLD004 Determine earliest delivery date f. check w. GR (only P
MELAB001 Gen. forecast delivery schedules: Transfer schedule imp
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery toler
MM06E001 User exits for EDI inbound and outbound purchasing docu
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into P
MM06E008 Monitoring of contr. target value in case of release or
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MM06E011 Activate PReq Block
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound proces
MMAL0004 ALE purchasing info record distribution: Inbound proces
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
welli mstill searching for that particular enhancement for ur requirment if i found i will let u know
this the enhancement that u can use
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
in this
u can use the following componets
EXIT_SAPLMEQUERY_001
EXIT_SAPLMEQUERY_002
also there is one more
MM06E005 Customer fields in purchasing document
Cheers
Snehi
Edited by: snehi chouhan on Jul 31, 2008 1:32 PM -
ME21N -- User Exit to assign G/L Account number
Hi All,
The requirement is to assign G/L account number (EKKN-SAKTO) based on vendor account group, material type and account assignment category. I have tried with some user exits and unfortunately i was not succeeded in finding out the correct one.
I request you to provide me the user exit/enhancement name or BADI name that I can use to assign the G/L account number.
Thanks & Best Regards,
Kumar.Create the field exit on field SAKTO.
and write the below code in the field exit.
DATA: i_dynpread TYPE STANDARD TABLE OF dynpread WITH HEADER LINE.
DATA: V_SAKTO TYPE EKKN-SAKTO.
i_dynpread-FIELDNAME = '<Screen field name for Account assignment category>'.
append i_dynpread.
clear: i_dynpread.
i_dynpread-FIELDNAME = '<Screen field name for Material Type>'.
append i_dynpread.
clear: i_dynpread.
i_dynpread-FIELDNAME = '<Screen field name for Vendor Account Group>'.
append i_dynpread.
clear: i_dynpread.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = '<Screen name>'
DYNUMB = '<Number>'
TABLES
DYNPFIELDS = i_dynpread.
IF SY-SUBRC = 0.
loop at i_dynpread.
<Write the select statement logic to retrieve EKKN-SAKTO based on the other field values which will be available in the internal table I_DYNPREAD and put the value into the variable V_SAKTO.>
IF SY-SUBRC = 0.
output = V_SAKTO.
ENDIF.
endloop.
ENDIF.
Hope it helps.
Reward if it is useful.
Thanks,
Srinivas -
SOS: Exit for ME51n/ ME52n/ ME53n/
hello erverybody,
at First i would like to implement the exit mm06e007 but i have no idea how to do it!!
have someone an example, coding or Tips,... ??
Second Problem :
how can I Overwrite the <u>Tapstrips name</u> using exit MEREQ001 ??
please i need a help!!
best regard
dani.Exits are basically the hooks whcih SAP has provided to add your own code. There are two types of Exits:
1. Customer exits: Implemented as Function Modules within z includes. Anybody can change it and no access key is required.
2. User Exit: Implemented as subroutines within includes (any include except y or z includes). You need access for the specific include and then you can any subroutine (user exit) within that Include.
BADIs are the enhanced version of user exits where the same logic is implemented via classes and object (OOP)
Enchancement point is the latest once introduces with ECC6.0 . Not very sure about that but you can change it without any access key.
Please go through the following link which will help you understand the exits in a much better way:
http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/content.htm
http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm
http://sap.niraj.tripod.com/id21.html
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
http://www.sap-img.com/ab038.htm
User Exits.
http://www.erpgenie.com/sap/abap/code/abap26.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
customer exits
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
Menu Exit.
http://www.sappoint.com/abap/spmp.pdf
http://www.sappoint.com/abap/userexit.pdf
http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
http://www.sapdevelopment.co.uk/enhance/enhancehome.htm
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal -
Exit for ME51n - ABAP OO coding
Hi,
I am writing a BADI for ME51n - ME_REQ_POSTED.
In that i want to restrict the account assignment category either A or K. but i am not able to write a coding as i am not good enough in OO.
field name is KNTTP.
how to do it?
Thanks.I've done the same thing but for PO creation(ME21N) through BADi ME_PURCHDOC_POSTED.
You may want to do same thing like below:
DATA:re_ekpo LIKE LINE OF im_ekpo.
data:tabix type sy-index value '1'.
*BREAK-POINT.
READ TABLE im_ekpo INTO re_ekpo INDEX tabix.
tabix = tabix + 1.
"Check for account assignment cat only for "A" and "L".
if re_ekpo-KNTTP = 'L' or re_ekpo-KNTTP = 'A'.
GET PARAMETER ID 'KNT' FIELD re_ekpo-KNTTP.
IF sy-subrc ne 0.
MESSAGE 'You are not aurthorized to use Account Assignment Category (Logit)L!!' TYPE 'E'.
ENDIF.
ENDIF.
Finally assign "KNT" in parameters tab from SU01 for those users who actually want to use Account Assignment Category A and L(In my case)
Cheers,
Amit. -
User exit for sale order material serial number change
I am looking for User exit for changing the serial number for the saleorder material va01.
Hey,
Check the include program : MV45AFZZ. it will trigger at the of saving the sale order.
IF SY-TCODE EQ 'VA02' OR SY-TCODE EQ 'VA01'.
Endif.
Note : Write your coding inside the IF clause to avoid affecting the other transaction codes.
Regards,
Saravanan M -
HI ,
EVERYBODY
I AM DOING SCREEN EXIT FOR TCODE ME51N, ENHANCEMENT (MEREQ001) EXIT SAPLMEGUI , I HAVE ADDED TWO FIELDS
VALIDITY START DATE AND VALIDITY END DATE.
I HAVE CONFUSION ABOUT HOW TO EXPORT DATA ENTERED IN SUBSCREEN.
PLS HELP ME ..........
THANKS & REGARDS
SANJEEVhi,
EXIT_SAPLMEREQ_001 -
Export Data to Customer Subscreen for Requisition (PBO)
*sample code write in the corresponding include
DATA: ls_mereq_item TYPE mereq_item.
clear eban values if no PReq item
IF im_req_item IS INITIAL.
CLEAR: *eban,
eban.
ELSE.
read item data from system
ls_mereq_item = im_req_item->get_data( ).
fill customer field with old values
eban-zflag = ls_mereq_item-zflag.
*eban-zflag = ls_mereq_item-zflag.
ENDIF.
Read and store activity type to chnge the field status
of the subscreen
IF NOT im_req_item IS INITIAL.
gf_aktyp = im_req_item->GET_ACTIVITY( ).
endif.
EXIT_SAPLMEREQ_003 Import Data from Customer Subscreen for Requisition
data: ls_mereq_item type mereq_item.
*get values if PReq item exists
if not im_req_item is initial.
*read item data from system
ls_mereq_item = im_req_item->get_data( ).
*if customer field changed
if eban-zflag ne *eban-zflag.
*fill field with new value
ls_mereq_item-zflag = eban-zflag.
*set new item data to system
call method im_req_item->set_data( ls_mereq_item ).
*tell the system that there has something changed on the customer tab
EX_CHANGED = 'X'.
endif.
endif.
cheers,
sasi -
Need Exit for transaction ME22
Hi
How to disable quantity and price text boxes,
in ME22 transaction for the line items, based
on some condition, not for all PO's
Regards,
Abhimanyu.L
Message was edited by: abhimanyu lagishettiHello Subhash,
Check out hte program .
This will give the Exits for all the TCodes...
=====
*& Report ZFIND_UEXITS *
report zfind_uexits no standard page heading..
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.
========
Message was edited by: Sachin123 -
BADI or USER EXIT for MIGO when changing order number
Hi experts, I'm looking for a BADI or USER EXIT in Tx. MIGO that is triggered after pushing ENTER when you change the order number. What I need to do is to propose the movement type depending on the order data. Thanks.
Not sure but you can try in BADi MB_DOCUMENT_BADI menthod:
MB_DOCUMENT_UPDATE -
User Exit for ME51N Transaction
Hi folks,
I have a requirement regarding ME51N Tocde. If the user enters the internal order number in ME51N, while creating Purchase Requisition, the corresponding cost center should be displayed in the cost center field by default. I have found one user exit which will be useful for this. I wrote the code and feteched the Cost Center value in the exit EXIT_SAPLMEREQ_005. But i dont field any paramet for sending the Cost center value here. Could any body suggest me how to proceed now...How can i display the cost center value, using this Exit....
Thanks in advance,
Shyam.Hi Shyam,
You can find the user exit using the following method:
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 ML81N.
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.
Hope this solves your query.
Regards,
Saumya
Maybe you are looking for
-
My apple id and password doe not work on icloud
My apple id and password works fine on everything else i do!!!! but it wont let me sign into i cloud!!!!! very ****** off!!! please help
-
Hope someone can help. I've used the digital signatures tool under Tools/Forms menu to add sgnature fields for our firm and our clients to sign. What I want is to be able to lock those signatures once they are signed. I have gone to the Properties of
-
LUMIA 520 MUSIC APP FAILING TO UPDATE
Can anyone please assist me on getting my Lumia 520 music app update itself on wifi. For a long time now it always gives an error message. Other apps are updating whenever there is a new update.
-
What is "Analog Output - Built-in Audio"?
Hi, In Gnome System Settings -> Sound there are three pulse sinks: HDMI (Built-in Audio), Speakers (Built-in Audio), and Analog Audio (Built-in Audio). When I plug-in headphones into the laptop, "Speakers" change to "Headphones". The behavior is what
-
Characters[] length issue...
Hi Folks, When using this method in my SAXParser: public void characters(char characters[], int start, int length)..the XML file that has been parsed is not quite being read correctly as the final length of 'characters[]' is always 2048. Is there any