Skip to Content
avatar image
Former Member

User-Exit or Customer-Exit for ME21Transaction

Hi All,

i am working on purchase order release strategy.Version 4.7E

The requirement is 'without reference to purchase requestion(PR) Purchase Order should not be created.

I found out one badi-ME_PROCESS_PO_CUST and i have implemented it.

It is working fine for ME21N transaction.It Is fine.

But when i create PO through me21 it is not being triggered.

For that i found a function-exit EXIT_SAPMM06E_017and i have implemented it.

It giving a proper Message that ''without reference to purchase requestion(PR) Purchase Order should not be created.

Now the problem is The message is coming only after all item details are entered

in the PO.So the screen is being disabled.if i click on cancel button all details are lost.

Is it possible to show this message on first-screen itself.

Can any body tell me suitable user-exit OR Customer-EXIT for this.

Regards,

Prasanth

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 10, 2007 at 11:15 AM

    Please refer to below function exits :

    Exit Name SMOD name EXIT_SAPMM06E_012 MM06E005

    U can also have a look at the Badi ME_PURCHDOC_POSTED .

    Hope this info will help you... Reward points if info useful...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 11, 2007 at 03:05 AM

    Transaction Code - ME21N Create Purchase Order

    Exit Name Description

    AMPL0001 User subscreen for additional data on AMPL

    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

    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

    Add comment
    10|10000 characters needed characters exceeded