Skip to Content
author's profile photo Former Member
Former Member

using enhancments MM06E005 TO modify detail line ME21N

user request is to have a part number COO which when enter will look at the propertys of the

detail line above it and populate plant and qty fields in addition we don't want to have invoice receipt

and product is to be priced as free or no additional cost.

i have been using MM06E005 to attempt this but it does not look like EKPO items can be updated

using this method can someone please advice of a better user exit for po's TRANSACTION ME21N

if ( tekpo-matnr = 'COO' ).

tekpo-matnr = 'Certificate of Origin'.

tekpo-MEINS = 'EA'.

tekpo-WERKS = '1000'.

tekpo-NETPR = '0.00'.

tekpo-PEINH ='1'.

tekpo-MENGE = 1.

tekpo-REPOS = ' '.

modify tekpo.

endif.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Aug 21, 2008 at 02:50 PM

    Hi

    You can update the line items using the exit EXIT_SAPMM06E_018.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Can you please let me know using MM06E05 how can i add custom fields (Add customer own tap/field : PO No, PO Item No, SO No, SO Item No) for t-code ME23N.

      This is first time i'm working on this type of issue.

      Thanks!

  • author's profile photo Former Member
    Former Member
    Posted on Aug 21, 2008 at 02:55 PM

    Try BADI: ME_PROCESS_PO_CUST.

    METHOD: PROCESS_ITEM.

    CALL METHOD im_item->get_data
    RECEIVING
    re_data = v_data_item.
    
    "Your logic here
    
    CALL METHOD im_item->set_data( v_data_item ).
    
    

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Can you please let me know using MM06E05 how can i add custom fields (Add customer own tap/field : PO No, PO Item No, SO No, SO Item No) for t-code ME23N.

      This is first time i'm working on this type of issue.

      Thanks!

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2010 at 03:50 PM

    found answer on my own

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2010 at 04:04 PM

    was trying to get rid of question but cannot so i reset to un answered

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.