cancel
Showing results for 
Search instead for 
Did you mean: 

SRM PO update for an ECC External requirement

Former Member
0 Kudos

Hi Experts,

We have a scenario in SRM where external requirements PR from ECC flow to SRM and creates a SRM SC, we have enabled SRM SC workflow in our system where user can edit the SC and after an approval PO is created by buyer.Once the PO is created by buyer , buyer makes some changes in PO like editing the price or adding the new line item. But these changes are not getting reflected to the ECC PO, SRM PO status is Ordered but PO is not getting updated in ECC.

I have checked all the Batch jobs and there is no issue in it.Please suggest how we can avoid this issue.

Thanks,

Ankur

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Which scenario and SRM system are you using ..? What kind of workflow r u using ?

Did you activated version control for the purchasing document ? Workflow is getting triggerred for the normal SRM PO changes ?

Check whether you've included PO transaction type in the Work flow change BADI & Check for the below coding.

If we are changing an active version then we have to first create a change version guid. This guid will be used as 'parent guid' for all the items that we are going to change or new items that we are going to add

ls_header_p-object_type = 'BUS2201'.


    CALL FUNCTION 'BBP_PROCDOC_UPDATE'

      EXPORTING

        iv_create_change_version = 'X'

        i_header                = ls_header_p

      IMPORTING

        es_header                = ls_header_new_p

      TABLES

        e_messages              = lt_pd_messages

      CHANGING

        e_changed                = lv_changed.


*Move the new change version guid to header data

    ls_header_u-guid = ls_header_new_p-guid.


endif.