Hi Experts
I have a peculiar requirement.
I have to replicate vendors from backend using BBPGETVD. In my backend there is only 1 P. org.
I was earlier using the BAdi BBP_TRANSDATA_PREP for replicating certain vendors based a particular logic.
Now my functional has asked me to extend these vendors to a second(can be more) P. org from a ZTABLE.
When I tried adding the second P.org in table CT_LFM1 of the BAdi I faced this issue:
After the BAdi is finished I'm taken to FM BBP_VENDOR_GET_NON_BAPI. In this FM the entries of CT_LFM1 are verified from an internal table which contains the P.org of backend(populated using FM BBP_OM_FIND_PURCH_ORGS_EXT). So the entry that I have added in the BAdi is rejected.
I couldn't find any enhancement points in this FM.
Is there any other way by which I can modify this internal table?
Please help me out. I have to complete this requirement as soon as possible.
Points will be rewarded.
Thanks