cancel
Showing results for 
Search instead for 
Did you mean: 

Can I add a window EXIT plug to a standard WD with enhancement ?

Former Member
0 Kudos

Dear Colleagues,

I need to add an exit plug to a standard WD and I'm struggling with it.

I'm using the enhancement framework, but it it seems this is not possible, or perhaps I'm doing something wrong.

The WD is this one

FITV_UI_EMPLOYEELIST

And I'm trying to add an exit plug to its window MAIN.

I can add an outbound plugs without any problem, but if I change that outbound plug so that it becomes an EXIT plug, I will get this error message

Property exit/suspend plug is only useful for plugs of the interface

I have confirmed and the "interface" checkbox is set to true on this window.

So I'm puzzled with this error message.

I have tried other alternatives as well, such as creating a custom window inside this same WD.

But the same occurs - I can't add a EXIT plug to this custom window inside my standard WD.

Do I have any alternative for this ?

Am I doing something wrong ?

Is it possible to add EXIT plugs to standard WD ?

Kind Regards

/Ricardo Quintas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Recordao,

I know it's a quite old thread, did you find any solution for this issue, i am facing similar issue when I try to create Outbound plug as Exit plug type.

Property exit/suspend plug is onlu useful for plugs of the interface.

Thanks

Krishna

0 Kudos

Dear Krishna,

1)  We can copy standared WD into Custom WD ,Then we create Outbound plug as Exit plug type.

2 ) We can exit standared WD thorugh Java script file. I have alredy answered this thread above please check .

Regards,

Jayesh

0 Kudos

Dear Ricardo,

Step1) First create the java script file in that you have to write the following code.

<script type = "text/javascript">

function close_windows()
{
window.close();
}
function DisableBackButton()
{
history.forward();
}

</script>


<html>

<head><title> close </title>

</head>

<form>

<script language="javascript">DisableBackButton();

</script>

<body>

<input type = "button" value = "close" onClick="close_windows();"/>


</body>

</form>

</html>

step 2) go to se80 in that mime repository go to sap create folder and export the above file.

step 3) go to your view where you want to add exit button.

           check the link and write the code to your exit button methods.

           http://scn.sap.com/thread/1911320

         

          
Note : It will work only in Internet explorer

Hope this helps u.,


Regards,

Jayesh