Quantcast
Channel: SCN: Message List
Viewing all 8798 articles
Browse latest View live

Re: m.splitApp How to set width of Master window ?

0
0

Hi,

 

Just wonder have resolved the problem? I am trying to do the same. Did the css work?


Re: New issue - programmatically export to PDF

0
0

Yes - would make sense to provide addition details... this is a web based ASP.NET (v4) application.

Issue exist only in Firefox v33 browser.  It is when the file tries to temporarily write to the client machine.

Here is an example of the code (VB.NET) than generates the reports.  BTW again to be clear this all worked fine up until 10 days ago...

 

Code:

'===============================================================================================

 

Dim crExportOptions As ExportOptions = New ExportOptions()
Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
crDiskFileDestinationOptions = New DiskFileDestinationOptions

 

If Request.QueryString("format") = "pdf" Then

 

Dim Fname As String
' The following code can be placed directly after
' the call to InitializeComponent() in the form’s constructor,
' or inside of a Button_Click event where the button is used
' by the client to get a printable copy of the report.

 

 

'ICReportPdfTemp = On server temp file creation
Fname = ICReportPdfTemp & Session.SessionID.ToString & ".pdf"

 

crDiskFileDestinationOptions.DiskFileName = Fname
crExportOptions = crReportDocument.ExportOptions
With crExportOptions
.DestinationOptions = crDiskFileDestinationOptions
.ExportDestinationType = ExportDestinationType.DiskFile
.ExportFormatType = ExportFormatType.PortableDocFormat
End With

 

crReportDocument.Export()
'' 'The following code writes the pdf file
'' 'to the Client’s browser.
szReportName = szReportName & ".pdf"
'crReportDocument.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, False, szReportName)
Dim szContent As String = Nothing
Dim szHeaderValue As String = Nothing
szContent = "content-disposition"
szHeaderValue = "attachment;filename=" & szReportName
Response.ClearContent()
Response.ClearHeaders()
Response.Buffer = True
Response.ContentType = "application/pdf"
Response.AddHeader("content-type", "application/pdf")
Response.AddHeader(szContent, szHeaderValue)
Response.WriteFile(Fname)
Response.Flush()
Response.Close()

 

' delete the exported file from disk
Try
If System.IO.File.Exists(Fname) Then
System.IO.File.Delete(Fname)
End If
Catch ex As Exception
'message for the alert
szMessage = "Cannot delete PDF temp file(information code #1651)" & "\n" & ex.Message & "\n\n INFORMATION"
strScript = "<script>alert('" & szMessage & "');</script>"
'run the alert
ClientScript.RegisterStartupScript(Me.GetType(), "ClientScript", strScript.ToString())
szRetval = "<font face='arial'><p>Was not able to delete PDF temp file.<br/>" & ex.Message & "</p></font><input onclick='window.close()'type='button' value='Close Window'>"
Response.Write(szRetval)
End Try
Response.End()

Re: Connect ESR with NWDS

0
0

Hello Rajesh ,

 

In NWDS go to -> Windows- Preferences - Web Services - Enteprise service browser.

 

Enter the details there :

 

Capture.JPG

After that to connect to ESR : Go to Windows- Prespective-open prespective - other - Enterprose service repository.

 

Click on Login button and enter user ID password. You will get connected to ESR and you can view your objects.

 

Capture.JPG

Thanks

Re: Mapping: Values missing in queue context

0
0

Strange..If there is an issue with the adapter why the message would fail at mapping level?

Re: Material Master EDI question

0
0

Well, the question is "Why the system  allowed material number creation with external number when created via EDI (IDOC)?" The configuration setting does not to allow external number for materials.

 

Has anyone come across this issue?

Re: SAP GUI installation svr 7.40 - Parameter /INI_FILE from saplogon does not work

0
0

Hi Matt,

no it won't work, neither with smal or capital letters of /ini_file.

I removed the two conig files (saplogon.ini and SapLogonTree.xml) started out from a cmd-shell:

saplogon.exe /INI_FILE=\\baslab-GUINST\SAPINSTGUI\CustomerFiles\saplogon.ini

 

Empty, except i found a file <SAPUILandscape.xml> in %APPDATA%\SAP\Common

 

Bevor I inserted somethin in the Gui of SAP LOGON 740 window

 

the SAPUILandscape.xml-File had this content:

<?xml version="1.0"?>

 

-<Landscape>

 

<Services/>

 

 

-<Workspaces>

 

<Workspace name="NWBC Admin Configuration" uuid="60c870cb-105a-4fdb-95f9-90dc4c8b35ad"/>

 

</Workspaces>

 

</Landscape>

 

afterwards:

 

<?xml version="1.0"?>

 

-<Landscape>

 

 

-<Services>

 

<Service dcpg="2" sapcpg="1100" sncop="-1" server="Test:3200" mode="1" systemid="TST" name="Test" uuid="6733d73f-99c9-4bc7-af74-a18fc45a3352" type="SAPGUI"/>

 

</Services>

 

 

-<Workspaces>

 

 

-<Workspace name="NWBC Admin Configuration" uuid="39143ce1-b72c-413a-98f1-d75ac1e2cc2f">

 

<Item uuid="56f92c53-46c3-49b8-9e9f-2fc91a8b325b" serviceid="6733d73f-99c9-4bc7-af74-a18fc45a3352"/>

 

