10-21-2007 9:14 AM
Hi..
what is the exit that checks before saving the pruchase requisition.
my requirement is to generate own PR number on creation or modification of PR,
The number will update in seperate ztable and that number should be passed to quatation reference field.
EXIT_SAPMM06B_001 is this right.
kindy provide me with some solutions.
thanks
10-22-2007 5:46 AM
Hi ,
In the function exit EXIT_SAPMM06B_001 u can define ur own number range but the saving the data to z table can be done while saving the document , for this have a look at the following BADI "ME_REQ_POSTED".
Hope this will solve your issue to an extent. Reward points if found useful:)
10-22-2007 3:55 AM
Transaction Code - ME21N Create Purchase Order
Exit Name Description
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
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., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
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 PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
No of Exits: 35
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
10-22-2007 5:46 AM
Hi ,
In the function exit EXIT_SAPMM06B_001 u can define ur own number range but the saving the data to z table can be done while saving the document , for this have a look at the following BADI "ME_REQ_POSTED".
Hope this will solve your issue to an extent. Reward points if found useful:)
10-22-2007 2:31 PM
Hi malhotra,
thans for reply, my requirement is to generate seperate 10 char number for every creation or change of PR and that number should be updated in ztable and also that number should displayed in same PR (screen exit).
hope u understood the requirement.. kindly help
Message was edited by:
sap abap
10-23-2007 7:02 AM
Hii SAP,
These r the exits which wiill b used
EXIT_SAPLMEREQ_001
EXIT_SAPLMEREQ_002
EXIT_SAPLMEREQ_003
EXIT_SAPLMEREQ_004
EXIT_SAPLMEREQ_005
EXIT_SAPLMEREQ_006
EXIT_SAPLMEREQ_007
EXIT_SAPLMEREQ_008
EXIT_SAPLMEREQ_009
EXIT_SAPLMEREQ_010
While Going Into the ME52N transaction.,.,
EXIT_SAPLMEREQ_007
EXIT_SAPLMEREQ_001 will be called
While ssaving any Data in ME51N/ME52N.,.,the exits.,.
EXIT_SAPLMEREQ_002
EXIT_SAPLMEREQ_003
EXIT_SAPLMEREQ_005
EXIT_SAPLMEREQ_010
EXIT_SAPLMEREQ_008
EXIT_SAPLMEREQ_006
EXIT_SAPLMEREQ_001
will get triggerd ,.,.,and in tht order.,.,
Try using EXIT_SAPLMEREQ_003 it will solve ur purpose.
and one more thing.,.,
Here u'l find EXIT_SAPLMEREQ_006 which is unique exit.,.,which is not called in any other case.,.,like Toggle.,.,or cancel.,.,or nythng.,.,and only called in case of save.,.,u can use it also.,.,bt i'l suggest 2 use EXIT_SAPLMEREQ_003
Try using that
Regards
Debasish
Rewards if helpful
10-24-2007 7:05 AM
hI..
Thnks for reply... but first im searching in ME51 can u give me the exits which will trigger before save so i can pass field value to standard field. eban-afnam here i have to pass the value
screen sapmm06B.
no. 0102
kindly reply
thanks