Attachment display by ITS instead http Service
Hi,
we use EBP 4.0 Bid Scenario.
Our Support package level is:
SAP_BASIS 620 0036 SAPKB62036
SAP_ABA 620 0036 SAPKA62036
BBPCRM 400 0004 SAPKU40004
PI_BASIS 2003_1_620 0005 SAPKIPYH55
ST-PI 2005_1_620 0004 SAPKITLQG4
ST-A/PI 01H_CRM400 0000 -
ITS, Version 6200.1020.55116.2, Build 800981
The topic of our request is about download of file Attachment in Bid Scenario. As you know in the bidding transactions of EBP bid invitation and vendor quotation (BBP_BID_INV and BBP_QUOT) the user can attach some files during the creation of the document (bid invitation or quotation). During the phase of attachment download the server use the docserver configuration and we get a link similar to http://touareg.it.pirelli.com:8045/sap/ebp/docserver/008/pirelli_re.gif?attcget&ClId=4510DA3E6C093A55E10000000AEFF00F
This is a tipical link that use the document server http service to display the attachment.
We would like to use the old configuration of ITS attachment display instead the docserver. In particular the use of docserver force to use different TCP port and address and not the same TCP port and address that the ITS use. We need to use only channel (the same as the ITS use for the users logon) in order to satisfy the security policy.
This is the link of the user during the ITS connection that use different server and ports (ITS instead WAS):
http://crmserver.it.pirelli.com:85/scripts/wgate/bbpstart460952c7/~flNlc3Npb249SVRSOmNybXNlcnZlcjowMDAwLjAwMGIuMjNiNGUxNTMuNWM3MyZ+aHR0cF9jb250ZW50X2NoYXJzZXQ9dXRmLTg=
We find some oss notes as 434218, 588597 or 605323 about this topic but what we need is the opposite behaviour : display the attachment from ITS connection instead http Service.
Best regards.
Davide,
Hi. I had a similar problem.
You can programatically display the attachments as an ITS service. This is done through a call to function module within a bespoke ITS transaciton.
The below code was to send the shopping cart print out as a pdf, but the same principle would apply from any attachment. You would just need to read in the attachment as a binary table (Look at the code in docserver to see how to do that)
Buffer set for
concatenate
'attachment; '
'filename=Cart'
i_cartid
'.pdf'
into lv_mimedisp.
Download & display this on the ITS server
call function 'BBP_ALEWEB_DOWNLOAD'
exporting
data_len = l_size
mime_type = lc_type
" mime_disp = lv_mimedisp
tables
data_tab = tab_pdf
exceptions
its_not_available = 1
others = 2.
if sy-subrc ne 0...
I found this to be a bit flawed in that you loose the link to the transaction (ITS page), and therefor the user is always logged, even though they have closed the attachment display. In the end I used a call to WAS from ITS (i.e. the docserver), and turned on SSO.
By turning on SSO you would most likely avoid security issues, but obviously it is dependant on your specific network.
These issues are avoided with SRM 5.5 where the ITS is internal, and therefor on the WAS
http://saptest:8080/sap/bc/gui/sap/its/bbpstart/!
vrs
http://saptest:8080/sap/bc/bsp/sap/itsm/default.htm
Cheers
Rob
Similar Messages
-
Http Service : Help required in displaying result
Hi All,
I have created a http service and i'm trying to post the http request. the result is Successful but i'm not able to display the result in the alert window.
This is what I'm trying to do on the result event handler function.
protected function postRequestResult_resultHandler(event:ResultEvent):void
var srt:String = event.result.nodeValue;
Alert.show(srt , "Result");
but I'm getting an output something like [object object ]
Please help. All I need is to do is, display the complete soap envelop ( soap header and body ) present in the result.
Is there a way to do it ?
Thanks and regards,
adewrnHi,
Thanks for all your replies. I was able to solve it by making the resultFormat property of http service object as text, This returned the entire result as a string. And i was able to display it.
Regards,
adewrn -
Why does safari display empty page when localhost service are requested using https?
Why does safari display empty page when localhost service are requested using https and port 37542 (https://localhost:37542/), but displays page properly when regular port is used (https://localhost/).
Both links return the same json response and work properly in other browsers. Certificate for localhost service was installed to the storage.Problem solved.
I added headers for localhost service response and page displayed normally. -
Hi,
As in FB03 transaction we have option of seeing attachment document attached on double click.. How do we display the Document on double click in my custom program.. The Attached Document information ie doc id is available in table toa01. Is there any FM or class that does this function or any sample program wchich will help me in implementing the same..?
thanks.
Moderator Message: Please search for available information before posting.
Edited by: kishan P on Dec 20, 2010 3:03 PMDavide,
Hi. I had a similar problem.
You can programatically display the attachments as an ITS service. This is done through a call to function module within a bespoke ITS transaciton.
The below code was to send the shopping cart print out as a pdf, but the same principle would apply from any attachment. You would just need to read in the attachment as a binary table (Look at the code in docserver to see how to do that)
Buffer set for
concatenate
'attachment; '
'filename=Cart'
i_cartid
'.pdf'
into lv_mimedisp.
Download & display this on the ITS server
call function 'BBP_ALEWEB_DOWNLOAD'
exporting
data_len = l_size
mime_type = lc_type
" mime_disp = lv_mimedisp
tables
data_tab = tab_pdf
exceptions
its_not_available = 1
others = 2.
if sy-subrc ne 0...
I found this to be a bit flawed in that you loose the link to the transaction (ITS page), and therefor the user is always logged, even though they have closed the attachment display. In the end I used a call to WAS from ITS (i.e. the docserver), and turned on SSO.
By turning on SSO you would most likely avoid security issues, but obviously it is dependant on your specific network.
These issues are avoided with SRM 5.5 where the ITS is internal, and therefor on the WAS
http://saptest:8080/sap/bc/gui/sap/its/bbpstart/!
vrs
http://saptest:8080/sap/bc/bsp/sap/itsm/default.htm
Cheers
Rob -
HTTP Service Maintainence for BSP
Hi Friends..
A clarification :
I transported a BSP in production. When I go there to display my BSP in SE80 its gives a message:
There is no SICF node yet for this BSP Application.
Could not generate the node automatically.
Add a node manually using "HTTP Service Maintainence"
Also I am not able to run this BSP and it throws exception.
I want to know whether can we create directly in Production for this BSP or
If I transport this from DEV System will it be automatically created in the Production System after the Transport.
I am quite new to BSP..
Immediate help would be appreciated.
Regards
Deepak
Message was edited by: DEEPAK PARASHARFirst of all:
Better place for this post is BSP forum.
Coming to your requirement.
For your BSP application the SICF node should get created automatically if you have transported properly.
When you create a new BSP application and attach it to a transport request , the following objects should be there under the transport task.
ICF Service "as soon as you create the BSP application
Info Object from the MIME Repository "if you have MIMEs for your application
BSP (Business Server Pages) Application "once the page is created
So in your case just go to dev. environment and add your BSP application to a new transport request and transport.
You can also manually add these things to your transport request from transaction se03->object directory entry.
R3TR SICF "SICF service
R3TR SMIM " mime objects
R3TR WAPA "BSP pages
Hope i am clear.
Regards
Raja -
JSP error page does not displayed on its own, includes in the original JSP
Problem Description: - Exceptions in a Condition cause pages to fail to render.
The actual issue is, the JSP error page does not displayed on its own, included in the original JSP Page when exception occurs.
Problem Cause: As per the JSP specification when jsp content reached the buffer size (default 8KB) the page being flushed (Part of condent displays). The default �autoFlush� value is true.
When the page buffer value is default size (8KB), and if any exception occurs after flushing the part of the content, instead of redirecting into error page, the error page content included in the original page.
If i specify autoFlush="false" and with default buffer size, at the runtime if the buffer size is reached, i am getting stackoverflow error.
To solve the above problem we can make it autoFlush=�false� and buffer=�100KB�. But we can�t predict the actual size of the page.
I found in one of the weblogic forum as no solution for this issue. Ref.
http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_clfydoc&answerpage=solution&page=wls/S-10309.htm
Please provide me any solution to resolve the problem.Error-Page tags work best with an error.html pages. If you have an error.jsp page what I would do, and I have, is wrap my classes and jsp pages in a try catch block where you forward to the error jsp page and display anything you want. YOu can also do this with if else statements. I have used the tomcat error pages before but when I've implemented them I used java.lang.Exception as the error to catch not Throwable. I don't know if this would make a difference or have anything to do with your problem.
-
Display Extension Number Instead of Switchboard Number
Hi,
We are using CUCM system in one of our branch office, we want to display extension number instead of switchboard number when we call external. But the telecom company said the dial information we send is "Unknown", need to be changed to "National Effective"... The voice gateway is C2951 and it's configured by vendor before; I can't find any configuration related to that, or maybe there wasn't any. Can someone help with this? Thanks.Make sure the phones have external phone number mask and under route pattern you have Use Calling Party's External Phone Number Mask - checked. Then follow the below to set the called party number plan:
If its a MGCP gateway then under the route pattern>called party transfomrations> set the called party number type to local/national/international depending for the respective route pattern.
Review: http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/8_5_1/ccmcfg/bccm-851-cm/b03cldpt.html#wp1350852
If its H323/SIP you can use translation rules. Review the below document:
http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/61083-voice-transla-rules.html#type_plan
-Terry
Please rate all helpful posts -
TREX - http service could not be started
Hi Experts,
After installing TREX on a windows server in a Portal scenario the
Httpserver/Webserver is not starting up.Could you please help to
analyze
and resolve this issue.
Symptom:
TREX httpserver is showing red in the "Services " tab of the TREX Admin
tool.
The following are some of the actions i performed
1.Applied note
1029783 - TREX 7.0 Httpserver does not work in 64 Bit Windows
1981642 - TREX http service could not be started
2.Executed the steps as its from the below link
http://wiki.scn.sap.com/wiki/display/TechTSG/TREX+WebServer+is+not+starti
ng+up
after doing all these still i'm unsuccessful.Could you please help me
in
solving the issue.
Thanks,
Satheesh EHi,
Please refer to below detailed guide,
http://wiki.scn.sap.com/wiki/display/TechTSG/TREX+WebServer+is+not+starting+up
Also check logs for errors and add them also.
Kind Regards,
Johan -
Java Mapviewer : display a marker instead of a circle
Hi,
how to display a marker instead of a circle for live features in mapClient of mapviewer. I used drawLiveFeatures and highlightFeatures for a clickable themeCheck this out
http://managingosx.wordpress.com/2008/02/20/managed-client-managed-dock-folders- have-incorrect-behavior-on-leopard/
I've tired it with a few users and it works. Users see the expected behavior depending on which type of OS they're using, Leopard or Tiger. You will have to add another key to the particular item, displayas I think, to determine if the particular folder is displayed as a folder, stack, or grid. This key is an integer with its numbered value corresponding to which display mode you want to use. I'm not sitting in front of a Leopard machine currently so I can't check the exact syntax, but if you change a user's dock on a Leopard machine and then open ~/Library/Preferences/com.apple.dock.plist you'll see the value there based on the current settings. After you change this setting you will get a bunch of errors if you try to manage the dock using the Overview view in WGM preferences section, but they can be safely ignored. -
I have restored my new replacement iPhone from my latest iCloud back up. However my camera roll pictures are not displaying. Its not saying I don't have any pictures in my camera roll, it has all the spaces for them, but it just shows empty white squares? How do I get my pictures back? Thanks!
It's difficult to say whether it's stuck or not as the time to restore a backup can depend on many factors. You'll have to decide when you think it's just not continuing. You could try turning the phone off (hold the power button until you see the red off slider, then slide to turn off), then back on to see if that would get it going again.
When you're convinced it's just hung, you can go back to settings and tap Stop Restoring iPhone to stop the restore. You'll then have to try restoring it again (Settings>General>Reset, tap Erase All Content and Settings, go through the setup screens and when given the option, choose Restore from iCloud Backup). Be sure it's connected to your charger and wifi while it's restoring the backup.
You might also try the approach posted here by ezjules: https://discussions.apple.com/message/19518589#19518589. This seems to have worked for some people who had trouble restoring their photos from an iCloud backup. -
I asked this question over at stackoverflow and am now taking it here: http://stackoverflow.com/questions/20672254/ie11-crystal-reports-printmode-activex-now-displaying-pdf-prompt-instead-of
It's a simple straight-forward question. IE11 is breaking the ActiveX plug-in used for printing from the Crystal Report Viewer. All the pretty pictures are in the link I provided. But the jist is that for my ActiveX Print Mode reports, the PDF dialog is presented now instead of the normal Printer dialog (unless I use Compatibility Mode)
Other details:
I am using the Crystal Reports that comes with Microsoft Visual Studio 2008. For the life of me I can't remember how this got installed on one of my browser's (maybe an install from Visual Studio?) ... but I've been deploying the Crystal Print Control 10.5 (32-bit; version: 10.5.1.2285).
And as mentioned in the stackoverflow post I have all ActiveX settings enabled and ActiveX Filtering off.Hi William,
Moved your post to the .NET SDK forum.
CR for VS 2008 was included in the installer of Visual Studio, you can remove it from Add/Remove Programs.
Unfortunately the CR Basic that comes with VS 2008 only had one patch released and that's it. IE 11 was not released when it came out so we could not support it.
Currently there are no versions of CR or our SDK packages that do support it.
Crystal Reports Developer for Visual Studio SP 9 will support IE 11. You can get it from the Overview Tab and then on the left side. But it requires VS 2010 or above and SP 9 will support VS 2013 and IE 11.
In VS you could select either ActiveX or PDF:
I don't have IE 11 but to change the PDF go into the Add-ins menu:
See this link for supported OS's and VS's:
http://wiki.sdn.sap.com/wiki/x/b4JiAw
Also, IE 11 is likely on Windows 2008 Server or possibly Window 8.x.
Best thing to do is upgrade VS and then download the CR installer into VS so it supports current OS's and Browsers.
Don -
How to fix iframe issue that displays XML values instead of formatted XML in IE11
The following sub.jsp file shows the formatted XML properly as expected when is opened directly:
<% response.setContentType("text/xml"); %>
<book>
<chapter1>chapter 1</chapter1>
<chapter2>chapter 2</chapter2>
</book>
IE11 shows the result as below which are colored and can be collapsed or un-collapsed:
<book><chapter1>chapter 1</chapter1><chapter2>chapter 2</chapter2></book>
But if the sub.jsp is opened in an iframe from the below main.html, it only shows the values of the XML in the iframe:
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<iframe src="sub.jsp"></iframe>
</body>
</html>
The iframe shows only the XML values, i.e., chapter 1 chapter 2 in IE11. This issue does not happen in IE8.
I appreciate to your if you know how to address this issue.
Regards, AmirThe following sub.jsp file shows the formatted XML properly as expected when is opened directly:
<% response.setContentType("text/xml"); %>
<book>
<chapter1>chapter 1</chapter1>
<chapter2>chapter 2</chapter2>
</book>
IE11 shows the result as below which are colored and can be collapsed or un-collapsed:
<book><chapter1>chapter 1</chapter1><chapter2>chapter 2</chapter2></book>
But if the sub.jsp is opened in an iframe from the below main.html, it only shows the values of the XML in the iframe:
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<iframe src="sub.jsp"></iframe>
</body>
</html>
The iframe shows only the XML values, i.e., chapter 1 chapter 2 in IE11. This issue does not happen in IE8.
I appreciate to your if you know how to address this issue.
This issue is also posted at below link:
https://social.msdn.microsoft.com/Forums/en-US/5b0692b4-d312-4797-9089-42c1029ac059/how-to-fix-iframe-issue-that-displays-xml-values-instead-of-formatted-xml-in-ie11?forum=iewebdevelopment
Regards, Amir -
Dear Readers:
I hope you can help me to debug an error I am getting on install of both the Oracle 9i database (9.2.0.1.0) and the Oracle9iAS Release 1 (V1.0.2.2). After the database install is complete I am getting the following error on the start up of the HTTP Service:
[Fri Jul 12 22:59:38 2002] [crit] (10045)The attempted operation is not supported for the type of object referenced: Parent: WSADuplicateSocket failed for socket 1028.
[Fri Jul 12 22:59:38 2002] [error] master_main: create child process failed. Exiting.
[Fri Jul 12 23:00:38 2002] [error] forcing termination of child #0 (handle 1256)
[Fri Jul 12 23:08:28 2002] [crit] (10045)The attempted operation is not supported for the type of object referenced: Parent: WSADuplicateSocket failed for socket 1092.
[Fri Jul 12 23:08:28 2002] [error] master_main: create child process failed. Exiting.
[Fri Jul 12 23:09:28 2002] [error] forcing termination of child #0 (handle 1320)
As far as I know I am taking care to uninstall according to the documentation and reinstall; however, I am still getting the same errors. I hope someone can help with this very urgent request, as I have a demo to show a client next Friday.
Bests,
HarjeetI was just able to get it working on mine on a VMMR2 Cluster (hyper-v on 2012 and 2012 R2 hosts with the same success) and the Service Template using a VM template with Server 2008R2 Enterprise. I don't know if you did the same steps but:
created a fresh VM in VMM - install Virtual Guest Services.
convert that VM to a VM Template - VMM then copies the VM files to a location on your VMM Library.
create Service template using the new VM template - with no services.
I've had problems in the past with trying to convert a VM to a template, and the VM would fail at the 'Fix up differencing disks' .. It wasn't until I did a fresh install instead of trying to convert a VM copy of a copy of a copy of a V2V migration..
Mine completes successfully but with an error couldn't install Virtual Guest Services when they are already installed. hmmm.. The VM/Service is running fine however.
---------------------------- Error I got -------------------------------
Error (13233)
Unable to install Virtual Guest Services on virtual machine TEST_SERVICE. The Hyper-V Integration Services setup exited with error code 60001.
Recommended Action
For more information, refer to the Hyper-V documentation for virtual machine integration services at
http://go.microsoft.com/fwlink/?LinkId=118036 and then try the operation again. -
Obiee 11.1.1.6.6 - analysis displays two dates instead of one prompted
Hi all,
my analysis somehow displays two dates instead of one prompted.
How can it be?
Tell me please what additional information should I include for you to help me.
obiee 11.1.1.6.6
Upd: prompt screenshots
http://marchello.ccx-grads.org/img/BI_prompt_001.png
http://marchello.ccx-grads.org/img/BI_prompt_002.pngThis is from "Administration" -> "Manage Sessions" section of obiee
1) everything seems fine, WHERE clause shows correct date
SET VARIABLE QUERY_SRC_CD='Report',SAW_SRC_PATH='/shared/VB/8.RB-213.BI.1';SELECT
0 s_0,
"VB"."VBIREP8"."AASYSDATE" s_1,
"VB"."VBIREP8"."ADAY" s_2,
"VB"."VBIREP8"."AMONTH" s_3,
"VB"."VBIREP8"."ARCDATE" s_4,
"VB"."VBIREP8"."AYEAR" s_5,
"VB"."VBIREP8"."CONTRAGENTID" s_6,
"VB"."VBIREP8"."CONTRAGENTNAME" s_7,
"VB"."VBIREP8"."CREDITS" s_8,
"VB"."VBIREP8"."DEPOSITARY" s_9,
"VB"."VBIREP8"."DEPOSITS" s_10,
"VB"."VBIREP8"."IDENTIFYCODE" s_11,
"VB"."VBIREP8"."OVERDAY30" s_12,
"VB"."VBIREP8"."RESTRUCTURED" s_13,
"VB"."VBIREP8"."SEGMENT" s_14,
"VB"."VBIREP8"."STATUS" s_15,
"VB"."VBIREP8"."TOBO" s_16
FROM "VB"
WHERE
(CAST("VBIREP8"."ARCDATE" AS DATE) = date '2013-08-15')
ORDER BY 1, 3 ASC NULLS LAST, 4 ASC NULLS LAST, 6 ASC NULLS LAST, 5 ASC NULLS LAST, 7 ASC NULLS LAST, 8 ASC NULLS LAST, 12 ASC NULLS LAST, 15 ASC NULLS LAST, 16 ASC NULLS LAST, 9 ASC NULLS LAST, 14 ASC NULLS LAST, 13 ASC NULLS LAST, 11 ASC NULLS LAST, 10 ASC NULLS LAST, 17 ASC NULLS LAST, 2 ASC NULLS LAST
FETCH FIRST 100000001 ROWS ONLY
2) and now attention, I press "next rows" arrow, my WHERE clause is simply ABSENT!
SET VARIABLE QUERY_SRC_CD='Report',SAW_SRC_PATH='/shared/VB/8.RB-213.BI.1';SELECT
0 s_0,
"VB"."VBIREP8"."AASYSDATE" s_1,
"VB"."VBIREP8"."ADAY" s_2,
"VB"."VBIREP8"."AMONTH" s_3,
"VB"."VBIREP8"."ARCDATE" s_4,
"VB"."VBIREP8"."AYEAR" s_5,
"VB"."VBIREP8"."CONTRAGENTID" s_6,
"VB"."VBIREP8"."CONTRAGENTNAME" s_7,
"VB"."VBIREP8"."CREDITS" s_8,
"VB"."VBIREP8"."DEPOSITARY" s_9,
"VB"."VBIREP8"."DEPOSITS" s_10,
"VB"."VBIREP8"."IDENTIFYCODE" s_11,
"VB"."VBIREP8"."OVERDAY30" s_12,
"VB"."VBIREP8"."RESTRUCTURED" s_13,
"VB"."VBIREP8"."SEGMENT" s_14,
"VB"."VBIREP8"."STATUS" s_15,
"VB"."VBIREP8"."TOBO" s_16
FROM "VB"
ORDER BY 1, 3 ASC NULLS LAST, 4 ASC NULLS LAST, 6 ASC NULLS LAST, 5 ASC NULLS LAST, 7 ASC NULLS LAST, 8 ASC NULLS LAST, 12 ASC NULLS LAST, 15 ASC NULLS LAST, 16 ASC NULLS LAST, 9 ASC NULLS LAST, 14 ASC NULLS LAST, 13 ASC NULLS LAST, 11 ASC NULLS LAST, 10 ASC NULLS LAST, 17 ASC NULLS LAST, 2 ASC NULLS LAST
FETCH FIRST 100000001 ROWS ONLY
Sure, I receive another date (01.02.2013). Just one thing is strange here - why do I receive only one extra date (I should receive ALL dates in Oracle table when I perform query without any WHERE clause). -
I bourgh the iphone 4 in apple store UK. When I buy they said its already unlock. I came to my country and try to use diffrent SIM card but its saying 'No Services'. How can I unlock my phone Please? If anyone know UK tec support email ID please let me know????
ThanksThe ONLY source of unlocked iPhones in UK is Apple retail Stores ( Apple owned )
all others will be locked to a carrier (did you buy from carphonewarehouse )
Only the carrier who locked it can unlock the iPhone
Apple do NOT unlock iPhones
If you purchased from Apple (the Apple ) then contact the store
if not it is locked to a carrier
http://support.apple.com/kb/index?page=servicefaq&geo=United_Kingdom&product=iph one
Maybe you are looking for
-
How do I open a PDF to a specific page via the command line?
Several questions about opening PDFs from the Mac OS X command line: 1) How do I use the "open" command to open a PDF to a specific page? (I know I can open a document via: open doc_name.pdf) 2) How do I use the "open" command to pass multiple argume
-
How do I add page numbers to my document without the page numbers automatically changing? The title page is blank, I can type in 1 on the 1st typed page, but the #1 automatically goes into the next page and will not change.
-
HI! My itunes on windows 7 opens once. If i close it, then it will not open again. I then need to turn computer off and back on and it will open again, once. I have tried troubleshooting with the article 'unexpected quits, freezes or launch problems'
-
How to put checkbox into sap grid display
hi, how to put checkbox into sap grid display ,when i am selecting the check box it should move to second secondary list. could u plz explain clearly
-
Unable to install Extension Builder 2.1
I'm unable to install the 2.1 trial on a Windows 7 machine. I get a message saying: 'The setup has detected that no version of the Extension Builder 2.1 is installed. The specified command-line options require that the applicatoin be installed to co