Application Development 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: 

Rebate Agreement - Upload program

Former Member
0 Kudos
1,052

Hi All,

How do we create an upload program to create Rebate Agreement ( VBO1 ) without using BDC ?

Let me know the steps and the BAPIs / FMs that are to be used to implement the same.

Thanks in advance.

Regards,

Kamala

1 ACCEPTED SOLUTION

Former Member
0 Kudos
336

BAPI_AGREEMENTS u can search for this in the forum.

12 REPLIES 12

Former Member
0 Kudos
336

Hi

There is no bapi for creation of rebates

check the following fun modules

MASTERIDOC_CREATE_DLPREBATES

ENH_REBATE_CREATE_MCV_TABLES

ENH_REBATE_CREDIT_NOTE_CREATE

Reward points if useful

Regards

Anji

Former Member
0 Kudos
336

Hi Kamala,

Check these FM's

enh_rebate_create_mcv_tables

enh_rebate_credit_note_create

Regards,

Younus

<b>Reward Helpful Answers:-)</b>

Former Member
0 Kudos
337

BAPI_AGREEMENTS u can search for this in the forum.

0 Kudos
336

Hi Kshamatha,

As you had mentioned I got to know about this BAPI through the forums prior to posting the my question.

I wan't able to create a Rebate Agreement through this BAPI, think am missing out something. Could you help me with the best link to refer about this BAPI or the necessary field values that needs to be passed to create an Rebate Agreement ?

Thanks in advance.

Regards,

Kamala

0 Kudos
336

Dear All,

I am facing the similar problem. I have written a BDC program for Rebates but if there are multiple conditions then the program is failing to create a rebate with multiple conditions.

I believe SAP definitely would have provided BAPI to create Rebates. The function modules mentioned above does not have any documentation and are not friendly..

(Kamala if you found any solution please let us know..)

Thanks in advance,

Sanjay.

0 Kudos
336

Hi Sanjay,

Am not sure about the BAPI's available. - We concluded upon on 2 solutions -

1. Develop the BDC using Cursor position.

2. Clone the Tcode and provide a small pop up to select the Condition Type and Key combination.

To resolve the issue, we cloned the VB01 transaction and gave in a small pop up to select the Condition Type and Key Combination, this would help us avoid tracking the the combination via Cursor position.

To clone the transaction you will have to maintain necessary entries in the view V_T185V ( Configuration tables - T185F, T185, T185E ). To provide the pop up we will have to clone the following include ZMV13ATOP, SAPMV13A and MV13AF0D.

0 Kudos
336

Hi Kamala,

I am trying to manage with cursor positions in VBO1 itself. Can you tell me is there any critical problems you faced with it. We have 3 Z condition types and the present recording is working fine (as of now in Development Server). But if you alert me that I am going to face any issues in further servers I can think of Cloning option.

Thanks for much for your prompt response. Unfortunately there is no flexibility for reward you any points. (But I should reward you 10 points)

- Sanjay.

0 Kudos
336

Hi Sanjay,

It was just a precautious step to go in for cloning the tcode. Incase there is going to be additions in the Condition Types or Key Combination is future we will have to change the BDC program if we have managed with cursor position. To provide the same we went in for cloning the report.

Regards,

Kamala

0 Kudos
336

Hi Kamala,

Thanks for your reply. As we are simultaneously upgrading the SAP system Client is not ready to do any major development. Presently I am able to capture the Cursor position perfectly and the program is working fine.

We can close this thread...

Regards,

Sanjay

0 Kudos
336

Hi Kamala/Sanjay,

I have gone through the thread, since I have also faced the same problem.

To create a commission and rebate agreement I resolved to use LSMW. But the problem I faced is the capturing the cursor position. Recordings do not capture it.

I have 3 Agreement types, 6 Condition Types and 12 Key combinations. Based on this I have to do 24 LSMW recordings, which seems very cumbersome.

Please help. Can I use any BAPI for the same ?? Else how do I capture the cursor in recordings ??

Thanks

Debabrata

0 Kudos
336

Debabrata,

I had the same issue with client to create Rebate Agreements(VBO1) having multiple Cond Types and Acess Seq. on it through LSMW.

Did you guys successful with LSMW or created BDC?

Former Member
0 Kudos
336

Hi all,

Please, check this thread. I'm using a load program with BDC code. Can you help me?

Thank you!!