Hi Konstantin,
I tried doing this change in DOC CHANGE BADI, however DOC Change BADI does not populate values of PORG for all the line items.
I have found the solution to this problem:
1) Append GUID and BE_PLANT field in structures BBPS_OM_RESP_ITEM_DATA & BBPS_RESP_ITEM_DATA_BADI
2) Apply implicit enhancement to LBBP_OMF03 and fill these values
3) in BADI BBP_PGRP_FIND , assign PGRP based on item plant.
This took lots of time to find ... but the final solution now seems to be perfect.
Regards,
Ashish Shah