SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

DPC enabled schema in Gas division error during billing

Former Member
0 Likes
324

Hi,

We are implementing IS-U/CCS for a gas utility company. Schema for domestic customer is DPC enabled.

Here I am getting following error while executing billing.

'Message no. E9890 Internal error: Error when reading internal table x_ithg in isu_quantity_prorate_prepare'

We have applied relevant note 1113188 and note is correctly applied.

Same DPC config works very well for electricity division.

Does anyone has any idea about this?

Regards,

Jayant Dabholkar

1 REPLY 1
Read only

Former Member
0 Likes
270

What version are you on? Do you see the following code segment that is raising this error message? If not, see if you can apply the note mentioned in the comments of this code. If it is already there, see why those conditions are met and trace back to its rootcause.

*     ---------------------------------------------------
*     Falls es sich um ein Gaszählwerk handelt, müssen die
*     Gasfaktoren bestimmt werden
        IF WABLT-SPARTYP = CO_SPARTYP_GAS.
* >>>>> Note 156533
*       if wthg-logikzw <> wabn-logikzw or
*         wthg-ab > wablt-ab or wthg-bis < wablt-ab.
*         loop at x_ithg into wthg
*           where  logikzw   =  wabn-logikzw
*           and    ab       <=  wablt-ab
*           and    bis      >=  wablt-ab.
*           exit.
*         endloop.
          IF WTHG-LOGIKZW <> WABN-LOGIKZW OR
            WTHG-AB > S_ZUGRIFFSDAT OR WTHG-BIS < S_ZUGRIFFSDAT.
            LOOP AT X_ITHG INTO WTHG
              WHERE  LOGIKZW   =  WABN-LOGIKZW
              AND    AB       <=  S_ZUGRIFFSDAT
              AND    BIS      >=  S_ZUGRIFFSDAT.
              EXIT.
            ENDLOOP.
* <<<<< Note 156533
            MAC_ERR_READ 'x_ithg' 'isu_quantity_prorate_prepare' SPACE.
          ENDIF.