‎2008 Jan 17 11:06 AM
Hi All,
Pls give the BAPI FM for following purposes.
1. Sales Order Change- Release Billing block
2. Billing creation- with ref. order.
Regards,
Ashwin
‎2008 Jan 17 11:50 AM
Hi,
Use the FM 'BAPI_SALESORDER_CHANGE' for sales order change.
and use the FM 'BAPI_BILLINGDOC_CREATEFROMDATA' for creating billing document.
Rewards points if helpful.
Regards,
Srinivas Ch
‎2008 Jan 17 11:10 AM
‎2008 Jan 17 11:13 AM
hi,
to find function module available or not for bapi is to goto bapi explorer i.e tcode: bapi then see the flow where is the sales order or invoice or billing is available then click on that then on right side of the screen u will see bus object with some no. then double click on the number it will take u to the screen of all 5 things like interface,attributes,events,methods,keyfields then in that open methods there u will see different methods based on the description u see which is applicable for u and click on that it will take u to a screen where click on abap tab there u will find one function module what required.(this is standard way of finding any FM in bapi). so ur problem can solve by this flow.
‎2008 Jan 17 11:16 AM
Hi,
Use FM 'BAPI_SALESORDER_CHANGE'.
declare w_bapisdh & w_bapisdhx as same type as order_header_in & order_header_inx.
and pass the values as like this w_bapisdh-bill_block = 'X'
order_header_in = w_bapisdh
order_header_inx = w_bapisdhx
Regards,
Satish
‎2008 Jan 17 11:50 AM
Hi,
Use the FM 'BAPI_SALESORDER_CHANGE' for sales order change.
and use the FM 'BAPI_BILLINGDOC_CREATEFROMDATA' for creating billing document.
Rewards points if helpful.
Regards,
Srinivas Ch