Skip to Content
0
Former Member
May 16, 2007 at 09:10 AM

Change PO in SRM by function module

640 Views

Hi,

I am looking for a way to change line items of PO (local Scenario) in SRM 5.0

For example, I have to set the final entry in line items.

I have tried to use the following FM:

1. BBP_PD_PO_GETDETAIL to get the data

afterwards

2. BBP_PD_PO_UPDATE to change the final entry sign

-> any idea, which import parameters have to been set?

  • I_PARK =

i_header =

i_save = '

  • IV_REJECT =

  • iv_with_change_approval =

-> in my case I get the export param changed = 'X'

Afterwards I call the FM

3. BBP_PD_PO_SAVE

-> sy-subrc 0

Then I checked the PO in the system and nothing is changed?!

Any idea how I can change PO items with several FM in an own Z-report?

Thanks in advance

Regards

Andreas