Skip to Content

Uncheck Origin of Accept check box in PO

Hi All,

I am facing one issue while creating and Changing PO (ME21N/ME22N) , In HEADER there is one tab named PARTNERS.

user is entering partners into it ex-VN,f1,f2,f3.

and there is one check box origin of accept in ITEM DETAILS->DELIVERY tab.

Requirement is to uncheck that check box if partner is either f1 , f2 or f3.

I have written code in BADI ME_PROCESS_PO_CUST->POST method to uncheck it by following steps:

1. Read partners by FM MM_READ_PARTNERS

2. Read output table and check if lt_xekpa-parvw = 'F1' or 'F2' 'F3'.

then EKPO-WEORA = ' '.

I am able to do this while changing the PO (ME22N) but same functionality is not working while creation of PO.

Please help.

Thanks,

Arpita


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 15, 2015 at 07:29 AM

    Solved..

    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.