create individual billing document out of sd document

Frank Reichenbach frankreichenbach at dontgotmail.com
Tue Sep 11 03:40:52 EDT 2001


Hi guys,
    being on a 46b system, I am trying to generate an "individual billing document" for a SD
document using a workflow. The workflow should be triggered using a customer output (message) that is
created once the function "post goods issue" is executed from within VL01N. At this point I do have a LIPK / LIPS Object (an thus entries in the tables lips and likp) available as input for the VBRK object type.
 
I thought it should be possible to use its method CREATEMULTIPLE (which calls BAPI_BILLINGDOC_CREATEMULTIPLE)
to "simulate" the VF01 transaction and thus generate an individual billing document out of the SD document.
As I found out so far this functions doesn't simply needs the vbeln of the SD document as input but lots of data in a table called BAPIVBRK.
 
Anyone got an idea how this could be done???
1. Is vbrk and createmultiple the right object & function to use?
 
2. How can I get the data needed for createmultiple from the only input I got: lips-vbeln?
 
3. Any other ideas how one could create an individual billing document (and thus a vbrk/vbrp entry) out of the lips-vbeln information?
 
Any suggestions are very welcome!
 
Regards,
 
Frank
 
 
_____________________________________________________________
===========================
Kick start your hits today with www.SearchGalore.com! Be in the #1 spot for as little as one cent.
===========================
Get YOUR FREE email address today! http://www.dontgotmail.com
"Don't Got Mail!"
 


More information about the SAP-WUG mailing list