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: 

VBO1 : BDC to select a particular record based on input value

0 Kudos

Hi Experts,

Im currently doing a BDC to VBO1 transaction to create rebate agreement.

Problem is when i give Rebate type sales org distribution channel and hit enter the next screen appears.

There i have to click on conditions at the top which brings me a dialog with list of all condition types, Here i need to select the particular condition type which is given as input file.

How can i achieve this ? How can i dynamically determine the row where the condition type which i have to select is present in ? or is there any other way to do this ?

Your help is highly appreciated.

1 ACCEPTED SOLUTION

0 Kudos

I have solved the issue.

I calculated the cursor value dynamically and by this way my BDC recording selects that particular record which i get from input file.

Thanks.

3 REPLIES 3

Sandra_Rossi
Active Contributor
0 Kudos

This is all the problem with BDC. You have to know in advance at which place will be the elements in a list, so, the only solution is to mimic what does the standard SAP program, and so you need to debug to know that (or ask if someone already did it, but you'll be lucky to find a dev on SCN now who did that exact task). The other workaround is to use a BAPI instead of BDC, if any exists. Can't help more, this was just my opinion about BDC.

I have checked the BAPI option. BAPI_AGREEMENTS. But this doesn't have amount field in it. so i cant go for BAPI as i don't find any other BAPI much useful.

Thanks for your opinion. I'm still stuck into it. Any further help will be highly appreciated.

0 Kudos

I have solved the issue.

I calculated the cursor value dynamically and by this way my BDC recording selects that particular record which i get from input file.

Thanks.