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: 

Need Help for ME23N Enhancement

former_member221486
Participant
0 Kudos

Hello Experts,

I did enhancement in SPRO under Material management for Z condition in table Purch.Org./Material/Plant/Model Yr/P12 (A932) for P12 condition.

I want to reflect that Newly added condition type like (ZWAR) in Pricing Element but user does not want manually. On click of update button user will choose the condition or criteria and accordingly that condition which added should reflect.

But for this i am not finding the exact enhancement point.

Please help or suggest me.

Thanks in advance.

1 ACCEPTED SOLUTION

VenkatRamesh_V
Active Contributor
0 Kudos

Hi,

Try,

BADI: ME_PROCESS_PO_CUST

METHOD IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM

DATA:lt_conditions TYPE mmpur_tkomv,

          ls_condition     TYPE  komv. 

im_item->get_conditions( IMPORTING ex_conditions = lt_conditions ).

LOOP AT  lt_conditions INTO ls_condition  WHERE  kposn = ls_mepoitem-ebelp AND

                                                        kschl = 'ZASS'.

ENDLOOP.

Hope it helpful,

Regards,

Venkat

3 REPLIES 3

VenkatRamesh_V
Active Contributor
0 Kudos

Hi,

Try,

BADI: ME_PROCESS_PO_CUST

METHOD IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM

DATA:lt_conditions TYPE mmpur_tkomv,

          ls_condition     TYPE  komv. 

im_item->get_conditions( IMPORTING ex_conditions = lt_conditions ).

LOOP AT  lt_conditions INTO ls_condition  WHERE  kposn = ls_mepoitem-ebelp AND

                                                        kschl = 'ZASS'.

ENDLOOP.

Hope it helpful,

Regards,

Venkat

0 Kudos

Thanks Venkat.

It works.:)

0 Kudos

Hi  read http://scn.sap.com/docs/DOC-18590

Be responsive. If an SCN member has answered your question, please mark the answer as "helpful” or “correct”. Mark the discussion as “answered,” so that other members can find the answers more easily.