‎2005 Nov 16 9:19 AM
Hi,
I would like to have a filter assigned to a BAPI (AcctngEmplyeeExpnses for example). Firstable I tried to create a new filter base on REF_DOC_NO by BD95 and BD96. But when the Bapi is executed, I have an error because this filter is not authorized for this Bapi.
how can I know the authorized filter for a BAPI ?
Thanks a lot for your help.
‎2005 Nov 16 10:20 AM
‎2005 Nov 16 10:35 AM
Hi Pascal,
First of all have u created a model view for ur BAPI in BD64?? If not create model view in BD64 and add ur BAPI to that. Try this and check out.
Regards,
savitha
‎2005 Nov 16 11:06 AM
hi,
I speak about BAPI.
I have a model wiew (bd64) with the message HRPAYP and some BAPI like AcctngEmplyeeExpnses.Check and Post.
The problem is, in the same model wiew, i would like to have two message HRPAYP, one to post in the system XX and one to post in an other system. I think it's possible but it's necessary to use filter to define wich message is used. I can't used the company code as filter.
Thanks
‎2005 Nov 16 12:19 PM
Hi pascal,
Use this function module ALE_BAPI_GET_FILTEROBJECTS for knowing the SAP defined filter objects for the BAPI .
<b>Input Parameters:</b>
Parameter Reference Field/Structure Description
OBJECT BDI_BAPI-OBJECT BOR object of the BAPI
METHOD BDI_BAPI-METHOD BOR method of the BAPI
RECEIVER_INPUT BDI_LOGSYS Default logical receiving system
<b>Output Parameters:</b>
Parameter Reference Field/Structure Description
FILTEROBJECTS BDI_FLTTYP Filter objects and values
<b>Exceptions</b>
Parameter Description
ERROR_IN_ALE_CUSTOMIZING Error in ALE Customizing
Hope this is useful.
‎2005 Nov 16 1:25 PM
Hi Savitha,
Thanks for your answer, I try the function, but this function give me the result of BD96 and i can put all the field i want in this transaction.