</Workspace>

 

</Workspaces>

 

</Landscape>

 

but in the %APPDATA%\SAP\Common directory not in the one I gave as a parameter /ini_file

 

Any suggestions?

 

Regards,

Roland

Re: Need info about - SAP Business Object Data Services 4.2

Re: Crystal reports - Database error code 17

0
0

Hi Noel,

 

You code doesn't show where the report is logging into the database.  You need to have the report log onto the database before it can use parameters or anything else.

 

The error message also indicates it failed to open a connection, indicating it can't connect to the database.  If your connection is being done in another part of code, make sure your connection string is correct.

 

Good luck,

Brian


Remote Support Platform Inquiry

0
0

Hi,

 

 

     I would like to ask for best practice in regards with the setup of Remote Support Platform for SAP B1.

 

Here is the scenario of one of our clients:

 

1) Client has multiple Remote Distributors that has a SAP B1 Server for each RD

2) All RD's are connected through VPN that can be accessed through anywhere inside the VPN

3) All SAP Server are limited only for access inside the VPN, and Internet access on each server are disabled. ( We can only access it through RDP from a workstation on the VPN)

 

Is it advisable to create a Single machine that has Remote Support Platform installed then connect all DB's RD Servers on this single machine for centralized control? or better to install RSP on each SAP Server for each RD?

 

 

 

Thanks,

Lester

DTW for Sales Forecast

0
0

Hi Experts,

 

Good morning.

 

What is wrong with these CSV files?  When I run Import in DTW, only one record in OFCT table is created.  No FCT1 record is created.

OFCT.csv have 1 record and FCT1.csv have 240 records.

 

I tried changing values of LineNum from blank to:

  • sequential number (unique number per row from 1 to 240),
  • sequential number per ItemCode (each ItemCode have the same LineNum like 1 for Oct, 1 for Nov & 1 for Dec.  Numbers 1 to 80 are used since there are 80 ItemCodes), and
  • sequential number for each ItemCode (each ItemCode have LineNum 1 for Oct, 2 for Nov & 3 for Dec.  Only numbers 1, 2 & 3 are used in LineNum.


There are no error messages during Import.


CSV files.jpg


Thanks,

Noel

Update price in PIR : pb with ME_MAINTAIN_INFORECORD and Cie

0
0


Hello guys,

 

I'm facing a tricky problem for an input interface, which aims at create some Purchase Info Records.

 

Reading and checking the file, no problem.

 

Then I create the PIR, using successively 3 Function-Modules :

 

1) ME_MAINTAIN_INFORECORD

2) ME_DIRECT_INPUT_INFORECORD

3) ME_POST_INFORECORD

4) and then BAPI_TRANSACTION_COMMIT, of course...

 

All is going well : I can create "as many PIR as I want", with all the details, etc...

 

... But no price... It always remains to zero, despite the fact I put the right value in NETPR, EFFPR.

 

I can manage all the others fields, but not the most important....

 

I guess there is somewhere a flag or a stupid field which has not the correct value... But which one ?

 

Do somebody as a program using these FM, in order to permit me to check and compare ?

 

Thanks in advance,

 

Pascal

Re: NFe 3.10 - Erro origem material

0
0

Olá Simone,

 

Veja a SAP Note 2066941 - [3.10] Messages 226 and 227 missing in J1B_NFE_ERP_GRC. Acredito que ela possa sanar o seu problema.

 

Att.,

Vinícius Ferrari

Re: What do SAP specialists do when they get old?

0
0

Can I give this more 'likes'?

Re: Orders getting released with Quality Info Record set to stop release.

0
0

I did check the control key configuration and it is configured correctly.

 

10-22-2014 11-38-39 AM.png

Re: Error calling external object function intialize


Portal Self Registration appears jumbled in Chrome

0
0

Hi,

 

The portal user self registration shows all jumbled up/ misaligned  in the latest Chrome version.  It's perfect in Internet 8 - 11 and  Firefox.  We noticed while we were testing the Portal upgrade to Netweaver 7.4.  The registration link is a copy of the standard as a BSP Application in our backended SRM system...  Are we missing a formatting line for Chrome??

 

Thanks

Claire

Backup

0
0

Hello community,

 

I´m using Sybase Central to backup my ASA databases but I can´t find an option to truncate the log after backup is done. I´m running a complete backup every day. Someone knows how?

 

Thanks in advance,

SAP Legend

Re: Crystal Reports 2008 closes when linking tables

0
0

Thank you, Ludek. We called SAP and explained our problem again and was given the link to download the full build with SP 7 rather than the download page with all SP's and Fixes.

 

 

I uninstalled CR08, reinstalled using the new file. Crystal Reports closed with  the attempt to link tables.

 

 

I followed DJ's instructions in changing the registry key. Crystal Reports closed again.

 

 

So here is a bit of additional information which may help.

 

I do not have a problem with Crystal Reports linking to a local (Access-based) Database. My problem is when I link to our accounting database hosted on a off-site server.

 

 

Any other suggestions?

Re: SPS 09 Availability and new features

What version of SAP is required for report ODTF_REPL_CC_CSV

0
0

We are trying to run this report to extract cost centers but we are unable to find it in SE38?

 

What SAP version is required? or OSS Note to be installed?

 

 

Report: ODTF_REPL_CC_CSV

Viewing all 8798 articles
Browse latest View live




Latest Images