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: 

PO keeps return to method set_conditions in PROCESS_ITEM for BADI ME_PROCES

Former Member
0 Kudos

Hi all,

after checking the PO, in METHOD if_ex_me_process_po_cust~process_item, i have coded method set_conditions , but it makes the system keeps coming back to this particular method. is there any ways to stop the system keeps coming back to this method after set_conditions.

1 REPLY 1

Former Member
0 Kudos

Hi,

It would be best if you leave the system to trigger the badi at various stages of the transaction , mainly because the condition data is recalcualted every time its accessed in the transaction, so if you restrict to get triggerred only once (somehow), then the conditions will get redetermined and the value that you have set through the badi will not get reflected instead the values that are determined through the condition records will get set.

So dont bother bout putting a restriction on the execution of your code in the implementation.