cancel
Showing results for 
Search instead for 
Did you mean: 

Oncreate Handler

former_member193190
Participant
0 Kudos

Hi Experts,

Trying to add a script button inside the oncreate handler in the tab usrarea. But the automatic execution of script button is not working.

Accepted Solutions (0)

Answers (1)

Answers (1)

Carifaine
Active Participant
0 Kudos

Which steps did you do by now? Normally you should do as follows:

1. Create script button

2. Insert script actions

3. Test your functionality

If succesful:

4. Go to editor mode -> Click on script button

5. Go to "properties"

6. Copy the id of the script button

7. Select the UsrArea

8. Go to properties -> OnCreateHandler -> Insert ID of the script button

Save and Exit and relaunch your transaction.

If you did this already, please provide further information on the error you get.

Best regards,

Christoph

former_member193190
Participant
0 Kudos

Thanks Christoph!!!

But I trying to execute this script from the TAB USRAREA not the USRAREA of the whole screen.

Can you please help me here?

Carifaine
Active Participant
0 Kudos

Hi,

should work the same way, just enter the script button id in the oncreatehandler-field. Your script works fine if you execute it manually? You need to provide more information on your actual problem. By now i just know a) you want the script bound to the handler and b) it doesn't work...

former_member193190
Participant
0 Kudos

Hi,

I have written a script to bring Data from another screen inside a certain tab.

Manually my script is working fine, but when I bound it to Tab usrarea the script do not executes.

chinthan_yajamaan
Active Contributor
0 Kudos

Can you provide more details like which transaction and tab? What version(bottom left corner of help screen will have version info) of Personas are you using? Which tab item are you adding script?

Screen shots will be helpful.

former_member193190
Participant
0 Kudos

Transaction :- IW33

In under Header tab there is another Tab that is DAMAGE tab:

Here is the screen shot for this.

Please reply urgently.

chinthan_yajamaan
Active Contributor
0 Kudos

So you have tab inside another tab. I see a issue here. Please log a message to BC-PER-RT-SIL component with details.