Utility to extract ADS file from Planning application
Hi,
We had a Planning System 9.3 Classic application. We wanted to create a replica of the same as an EPMA application. We used a utility to extract ADS file from classic application. Post that the classic application has locked i.e we are not able to edit it. All dimensions are in view mode. Kindly let us know how to revert back in edit mode for classic application.
Thanks and Regards,
Meenal Dhall
Hi,
I think you have come across the bug in the EPMA extractor, if I remember correctly it changes a value in a table which stops you editing in classic.
You can resolve this looking at your planning system database.
There is a table called HSPSYS_PROPERTIES.
The field property_id is the application id, you find what application it relates to by looking at HSPSYS_APPLICATION
Once you know the id for your application
In the table HSPSYS_PROPERTIES look for a row with EDIT_DIM_ENABLED and change the value in the next field from false to true
Restart planning and you should be able to edit again.
Cheers
John
http://john-goodwin.blogspot.com/
Similar Messages
-
Any utility or tool which extracts/exports security from planning application
<p>Hi Everyone,<br><br>Would like to know if there is any utility or tool whichextracts/exports security from planning application.<br>By security i mean dimensional level security plus users andgroups.<br>Or SQL queries to fire on planning repository.<br>Or any workaround.<br><br>Thanks,</p>
I'm not 100% certain, but you can try the ESD tool on the hyperion community portal (www.hyped.biz). It was designed for Essbase, but it's possible that it will work properly on a planning cube. Besides dumping security, it captures server, app, and db settings, flags user and group exceptions, validates filters, and generally gives some nice feedback.<BR><BR>-Doug.
-
Error while extracting XML file from the application server
Hi ,
I am writing a XML file into the application server, after which when i try to extract the file to the local server using the report - RFASLDPC ,
the file is extracted, but with a '#' symbol at the first position.
Because of which the XML File does not open. But after i open the file in notepad and manually delete the '#' symbol and then reopen the file, it works fine.
Is there any way to remove the '#' symbol while extracting itself ??
Thanks in advance,
Vikas.Select the option "No Character Set Conversion" in stead of Code page 1100.
However, I still have troubles -> the downloaded xml file misses a space on several places. This causes errors too. -
Extracting Dimension from Planning Application through EPMA File Generator
Hi,
I have a EPMA planning application (in version 11.1.1.2) and I want to extract its dimensions in to a ads file. I am using EPMA File Generator 9.3.1 for the purpose.
I am selecting the "From Planning Application" tab and entering all the required details, but when I execute... I get error "Unable to get metadata. Please check the web URL, application name, and application server."
I checked the web URL which is:
http://<server name>:8300/HyperionPlanning
and my application name & server are also correct...
Please help me to find out what exactly is going wrong here...
Thanks & Regards,
AKWhy are you using 9.3.1 version, is there not a newer version in \Hyperion\products\Foundation\BPMA\EPMAFileGenerator\
Also if it an EPMA application you can use the EPMA tab to generate the ADS.
Cheers
John
http://john-goodwin.blogspot.com/ -
Smartlist extraction from Planning application
Hi,
Is it possible to extract the smart list items along with other dimensions from planning application either using ODI or other menthod?
If yes, how?
Thanks,
Naveen SuramHi John,
Thanks for quick reply.
I am browsing through the RDBMS tables, I didn't find the smart list items in HSP_OBJECT table. Which tables contains the smart list items?
Thanks,
Naveen Suram -
Batch file extracting all files from nested archives
I have managed to leverage a powerful
forfiles command line utility with the mighty
7z compression program.
Below is a simple batch file extracting all files from nested archives hidden at any depth inside other archives and/or folders. After the extraction each archive file turns into a folder having the archive file name. If, for example, there was an "outer.rar"
archive file containing nothing but an "inner.zip" archive with only "afile.txt" inside, "outer.rar" becomes "...\outer.rar\inner.zip\afile.txt" file system path.
@echo off
rem extract_nested_archives.bat
move %1 "%TMP%"\%2
md %2
7z x -o%1 -y %TMP%\%2
del "%TMP%"\%2
for %%a in (zip rar jar z bz2 gz gzip tgz tar lha iso wim cab rpm deb) do forfiles /P %1 /S /M *.%%a /C "cmd /c if @isdir==FALSE extract_nested_archives.bat @path @file"
ARCHIVES ARE DELETED DURING THE EXTRACTION! Make a copy before running the script!
"7z.exe" and "extract_nested_archives.bat" should be in folders available via the %PATH% environment variable.
The first parameter of extract_nested_archives.bat is the full path name of the archive or folder that should be fully expanded; the second parameter is just the archive or folder name without the path. So you should run "c:\temp\extract_nested_archives.bat
c:\temp\outer.rar outer.rar" from the command line to completely expand "outer.rar". "c:\temp" must be the current folder.
Best regards, 0x000000AFIncredibly useful! Thank you so much. I did make a couple of small changes to make the script a little easier to use from the end-user perspective.
First - I don't like making the user input the redundant second parameter, so I added this snippet which extracts it from the first parameter. The first line of the snippet enables delayed expansion so that special characters in our file name don't
break anything. The second line pulls the parameter into a variable, and the 3rd line uses delayed expansion on that new variable. Before implementing delayed expansion I had problems with file paths which included parentheses.
SetLocal EnableDelayedExpansion
Set SOURCE=%1
For %%Z in (!source!) do (
set FILENAME=%%~nxZ
set FILENAME=%FILENAME:"=%
Anyway once that was done, I just used %FILENAME% everywhere in the script instead of
%2 (making sure to correct quotes as needed)
This way, to run my script all you need to run is:
C:\temp\extract_nested_archives.bat C:\temp\Archive.zip
Second - I didn't want to modify the Windows environment variable. So I replaced
7z with "%PROGRAMFILES%\7-zip\7z.exe"
I also replaced extract_nested_archives.bat with "%~f0" (which represents the full path+filename of the current script).
Here is my full script now. Tested on Windows 8 with the 64-bit version of 7-zip installed:
@echo off
Setlocal EnableDelayedExpansion
Set source=%1
For %%Z in (!source!) do (
set FILENAME=%%~nxZ
set FILENAME=%FILENAME:"=%
move /Y %1 "%TMP%\%FILENAME%"
md "%FILENAME%"
"%PROGRAMFILES%\7-zip\7z.exe" x -o%1 -y "%TMP%\%FILENAME%"
DEL "%TMP%\%FILENAME%"
for %%a in (zip rar jar z bz2 gz gzip tgz tar lha iso wim cab rpm deb) do (
forfiles /P %1 /S /M *.%%a /C "cmd /c if @isdir==FALSE "%~f0" @path @file" -
Extracting .s2p files from 8722A Network Analyzer?
Hi,
I wish to extract .s2p files from my HP 8722A Network Analyzer.
I could not find a driver for it. It is connected to my computer over GPIB.
I am quite new to this, so if anyone could explain the overall process to extract .s2p files from a network Analyzer, that would be much appreciated.
I imagine that one takes a measurement, stores it under a certain filename, then a command retrieves it and sends it to the computer?
Thank you so much,
Nicolas
Solved!
Go to Solution.Nicolas,
Instead of extracting the .s2p files, which because of the age of the device (manual I found said 1991), could be very difficult, I think we would be better served communicating with the device directly and not using the files it creates. Instead of the process you described, we could set it to take a measurement, send the measurement to the computer, and have the computer do any manipulation/saving it may need.
This manual discusses the basics of communication over GPIB with that device in chapter 12:
http://cp.literature.agilent.com/litweb/pdf/08720-90135.pdf
GPIB communication is typically pretty simple. The computer will just send the device in question the command or series of commands then wait for the response back, much like the GPIB examples in labview (Example finder>>Hardware IO>>GPIB).
Unfortunately for us, the Agilent website here:
http://www.home.agilent.com/agilent/product.jspx?cc=US&lc=eng&ckey=8722A:epsgro&nid=-536900197.53690...
only has the operating and service manuals, and not the programming reference manual. You may want to contact agilent to get the programming reference manual, as that will list all of the commands you need to send the device.
Regards,
Kyle Mozdzyn
Applications Engineering
National Instruments
Regards,
Kyle M.
Applications Engineering
National Instruments -
No luck trying to extract .inf files from drivers downloaded as zip files
Hi,
I am trying to extract .inf files from drivers downloaded as zip files from the Toshiba website, but I'm having no luck.
I am trying to deploy images using WDS on server 2008 and need the inf files for this to succeed, does anyone have the answer to this problem.
thanks in advance.Hi
I found this tip:
Someone wrote this:
+You have to run the installer, wait for it to get to the first point where you click Next to continue, and then leave it sitting there. Go into your system's Temp and find the particular one with the installation files inside it that were extracted, then copy it someplace, go back to the installer and cancel it.+
You could also try this freeware application to extract the package:
http://www.legroom.net/software/uniextract -
File from the Application server
Hi gurus,
I am working on a scenario where I need to get a file from the application server and for this I need to ask user to enter the location and that too at the selection screen and then I need to read this location using open data set and read data set in my program , once I am done with this I need to do some other validations. so can you please help me out how to achieve this.
Thanks
Rajeev GuptaHi
Declare the selection screen with file as parameter so that the user enter the application server file..
the use the OPEND DATASET as mentioned in below code and process
Refer this:
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm
ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
*& Report ZUPLOADTAB * &----
*& Example of Uploading tab delimited file *
REPORT zuploadtab .
PARAMETERS: p_infile LIKE rlgrap-filename
OBLIGATORY DEFAULT '/usr/sap/'..
DATA: ld_file LIKE rlgrap-filename.
*Internal tabe to store upload data
TYPES: BEGIN OF t_record,
name1 like pa0002-VORNA,
name2 like pa0002-name2,
age type i,
END OF t_record.
DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
wa_record TYPE t_record.
*Text version of data table
TYPES: begin of t_uploadtxt,
name1(10) type c,
name2(15) type c,
age(5) type c,
end of t_uploadtxt.
DATA: wa_uploadtxt TYPE t_uploadtxt.
*String value to data in initially.
DATA: wa_string(255) type c.
constants: con_tab TYPE x VALUE '09'.
*If you have Unicode check active in program attributes then you will
*need to declare constants as follows:
*class cl_abap_char_utilities definition load.
*constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
*START-OF-SELECTION
START-OF-SELECTION.
ld_file = p_infile.
OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
ELSE.
DO.
CLEAR: wa_string, wa_uploadtxt.
READ DATASET ld_file INTO wa_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
wa_uploadtxt-name2
wa_uploadtxt-age.
MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
APPEND wa_upload TO it_record.
ENDIF.
ENDDO.
CLOSE DATASET ld_file.
ENDIF.
*END-OF-SELECTION
END-OF-SELECTION.
*!! Text data is now contained within the internal table IT_RECORD
Display report data for illustration purposes
loop at it_record into wa_record.
write:/ sy-vline,
(10) wa_record-name1, sy-vline,
(10) wa_record-name2, sy-vline,
(10) wa_record-age, sy-vline.
endloop.
Regards
Anji -
Extracting .xls file from an FTP site
Hi there,
I'm trying to run a DI solution that is extracting a file from a FTP site. DI can see the file but it gives me an error saying that:
FTP could not transfer file <FTP site/myfile.xls> from host <IP Address>: <>. Please ensure that the FTP relative path for the SAP R/3 working directory is set correctly such that the data file is accessible to the FTP
Can someone please help with this.
Thank you.
GsecureHi,
thats SP1 for DS XI 3.2
I think there is no delta from XI 3.2 to XO 3.2 SP1 what means you have to do a fresh install and upgrade repo.
But you better doublecheck before but i think there is no delta.
Regards
-Seb. -
Upload tab-delimited file from the application server to an internal table
Hello SAPients.
I'm using OPEN DATASET..., READ DATASET..., CLOSE DATASET to upload a file from the application server (SunOS). I'm working with SAP 4.6C. I'm trying to upload a tab-delimited file to an internal table but when I try load it the fields are not correctly separated, in fact, they are all misplaced and the table shows '#' where supposedly there was a tab.
I tried to SPLIT the line using as separator a variable with reference to CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB but for some reason that class doesn't exist in my system.
Do you know what I'm doing wrong? or Do you know a better method to upload a tab-delimited file into an internal table?
Thank you in advance for your help.Try:
REPORT ztest MESSAGE-ID 00.
PARAMETER: p_file LIKE rlgrap-filename OBLIGATORY.
DATA: BEGIN OF data_tab OCCURS 0,
data(4096),
END OF data_tab.
DATA: BEGIN OF vendor_file_x OCCURS 0.
* LFA1 Data
DATA: mandt LIKE bgr00-mandt,
lifnr LIKE blf00-lifnr,
anred LIKE blfa1-anred,
bahns LIKE blfa1-bahns,
bbbnr LIKE blfa1-bbbnr,
bbsnr LIKE blfa1-bbsnr,
begru LIKE blfa1-begru,
brsch LIKE blfa1-brsch,
bubkz LIKE blfa1-bubkz,
datlt LIKE blfa1-datlt,
dtams LIKE blfa1-dtams,
dtaws LIKE blfa1-dtaws,
erdat LIKE lfa1-erdat,
ernam LIKE lfa1-ernam,
esrnr LIKE blfa1-esrnr,
konzs LIKE blfa1-konzs,
ktokk LIKE lfa1-ktokk,
kunnr LIKE blfa1-kunnr,
land1 LIKE blfa1-land1,
lnrza LIKE blfa1-lnrza,
loevm LIKE blfa1-loevm,
name1 LIKE blfa1-name1,
name2 LIKE blfa1-name2,
name3 LIKE blfa1-name3,
name4 LIKE blfa1-name4,
ort01 LIKE blfa1-ort01,
ort02 LIKE blfa1-ort02,
pfach LIKE blfa1-pfach,
pstl2 LIKE blfa1-pstl2,
pstlz LIKE blfa1-pstlz,
regio LIKE blfa1-regio,
sortl LIKE blfa1-sortl,
sperr LIKE blfa1-sperr,
sperm LIKE blfa1-sperm,
spras LIKE blfa1-spras,
stcd1 LIKE blfa1-stcd1,
stcd2 LIKE blfa1-stcd2,
stkza LIKE blfa1-stkza,
stkzu LIKE blfa1-stkzu,
stras LIKE blfa1-stras,
telbx LIKE blfa1-telbx,
telf1 LIKE blfa1-telf1,
telf2 LIKE blfa1-telf2,
telfx LIKE blfa1-telfx,
teltx LIKE blfa1-teltx,
telx1 LIKE blfa1-telx1,
xcpdk LIKE lfa1-xcpdk,
xzemp LIKE blfa1-xzemp,
vbund LIKE blfa1-vbund,
fiskn LIKE blfa1-fiskn,
stceg LIKE blfa1-stceg,
stkzn LIKE blfa1-stkzn,
sperq LIKE blfa1-sperq,
adrnr LIKE lfa1-adrnr,
mcod1 LIKE lfa1-mcod1,
mcod2 LIKE lfa1-mcod2,
mcod3 LIKE lfa1-mcod3,
gbort LIKE blfa1-gbort,
gbdat LIKE blfa1-gbdat,
sexkz LIKE blfa1-sexkz,
kraus LIKE blfa1-kraus,
revdb LIKE blfa1-revdb,
qssys LIKE blfa1-qssys,
ktock LIKE blfa1-ktock,
pfort LIKE blfa1-pfort,
werks LIKE blfa1-werks,
ltsna LIKE blfa1-ltsna,
werkr LIKE blfa1-werkr,
plkal LIKE lfa1-plkal,
duefl LIKE lfa1-duefl,
txjcd LIKE blfa1-txjcd,
sperz LIKE lfa1-sperz,
scacd LIKE blfa1-scacd,
sfrgr LIKE blfa1-sfrgr,
lzone LIKE blfa1-lzone,
xlfza LIKE lfa1-xlfza,
dlgrp LIKE blfa1-dlgrp,
fityp LIKE blfa1-fityp,
stcdt LIKE blfa1-stcdt,
regss LIKE blfa1-regss,
actss LIKE blfa1-actss,
stcd3 LIKE blfa1-stcd3,
stcd4 LIKE blfa1-stcd4,
ipisp LIKE blfa1-ipisp,
taxbs LIKE blfa1-taxbs,
profs LIKE blfa1-profs,
stgdl LIKE blfa1-stgdl,
emnfr LIKE blfa1-emnfr,
lfurl LIKE blfa1-lfurl,
j_1kfrepre LIKE blfa1-j_1kfrepre,
j_1kftbus LIKE blfa1-j_1kftbus,
j_1kftind LIKE blfa1-j_1kftind,
confs LIKE lfa1-confs,
updat LIKE lfa1-updat,
uptim LIKE lfa1-uptim,
nodel LIKE blfa1-nodel.
DATA: END OF vendor_file_x.
FIELD-SYMBOLS: <field>,
<field_1>.
DATA: delim TYPE x VALUE '09'.
DATA: fld_chk(4096),
last_char,
quote_1 TYPE i,
quote_2 TYPE i,
fld_lth TYPE i,
columns TYPE i,
field_end TYPE i,
outp_rec TYPE i,
extras(3) TYPE c VALUE '.,"',
mixed_no(14) TYPE c VALUE '1234567890-.,"'.
OPEN DATASET p_file FOR INPUT.
DO.
READ DATASET p_file INTO data_tab-data.
IF sy-subrc = 0.
APPEND data_tab.
ELSE.
EXIT.
ENDIF.
ENDDO.
* count columns in output structure
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE vendor_file_x TO <field>.
IF sy-subrc <> 0.
EXIT.
ENDIF.
columns = sy-index.
ENDDO.
* Assign elements of input file to internal table
CLEAR vendor_file_x.
IF columns > 0.
LOOP AT data_tab.
DO columns TIMES.
ASSIGN space TO <field>.
ASSIGN space TO <field_1>.
ASSIGN COMPONENT sy-index OF STRUCTURE vendor_file_x TO <field>.
SEARCH data_tab-data FOR delim.
IF sy-fdpos > 0.
field_end = sy-fdpos + 1.
ASSIGN data_tab-data(sy-fdpos) TO <field_1>.
* Check that numeric fields don't contain any embedded " or ,
IF <field_1> CO mixed_no AND
<field_1> CA extras.
TRANSLATE <field_1> USING '" , '.
CONDENSE <field_1> NO-GAPS.
ENDIF.
* If first and last characters are '"', remove both.
fld_chk = <field_1>.
IF NOT fld_chk IS INITIAL.
fld_lth = strlen( fld_chk ) - 1.
MOVE fld_chk+fld_lth(1) TO last_char.
IF fld_chk(1) = '"' AND
last_char = '"'.
MOVE space TO fld_chk+fld_lth(1).
SHIFT fld_chk.
MOVE fld_chk TO <field_1>.
ENDIF. " for if fld_chk(1)=" & last_char="
ENDIF. " for if not fld_chk is initial
* Replace "" with "
DO.
IF fld_chk CS '""'.
quote_1 = sy-fdpos.
quote_2 = sy-fdpos + 1.
MOVE fld_chk+quote_2 TO fld_chk+quote_1.
ELSE.
MOVE fld_chk TO <field_1>.
EXIT.
ENDIF.
ENDDO.
<field> = <field_1>.
ELSE.
field_end = 1.
ENDIF.
SHIFT data_tab-data LEFT BY field_end PLACES.
ENDDO.
APPEND vendor_file_x.
CLEAR vendor_file_x.
ENDLOOP.
ENDIF.
CLEAR data_tab.
REFRESH data_tab.
FREE data_tab.
Rob -
I have to extract all files from a hard drive of a macbook pro that is no longer working. All I have to access the hard drive is a PC, is this possible, and if so how?
You could try Paragon HFS+ for Windows. That would allow you to read and write files from a Mac-formatted drive.
Clinton -
when i try downloading adobe pro i am getting an error message that is saying: The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author.
Hi Kashmore,
Seems like the downloaded file was corrupt that could be because of either network restriction or the anti virus might have blocked it. My suggestion would be to try and download the product either by turning off the Antivirus or try a different network.
Cheers,
Kartikay Sharma -
Trying to download the free trial of Adobe Acrobat XL Pro. I keep getting the message "The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author." I've repeatedly tried getting a new installer file, but get the same message every time.
K_don52 and Ande8135 please remove your current installation of the Adobe Download Assistant and reinstall. You can find more details in the known issues section of Troubleshoot Adobe Download Assistant.
-
How to extract rpt file from .b1px file in SAP B1
How to extract rpt file from .b1px file in SAP B1
Hi Trupti,
You will not be able to export .b1px file without importing in SAP B1.
Please import .b1px file in SAP B1 and then export .rpt file from SAP B1 one by one.
Hope this helps
Regards::::
Atul Chakraborty
Maybe you are looking for
-
Full width responsive layout in Muse
I'm working on a website for a client and they want a site that has full browser width content however I can't seem to get my objects to span the whole browser and resize properly in relation to browser window size. I figured out how to make a rectan
-
Delay in loading webpages!
I recently started to notice (about 2-3 days ago) that the loading of a webpage was slower than normal. I started to investigate and realized that it was just when loading a webpage and that when I tried to download something or use internet in any o
-
ICCMP_BP_CP event EH_ONSAVE
HI Experts, I redifined event eh_onsave of view BupaConatactPersonCreate of the component iccmp_bp_cp . But when I am putting externam brekpoint on my redefined method , debuggers is not getting hit. But when I putting breakpoint on super method , de
-
Concurrent request failed - emsg:was terminated by signal 10 SunOS SPARC
I have a concurrent program working fine in text output but when i change the output to XML it failed. Log: Hora actual del sistema: 02-JUN-2010 17:52:51 +----------------------------- | Iniciando la ejecución del programa simultáneo... +------------
-
Lsmw using ALE/IDOC Method
Hi Team, I am trying for lsmw using ALE/IDOC Method. I have defined the segment type, message type, defined a basic type and defined a partner profile of the receiver system. When i try to execute the Start Idoc Generation step in generating LSMW cre