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: 

BDC for VBO1

Former Member
0 Kudos

Hi,

I am trying to create a BDC program to create product hierarchy rebates using VBO1. I have a problem when entering the material for settlement because there is no page down button on the screen just a scroll bar. So if I have a load of conditions on the rebate I have a problem because all the fields are not displayed on the screen, is there a way of making the batch session page down? I have tried using the command POPO and it doesn't work I have also tried P+ and P++ even though the buttons are not active on the gui status. The only alternative I can think of is to use a BAPI but BAPI_AGREEMENTS does not let me enter condition records.

Anyone got any bright ideas?

Thanks

6 REPLIES 6

Former Member
0 Kudos

1)Click on new line (Button on the application toolbar ..Use OKCODE = NP or Check the Fcode)

2) Enter Material

3) Again New line

4) Again Enter material.

Simulate it in BDC.

this will definitely resolve the issue.

Regards,

Gurpreet

Former Member
0 Kudos

HI,

this code snippet will give you the idea to do the BDC

[https://wiki.sdn.sap.com/wiki/display/ABAP/BDCtablecontrolsusingtheNEWLINEbuttonontheGUI+status]

regards

sarves

Former Member
0 Kudos

Hi,

use ok code to resolve this issue

and using bapi if you want to do

use this link

Thanks and regards

Durga.K

Former Member
0 Kudos

Hi,

Try giving the BDC_OKCODE as =VW.

Thanks,

Nithya

Former Member
0 Kudos

Thanks for the answers but none of the above work.

Anyone else?

0 Kudos

Use:

bdcdata-fnam = 'BDC_OKCODE'.

bdcdata-fval = '=NEWP'.

append bdcdata.

clear bdcdata.