on 07-22-2014 6:21 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.