Open data information required?
Hi
I want to delete the csv file from the application server once the full data set is read.
i am sucessful to read the data set,but while usiong the delete datset,its deleting it,but as next time i am not abale to read any data,but file exits on application server.
please tell me how to delete file physicaly from application server too.
seconding,how to write the data from my tabel to csv file in application server.
my code for deleteing file:
OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
DELETE DATASET file.
CLOSE DATASET file.
code for writing the data to file:
OPEN DATASET file1 FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
LOOP AT result.
CLEAR:wa1.
CONCATENATE result-mat1 ',' result-mat2 ',' result-type ',' result-message INTO wa1.
TRANSFER wa1 TO file1.
IF sy-subrc = 0.
ENDIF.
ENDLOOP.
TRANSFER result TO file1.
CLOSE DATASET file1.
Hi,
For deleteing dataset it is not required to open and close the dataset:
OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF SY-SUBRC EQ 0.
READ DATASET...
CLOSE DATASET file.
DELETE DATASET file.
ENDIF.
For writing the data to file in CSV format you need to use the concatenate statement and to insert the comma between the fields:
OPEN DATASET file1 FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
LOOP AT result.
CLEAR:wa1.
CONCATENATE result-mat1 result-mat2 result-type result-message INTO wa1 SEPRATED By ','.
TRANSFER wa1 TO file1.
ENDLOOP.
CLOSE DATASET file1.
Similar Messages
-
How to extract OPENING DATE information in /SAPAPO/RRP3 to BW?
Hi All,
I would like to extract OPENING DATE information in transaction code /SAPAPO/RRP3 to BW. Has anyone tried doing this before?
Thank you.
Regards,
JoyHi Joy
We are using /SAPAPO/EFPL_ORD_NET_GET this FM will give you the entire pegging relationship for any order in the live-cache. While extracting this information you get all the order details with all the required dates.
you need to paas the values to this FM as below.
I_SIMVERID = active version 000
I_SIMSESSID = simsession ID you can create using FM /sapapo/RRP_SIMSESSION_CREATE
I_ORDERS_TAB= in this table,you need to pass the CHAR22 GUID of any order like planned/sales order/pur.req..
Thanks
Amol -
Firefox won't open website(site requires flash player) - my other browsers open it successfully, flash player is installed correctly and is the up to to date version, using Firefox 4
Hi there
Sorry, but you aren't in the right place for getting help with this. Try clicking the link below and choose a forum dedicated to Adobe Flash.
Click here
Best of luck to you in resolving your issue! Rick -
Clarification required on the Sales area data information.
Hi Master's,
As per the standard taxation practice,Tax determination depends upon the Tax liability of a Shipt to Party.
But in a Customer master The Tax classification is maintained in the SALES AREA DATA-BILLING TAB,To my understanding
the Billing Tab data comes from Sold to party.If so how does Billing tab convey the Tax liability of Ship to party.
I am Confused,please let me know in terms of Customer master and Partner types:
1) Which Tabs under the sales data i.e Shipping Billing...come from which Partner.i.e like Sold to party.
(Clarification required on the Sales area data information coming from which Partner functions).
Please suggest,
Thanks
GajenderHi
As per the standard taxation practice,Tax determination depends upon the Tax liability of a Shipt to Party.
But in a Customer master The Tax classification is maintained in the SALES AREA DATA-BILLING TAB,To my understanding
the Billing Tab data comes from Sold to party.If so how does Billing tab convey the Tax liability of Ship to party.
I am Confused,please let me know in terms of Customer master and Partner types:
1) Which Tabs under the sales data i.e Shipping Billing...come from which Partner.i.e like Sold to party.
(Clarification required on the Sales area data information coming from which Partner functions).
There is no need of any confusion here
All the tabs and data or fields pertains sold to party only
If for a sold to party say 1001 if he himself is going to be SH and PY and BP then there is no confusion
If for a sold to party say 1001 the ship to party is 1002 and PY is 1003 and bill to party is himself that is 1001
This is what mentioned or assigned in the partner functions of CMR of 1001 in the sales area data
This means there are another CMR lies in the name of 1002 and 1003
Whenever an order comes for 1001 as Sold to party for tax classifications the ship to paty 1002's master record is accessed by the system
System accesses another record for a particular detail (tax details)
Similarly for this customer 1001's order for payment terms 1003's CMR is accessed by the system
System accesses another record for a particular detail ( for terms of payment)
There is no need for any confusion and if you run this in the system with different data you will understand it much better
Regards
Raja -
Hi All,
Also I have tried by removing access for that user and opened the Dta Form but still it throwing me the same error:
You are trying to open the data form, but cannot because all of the required dimensions are not present. Possible causes may be that you do not have access to at least one member of a required dimension, or the member selection resulted in no members present. Contact your administrator
Kindly guide me.
Thanks and Regards
ChiDamduplicate post - Error while opening Data form
Cheers
John
http://john-goodwin.blogspot.com/ -
Open data extraction orders - Applying Support Packs
Dear All,
I have done the IDES 4.6C SR2 installation.
While updating the support packs, i get the message saying
CHECK_REQUIREMENTS phase.
Open data extraction orders
There are still open data extraction orders in the system
process these before the start of the object import because changes to the ABAP Dictionary structures could lead to data extraction orders not being able to be read after the import and their processing terminating
For more details about this problem, see Note 328181.
Go to the Customizing cockpit for data extraction and start the processing of all open extraction orders.
I have checked the Note.
But this is something m facing for the first time.
Any suggestion!!!
Rgds,
NKThe exact message is :
Phase CHECK_REQUIREMENTS: Explanation of the Errors
Open Data Extraction Requests
The system has found a number of open data extraction requests. These
should be processed before starting the object import process, as
changes to DDIC structures could prevent data extraction requests from
being read after the import, thus causing them to terminate. You can
find more information about this problem in SAP Note 328181.
Call the Customizing Cockpit data extraction transaction and process all
open extraction requests. -
OPEN DATA SET .. EXCEL OUTPUT
Hello frnds,
I had requirement to genrate a excel file ... In a given format.
How should I ?? Preffered through Open data set .... Is it possible
With Regards.Hi Manmeet,
Try this sample code,
TABLES: ZVIJ.
DATA : BEGIN OF WA,
NAME(6) TYPE C,
AGE(3) TYPE C,
DES(5) TYPE C,
SALARY(3) TYPE C,
INCENT(3) TYPE C,
END OF WA,
IT LIKE TABLE OF WA WITH HEADER LINE.
DATA : BEGIN OF WA1,
NAME(6) TYPE C,
AGE TYPE I,
DES(4) TYPE C,
SALARY TYPE I,
INCENT TYPE I,
END OF WA1,
IT1 LIKE TABLE OF WA1 WITH HEADER LINE.
OPEN DATASET 'SAMP' FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'C:\Documents and Settings\Desktop\Book62.XLS' --> XLS
for Excel file.
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE =
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
HEADER =
tables
data_tab = IT
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT IT .
IT1-NAME = IT-NAME.
IT1-AGE = IT-AGE.
IT1-DES = IT-DES.
IT1-SALARY = IT-SALARY.
IT1-INCENT = IT-INCENT.
APPEND IT1.
ENDLOOP.
LOOP AT IT1.
ZVIJ-NAME = IT1-NAME.
ZVIJ-AGE = IT1-AGE.
ZVIJ-DES = IT1-DES.
ZVIJ-SALARY = IT1-SALARY.
ZVIJ-INCENT = IT1-INCENT.
INSERT ZVIJ.
ENDLOOP.
Thanks.
Reward If Helpful. -
Hello ,
I am sending file to print server and i am accounting problems with special characters
In first version of program ( please see the code below )
"OPEN DATASET g_filename FOR OUTPUT IN TEXT MODE ENCODING DEFAULT."
The special characters l from German and French alphabet were NOT printed properly , and we had some nonsense results . Other '"Normal "characters like A , B... are printed without errors .
To prevent this error i wrote new line of code for open data set ( below ).
"OPEN DATASET g_filename FOR OUTPUT IN LEGACY TEXT MODE CODE PAGE '4110' IGNORING CONVERSION ERRORS."
This was working only when FTP was NOT used , when FTP was used i had following short dump.
I am working in SAP release 6.0
Please Advice
SHORT DUMP Message :
What happened?
The conversion of texts in code page '4102' to code page '4110' is not
supported here.
The current ABAP program 'SAPLZPRN_AUTO_LBL' had to be interrupted because
incorrect
data would have been created by the conversion.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_CODEPAGE_CONVERTER_INIT', was
not caught in
procedure "Z_TRANSFER_FILE" "(FUNCTION)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
Possibly, one of the codepages '4102' or '4110' - needed for the
conversion - is unknown to the system. Another option is, that a Unicode
codepage was specified for a file in LEGACY MODE, which is not allowed.
Additional parameters for the codepage conversion (as , for example, the
replacement character) might have invalid values. You can find further
information under 'Inernal notes'.
If the problem occurred at opening, reading, or writing of a file, then
the file name was '/te/mm/labels/0488_20091208_051317_EC008119_01_001.dd'.
(Further information about this file: " X ")Hi,
Also check the character set supported by the Printer. Printer configuration should also be checked on SAP side to determine character set and code page using SPAD.
Regards,
Nishad -
OPEN DATA SET change character "SPACE" to '..'
Hi!
I am loadind a XML file by OPEN DATA SET but it is changing from the "space" Hex = 20 to '..' Hex = "0D0C".
Do you know where is the problem?
Thanks.
ABAP -
>
OPEN DATASET VP_FILEXML FOR INPUT IN BINARY MODE.
OPEN DATASET VP_FILEXML FOR INPUT IN TEXT MODE ENCODING UTF-8.
REFRESH objbin.
DO.
READ DATASET VP_FILEXML INTO objbin.
IF sy-subrc EQ 0.
APPEND objbin.
CLEAR objbin.
ELSE.
APPEND objbin.
CLEAR objbin.
IF V_FLAG_EXIT = 'X'.
EXIT.
ENDIF.
V_FLAG_EXIT = 'X'.
ENDIF.
ENDDO.
CLOSE DATASET VP_FILEXML.Hi
Change TYPE X values to TYPE C in data declaration ans then call class CL_ABAP_CHAR_UTILITIES
For "0D0C" call class:
for 0D:
CLASS cl_abap_char_utilities DEFINITION LOAD.
DATA : C_CR TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>CR_LF.
for 0C:
CLASS cl_abap_char_utilities DEFINITION LOAD.
DATA : C_FORM TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>FORM_FEED.
check this link for more details.. [Link|http://help.sap.com/saphelp_nw04/helpdata/en/79/c554d9b3dc11d5993800508b6b8b11/frameset.htm]
you will get more information on hexa decimal related
Thanks and regards. -
Manually-entered date information doesn't stay with photos outside iPhoto
Hello--
I'm having problems trying to share the date information I've manually added in iPhoto to all my scanned photos.
I understand because they are scanned photos they are really new files where the image creation date is the day they were scanned. However, why is it that I can export the title, keywords, and location information of any of these scanned photos but not the date information that iPhoto is storing and using to sort the photos by date?
I've tried exporting the photos to iDisk, sharing via e-mail with the title, keyword, and location information, and downloading specialized EXIF viewers (now understanding that a scanned photo isn't really going to have any EXIF data like a digital camera photo would). The only place external from iPhoto that I seem to be able to view the date information I've added to the scanned photos is in my MobileMe Web Gallery (but not when uploaded to a family member's Web Gallery), but only when selecting the "Show Detailed Info..." menu item after opening a photo...this date info does not come along when I download the photo from my own Web Gallery.
I've also tried changing the date on these scanned photos using the Batch Change... menu item with no resulting change over setting the date in the information area for the photo (I still only see the date I've set in iPhoto or in my Web Gallery).
My ultimate goal is to send many scanned photos with titles, keywords, and date information to a family member also using a Mac to build a slideshow with photos from several of us all sorted properly by date. Right now we're unable to figure out how to do that. Entering the date information into the description field allows that textual data to come along when I share via e-mail, but it doesn't solve the problem of allowing other people to sort automatically by date with a larger set of photos without them having to transcribe that textual date info into the date field in the information area of the photo.
Thank you very much in advance for any specific instructions on making this work! This is getting quite frustrating at how something so seemingly simple and valuable is turning out to be so difficult to figure out.
--BillTerence Devlin wrote:
audio capture/auto ID3 tagging
What do you mean by this?
On the Windows machine I have an app called 'Spin it Again'
I use it for Vinyl and analogue tape capture for stuff that I could not fford to go out and buy new ( if even now available).
All I have to do is put in artist name and title and it finds from online database (Gracenote plus others) , it analysis the audio and automatically splits the single capture in to individual tracks, saving the track names to each track, it uses recorded track length and database info to to comfirm/database naming. It also has basic audio filtering/crackle/hiss removal, audio cleanup options all in one package.
I have yet to find anything that does the same job on the Mac,
iTunes will auto tag tracks from an online database.
The iTunes store database is very limited and does not have much of the older stuff. Plus I have always used FLAC format as my 'archive store' for all my audio, so ripping with iTunes is out For CD's I use EAC with Accurate rip to rip them and that also uses an online database with much greater range than iStore.
Have you searched on MacUpdate?
To an extent, and Garmin are now producing some better software for mac for their GPS units. But still nothing much in the Freeware world yet. I have tried a few apps for GPS over the last year (yes I have had a Mac for almost a year now) but still found nothing that has all the functions that I am used to on the Windows machine, and as I still have the Xp machine set up next to the mac , all on the same screens, then there is no difficulty in swapping machines. It is not of that great an importance that I am going to spend too much time on searching for Mac apps..something will turn up in time...as Name Mangler has done. I spend too much time on these bloody machines as it is...it is now 1210...and I have been on here since 0800...I had planned to go down the farm and do some work down there this morning...another morning gone and nothing real to show for it. -
Can I recover my data information from excel file?
For any reason I already lost (clear all) my data information, have any option where import the data information from excel file to view responses sheet? or , how, can I recover my data information?
AntonioIf you had saved your Excel file, then you may revert the Excel file to the last saved version. Follow below steps to do this:
On the File tab, click Open.
Double-click the name of the file that you have open in Excel.
Click Yes to reopen the Excel file.
If you had not saved Excel file, then follow below steps to recover your file.
Click the File tab.
Click Recent.
Click Recover Unsaved Workbooks. -
R/3 SP Import:Open data Extraction requests Error
We are getting the below error when Basis doing the upgrade support packeage in R/3 source system.
Open Data Extraction Requests
The system has found a number of open data extraction requests. These
should be processed before starting the object import process, as
changes to DDIC structures could prevent data extraction requests from
being read after the import, thus causing them to terminate. You can
find more information about this problem in SAP Note 328181.
Call the Customizing Cockpit data extraction transaction and process all
open extraction requests.
Intially we have cleared the entries in LBWQ,RSA7 and SM13.But after clearing these entries also we are getting the same above error.
For support package upgrade in R/3 do we need to delete the SETUP table also in production environment?.
Is there any other way around without deleting the setup table to upgrade support package in R/3 system?
Please help us with your inputs urgently..
Thanks
Message was edited by:
Ganesh SThanks Siggi for the suggestion.
We have already cleared the v3 updates by running RMBWV* job manually.After clearing all the entries in LBWQ,RSA7 and SM13 still we have got the same above error.
When we imported In R/3 development system after deleting the setup table we didn't get the above error.But we are concerned about deleting the setup table in production system
though already deltas are running fine.
Is there any other way around? or deleting the setup table is the only option?
Please help... -
Need a fix for the 'folder last opened date'
I have been using Hazel [from www.noodlesoft.com] to set the colours of recently opened or modified files to make them easier to spot.
Within Hazel, I have set rules to monitor files contained in a named folder (and sub-folders contained therein) so I can visually spot what I have recently been working on. The rules achieve this by setting the label colours of:
• files worked on in the last 2 days to 'Green'
• unless already set to 'Green', files worked on in the last 7 days to 'Blue'
• unless already set to 'Green' or 'Blue', files worked on in the last 14 days to 'Purple'
• remove label colours for all files labelled 'Purple', 'Green' or 'Blue' that were last worked on over 14 days ago
Hazels works very well and achieves the effect I am after for files contained in that folder and its sub-folders. No problems there.
The problem I have is in defining a similar scheme of rules to apply to FOLDERS using a rule in Hazel to set the colour of a folder (or sub-folder) by reference to the date on which a folder was last opened.
For some reason, Finder does NOT update the last opened date for a folder. In fact, I have discovered (by painstakingly getting information a folder at a time) that a number of folders have date anomalies like the example below:
Date created: 4 Sep 2006
Modified date: today [which is correct as I deleted a file from in this folder]
Date opened: 31 Oct 2006 [which ignores that fact I had to open the folder today to delete the file...]
Any ideas on what could be going wrong here? Or more to the point, how I can fix this? I have run Disk Utility and using Onyx, ensured all three maintenance scripts have been run.
Any thoughts?
iMac G5 Mac OS X (10.4.8)I am going to have to abandon Firefox and go back to IE. The fact that there has been no response is extremely disheartening. I am quite sure there is some malware involved and don't want to risk ID theft. This kind of problem should be the #1 concern for a browser company. I have regrets because I like Firefox otherwise and think it superior to the other browsers on the market including IE. C'est la vie.
-
How do you change the last opened date in Lion?
In many screens the files are organized automatically by last opened date. This information is not available when you click command info on the individual file, however, if you list out the files and click on the option to show last opened on the row on the top you will see this information.
From time to time it is useful to change the creation and modification dates to move where files are displayed in various windows. While there are utilities and articles about changing the creation and last modified date using third party software or the terminal, I have not been able to find any way to change the last opened date. This is useful if you wish to hide a file you recently opened so that another user can't just find it as one of the last opened files.
When I googled this question all the solutions using terminal either with touch -t or touch -mt commands changed the creation and modification dates, but did not affect the last opened date.
Anyone have a solution to this?Thank you MacNix!!!!!
-
Is it possible to set an opening date for a password protected file
Is it possible to set an opening date for a password protected file!
I want to lock a folder and then have it open on a perticular date not just open with a password so that i am not tempted to open it. Is it possible?Yes. Go to the Settings app, and select safari. There will be a section called "Autofill", and you can enable it to save your passwords and auto-fill your personal information taken from the address book. Also, iOS automatically saves all Wi-Fi passwords, so there is no need to save it manually yourself.
Maybe you are looking for
-
Data modeler in 2.1 - how to export metadata
How do you do an export in the 2.1 EA for the data modeler? I..e do a 'bottom up' model? The documentation is written for the standalone datamodeler, file-import/export. How do you do it in 2.1? Edited by: Bazza on 27-Oct-2009 03:54
-
Can Adobe Media Encoder CC batch watermark & convert AVCHD
Im a videographer and i own a Youtube channel where i upload videos from dance competions. Some of thes comeptitions can have anything upto 80+ 1v1 "dance off" type competitions. I film using a NEX - VG30 which films in AVCHD. What i need is a progra
-
Managed server not starting on Weblogic 10.3.6 IBM AIX 7.1
Hi. When i try starting managed server on weblogic 10.3.6 i get this error: <02-Mar-2015 17:13:25 o'clock EET> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.SecurityException: Unable to locate a login configu
-
How to align text to another text box
I am very new to Indesign and I am signed up to Lynda.com so watching few a lot of tutorials, that said I need help with aligning text. I have a text box that is 100mm across. It has text centered. "£5" then above this I have in a smaller font saying
-
Please help me here: Has anyone had experience with a SharePoint farm where members of the farm are in different domains? For example FE1 is in Domain A and FE2 is in Domain B. A ONE-WAY trust exists from Domain B to Domain A. I don't think that