05-25-2011 7:25 PM
Hi all,
My requirment is to create single Billing Docu for Multiple Sales orders in VF01. I started by trying with BDC, but after 16th sales orders i have to scroll the vertical bar for entering next Sales Order number. But the scrolling OKCODE is '/00' which is ENTER's OKCODE. While processing, Scrolling is not triggered. I tried even with Page Down
Plz help me if u have solution.
Even i searched BAPI's for it, i couldnt get it..
Thanks in advance
Ramesh
05-25-2011 8:11 PM
Have you checked the BAPI: "BAPI_BILLINGDOC_CREATEMULTIPLE" ?
All you need to fill out the following
billingdatain-ref_doc = p_vbeln.
billingdatain-ref_doc_ca = 'J'. " if it is Delivery related billing or use 'C' for order related billing.
append billingdatain to it_billingdatain.
clear: billingdatain.
Pass other required internal tables to the BAPI...
billingdatain = it_billingdatain
errors = lt_errors
return = it_billreturn
success = it_success.
try it..
If you want to do it with BDC then search BDC recording or BDC coding for table control.
05-25-2011 8:11 PM
Have you checked the BAPI: "BAPI_BILLINGDOC_CREATEMULTIPLE" ?
All you need to fill out the following
billingdatain-ref_doc = p_vbeln.
billingdatain-ref_doc_ca = 'J'. " if it is Delivery related billing or use 'C' for order related billing.
append billingdatain to it_billingdatain.
clear: billingdatain.
Pass other required internal tables to the BAPI...
billingdatain = it_billingdatain
errors = lt_errors
return = it_billreturn
success = it_success.
try it..
If you want to do it with BDC then search BDC recording or BDC coding for table control.
05-26-2011 6:28 AM
Hi Sampath,
Thanks a lot. Sterday i tried with that BAPI, but i didnt pass REF_DOC_CA.. Now its working in BAPI..