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: 

BADI for Purchase Order

Former Member
0 Kudos

Hi,Friends

I Want to Implement BADI , Which is already available in SAP.

The Path for BADI is given below.

SPRO->SAP Reference IMG->Materials Management->Purchasing->Business Add-Ins for Purchasing

Name of BADI

1 Control of Pricing Type: Additional Fields : ME_DEFINE_CALCTYPE

2.Run Through Items Again in the Event of Changes in EKKO : ME_CHECK_ALL_ITEMS

This enhancement is about Transaction Code ME23N for creating Purchase Order.

I am not getting what exactly this BADI does?

while creating purchase order and Price determination process ,When i define Incoterms at Header level i want to change condition type for Item Level according to our requirement.

my problem is that , i don't have parameters to pass condition types.

can anybody tell me the solution?

3 REPLIES 3

Former Member
0 Kudos

hi archana,

I hope ME_PROCESS_PO_CUST badi will work for your requirement . In that badi PROCESS_ITEM method you can use to update the condition type by using a method SET_CONDITIONS.

thanks and regards

rajkumar abbu

0 Kudos

thnx.. rajkumar , i will check out & let you know.

0 Kudos

Hi archana,

actually i want to use the same BAdi and method (PROCESS_ITEM).

Question: did you use parameter GET_HEADER of method PROCESS_ITEM ?

my problem: i want to read BSART from MEPOHEADER-data and according to result i want check MEPOITEM-data (here: WEPOS)

ls_mepoitem = im_item->get_data( )

works, but i did not find out how to use

...->get_header( )

If you used it, can you paste© your source code ???

Thanx a lot !

Jörg

P.S. it's my first BAdI

-- no more help needed ! Problem solved by adding own post!!! ---

Message was edited by: Jörg Sauterleute