X-file with db function returning a rowtype to forms. Positional binding?
How to explain this ...
First things first:
Forms [32 bits] Versión 11.1.2.1.0 (Producción)
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
Now the db testcase:
I've got two schemas, quite similar, SCHEMA_A and SCHEMA_B
Imagine the same table: mytable (colx varchar2, coly varchar2, colz varchar2) in both schemas,
BUT in SCHEMA_B the order of the cols is not the same. In schema B it is
mytable (colx, colz, coly).
(Yeah, I know, I know, but leave it for the sake of the x-file)
Let's suppose the table has only one row, and that I have a db function in both schemas such as this:
function get_myrow return mytable%rowtype is
l_row mytable%rowtype;
begin
select * into l_row from mytable;
return l_row;
end;
Here, the forms testcase:
I make a form, where I show the value in an item
For example:
:item := get_myrow().coly
And now, the x-file:
If I compile the form in the builder, connected as SCHEMA_A, when I run it in SCHEMA_B, the item shows colz value!!
It is as if forms is doing some kind of positional binding in the fmx. Instead of asking for coly column to the record type variable, it shows "the second value" of the record type.
Now, I will have to find this disordered tables and reorder them (dbms_redefinition? hints are welcome).
Any thougts? Bug as feature?
About the "select * is problematic" , I agree 99% of the times. But this time, as I'm storing the values in the rowtype variable, is the way to ensure that the estructure and the values fit.
You said:
What happens when your table changes (such as a new column) but your function hasn't been updated? Your Function will produce an error because it can't handle the additional column.
And it's just the opposite. My function will recompile itself, as the rowtype is perfectly capable of storing the values in the new rowtype.
In fact, it's the MLBrown function the one that would produce an error if I change columns in the table, and that's the best case scenario, as the function could be lucky and work storing the values in the wrong places, leaving the bug hidden.
Anyway, I understand this "select *" issue is arguable, so forget about the select * , I'll take it out of this thread with a more simple testcase:
create table mytable (
colx varchar2(10),
coly varchar2(10),
colz varchar2(10));
Consider this "select free" version of the function:
function get_myrow return mytable%rowtype is
l_row mytable%rowtype;
begin
l_row.colx := 'a';
l_row.coly := 'b';
l_row.colz := 'c';
return l_row;
end;
Forget also about schema_a and schema_b, I can reproduce it with just one schema!!!
Now I build a form with just a button. When- button-pressed:
message (get_myrow.coly);
I compile and run it, and I get a b value. ok.
Now I drop the table and recreate but like this:
create table mytable (
colx varchar2(10),
colz varchar2(10),
coly varchar2(10));
Now run the form (without compiling) and see how the message shown is c !!!
The result is different, depending on how whas the rowtype structure when I compiled the fmb.
Are you indeed telling that is acceptable an escenary where I ask for get_myrow().coly value and I get colz value instead?
How's that possible? Because somebody shortcutted in the fmx compiling process, and converted my call for named coly value to a call to "the second column of the record variable".
I'm not asking for a numbered position , I'm asking for coly value, not for "the second column of the rowtype variable the day I compiled the form". Had I want a possitional binding, I'd use a frikkin varray.
Similar Messages
-
Oracle Apps RDF Report generates file with ^M (Carriage return) characters
We are upgrading from 11i to r12 (also moving from HP unix to AIX on hardware side) and this rdf report generates a text file which is then eventually sent to a third party system for printing. Report works just fine in 11i as it generates a file without any ^M chars but in R12 environment, the same report generates file with ^M chars.
Also want to understand how the Oracle Apps system hands over the output files to O/S which is saved.
Pls advice
Thanks
Ram M.What type of concurrent program are we talk about here?
This is a Report type of Concurrent program
How does the text file get generated?
Report is generating a Text file on :desname, a custom folder.
Was the binary mode used to copy the files from the old server to the new one?
I believe RDF Reports were copied over in Binary format but none of the text files generated from old server are copied over. -
I originally posted this on the Windows Insiders forum, but I was directed to either TechNet or MSDN as this was deemed too technical.
I do understand that Windows 10 is still in preview mode, and VS2013 doesn't officially support it yet, but I just wanted to make a note of this, and ensure it gets fixed :)
The issue:
I ran across what appears to be a .Net bug in Windows 10. This issue does NOT appear when using either Windows 7 or Windows 8 Enterprise. This also does NOT appear when running an x86 build. This is an x64 specific issue, and occurs in
both release and debug configurations.
If you have a C++ function that looks like this:
double GetValueDouble()
return 555.555;
And on the C# side:
[DllImport(DLLNAME, CallingConvention = CallingConvention.Cdecl)]
public static extern double GetDoubleValue();
static class Program
static int Main(string[] args)
double val = GetDoubleValue();
Console.WriteLine("val = {0}", val);
I'd expect the output to be:
val = 555.555
But I actually get something like this:
val = -2.0608193755203536E+262
This has been reproduced on two different machines, both running Windows 10.
Is this a known bug? I searched the forums, but didn't find anything relevant.I can repro, but only running under the VS2015 preview debugger. Running the console app directly gives the 555.555 value:
C:\scratch\DoubleRepro\ConsoleMain\bin\x64\Debug>dir
Volume in drive C has no label.
Volume Serial Number is C285-B76C
Directory of C:\scratch\DoubleRepro\ConsoleMain\bin\x64\Debug
02/18/2015 06:42 PM <DIR> .
02/18/2015 06:42 PM <DIR> ..
02/18/2015 06:45 PM 4,096 ConsoleMain.exe
02/18/2015 06:37 PM 187 ConsoleMain.exe.config
02/18/2015 06:45 PM 11,776 ConsoleMain.pdb
02/18/2015 06:41 PM 45,568 CPP_DLL.dll
4 File(s) 61,627 bytes
2 Dir(s) 89,595,490,304 bytes free
C:\scratch\DoubleRepro\ConsoleMain\bin\x64\Debug>ConsoleMain.exe
val = 555.555
C:\scratch\DoubleRepro\ConsoleMain\bin\x64\Debug>dumpbin cpp_dll.dll /headers
Microsoft (R) COFF/PE Dumper Version 11.00.60610.1
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file cpp_dll.dll
PE signature found
File Type: DLL
FILE HEADER VALUES
8664 machine (x64)
8 number of sections
54E54D6A time date stamp Wed Feb 18 18:41:46 2015
0 file pointer to symbol table
0 number of symbols
F0 size of optional header
2022 characteristics
Executable
Application can handle large (>2GB) addresses
DLL
How about yourself? Does it repro outside of the VS debugger? -
Help. Strange problem with a function returning VARCHAR2
Hi.
i have a function that returns VARCHAR2, the following happens:
IS
v_retorno VARCHAR2(1000);
v_stm2 VARCHAR2(500);
v_stm1 VARCHAR2(500);
BEGIN
v_retorno :='INSERT INTO '||p_nome_tabela||'('||v_stm1||') VALUES('||v_stm2||')';
-- it raises an exception OTHERS here
v_stm1 has the value :
PERFIL,TIPDOC,GRPIMP,DES,IMPDES,GRPAGI,TOTAGI,TOTPOSRVP,TOTNEGRVP,TOTALIZA,TEMMSG,ORDEM,CODFORCAB,SINAL,ORDEM,CODEMP,USER_CRI,DT_CRI
v_stm2 has the value:
'BASE','03','999999','teste','N','0701','N','111111','222222','S','N',TO_NUMBER('111'),'X',TO_NUMBER('1'),TO_NUMBER('222'),TO_NUMBER('10'),'427195',TO_DATE('19-05-2008 04:32:49','DD-MM-YYYY HH:MI:SS')
p_nome_tabela is a table name, for example my_table.
This is to produce a varchar2 string to execute dynamic sql.
Can you help? I don't understand what's wrong.
If i do this :
v_retorno :='INSERT INTO '||p_nome_tabela||'('||v_stm1||') VALUES(';
it works, doesn't raise the OTHERS exception, but if i had the other variable, the OTHER is raised.No idea if this is relevant here or not, but:
v_retorno VARCHAR2(1000);
v_stm2 VARCHAR2(500);
v_stm1 VARCHAR2(500);What happens if your v_stm1 and v_stm2 variables are both 500 characters long?
I think you should think about increasing the length of v_retorno... -
How to find the number of data items in a file written with ArryToFile function?
I have written an array of number in 2 column groups to a file using the LabWindows/CVI function ArrayToFile...Now if I want to read the file with FileToArray Function then how do I know the number of items in the file. during the write time I know how many array items to write. but suppose I want the file to read at some later time then How to find the number of items in the file,So that I can read the exact number and present it. Thanks to all
If you are young work to Learn, not to earn.
Solved!
Go to Solution.What about:
OpenFile ( your file );
cnt = 0;
while ((br = ReadLine ( ... )) != -2) {
if (br == -1) {
// I/O error: handle it!
break;
cnt++;
CloseFile ( ... );
There are some ways to improve performance of this code, but if you are not reading thousands of lines it's quite fast.
After this part you can dimension the array to pass to FileToArray... unless you want to read it yourself since you already have it open!
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
SQL Loader - CSV Data file with carraige returns and line fields
Hi,
I have a CSV data file with occasional carraige returns and line feeds in between, which throws my SQL loader script off. Sql loader, takes the characters following the carraige return as a new record and gives me error. Is there a way I could handle carraige returns and linefeeds in SQL Loader.
Please help. Thank you for your time.
This is my Sql Loader script.
load data
infile 'D:\Documents and Settings\user1\My Documents\infile.csv' "str '\r\n'"
append
into table MYSCHEMA.TABLE1
fields terminated by ','
OPTIONALLY ENCLOSED BY '"'
trailing nullcols
( NAME CHAR(4000),
field2 FILLER,
field3 FILLER,
TEST DEPT CHAR(4000)
)You can "regexp_replace" the columns for special characters
-
Select from function return rowtype @ db link
Hi, I am trying to select a row from a function which return a row type @ another DB.
First DB
==========
Function: fn_something(params) return mytable@snddb%rowtype
DB Link: snddb
Second DB
==========
Table: mytable (Column: mycol)
I have tried to execute query
select fn_something(params) from dual
OR
select mycol from table(fn_something(params))
but I have got "invalid datatype" error.
What would be the correct syntax for my query? Thanks.Hi Andy,
Thanks for your reply.
My function itself has no problem and has been using for a while.
The function return a rowtype(a table row) and it is using in a stored procedure.
It could be done in stored procedure but I would like to know if I could call it directly from a query.
I have just read another thread
Help - Oracle function w/RETURN VIEW_NAME%ROWTYPE
which is quite similar to mine
but I am trying to get a column value from the function and execute an insert statement.
Could I do it without wrapped by begin end ? -
Error with function that returns a rowtype...
i have a function that returns a rowtype. below is a simplified version:
create or replace function "GETC"
return mytable%rowtype
is
rec mytable%rowtype;
begin
rec.rowid := 1;
return rec;
end;
eventually i'll want to call this from java. but for now i'd settle for calling it from the XE web front end (and sqlplus).
SQLPLUS: i try to call it from sqlplus by first declaring a variable where i can store the return:
var a mytable%rowtype;
it instantly stops me saying that i can only declare a var of a particular type. so what do i do?
XE interface: i tried various ways to call getc(), but they were all unsuccessful. what should i be doing?
thanks so much for your time.
markoGiven a function like this:
CREATE OR REPLACE FUNCTION get_employee
( p_empno emp.empno%TYPE )
RETURN emp%ROWTYPE
AS
v_result emp%ROWTYPE;
BEGIN
SELECT * INTO v_result
FROM emp
WHERE empno = p_empno;
RETURN v_result;
END get_employee;You can call it within PL/SQL like this:
DECLARE
rec emp%ROWTYPE;
BEGIN
rec := get_employee(7902);
DBMS_OUTPUT.PUT_LINE(rec.ename);
END;However,
1. Unless there is a column named "ROWID" in the table (unlikely since it would conflict with the actual rowid and is therefore not allowed), the type will not have an attribute named "rowid".
2. "1" would not be a valid rowid anyway.
3. %ROWTYPE defines a PL/SQL type, which will not be recognised in other environments such as SQL and Java. -
The scroll function on my mousepad is disabled when viewing a pdf file in firefox version 5.0. The scroll works on the pdf, but not on the other tabs. When the pdf is closed, the scroll function returns to normal. Any ideas?!
Hey thanx for the help, it worked like a charm.
I think firefox changed the application lay out, as I used to be able to choose my PDF opener from the list at " Adobe Acrobat Forms Document' where I could choose Nitro-PDF reader, but it has now moved all the way to the bottom like you suggested to the obvious place of "Portable Document Format" section.
If someone didn't tell me , I wouldn't have scrolled all the way down to be able to find it... it really should be with all its cousins up the top...
Cheers again.. -
OneDrive stopped returning files with a "+" in its file name.
Hi,
My app creates a folder in OneDrive in the name of the app and saves a data file with the same name in it. My app name contains a "+" in the name. For example "Menu+ Inventory.dat"
All was working well for last couple of years and suddenly OneDrive is not returning files with a "+" in its name for the last few days. Many of my app users will loose data if the file couldn't be retrieved from OneDrive.
// Runs a search query on SkyDrive to find a matching file.
function searchForFile(path) {
var whenFolderFound = _searchForFolder();
var skyDriveSearchPath = "/me/skydrive/search?q=" + path;
// Runs async search for the user-specified file.
var whenFilesFound = WL.api({
path: skyDriveSearchPath,
method: "GET"
}).then(function (response) {
if (response != null) {
return WinJS.Promise.wrap(response);
} else {
inMemoryFile = null;
return WinJS.Promise.wrap(false);
In the SkyDrive Roaming Data sample, in the above function, if the skyDriveSearchPath has the above mentioned filename, the response doesn't have the file. The sample app will create the file, save data with that name, but does not read the file. It
can read other files with no "+" in the file name.
Is there a change in OneDrive naming specs recently?Sorted. Well sort of. I still have the problem but I know why. Apparently O2 will not allow anyone to send an attachment which has a space in the name. They claim that this reduces spam - no idea why they think that will stop spam but there you go...
-
Convert %rowtype function return into sys_refcursor
I have an interesting problem. We have created a standard pattern for all of our "get" functions for returning data to always return a sys_refcursor to our JAVA application as it is very easy to deal with cursors and convert them to Java Collection objects (i.e. List). I'm having an issue though with the fact that some of our lower level (DML layer) pl sql code returns [TABLE_NAME]%rowtype types. I haven't found a way for jdbc to handle this type of structure, and have found some people saying that is just can't (which makes sense).
What I would like to pose is if anyone has a clever way to manually create a cursor and insert the %rowtype object into it. It sounds simple enough, but I've tried a few approaches and nothing works. Maybe I'm just too tired or it's simply not possible.
Any help would be greatly appreciated.You could use pipelined functions, something like that:
create table testtable
pk number,
col2 varchar2(10)
insert into testtable values(1, 'ABC');
create or replace package testpack
as
type tabtype_testtable is table of testtable%rowtype;
function f_get_row return testtable%rowtype;
function f_pipe_row return tabtype_testtable pipelined;
function f_ret_refcur return sys_refcursor;
end testpack;
create or replace package body testpack
as
function f_get_row return testtable%rowtype
is
r_testtable testtable%rowtype;
begin
select pk,
col2
into r_testtable
from testtable
where rownum = 1
return(r_testtable);
end f_get_row;
function f_pipe_row return tabtype_testtable pipelined
is
begin
pipe row(f_get_row);
return;
end f_pipe_row;
function f_ret_refcur return sys_refcursor
is
r_refcur sys_refcursor;
begin
open r_refcur for
select * from table(f_pipe_row);
return(r_refcur);
close r_refcur;
end f_ret_refcur;
end;
/Regards,
Gerd
Message was edited by:
gerd_99
Forgot to close the cursor in f_ret_refcur. -
Help - Oracle function w/RETURN VIEW_NAME%ROWTYPE
I have a fairly complex Oracle function with a signature like this:
FUNCTION get_some_data
in_param_one VARCHAR2
, in_param_two VARCHAR2
)RETURN VIEW_NAME%ROWTYPE
(The internal logic of the function is such that it will return at most one row.)
I have sample code from MSDN that outlines calling functions in .Net, like this:
// create the command for the function
OracleCommand cmd = new OracleCommand();
cmd.Connection = conn;
cmd.CommandText = "GET_EMPLOYEE_EMAIL";
cmd.CommandType = CommandType.StoredProcedure;
// add the parameters, including the return parameter to retrieve
// the return value
cmd.Parameters.Add("p_employee_id", OracleType.Number).Value = 101;
cmd.Parameters.Add("p_email", OracleType.VarChar, 25).Direction =
ParameterDirection.ReturnValue;
// execute the function
conn.Open();
cmd.ExecuteNonQuery();
conn.Close();
// output the result
Console.WriteLine("Email address is: " + cmd.Parameters["p_email"].Value);
I don't see an available OracleType to fit the '...%ROWTYPE' return value.
I think the Oracle code is doing inferred 'table inlining' but it may, instead, be using an inferred refcursor (clearly I'm no DBA). Everything I've been able to find online when googling for how to handle this in .Net doesn't seem to match this situation.
How can I call this function and get the data back in C#? Please note that I don't have the authority to modify the package to make it explicitly return a refcursor.
Thank you for any light you can shed!
MarFarMaHere's a "quick and dirty" example using the HR sample schema that I think might be enough to get you going...
Pl/SQL (used to mimic your function that returns %rowtype):
create or replace function get_country_row (p_id in varchar2) return countries%rowtype as
cursor emp_cur is select * from countries where country_id = p_id;
emp_rec emp_cur%rowtype;
begin
open emp_cur;
fetch emp_cur into emp_rec;
close emp_cur;
return emp_rec;
end;C# Code:
using System;
using System.Data;
using System.Text;
using Oracle.DataAccess.Client;
using Oracle.DataAccess.Types;
namespace RowTypeTest
/// <summary>
/// Summary description for Class1.
/// </summary>
class Class1
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
// create and open connection
string constr = "User Id=hr; Password=hr; Data Source=oranet; Pooling=false";
OracleConnection con = new OracleConnection(constr);
con.Open();
// build anonymous pl/sql block to get the data
StringBuilder sbSQL = new StringBuilder();
sbSQL.Append("declare ");
sbSQL.Append(" l_country_row countries%rowtype; ");
sbSQL.Append("begin ");
sbSQL.Append(" l_country_row := get_country_row(:p_id); ");
sbSQL.Append(" :p_country_id := l_country_row.country_id; ");
sbSQL.Append(" :p_country_name := l_country_row.country_name; ");
sbSQL.Append(" :p_region_id := l_country_row.region_id; ");
sbSQL.Append("end;");
// input parameter for country id
OracleParameter p_id = new OracleParameter();
p_id.OracleDbType = OracleDbType.Varchar2;
p_id.Size = 2;
p_id.Value = "UK";
p_id.Direction = ParameterDirection.Input;
// input/output parameter for country id
// this is redundant but we are selecting * from the table...
OracleParameter p_country_id = new OracleParameter();
p_country_id.OracleDbType = OracleDbType.Varchar2;
p_country_id.Size = 2;
p_country_id.Direction = ParameterDirection.InputOutput;
// input/output parameter for country name
OracleParameter p_country_name = new OracleParameter();
p_country_name.OracleDbType = OracleDbType.Varchar2;
p_country_name.Size = 40;
p_country_name.Direction = ParameterDirection.InputOutput;
// input/output parameter for region id
OracleParameter p_region_id = new OracleParameter();
p_region_id.OracleDbType = OracleDbType.Decimal;
p_region_id.Direction = ParameterDirection.InputOutput;
// create command object
OracleCommand cmd = con.CreateCommand();
cmd.CommandText = sbSQL.ToString();
// add parameters to command
cmd.Parameters.Add(p_id);
cmd.Parameters.Add(p_country_id);
cmd.Parameters.Add(p_country_name);
cmd.Parameters.Add(p_region_id);
// get the data
cmd.ExecuteNonQuery();
// display data retrieved
Console.WriteLine("{0}, {1}, {2}", p_country_id.Value, p_country_name.Value, p_region_id.Value);
// clean up objects
p_region_id.Dispose();
p_country_name.Dispose();
p_country_id.Dispose();
p_id.Dispose();
cmd.Dispose();
con.Dispose();
}Output:
UK, United Kingdom, 1This only works if the stored function returns a single row and obviously has no error handling, etc. but I hope it helps a bit...
- Mark -
Hi All,
We have SharePoint Production server 2013 where users are complaining that they are not able to copy or move files from one document library to another document library using “Open with Explorer” functionality.
We tried to activate publishing features on production server but it did not work. We users reported following errors:
Copying files from one document library to another document library:
Tried to map the document libraries and still not get the error to copy files:
In our UAT environment we are able to copy and move folders from using “Open with Explorer” though.
We have tried to simulate in the UAT environment but could not reproduce the production environment.
Any pointers about this issue would be highly appertained.
Thanks in advance
Regards,
Aroh
Aroh ShuklaHi John and all,
One the newly created web applications that we created few days back and navigated to document library, clicked on “Open with Explorer”, we get this error.
We're having a problem opening this location in file explorer. Add this website to your trusted and try again.
We added to the trusted site in Internet Explorer for this web application, cleared the cache and open the site with same document library but still get the same above error.
However, another existing web application (In same the Farm) that we are troubleshooting at the moment, we are able click on “Open with Explorer”, login in credentials opens and we entered the details we are able to open the document
library and tried to follow these steps:
From Windows Explorer (using with Open with Explorer), tried to copy or move a files to
source document library.
From Windows Explorer moved this file to another destination document library and we got this error.
What we have to achieve is users should be able to copy files and folders using
Open with Explorer functionality. We don’t know why Open with Explorer
functionality not work working for our environment.
Are we doing something wrong?
We have referred to following websites.
we hope concepts of copying / Moving files are similar as SharePoint 2010. Our production environment is SharePoint 2013.
http://www.mcstech.net/blog/index.cfm/2012/1/4/SharePoint-2010-Moving-Documents-Between-Libraries https://andreakalli.wordpress.com/2014/01/28/moving-or-copying-files-and-folders-in-sharepoint/
Please advise us. Thank you.
Regards,
Aroh
Aroh Shukla -
# Question
I am using Firefox 3.6.13 and have installed Windows Media Player 1.0.0.8 for Firefox. However, if I attempt to open a file with a .wmv extension it appears to function properly, except, that I cannot "play" the file. What am I doing wrong?You probably have not seen anyone reporting the exact same problem as you. All three crash reports have the same crash signature and as currently ranked 67 it is not the commonest of reasons for a crash.
I hope you enter your email contact information when reporting crashes. I note you see this crash when using videos, others may possibly see this crash in other circumstances.
You have already tried the obvious, attempts at a fix so it is now down to wait and see, maybe developers working on the bug will report something or fix it.
Did you try my suggestion of installing portable ESR ?
For forum cross referencing purposes
* Crash Reports for Crash IDs <br />bp-71697f5d-41d4-48ae-9db9-3e6302130607<br /> bp-6e1347bc-153f-433a-9c35-a5f022130607<br /> bp-92a533a2-9e09-4c1e-8df7-deb4c2130607
*(all three) Crash Signature: EnumSoftwareMFTs(_GUID const&, unsigned int, __MIDL___MIDL_itf_mfobjects_0000_0006_0003 const*, __MIDL___MIDL_itf_mfobjects_0000_0006_0003 const*, IMFActivate***, unsigned int*)
* Related bug 858667 NEW crash in mozilla::wmf::MFTEnumEx @ EnumSoftwareMFTs
*I note this was first seen in Fx21 and is 100% Windows 7
<br /> -
Sending XML file from SAP to Windows Based file server with FTP function
Hi Gurus,
We are using SAP BW 3.0B version.
I need to convert data in ODS to XML format and send this XML file to remote server which is not a SAP application server, it is just a Window Based file server with FTP function..
By writing some ABAP code I have converted ODS data into XML format (which gets saved in my local system)
(Is that I need to put this file in Application Server to send it to the other servers? )
Now the thing is how I can send this file to that Windows Based file server.
plz suggest me.... what can be done......
Thanks in Advance
Madhusudhan
Edited by: Madhusudhan Raju on Dec 3, 2009 4:25 AMI dont think the above code support windows OS. Because I always execute this script via UNIX.
I think you can try this option, go to command prompt, goto the destination path where you have an XML file using cd....
ftp (destination servername), specify the username and password.
afterthat, use the command put and filename.
check whether the file had reached destination successfully or not.
For automation purpose, you can use the following script like
ftp: -s: test.txt (servername)
In test.txt,
UserName
Password
bin
cd /files
put file.xml
bye
Also, you can check in SM69, there will be some SAP external commands to automate the file transfer.
Thanks
Sat
http://support.microsoft.com/?kbid=96269
Maybe you are looking for
-
My iPad won't open itunes. Wifi ok safari working. Software update trying to download for days 7.1.1. Is this the problem? How to fix?
-
How to exempt a storage location from MRP run
Hi all, How do I exempt a storage location and all its materials from MRP run. I am creating a new storage location and this should not be considered for MRP and no idoc should be generated if a purchase order or a delivery is created from this stor
-
Services WD ABAP for Career and Job of ESS
Dear Experts. We are implementing ESS with BP 1.41 and we have the following issue. The standard ESS package only provides steps to setup the original BSPs for the services of the Area Page Career and Job : · Candidate Profile · Data Overview · Profi
-
MT 100 DME file for multiple Transactions
Hello We are not able to generate the <b>DME file in MT100 format for Multiple Transactions of the Bank Account after F110.</b> We are able to generate DME file in MT 100 format for a Single Transaction. Please suggest us if we had missed any configu
-
File Type Filter: No video filetypes?
I upgraded from LR2 to LR3 as soon as they emailed beta testers telling us it was available. When in beta I never really played with the video functionality - I wish I did so I could give feedback earlier - I am quite dissapointed in video support. N