Skip to Content
Former Member
Aug 14, 2015 at 03:44 PM

'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.


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

Thanks in advance.