cancel
Showing results for 
Search instead for 
Did you mean: 

PO held : BBP_DOC_CHANGE_BADI implementation enhanced with BUS2201 filter

Former Member
0 Kudos

Hello All,

I am facing an strange issue with SRM Local POs while using the BADI : BBP_DOC_CHANGE_BADI for Local POs. We are using SRM 5.0 version with extended classic scenario and the service POs are created directly when the SC is completely approved i.e. without the 'Sourcing Cockpit' step.

The BBP_DOC_CHANGE_BADI implementation needs to be enhanced with BUS2201 filter for introducing custom changes in the SRM Local PO. This implementation is currently active in the system with other filters.

However, whenever the implementation is enhanced with the BUS2201 filter, after ordering the service SC the SRM PO goes strangely in the held status ! If the filter is removed, the SRM POs are created successfully without going in held status.

On checking the PO in the SRM Portal the error thrown is "Select a location to which a plant has been assigned" and when checked on the BBP_PD it is found that the Partners data is altogether missing on the SRM PO!!

What could be the possible resolution for this issue? What could be done to get the BADI implmentation working with BUS2201 filter activated ?

Any pointers/suggestions/comments towards this direction are more than welcome!

Best Regards.

Khaja.

Edited by: Moulail Shaik on Nov 28, 2011 5:44 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Few pointers -

1. Check the badi implementation -some logic needs to be corrected because of which location data is not getting picked.

2. Check PPOMA , extended attributes of the user if the plant is maintained

Regards

Ashish

Former Member
0 Kudos

Hi All,

I debugged the BADI implementation method - "IF_EX_BBP_DOC_CHANGE_BADI~BBP_PO_CHANGE" and found in there that IT_PARTNER table is empty and so is the ET_PARTNER table !

Any idea why should the IT_PARTNERS table be emptly in the BADI implementation ?

Please let me know if you have any additional suggestions/pointers/comments in this direction.

@Akash : The locations are already assigned in the PPOMA - Extended attributes of the user.

Best Regards,

Khaja

Former Member
0 Kudos

Hello

If you have implemented BADI BBP_DOC_CHANGE_BADI then make sure that any Changes to Header , Item or partner etc are placed in ET* parameters else it wont be reflected.

Secondly if your IT_PARTNER is not filled which you checked in Debugging mode. Q. Does the SC has partners assigned to it.

Any change in the SC will call the BADI and will fill the corresponding parameters. That means the BADI implementation is called many times.

Regards.

Surender

Former Member
0 Kudos

Hi Surinder,

The BADI implementation method "IF_EX_BBP_DOC_CHANGE_BADI~BBP_PO_CHANGE" is blank, having no code at all, still the PO goes in held status !!

The SC has the partners assigned.

Best Regards,

Khaja.

Former Member
0 Kudos

If the implementation is active , deactivate it if is not used for any purpose. Else move all IT_ITEMS, IS_HEADER into exporting parameter ET_ITEMS , ES_HEADER in the BADI implementation etc.

Pls. Check.

Regards,

Surender

Former Member
0 Kudos

Hi Surinder,

As indicated in my first message posted(quoted below again), the implementation for BUS2201 is required for an custom change in local PO :

  • "The BBP_DOC_CHANGE_BADI implementation needs to be enhanced with BUS2201 filter for introducing custom changes in the SRM Local PO. This implementation is currently active in the system with other filters." *

The BBP_DOC_CHANGE_BADI implentation filter BUS2201 is required to be activated and implemented with an custom code in the method : "IF_EX_BBP_DOC_CHANGE_BADI~BBP_PO_CHANGE" in order to manipulate the local POs when created/changed !

Please give suggestions/pointers to get the filter BUS2201 working in the BADI implementation.

Hi All,

Any clues please ?

Best Regards,

Khaja.

Former Member
0 Kudos

hi,

make sure that ET_PARTNER is populated or you may just move the corresponding fields of IT_PARTNER to ET_PARTNER when there are no changes for Partners.

regards.