Skip to Content
0
Former Member
Dec 11, 2009 at 02:34 PM

BBP_PD_PO_UPDATE - WF Approval

31 Views

Expert's.

I'm using BBP_PD_PO_UPDATE to update custom fields in shooping cart. This is working fine.

My problem is when i modify a "held" purchase order the approval workflow starts. I used the following code:

MOVE-CORRESPONDING is_po_header TO ls_po_header_u.

CALL FUNCTION 'BBP_PD_PO_UPDATE'

EXPORTING

i_header = ls_po_header_u

i_save = c_on

iv_with_change_approval = c_off

TABLES

i_item = lt_item_u

e_messages = lt_messages.

the parameter iv_with_change_approval should control this ? How can i stop the approval process to start in this cases?

Thanks in advance,

Mário Ricardo.