on 12-14-2007 10:34 AM
Hello,
We have the following problem (SRM 4.0, Extended Classic Scenario):
We have the requirement to check the account assignment when posting confirmation document for a purchase order.
We have implemented BADI BBP_DOC_CHECK_BADI:
When BUS2203 we call fm BBP_PD_CONF_GETDETAIL.
The problem occurs then the user only selects certain items for confirmation: The fm BBP_PD_CONF_GETDETAIL returns all items which can be confirmed (not only the selected items).
In other words, we don´t know how to identify which positions have been selected and which haven´t inside the BADI.
One discarded alternative was to delete the items the user don´t want to confirm, but it is an onerous task.
Any idea?
Thanks in advance and Regards.
Hi Rafael,
Have you looked inthe structure IT_ITEM in the badi, there is a filed called SELECTED. Is this field filled when you select the items you want to confirm?
This could help you identify them.
Hope this helps.
Regards,
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
In the structure IT_ITEM inside BBP_DOC_CHANGE_BADI for method BBP_CONF_CHANGE (Structure - BBP_PDS_CONF_ITEM_ICU , conatains a field called SELECTED.. which migh help) ...
Once you call function BBP_CONF_GET_DETAIL inside, the BBP_DOC_CHECK_BADI, this field must have 'X' value, which will help you identify all the selected entries... Hope so..
Let me know, incase you still face any problems...
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.