on 2009 Jun 03 9:19 PM
my question is that when i was looking at the badi, why is it necessary to call the FM get_detail ? Can i just look at the IT_item or IS_header and do the validations or updates accordingly ?
When a ready to use FM is available that provides information about all relevant tables why do you want to use manually by defining each data object? I do not understand your logic. Generally everybody looks for ready to use FM that will save their time and easy to use.
It is up to you whether to use FM or just look at individual data elements. If you get the details like that then do not use FM. Its all your convenience.
Reagrds,
Jagadish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you may use the BAdI's importing parameter IT_ITEM to get the PO item details.
No need to retrieve these details using the BBP_PD_PO_GETDETAIL function module.
But if there are needed PO details that are not found in the importing parameters of the BAdI, then use this function module BBP_PD_PO_GETDETAIL to retrieve those details.
Regards,
Kezia
You will find that sometimes parameters are not filled in the importing structures of some BADIS. This is because of performance reasons in SRM. So you might sometimes get odd behaviour when you exclusively use the importing parameters.
This is especially notable in the item overview/item details sections where the doc_change and doc_check badis are called.
That's why I sometimes prefer the use of the GET_DETAIL FM so I am sure that I have my data available.
Regards,
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.