Create Report User Parameter |
Post Reply ![]() |
Author | |
pgutierrez ![]() Groupie ![]() Joined: 10-November-2015 Location: Spain Points: 7 |
![]() ![]() ![]() ![]() ![]() Posted: 26-January-2021 at 8:09am |
Hello,
I am trying to create an user parameter in a report but when I run the script it shows an error (REP-0015:This object type cannot be created!) The script is: DECLARE filename :varchar2; rep: number; vNewParam : number; BEGIN -- try filename := 'Q:\tmp\fapi\1\esi05900.rdf'; rep := RepAPI_LoadModule( filename ); vNewParam := RepGeneric_Create(rep, 'PARAM1', D2RRO_USER_PARAM); RepAPI_SaveModule(rep, filename); -- except LogAddError; RepAPI_FreeModule(rep); end; -- END; The output is: 165737 [Info] Script execution started 165741 [Error] [ReportsAPIException] REP-0015:This object type cannot be created!(lin:10|col:18) 165741 [Info] Script execution finished in 3,64 seconds Thanks in advance! |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |