on 08-02-2011 3:01 PM
Hi ,
We need to determine purchasing group based on plant in SC item details tab.
Which badi we can use for the same.?
Regards,
Nilesh
Problem resolved,
We can get any item data field in badi input parameters itself.
Just enhance structure by that field at 2 palces and 1 implicite enhancement to pass it to badi.
Structures : BBPS_RESP_ITEM_DATA_BADI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nilesh,
Sorry for the late response.
You are right, i enhanced following two structures
And enhanced following program to populate the values in one of this structure.
LBBP_OMF03
Structure BBPS_RESP_ITEM_DATA_BADI is being used by BADI BBP_PGRP_FIND.
By adding two new fields in this structure Plant and Item GUID and populating the values in program LBBP_OMF03; i managed to set default Purchasing group based on plant.
When user changes the plant at the line item level; the re determination of Purchasing group from plant was done in BBP_DOC_CHANGE BADI.
Regards,
Ashish Shah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.