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

BAPI to create rebate agreements

Former Member
0 Likes
2,782

Hi,

Does anyone know any BAPI or function module that can be used to create vendor rebates ( rebate agreements ) that proceeds like they were entered in transaction MEB1 ?

Thanks in advance,

Paulo Sousa

Hi,

Does anyone know any BAPI or function module that can be used to create vendor rebates ( rebate agreements ) that proceeds like they were entered in transaction MEB1 ?

Thanks in advance,

Paulo Sousa

5 REPLIES 5
Read only

Former Member
0 Likes
1,695

Hello,

Does anybody have any idea of how to do it ?

Instead of call one BAPI or function module, it can be call a sequence of several function modules.

Thanks,

Paulo Sousa

Read only

0 Likes
1,695

Hi,

If anyone is interested, thid can be done with function module MM_ARRANG_NEW_ARRANG_INSERT.

Kind regards,

Paulo Sousa

Read only

0 Likes
1,695

Hello Paulo,

Your message was really helpful. But I'd like to know how you created conditions too. I have used the same function module but, when I viewed the aggreement in MEB3, I couldn't see the conditions. I see the conditions were created successfully on the database.

But it seems like the system does not match the aggreement with the conditions.

Read only

0 Likes
1,695

Hello,

I have the same problem, any idea to solve this problem ?? I can't see condtions on transaction MEB3 but in database I can see them

Read only

Former Member
0 Likes
1,695

One way of creating Rebate Agreements is BAPI_AGREEMENTS to create or update the Rebate Agreement, and then BAPI_PRICES_CONDITIONS can be executed to create or update Condition Records within the Rebate Agreement.

The only issue is that BAPI_AGREEMENTS has Status of "Not Released", hence we need SAPu2019s help in determining whether this integration is acceptable. It works, but until SAP says that the BAPI can be used then this approach, even if it works, it's not guaranteed to be supported in the future.