Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to create a filter on BAPI

Former Member
0 Likes
2,051

We have got a requirement where we are passing bank data using BANK_SAVEREPLICA.

Now the issue is that we need to put a filter for one particular country code ( the particular value say 'IND' could be excluded from the list of country codes within the BD64 Distribution model).

On eparticular country code we donot want to get communicated between the systems so need to filter data.

We tried TCODE bd95, bd96 but still missing some step and unable to reach any conclusions on this issue.

need response urgently

We have got a requirement where we are passing bank data using BANK_SAVEREPLICA.

Now the issue is that we need to put a filter for one particular country code ( the particular value say 'IND' could be excluded from the list of country codes within the BD64 Distribution model).

On eparticular country code we donot want to get communicated between the systems so need to filter data.

We tried TCODE bd95, bd96 but still missing some step and unable to reach any conclusions on this issue.

need response urgently

5 REPLIES 5
Read only

brad_bohn
Active Contributor
0 Likes
1,293

How are you triggering the data distribution? If you're using change pointers, there is a BADI for filtering the records, BDCP_BEFORE_WRITE. See the documentation in SALE for more info.

Read only

Former Member
0 Likes
1,293

Its already maintained .they have used standard object in BD64.

there i need to create a filter on BANK_SAVEREPLICA

But the issue is i am able to create a new model view then can create a filter on that but for standard existing items in distribution model i have no idea how to edit those.

Read only

roberto_vacca2
Active Contributor
0 Likes
1,293

Hi..

Have you tried to use enhancement within standard? I think you should use them.

If you give me more details about your BAPI I could help you..

Hope to help..

Read only

0 Likes
1,293

The active model view is maintained in different system and is distributed in my system say, ABC...

Now we are sending data from abc to xyz.

its using object :Bank and method SaveReplica.

Now i need to put filter on bank country key.....

now the question is :

1) can we maintain duplicated model views in system abc.

2). If i create a model view in system abc and create a filter on BANK_SAVEREPLICA it will be active for all the systems to which we are sending data or it will be active for only the system (i will mention in model view )

Read only

Former Member
0 Likes
1,293

Hi,

How to create a filter on BAPI

Try this link,

http://www.sap-img.com/abap/bapi-step-by-step-guidance.htm

It will helps to you.

Regards,

Sekhar