Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Uncheck Origin of Accept check box in PO

arpita_churi3
Active Participant
0 Kudos

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


1 ACCEPTED SOLUTION

arpita_churi3
Active Participant
0 Kudos

Solved..

1 REPLY 1

arpita_churi3
Active Participant
0 Kudos

Solved..