Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

'Invalid Member' error after BADI processing

Hello! I am new to BPC. I have implemented an enhancement to calculate tax and push the values to CT_DATA. When I run UJKT the values are being rejected stating an 'INVALID MEMBER[AUDITTRAIL] = TAXEXPENSE.' It happens even when this is run from the front end. TAXEXPENSE is just a copy of an existing AUDITTRAIL= 'INPUT'. However, when I used 'INPUT' everything worked fine the first time but when I run it again, it says 'DUPLICATE ENTRY'. So, a new member 'INPUT2' was created as a COPY of 'INPUT' and we tried it but it throws the same error again.

I did not use WRITEBACK but I am just appending entries to CT_DATA structure.

     LOOP AT lt_netexp INTO ls_netexp.

       <ls_ctaudit>     = 'TAXEXPENSE'.

       <ls_result_rec>  = '890001'.

       .

      .

      .

     .

       APPEND <ls_rec> TO ct_data.

     ENDLOOP.

Can you please share some thoughts on where the issue might be or if I am missing something.

Thanks in advance.

Sunny

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question