Copy the existing output rom Z program into a spool file
Hi all,
There's a Zprogram if its run in foreground a list gets created .(as per req, i want this list in a spool file and not the below spool file)
If this program is run in background a spool file gets created.
I dont want the existing spool result instaed i want the other result which is generated via se38 as a spool file.
Pls suggest.
One more question is i don't see any code in program where the existing spool file is written.similarly i have checked another program earlier where i dont see the code where exactly spool file gets created ,moreover no sub programs in that too.
Thanks for the help.
Hi ,
I don't want existing spool data.
But i need the list in foreground run to be saved as the spool file.
will commenting out the statements which writes to current spool file(yet to identify this part of the code) be a good option
Or,
If i can create another spool file ,how to do it.
basically how to create 2 spool file in the same program,1 spool is already getting created..
Thanks,
Similar Messages
-
P.O Error in Process after copying the existing item in change mode
Hi All,
We are in SRM 5.0 Server 550 and SP15 and are using Extended Classic Scenario.
We are facing a peculiar issue, when an already created P.O (Free text - goods) is changed and a new line item is added either manually or by copying the existing line item and then ordering it, the P.O is going into Error in Process status.
This is happening only when i am adding a new item (material) to the existing line item (material) but when i am adding a service line item in the change mode to the existing material line item, the P.O is getting ordered without any issue.
I believe this is SAP bug and raised with SAP for OSS.
Meanwhile i would be grateful if you can provide any resolution to this issue and provide any OSS note number (If one already exists).
Regards,
TejaHi Teja
it works fine for me.
old po template..
taken describe procureemnt - goods
copy the line item
changed qty and price
POs created for both items in one PO since vendors are same?
what the error message says in the application monitor or rz20 / monitor sc.?
for me i had a contract in my pld pos.(sc).
muthu -
COPY THE STANDARD SAP MODULE POOL PROGRAM
HOW I CAN COPY THE STANDARD SAP MODULE POOL PROGRAM ((INCLUDING SCREENS) INTO Z REPORT?
Hi,
Go to transactionSE38 ABAP Editor.Type the program name.Click copy.It will ask whether you want copy documentation,screens,etc.,
Check mark it. -
How can I put the report generated by a program into a File?
Hi all,
How can I put the report generated by a program into a File?It can be in TXT format or excel format which ever is possible.
I need to export this file to memory,How can I do that??
Regards,
Shashank.Hello Shashank,
Please ignore my previous answer... Ofcourse it works...
There are several ways to do this...
two of them are
1. List -> Save -> File and press enter..
it will ask for the format, then path where to save it. Just give the path.
2. Using function module 'GUI_DOWNLOAD'.
I'm giving the example bellow which explains the usage of both GUI_UPLOAD and GUI_DOWNLOAD.
To do this... you need to have folder with name 'TEST' and a .txt file in it with name 'test'. And contents of it are :
TEST1 ,BOT
TEST2 ,BOT
TEST3 ,BUT
with spaces.
REPORT zssr_bdc .
DATA: BEGIN OF g_t_itab OCCURS 0,
matnr LIKE mara-matnr,
maktx LIKE makt-maktx,
END OF g_t_itab.
DATA: g_t_bdcdata TYPE TABLE OF bdcdata.
DATA: path TYPE string,
path1 type string.
path = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test.txt'.
path1 = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test1.txt'.
*contents of test.txt *
*TEST1 ,BOT *
*TEST2 ,BOT *
*TEST3 ,BUT *
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = path
TABLES
data_tab = g_t_itab.
LOOP AT g_t_itab.
WRITE:/1(18) g_t_itab-matnr, 20(40) g_t_itab-maktx.
ENDLOOP.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = path1
filetype = 'ASC'
TABLES
data_tab = g_t_itab.
Now you will get one .txt file with name 'TEST1.TXT' in the TEST folder.
<b>REWARD POINTS IF IT IS HELPFUL</b>
Regards
Sasidhar Reddy Matli -
Copy the result of Execute immediate result into a variable.
Hi All,
Is there any way to copy the result of execute immediate result into a variable.
am doing following steps but am getting an error.
varSQLstmt1:='select count(*) into'||vararch_ct||' from '||vararch_count;
dbms_output.put_line(varSQLstmt1);
execute immediate varSQLstmt1;
But am getting sql statement as select count(*) into from SALES
the variable(vararch_ct) is missing in select statement .
please help me to solve this issue. Or is there any way to insert the count of records into any variable.
Thanks
Sreedeclare
varSQLstmt1 varchar2(4000);
v_count number;
begin
varSQLstmt1:='select count(*) from '||vararch_count;
dbms_output.put_line(varSQLstmt1);
execute immediate varSQLstmt1 into v_count;
dbms_output.put_line('Coutn :: ' || v_count);
end; -
Problem in assign the delivery type to the existing output type
Hi
There is a problem in assinging the existing Output type to the delivery type.
In, NACE i have maintained the output type for the procedure and also through VV21 i have created the condition type with the combination of shipping point/delivery type.
But system automatically not determining the output type when we create the outbound delivery. This output type is to trigger the EDI in terns..
Can any one guide me what are the setting to be done for the same?
Edited by: V. Mariappan on Jul 5, 2009 12:40 PMHi,
Check whether you have maintained the condition records for output for the above combination & also the Print device in the Communication tab & Print immediately settings.
If you haven't maintained the above, do the same & check.
Thanks & Regards, -
Copy the standared output type to custome one
Hi,
i need to copy the BA00 output type to custome output type say ZB00. then it will appear my custom output type while we output a sale order. kindly give solution for this...hi,
i done by following your steps.i can able to copied. then i have problem in output display while we using VA02 or VA03 to issue a sales order output. In that my customized output type has not been populate in that pop up window. so could you plz guide the steps what i have to do? -
FM to create equipment task group counter by copying the existing one.
Hi Experts,
I need FM to create equipment task group counter by copying the existing one.
Manully we do this through the Tcode : IA01 but i want to do this through the Prog... for that i wrote one bdc it is creating some problem.
Please let me know any FM avaliable IN 4.0B
its very urgent please help me..
Regards,
Kali Pramodtry this /ISDFPS/TASKLIST_CREATE
-
How to down load the output of smart form into .XLS(spreadsheet) File.
Hi All,
We have one requirement like we need to down load the output of smart form into .XLS(spreadsheet) File.
This output is related to Shipment(VT03N) in the output we are not displaying the any logo.
Just we are displaying the address and item detail.
Anyone tell me, If possible please let me know how can solve that problem.
Thanks and regards,
Amjad Hussain,Hi Mohammed,
Absolutly you can download output from smartforms to excel.
After execution of your Smartforms in that layout Menu bar Do below navigation.
GoTo => ListDisplay after that
System => List
=> Save
=> Local File
=> Spread Sheet.
if helpful REWARD points
Thank you .
Regards
Ramana -
How to output a query results into a text file
How to output a query results into a text file instead of outputing it to the screen..
is there a way for us to write a SQL query which specifies to output the query results to a text file.
Pls let me know how to do it
Thanking u in advance
regards
MuralyMuraly,
If you are using SQL*Plus 8.1.6 or later, you can also spool output to a file in HTML format, eg
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON
SPOOL c:\temp\report.html
SELECT DEPARTMENT_NAME, CITY
FROM EMP_DETAILS_VIEW
WHERE SALARY>12000;
SPOOL OFF
SET MARKUP HTML ENTMAP OFF
In iSQL*Plus 9.0.1 (the browser-based interface to SQL*Plus) onwards, you can also send the HTML output to a new web browser window, or an html file -- much easier than the command line method.
Alison -
How to convert a webpage program into a pdf file?
how to convert a webpage program into a pdf file?
Hi Federico,
ExportPDF is the program to convert PDF into different Formats(Doc, Docx, xlsx, rtf) and not Vice Versa, I would suggest you to use CreatePDF Web application for converting any other format to PDF.
For more details on CreatePDF
https://www.acrobat.com/createpdf/en/home.html
FAQ to be found here:
http://forums.adobe.com/community/createpdf?view=documents
~Pranav -
Wirte the content of an internal table into a text file
Hello Experts,
how can I wirte the content of an internal table into a text file and putit on my local
desktop ?
Regards
ertasHi,
You can use the FM GUI_DOWNLOAD for this purpose.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
FILENAME = 'c:\testmmv.txt'
FILETYPE = 'ASC'
APPEND = ' '
WRITE_FIELD_SEPARATOR = ' '
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
WRITE_LF_AFTER_LAST_LINE = ABAP_TRUE
SHOW_TRANSFER_STATUS = ABAP_TRUE
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = LT_STR
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF SY-SUBRC <> 0.
Implement suitable error handling here
ENDIF.
With regards,
Vamsi -
How to capture the output of another program into a File/String
I needed to capture the output of a dos program in an String/file I tried doing Runtime.getRuntime.exec("ipconfig /all >tmp.txt");
but still I am unable to capture the output frm the program which I would like to capture in a file or String.Can anyone helpWhen you use the Runtime.exec() method, it returns a Process object, that process object has access to the streams; stdout, stdin, and stderr of the application you just executed. what you'll want to monitor is the stdout or stderr streams using the
p.getInputStream() or p.getErrorStream(), where p = the process object returned via the Runtime.exe() method. -
How to copy the applet output ?
my java file is successfully compiled and i get a big applet output,now my problem met is how to copy those data form the applet window then paste them into txt file or others?
or maybe some other methods exist now to convert the applet output ? but it looks like fixed. :(If you want it in a file why don't you write it to a file instead of a GUI, much lesss an applet, in the first place.
See the java.io.* package. -
Hi all,
I am currently doing a heart sound analyzer project. I acquired signal using NI USB 6008 continuosly. My program is able to saved the acquired signal into a wave file. But when I browse open the saved file, the output waveform did not look the same as the acquired input signal and also the sound of the heartbeat captured cannot be heard from the loud speaker though I have saved the file as a wav file. I am not sure if the method i use to save the acquired data as a wav file is correct. I have attach the print screen of the differences of the output I have notice and the program I have created. I would be glad if anyone here is able to troubleshoot my program.
Thanks.
Attachments:
heart sound analyzer.zip 257 KBHi Brett Burger,
Thanks for your reply. For your information, I have set the sampling rate as 10000 as for the sound format, I have set the bits per sample as 16 bit, the rate as 11025 and the sound quality as mono. I tried using your method by changing the sampling rate as 8K but still my program encounter the same problem.
I wish to also create a button that is able to generate a preformatted report that contains VI documentation, data the VI returns, and report properties, such as the author, company, and number of pages only when I click on the button. I have created this in my program, but I am not sure why is it not working. Can you help troubleshoot my program. Or do you have any samples to provide me. Hope to hear from you soon.
Many thanks.
Regards,
min
Attachments:
Heart Sounds1.vi 971 KB
Maybe you are looking for
-
How to wire up and use 256 points at a time on the PXI-2532
I have a PXI chassis with a PXI-2532 512-Crosspoint Matrix Switch Module, a TB-2640 connected to it, and a PXI-4072 FlexDMM and LCR meter. I am trying to use the DMM to make measurements of something connected to the switch matrix. What I can't seem
-
Hi All. We are doing QTP automation testing for our flex application. But after running all 30 tests it is showing License not present. with the trail version only limited replays are allowed. We are using flex sdk 3.5 and flash builder 4 p
-
Lost sound when convert Quicktime video to ipod video
Hi, when I use iTune to conveert a video file from quicktime (or others) to ipod/iphone video file I lost the sound! I'll appreciate any help! Thanks!
-
Flash problems, seeking expert answers please
File in question: Gisser Automotive - Rare Growth Stock Opportunity 1) Here is the basic code for the preloaded I use: stop(); this.addEventListener(Event.ENTER_FRAME, loading); function loading(e:Event):void{ var total:Number = this.stage.loaderInfo
-
HT1349 Cannot delete calendar entries
Users guide says tap entry then edit then select delete. Calendar does not show an edit button after selecting the event