cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sap isu billing adding custom text line in invoice

870

Hi gurus,

I'm working in an issue, my client wants to send a writing text in invoice, but this is for clients who accomplies certain conditions that changes every period, so clients may change period after period, my question is this, Is possible to write text line in table ERCHT and link it with a periodic billing document, or exist some badi or exit to do this in invoice whithout using field exit ?,

Thanks in advance,

Greetings.

Accepted Solutions (0)

Answers (2)

Answers (2)

Patrick_Gans
Participant

This seems like a perfect use case to handle the logic in a BRF+ rule, especially if the business rules surrounding the text are potentially changing frequently. I don't think the text field in ERCHT is the right place to do it.

Private_Member_7726
Active Contributor
0 Likes

Hi,

What are the conditions for assigning/outputting those texts like? They might be crucial for deciding how to proceed..

ERCHT is an attractive candidate from the Invoice output perspective - since there is existing Application Form Class support ("Header Level" here refers to Texts not linked to any particular Document line; ERCHT-BELZEILE is initial)

The challenge with doing ERCHT based "Text linking" integration in Invoicing (if I understand your "in invoice" correctly...) would be the way IS-U Invoicing implements Billing document update - it does not do complete Billing Document update for simulated Invoices (see FM ISU_INV_UPDATE):

Outsorted invoices is not really a problem, because properly integrated "Text linking" logic would be triggered again upon release, but not having potentially very important content in a simulated Invoice is a «show stopper» in my rule book...

If you are, however, fine with simulated Invoices not having these Texts, then the go-to integration point for IS-U invoicing process would be FQEVENT R999 - you have the whole Invoicing Unit, including Billing Documents (see FM ISU_SAMPLE_R999; XY_WA_IIU-T_BILL_DOC-IERCHT), at your disposal there, and you just have to make sure you: 1) don't inadvertently "damage" existing data; 2) properly restrict the billing documents you have to enhance 3) don't introduce performance problems.

If you are looking for assigning texts to individual Document lines rather than at Billing document "Header level"... for reasons too numerous to mention here I'd be looking at Billing and not the Invoicing process to integrate them...

Cheers
Janis