on 04-23-2015 8:53 PM
Hi Ricky,
well, you don't only delete a receipt, you attempt you delete the entire trip. Maybe there are some receipts left in the trip that cannot be deleted, because they originate from ccc and havent been settled/paid yet or the like?
I'd recommend debugging PTRA_WEB_EXPENSE_REPORT_DELETE, subsequently BAPI_TRIP_DELETE to see what's actually going wrong.
Cheers, Lukas
P.S. That put aside, the error message really is a mess... 😕
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Lukas, the problem was actually related to include LPTRA_UTIL_MEMORYF02:
This call:
PERFORM CREATE_CONVERSION_TABLE_DETAIL USING LT_FIELD_CONVERSION 'PTRV_WEB_RECEIPTS_INT_2' 'PTRV_UTIL_BELEG'
it's checking the ROLLNAME for the same Data Element, if there's any duplicate, it will throw this error message.
this issue was brought up by SAP updating the structure PTRV_UTIL_BELEG, if there are fields that are using the same data element, then you'll get this error.
check out this block of code in the FORM create_conversion_table_detail
LOOP AT lt_util_field_con INTO lwa_util_field_con
WHERE rollname = lwa_web_field_con-rollname.
lf_loop_counter = lf_loop_counter + 1.
ENDLOOP.
IF lf_loop_counter NE 1.
lf_loop_error = 'X'.
ENDIF.
User | Count |
---|---|
98 | |
12 | |
10 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.