Close the IE page on click of a button in the transaction
Hi All,
I have a button on the transaction and once I click the button it should log off from the SAP WEB AS and close the Internet Explorer page.
Can anyone guide me through the process?
Thanks in advance,
Sudhi
from your earlier Passing data through URL i understand that you use integrated ITS, so my answer is going to be based on that.
in your program add the following :
include AVWRTCXM .
and write the following code for button click.
field-set '~OkCode' 1 '/NEX' .
its-browser_redirect 'XXX'.
now go to SICF
navigate to your service under sap/bc/gui/sap/its/
double click on the service
choose error pages tab
then choose logoff page tab
make sure "explicit response time" radio button is selected.
Click on the create icon next to "Body" in the resulting window enter the following text
Thanks for using ITS
<a href="#" anclick="windaw.clase();">
click here to close this window
</a>
in this line (anclick="windaw.clase();) change the alphabet 'a' to 'o' .
Save the service.
and test the same.
Regards
Raja
Message was edited by:
Durairaj Athavan Raja
Similar Messages
-
Include a jsp file in the same page by click on a button
Hello Everybody
I'd like to control "my.jsp" page by clicking on some buttons. So if I click on Button1, f1.jsp go to be includeing in "my.jsp" or Button2 to include f2.jsp on "my.jsp" and so on
Thank you in addvanceIn my.jsp you could put a form with n submit buttons whith different values of parameter "name", like this:
---My.jsp------
<form method="yourMethod" action="My.jsp">
<input type="submit" value="Button1" name="button1">
<input type="submit" value="Button1" name="button2">
<input type="submit" value="Buttonn" name="buttonn">
</form>
<%if(request.getParameter("button1")!=null){%>
<jsp:include page="f1.jsp">
<%}%>
<%if(request.getParameter("button2")!=null){%>
<jsp:include page="f2.jsp">
<%}%>
<%if(request.getParameter("buttonn")!=null){%>
<jsp:include page="fn.jsp">
<%}%>
I didn't try it but it might work. -
Hello.
I'm writing a JSP client which reads data from a ViewObject and edits records of the same ViewObject, through the EditCurrentRecord data web bean.
If I set my application as "IsStateLessRuntime=true" in the .properties file, every time the handleCommit() function is called (inside the EditCurrentRecord class), there is an immediate commit on the database.
But if I set my application as "isStateLessRuntime=false" (that is, statful), the handleCommit() function posts records "in memory", but I can't figure how to write data on my Oracle database. I think I have to "close the transaction" or something else, but I don't know what.
It should be better if I could run my application in Stateful mode, since I have to work with commits and possible rollbacks, after checking my data.
Thank you to Jdeveloper Team who helps us!I answer myself, I found a solution. I post it in case this could be helpful to someone.
When I want to commit changes to database, I have to call:
getApplicationFromContext().getTransaction().commit();
I wrote this as a function in my class "myEditCurrentRecord" which extends EditCurrentRecord data web bean.
The final code is:
public void commit()
getApplicationFromContext().getTransaction().commit();
This works... maybe is there another solution? -
Can't see video on my web page, just click to play button...
Hello!
I just made my first video tutorial and created a Quicktime video. I also made it web ready, which created a folder with the "how to," a poster image, etc. I read the directions and viewed the code for adding it to my web site, but I am new to HTML, etc. and seem to be doing something wrong. All I get is the "Click to Play Button" when I view my page in the browser.
I want to add a link on my blog that will open the page with the video on it in a browser window so it can be viewed. Like this one:
http://cdn.libsyn.com/cspodcast/podcast-BR-flatview.mp4
If anyone can help, here is the link to the page where I have the code:
http://robenmariesmith.com/psactionstutorial.htm
Much appreciated!!
RMHere is what I did...
1. I created the video in Snapz Pro. Then I saved it to my desktop.
2. Next, I uploaded the image file, which is a .mov file to my web site. I put mine in a folder called img.
3. Now this is the best part, go to this web site:
http://cit.ucsf.edu/embedmedia/step2_qtv2.php?mediatype=QuickTime
4. I selected Web Server and then went to the next screen. On the next screen, add the web server name and the file path. I am a newbie so I made the mistake of adding the entire file path. You only need to add the info. after the web name. Example:
My web server is: http://www.robenmariesmith.com
My file path is: img/tutorials/PSActionsTutorial.mov
Select the pixel image size for your largest image for width and height.
Make the other selections that it requests and click Submit.
5. On the next screen you can actually test your media. If all is working, copy and paste the code into your web site.
Let me know if you need any more help and I will help if I can!
Cheers,
RM -
Doubt in Opening a OA page as a popup from OA page on click of a button
Hi All,
I need a help.
I have a OApage,
from the OA page i want to open one more OA page as an popup on click of a button, So a took the button as normal button not a submit button
So in the buttons Destination URI property I have set the property as
javascript:window.open('OA.jsp?page=/oracle/apps/misibe/cust/webui/MisibePOPCreateCustomerPG&retainAM=Y', 'a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no'); a.focus();
So when I am clicking the button on the base page to open the pop up I am getting the following error:
You have insufficient privileges for the current operation. Please contact your System Administrator.
You cannot run a page which is not SelfSecured when the MAC fails.
Can you please help in this.
Regards!
SmarajeetHi, not sure if this is still relevant to you Lakshman; if not it can perhaps help someone else.
I solved this by copying the JavaScript
function addrSearchDialog(fieldId,searchStr,multiSelect)
from the include CRM_EMAIL_ADDRESS_INPUT into the .htm of the mail component, changing its name to addrSearchDialogZZZ and telling the 'To', 'CC' and 'BCC' buttons to execute addrSearchDialogZZZ onClientClick instead of addrSearchDialog.
In my function, addrSearchDialogZZZ, I simply told the select option for Exchange Addresses to be selected:
I changed the line
'<option value=\"OUTLOOKGALID\" id=\"OUTLOOKGALID\">'
to
'<option selected value=\"OUTLOOKGALID\" id=\"OUTLOOKGALID\">'
I hope this helps,
Patrick. -
I have just installed os7. How do I close apps when I double click on home button
I have just installed os7. How do I close apps when I double click on home button
Swipe to the app you want to close, press and hold the large image and swipe up and off the screen
-
Opening a new page on click of a button
Hello Everybody,
I have a small requirement. i need to open a new web page on click of a buttton on a bsp application. How do I achieve this technically?
Thanks,
PaulHi!
By impelemntign a litte javascript with window.open(...) that is called when button is clicked (onClientClick).
Does that solve your issue?
Regards,
Volker -
When I execute the following I get a error saying that the transaction has already been committed or aborted.
void MyFunc(XmlTransaction& txn,XmlResults result)
while(retry){
try{
result = myContainer->getAllDocuments(txn,DB_READ_COMMITTED);
return;
catch(){...catch handler...}
void SomeOtherFunc(...)
//init....
XmlTransaction txn = xmlManager->createTransaction();
XmlResults res;
MyFunc(txn,res);
txn.commit(); // crashes here!!!
// Do something with the results
}What's going on inside your catch handler in MyFunc()? If you are catching deadlocks and retrying, that'd be the problem. Are you seeing this fail every time, and even when there are no retries?
Regards,
George -
Show Top of the Page after Click Save button
Hi all,
i have requirement i want show top of the page after click of save button.if you know answer please give reply.
Regards
VeerendraNadhHi,
Would you mind providing more details(screenshot would be better) about your requirement? It would make others easier to find a solution for you.
Suppose that there is a scenario like this: Edit a page, when content grows too large, page will scroll to the bottom of the page. When clicking “Save” button in the
ribbon, by default, page will scroll to the top just like it is first loaded in the browser.
Feel free to reply if this is not what you really mean.
Best regards
Patrick Liang
TechNet Community Support -
Which action called on click of Logon Button in EP 7.4
Hello Everyone,
I have a requirement to call a BSP page on click of Login button in EP 7.4.
I check the logonPage.jsp but could not figure out where event is going on click of Logon button and which page/servlet is being called, as I want to update my code there to call specific BSP page.
Can we directly achieve this if not then what other options do we have?
Thanks in advance for your help.
Regards,
RajeshHello All,
Can some one please help me out to find a place where we can write our code on click of Login button in EP 7.4.
Regards,
Rajesh -
Modify the selection screen for the transaction VF04
Hi all,
My requirement is as follow . I need to modify the selection screen (1000) in such a way that I need to add three more fields to te existing selection screen and make some check boxes checked by default which are unchecked . I have found out all the exits in this development clas VF . I am listing them out here .
J_3RSINV Export Sales
SDVFX001 User exit header line in delivery to accounting
SDVFX002 User exit for A/R line (transfer to accounting)
SDVFX003 User exit: Cash clearing (transfer to accounting)
SDVFX004 User exit: G/L line (transfer to accounting)
SDVFX005 User exit: Reserves (transfer to accounting)
SDVFX006 User exit: Tax line (transfer to accounting)
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX009 Billing doc. processing KIDONO (payment reference number)
SDVFX010 User exit item table for the customer lines
SDVFX011 Userexit for the komkcv- and kompcv-structures
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lists
V61A0001 Customer enhancement: Pricing
Going with the descrition I dont see any of them suits my requirement . But there should be an approach . Can anyone please help me to find out an exit or explain me how do we identify an exit to modify the selection screen of an standard ransaction .
Regards,
Varun .Hello,
I would suggest you to go for BADI,
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
Regs,
Venkat -
When I am done browsing I close the browser by clicking on the X. Since I use Window 7 I always get the message "A script on this page may be busy or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete"
Script: chrome://bp/content/bp.js:857.
If I continue it takes anywhere from 5 to 15 minutes to complete
William <i><email removed - c></i>That will be due to an extension that is not working properly, possibly the Better Privacy extension. To test this, if you have Better Privacy installed try disabling it to see if the error stops appearing. To do that, in the Tools menu select Add-ons, then go to the Extensions panel, select Better Privacy in the list, then click on Disable. re-start Firefox to complete the process, then see if the error message appears.
If you do not have Better Privacy installed, repeat this process with the other extensions until you find the culprit. First check any extensions with the initials bp.
If it is Better Privacy, it should work with Firefox 3.6.13 on Windows 7. Make sure you have the latest version, also try uninstalling it and re-installing it, this may help if your version has become corrupted. -
I close the textedit programme , open Pages, click on the 09 pages file to be opened and the message "The document “7-09 receipts” could not be opened. TextEdit cannot open files in the “Pages document”
What's this??? How do I open the pages doc??? KalavatiYou have obviously not done what you think you have done.
You have tried to open a .pages document in TextEdit which can't read them.
If you are confused which program you are in look to the top left of the menu.
You can either drag the .pages file onto the Pages icon on the Dock, open it from within Pages' Open dialog, double click on it or right mouse click > open with.
Peter -
Safari status bar disappears. I have tried clicking on show status bar, under the View tab and it will only appear when I move the cursor to the top of the screen. I can not minimize the open page, only full screen or close the browser. Any idea how the rectify this issue?
One enters and exits full-screen with control+command+F keys. This is on the View menu in Safari. Optionally, the green traffic light in your browser title bar, if you roll over it, has the full-screen control it it. While in full-screen mode with Safari, moving your mouse pointer virtually up, and off-screen reveals the Safari title bar again, and you can click the green traffic light to exit full-screen mode.
You can hide/show the status bar by simply typing command+/. This too, is on the Safari View menu. and in 10.10.1 — it works reliably for me. -
I am going to a website I trust. I launch the link, the page comes up blank with the padlock icon with a message that says Firefox has blocked content this isn't secure. I know the site is https but has some http content. I click the *disable protection on this page* button, but it doesn't allow the site to resolve. It closes the page. How do I get the site to resolve, especially since I know & trust the site?
Can you please give the link to that site so I can test it.
Maybe you are looking for
-
I do not know how to create an icloud account!
-
Hey all, Hope someone can help me, not very good at all this technology stuff so prob asking a really obvious question but here goes........My current laptop that im using to back up my iphone 4 and syncing is pretty much dead and i have a new laptop
-
Newbie at Illustrator scripting needs help assigning image
I am trying to copy a graphic stored in a vb.net picturebox.image into an activeLayer of an illustrator document. Can anyone supply me with code as to how to do it. Also is there a way to lookup a swatch by name and not have to rely on knowing it's i
-
Message error on user-exit MV50AFZ1
Hi! I need to send a message error on user-exit MV50AFZ1 (VL01N), but I can't, because when I use BAPI_DELIVERYPROCESSING_EXEC for create deliveries, it will abort my program. My program try to create many deliveries together, when occurs a message e
-
Open a forms in line command with pll attached.
Hi guys, I'm trying to open one fmb by line command, but this fmb has a pll attached and i receive the error frm-18108, so there is a somehow to open this forms with his pll, in line command.... if I try with one fmb without pll, he works out i´m usi