‎2019 Jun 05 7:50 AM
Hello guys,
I'm facing a strange problem. I use a custom report which is rolled-out to customers. Therefor I have transaction code. When user clicks on save in the custom report it saves data to DDIC in our custom table. Now when I go via transaction code, the DDIC changes do not happen. When I use programm name in SE38, everything works fine. In both cases MODIFY routine in programm gets runned through. In our development system both works fine so It onl can be authority problem? But which authority is missing when it goes about updating the DDIC table in programm? And why does it work with report but not with transaction for report? Where is the difference?
Authority check does not display any problems.
Any Ideas?
Regards
Michael
‎2019 Jun 05 7:59 AM
Use transaction code SAT to trace the ABAP code with the "no aggregation" option, for both cases, and there's an option to compare the two traces (and see where the execution varies).
‎2019 Jun 05 8:13 AM
Hm what can I see there? In both cases the relevant routine which updates the DDIC table gets triggered. So I think It canot be something in program routine.
‎2019 Jun 05 8:51 AM
Just a couple of questions (and sorry if some sound too obvious!):
‎2019 Jun 05 1:40 PM
‎2019 Jun 05 2:05 PM
Hi,
you have to check How you create the Ztable and how ur passing the values to the same set of primary keys.
if its duplicate use the code
INSERT Ztable FROMTABLE itab ACCEPTINGDUPLICATEKEYS.
or In order to update/modify the Z-table, it is create Z-table structure.
Create the structure for the Z-table, using Move-corresponding copy the value into Work Area.
and update the Z-table using Modify statement.
Negards,
Nawa