Event for accounting status on billing document

s.bailleul@free.fr s.bailleul at free.fr
Tue Oct 21 11:03:09 EDT 2014


Hi Mike, 

In SE11 if you check the Data Element RFBSK on the third tab, it is not flagged for document modification (LOGFLAG)
So it is not taken into consideration in the change log, and won't be available to start an event on modification

Change it and then it will be 

Cheers
Stephane

----- Mail original -----
De: sap-wug-request at mit.edu
À: sap-wug at mit.edu
Envoyé: Mardi 21 Octobre 2014 16:35:08
Objet: SAP-WUG Digest, Vol 119, Issue 11

Send SAP-WUG mailing list submissions to
	sap-wug at mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
	http://mailman.mit.edu/mailman/listinfo/sap-wug
or, via email, send a message with subject or body 'help' to
	sap-wug-request at mit.edu

You can reach the person managing the list at
	sap-wug-owner at mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of SAP-WUG digest..."


Today's Topics:

   1. Re: Event for accounting status on billing document (Mike
      Pokraka) (Andy Curtis)
   2. RE: Event for accounting status on billing document
      (Schumacher, Margaret)
   3. RE: Event for accounting status on billing document (Maue, Thomas)
   4. RE: Event for accounting status on billing document (Mike Pokraka)
   5. RE: Event for accounting status on billing document (Maue, Thomas)


----------------------------------------------------------------------

Message: 1
Date: Mon, 20 Oct 2014 18:02:24 +0100
From: Andy Curtis <abcurtis at gmail.com>
Subject: Re: Event for accounting status on billing document (Mike
	Pokraka)
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<CADngEVhn=35w+fSgtGy0S_FWui3rDPk+MFjSRT+PaHH6iiS9nA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Yes.  Create your own Change Object for table VBRK, You might need to add a
generated FM to the SAVE BADI

Easy peesy

A




>    1. Event for accounting status on billing document (Mike Pokraka)
>
>
> ---------- Forwarded message ----------
> From: Mike Pokraka <wug at workflowconnections.com>
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Cc:
> Date: Mon, 20 Oct 2014 17:31:12 +0100 (BST)
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20141020/be1cc3a8/attachment-0001.htm

------------------------------

Message: 2
Date: Mon, 20 Oct 2014 18:13:53 +0000
From: "Schumacher, Margaret" <margaret.schumacher at teleflex.com>
Subject: RE: Event for accounting status on billing document
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<0e89044e0fc445a6bf96bd29e8002290 at SN2PR0801MB0734.namprd08.prod.outlook.com>
	
Content-Type: text/plain; charset="us-ascii"

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



------------------------------

Message: 3
Date: Mon, 20 Oct 2014 19:47:05 +0000
From: "Maue, Thomas" <maue.thomas at siemens.com>
Subject: RE: Event for accounting status on billing document
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<DF13A2D0E69EFB4D9968E1CB0D8C01323B676646 at USSLMMBX003.net.plm.eds.com>
Content-Type: text/plain; charset="us-ascii"

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



------------------------------

Message: 4
Date: Tue, 21 Oct 2014 14:56:42 +0100 (BST)
From: "Mike Pokraka" <wug at workflowconnections.com>
Subject: RE: Event for accounting status on billing document
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<59daecb8823c100a03bbf0eddfce246a.squirrel at h.mail.aaisp.net.uk>
Content-Type: text/plain;charset=iso-8859-1

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
>



------------------------------

Message: 5
Date: Tue, 21 Oct 2014 14:34:58 +0000
From: "Maue, Thomas" <maue.thomas at siemens.com>
Subject: RE: Event for accounting status on billing document
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<DF13A2D0E69EFB4D9968E1CB0D8C01323B6776F8 at USSLMMBX003.net.plm.eds.com>
Content-Type: text/plain; charset="us-ascii"

Hi Mike,

Enhancement point  rv_invoice_document_add_14

Regards,
Tom


-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Mike Pokraka
Sent: Tuesday, October 21, 2014 8:57 AM
To: SAP Workflow Users' Group
Subject: RE: Event for accounting status on billing document

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
>

_______________________________________________
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


End of SAP-WUG Digest, Vol 119, Issue 11
****************************************



More information about the SAP-WUG mailing list