SAP Blog

Monday, October 25, 2010

XBLNR on Aggregate billing

In aggregate billing process, if Oficial Number Document functionality is active the aggregated invoice doesn't get an official document number unless you apply note 1363482.

To implement the note, create program z_e21c which is called in function module ISU_INV_PREPARE_UPDATE:

REPORT z_e21c.
*&---------------------------------------------------------------------**& Form act_aggrbill_xblnr*&---------------------------------------------------------------------** text*----------------------------------------------------------------------** -->Y_ACTIVE text*----------------------------------------------------------------------*FORM act_aggrbill_xblnr CHANGING y_active TYPE xfeld.
y_active = 'X'.
ENDFORM.