Event for accounting status on billing document

Mike Pokraka wug at workflowconnections.com
Tue Oct 21 09:56:42 EDT 2014


Hi Andy, Margaret and Thomas,

Wow, three solutions at once, spoilt for choice! Thanks for the input.

I've been playing around with them and currently leaning towards the
enhancement version. Thomas - do you by any chance have the info which of
the 23 enhancement points you used?

And writing Change Documents is also restricted by the fact that RFBSK is
always blank whenever any of these processes run - it seems it is never
read from the DB. So I would have to retrieve the old value before writing
my CD, so might as well raise the event directly.

Thanks & regards,
Mike


On Mon, October 20, 2014 8:47 pm, Maue, Thomas wrote:
> Margaret,
>
> I thought the same thing and tried a couple of years back.  Change
> Documents were only written for Trans VFX3 release but not with VF02
> posting status changes.
>
>
> Mike,
>
> I looked for user exits and BADIs, ended up making an explicit enhancement
> within FM RV_INVOICE_DOCUMENT_ADD to raise events.  Enhancement spot
> ES_SAPLV60A.
>
>
> Regards,
> Thomas Maue
>
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of Schumacher, Margaret
> Sent: Monday, October 20, 2014 1:14 PM
> To: SAP Workflow Users' Group
> Subject: RE: Event for accounting status on billing document
>
> You could repair the Data element RFBSK to be included in Change documents
>  ("Further Characteristics" tab of SE11).
>
> Margaret Schumacher
>
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of Mike Pokraka
> Sent: Monday, October 20, 2014 12:31 PM
> To: SAP Workflow Users' Group
> Subject: Event for accounting status on billing document
>
> Hi Wuggers,
>
> I'm a bit stumped, possibly an OSS:
> In SD a billing document has a field Accounting Status VBRK-RFBSK. This
> can be used to block a billing document or is set if there are errors
> transferring it to accounting.
>
> So I'm trying to raise an event when it changes, but it is not included in
> the change document, even though it's defined on table VBRK. When a
> document is manually released no change document is created at all. The
> change history on the invoice is empty.
>
> Has anyone had to deal with this and could share any elegant workarounds?
> OSS and SDN searches have not turned up anything...
> Oh yeah, and there are BADI_SD_BILLING and BADI_SD_ACCOUNTING BADIs which
> we are not allowed to implement - internal use only.
> I debugged every user exit and the field is strangely blank in all of them
> - even when it contains something in the table.
> So far looking at some ugly enhancements.
>
> I am not raising an event for the BKPF accounting doc because removing the
> block can still end up with an error creating the accounting document,
> which I am also trying to handle - so I need to specifically capture the
> change in RFBSK.
>
> Any help appreciated,
> Mike
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>



More information about the SAP-WUG mailing list