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 recording for VF11 more than 14 invoices

rupkbh
Explorer
0 Kudos

hi, i am facing a problem when cancelling more than 14 invoices through bdc recording.

Normally , in vf11 , after entering 14 invoice numbers , i press enter and then click on the scroll bar , to get the further input fields.

Now , while recording these steps through BDC, the pressing of the scroll bar to get further input fields is not captured. The BDC OK code which is captured is /00 , which is basically for enter is not working.

How can I insert more than 14 invoices through BDC recording?

Edited by: RUPAKBH on Sep 24, 2011 7:28 AM

4 REPLIES 4

madhu_vadlamani
Active Contributor
0 Kudos

Hi Rupa,

To avoid these type of issues please check with any fm or bapi.

Regards,

Madhu.

JL23
Active Contributor
0 Kudos

instead of using scroll bar you should press F7 or choose from menu Edit > more documents

Former Member
0 Kudos

Hi,

call this FM 'BAPI_BILLINGDOC_CANCEL1' in between the loop end loop of your internal (ITAB with list of billing docs.)

koolspy_ultimate
Active Contributor
0 Kudos

hi,

for such kind of requirements we need to use bapi's instead of bdc.

for reference [Click here|http://wiki.sdn.sap.com/wiki/display/ABAP/Cancelbillingdocument+%28VF11%29]


*---cancel billing doc (transaction VF11)
     CALL FUNCTION 'BAPI_BILLINGDOC_CANCEL1'
       EXPORTING
         billingdocument = d_bill_doc
       TABLES
         return          = it_bapireturn1
         success         = it_bapivbrksuccess.