09-24-2011 6:28 AM
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
09-25-2011 5:14 PM
Hi Rupa,
To avoid these type of issues please check with any fm or bapi.
Regards,
Madhu.
09-26-2011 7:41 AM
instead of using scroll bar you should press F7 or choose from menu Edit > more documents
09-26-2011 7:56 AM
Hi,
call this FM 'BAPI_BILLINGDOC_CANCEL1' in between the loop end loop of your internal (ITAB with list of billing docs.)
09-28-2011 9:14 AM
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.