‎2007 Aug 03 5:42 PM
Hello,
Is there a bapi call to retrieve the document flow based on the SALESDOCUMENT number of the first quotation?
Thank you,
Holger Ostermann
‎2007 Aug 03 6:02 PM
Hi,
Welcome to SDN.
I am not aware any BAPI available but you build custom function module (remote-enable module) and call FM RV_FLOW to get document flow based sales order number.
Regards,
Ferry Lianto
‎2007 Aug 03 6:27 PM
Hi,
Thank you very much. I will try this; in SE37 it works well.
(Otherwise, I have to use RFC_READ_TABLE.)
Have a nice weekend,
Holger Ostermann
‎2007 Aug 03 7:28 PM
Hi,
I don't think there is any BAPI to get the document flow. You can directly fetch from the Table VBFA. Pass your sales document no to field VBFA-VBELV and you will get all the Sales Orders, Deliveries, Billing document nos, Credit Memo etc. in field VBFA-VBELN related to that sales document. Field VBFA-VBTYP_N will differentiate between various document types.
Reward points if the answer is helpful.
Regards,
Mukul