Ansicht
Dokumentation

ISU_SAMPLE_R410 - Event R410: Selection of CA Items for Bill Display

ISU_SAMPLE_R410 - Event R410: Selection of CA Items for Bill Display

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Scope of Functions

You can use the event Selection of FI-CA Items for Displaying on Bill (R410) to select the open items that you want to present as subitems on the bill. You can include these items in the final bill amount and/or defer them.

Usage Area

In most cases the business partner items that are newly entered in invoicing or that were cleared/partially cleared in invoicing during account maintenance are automatically printed on the bill or included in the final bill amount. You can also select other contract account items to be printed on the bill as a subitem, to be calculated in the final bill amount or for deferral until the bill due date based on the corresponding entries in the Item Selection for Bill Display (TE529) table.

You can also override the selection you have made using this event.

Programming Notes

  • Items that can be selected are transferred in the table TY_R410_FKKCL.
  • Items that are available are already classified according to table TE529 as follows:
  • XPRNT = 'X' : Item is printed on the bill'

  • XTOTAL_AMNT = 'X' : Item is included in final bill amount'

  • XSTND = 'X' : 'Defer item until bill due date"

You can override this classification using this event by making new entries in the following fields: The following applies:

  • XTOTAL_AMNT = ' ' : 'NONE Include in final bill amount'

  • XPRNT = ' ' + XTOTAL_AMNT = ' ' : NO printing on the bill'

  • You can change the sequence of the items on the bill by resorting the items.

  • The open item is only deferred if it is also included in the final bill amount.

Restrictions During Programming

In order to guarantee the consistency in the system, note that you cannot use the following terms in events.

  • COMMIT WORK
  • ROLLBACK WORK
  • CALL FUNCTION 'DEQUEUE ALL’
  • Deletion of locks that you did not set yourself




Parameters

TY_R410_FKKCL
T_CONTRCL
X_BLDAT
X_BUDAT
X_BUPA
X_FKKVKP
X_INVOICE_UNIT
X_VERART

Exceptions

Function Group

E21U

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 2905 Date: 20240523 Time: 134800     sap01-206 ( 41 ms )