LR 2.1 & 2.0 ~ DRAG & DROP not working correctly with photos when moving, applying keywords
Today this issue started, originally in 2.0, updated to 2.1 and issue continues.
Issue: DRAG & DROP feature with mouse (or pad on laptop) will select multiple photos, (with CTRL & SHIFT key as typical with Windows machines)but when I try to move them to a different folder, or drop them onto a keyword, it will not work.
Specifically, I select two photos to move to a different folder, the selection work, but when I try to "grab" the selected photos, Lightroom defaults to One Photo, and it will not grab it to move it. However, I can "right click" on the intended folder and can select "move selected photos to folder" and that works. This issue also applys to assigning keywords, and I would assume other similiar actions. I should note, that I can "rotate", assign "labels", "stars", and Keywords from Keyword sets, it just happens with the "Drag & Drop" feature.
Help
The feature works correctly in other Windows programs, so I'm sure it's related to Lightroom and not the mouse.
I have a Windows Vista machine, 3GB RAM 160GB HD, ~ 75% free space, AMD Turion X2 Dual Core 70 Processor. Everything has worked fine up until this morning.
Prior to upgrading to 2.1, I optimized my Catalogue. Everything seems to work fine except this feature.
Help
Drag by the actual image area of the thumbnail, not the surrounding 'fake slide' cell.
That's a feature of Lightroom's grid view. Clicking on image area of thumbnail keeps the multiple selection and makes the image clicked the primary select. Clicking on the outer thumbnail area deselects all but the active image.
Similar Messages
-
Bluetooth does not work correctly with Flash when dealing with audio
I have a stereo that uses bluetooth. I am on a Mac.
Everything works with bluetooth (iTunes, Quicktime) except flash.
When I play a flash video, or listen to songs using a flash player,
no sound is playing through the remote (bluetooth) speakers.Ditto - I get the same issue with a bluetooth headset. If I
download the flash video to my mac and play it using VLC it works
fine, however the flash player chokes on it. Any ideas? -
Image drag drop not working in scaffholding. Does it require soem setting?
image drag drop not working in scaffholding. Does it require soem setting?
Hello Manoj,
The scaffolding teamplate which you use to create scaffolding page is actually a design prototype which helps you to create similar types of pages instances very quickly without authoring each page separately (for example news, aticle types of pages) and that is the concept of scaffolding only.
For example - When you go to location http://localhost:4502/miscadmin#/etc/scaffolding/geometrixx you will see a "News" page which is an example of scaffolding (this is a similar page which you can create using scaffolding template).
Now if you open this page you will be accessing http://localhost:4502/cf#/etc/scaffolding/geometrixx/news.html and here you will see already design page.
1. if you access page properties from side kick you will see how this page is configured using target template and target path
2. if you go to design mode using side kick you will see how the component has been design (which is similar to what appears on page when you came first time)
3. Now come back to normal view of that page (http://localhost:4502/cf#/etc/scaffolding/geometrixx/news.html) and author this page with some dummy property and click on "create" button. I know here you can not author the image as it comes as disabled empty box.
4. once you author the content and click on create button it will create an instance of scaffolding page on the same page you can see the link on the top of same page.
5. Now access that page, when you access that page the page will take reference of target template you configured using pare preoperties to display the page.
6. On this page you will see the same component you configured and when you will edit it you can author the image from there directly.
Now question is why to configure same component two times half data from scaffolding and half data from page but answer is the design is correct because the page design which you have created (for example http://localhost:4502/cf#/etc/scaffolding/geometrixx/news.html) is just proto type to create actual page instances and prototype can not holds values for page instance (specially image until it doesnt configured correctly for page instance in this case) which exist only when you create pages using the scaffolding page prototype. Otherwise you have to do more customization by extending scaffolding "/libs/wcm/scaffolding" changing the code and design OR you have to design it according to your target page strtucture which you have configured in page properties (specially image node).
If you want to create your own page prototype using scaffolding template and want image to associate just copy paste "/etc/scaffolding/geometrixx/news/jcr:content/dialog/items/items/tab2" node to your newly created scaffolding page prototype.
for more information on scaffolding just refer -http://dev.day.com/docs/en/cq/current/wcm/scaffolding.html
I hope it clarifies your question and help you to proceed. Let me know if you need more information or help.
Thanks,
Pawan -
i buy macbook pro occsaion ; i download osx 10.8.2 from internet and reintal osx , after 2 days my keyboard is not working correctly ( i mean when i touch the keys ,i see the symles , i cant get letters when i type . i try with externel keyboard but is work
Thanks for the reply but there is no option tab or wake for administration use in mountain lion 10.8.2, I only have the wake for network access which is on, I didnt used to have this problem before snow leopard now I have to manually re-login after computer wakes and then access remotely ........
-
Why is my Microsoft Word document not working correctly with Pages
I have created a new CV (Resume) in Microsoft Word on my work computer, it is using the latest version of Office. When I attempted to open the document in Pages on my home Mac, the formatting was slightly incorrect, but the main issue is it is missing two pages! The exact same document when opened in Word has three pages but in Pages, it only has one! I have had nothing but problems with Pages since I bought it! Can someone please help me get Pages to work correctly with my documents that are created in Word! Than you.
Pages does not allow a single cell in a table to span more than a page and there may be other problems that you also have not told us about.
Redo your CV using the excellent Pages templates, Word's templates are Uuuugly!
Being text based, with good typographical layout, those Pages templates should translate accurately back and forth from Pages to Word.
Frankly CVs don't require anything fancy. You could do an excellent, well laid out and very attractive CV in TextEdit which is no slouch in the word processing department.
Peter
PS Start off by saving your Word CV to .rtf or .txt which will strip off most of the bad formatting. Then reopen it in Pages or drag in the snippets of text into a Pages CV template's placeholders to automatically format the text nicely. -
Is prompted filter not working correctly with calculated items
Hello,
I am working on OBIEE 11.1.1.3 and having problem problem linking 2 analisys with action link
The test case is:
I have 2 attribute columns on a dimension
1. Conto 1 Code
2. Conto 1 Dsc (in RPD i set up the property Descritor ID of -> Conto 1 Code)
3. Conto 2 Code
4. Conto 2 Dsc (in RPD i set up the property Descritor ID of -> Conto 2 Code)
5. Conto Detail
and 1 measure on the fact table
1. Revenue (defined on RPD as simple sum)
On presentation layer i have the analisys:
1.
The First one using as Criteria: Conto 1 Dsc | Conto 2 Dsc | Revenue
The layout is a table with sub-total on Conto 1 Dsc
On Revenue i created an action link to the second analisys containing
2.
Criteria: Conto 1 Dsc | Conto 2 Dsc | Conto Detail | Revenue
Filters: Conto 1 Code (is prompted) | Conto 2 Code (is prompted)
This pair of analisys are working fine.
Then i created a second pair of analisys as:
1.
Criteria: Conto 2 Dsc | Revenue
Using Calculated group \ Items i created a numerous set of sub-totals
On Revenue i created an action link to the second analisys containing
2.
Criteria: Conto 2 Dsc | Conto Detail | Revenue
Filters: Conto 2 Code (is prompted)
This pair of analisys are not working correctly. When i drill from first analisys to second one the Conto 2 Code filter is not used.
Replacing in the second analisys Conto 2 Code (is prompted) with Conto 2 Dsc (is prompted) a filter is being generated on the drill but it's using the Conto 2 Code value and the analisys ends with no results.
Thanks,
JonniTry adding Conto 2 code to the first analysis and keep the filter on the second analysis as Conto 2 code is prompted.
-Amith. -
History does not work correctly in Firefox when setting base tag?
It looks like there's a bug in history.js that makes Firefox work incorrectly with History when the <base> tag is set in the HTML that runs the Flex object.
We are not using the Flex-generated HTML, because of the way our application is built and one of the things that is different in the HTML that we run the Flex object in is the presence of the <base> tag.
The <base> tag is set in our case to http://www.ufxbank.com/fr, and the full URL of the page with Flex is http://www.ufxbank.com/fr/trading.aspx.
What happens is that the function setDefaultURL in history.js in its "if (browser.firefox || browser.opera)" part makes a call to "window.location.replace" with the value of "#", which in our case replaces the location to "http://www.ufxbank.com/fr/#", which brings a different page in the browser.
I had to replace the code in history.js to be "var newloc = window.location + "?#" + def;" instead of the original "var newloc = "#" + def;".
Does anyone has a better solution?
Is it a bug in the template that should be fixed?Welcome to the forum.
When you say delete the index, I think you mean delete the
TOC?
This is a known problem with Firefox. You have books with
links to topics. If you remove those and have the required topic
immediately below the book, the problem will go away.
See other posts and my site.
Please post a bug report as Adobe need to fix this.
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform -
Import via Drag & Drop not working with LR CC (after Update from 5.7)
I always imported my pictures by just dragging them in the Windows Explorer and dropping them to the Lightroom Gallery tab.
This does not work with LR CC anymore.
The longer way via "Import" works fine.
Any suggestions?With Gallery i meant Library, my mistake (wrong translation, i am using the german version).
What works with your setup doesn't work with mine.
I attached a screenshot:
As you can see (cursor) i can't import the file from the file explorer on the right.
(The file is not already in the catalogue and i am in the library tab grid view mode).
Using Windows 7 x64 prof Service Pack 1 -
Drag-Drop not working with JRE 1.6.07
I have a problem where (when using the next-gen java plugin) applets do not appear as drop targets.
In more detail, I have a .NET winforms application, which has a web browser component on it running an Oracle forms application in a Java app. In JRE 1.6u7 you can drag an item onto the applet and it will notify .NET that a drag-drop operation has occurred. In newer versions of JRE (i've tested 6u11 and 6u13) with the "enable next-generation java plugin" checked, this drag-drop no longer works. (instead of a "hand" cursor, you get a "not allowed" cursor).
Has anyone else experienced this issue?
Thanks,
Rich.Up
No idea ? -
ICal to Mail drag & drop not working in OSX 10.10
In a frequently used work flow I dragged an iCalendar entry and dropped it to mail, where it was received as .ical attachment. Sometimes I used copy/paste to insert the entry's data as plain text.
This does not work any more with 10.10. Is there any better way to insert the ical file into an existing (reply-to) mail, without creating a blank invitation first and doing copy-paste there?Thanks, I have seen this but this process has the same number of steps as the blank invitation - I do not need to close the empty window in your version, but have to locate the .ics file in the finder.
Could it be that a product manager or programmer at Apple did not understand the merits of the old drag&drop and has killed this feature without offering any replacement? -
Copy/paste and drag/drop not working in Mt. Lion
After two weeks of searching, I can not find the hangup which is causing my iMac 27" 10.8 to stop copy/paste and drag/drop following successfully doing the same shortly after startup. In Safe Mode, it doesn't happen, so I'm wondering how to track down this problem (extension?). I have to restart in order to get it functioning again after a short time of working. There has to be some kind of timing, like a program installed with a time limit which probably was forgotten in Lion and then reared its ugly head in Mt. Lion. Any suggestions for tracking this puppy? Or is there a program I could buy to do so?
Please read this whole message before doing anything.
This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac.
These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing.
Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects.
Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then either copy or drag it. The headings “Step 1” and so on are not part of the commands.
Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.
Launch the Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign.
Step 1
Copy or drag — do not type — the line below into the Terminal window, then press return:
kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
Post the lines of output (if any) that appear below what you just entered (the text, please, not a screenshot.) You can omit the final line ending in “$”.
Step 2
Repeat with this line:
sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}'
This time, you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning.
Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step.
Step 3
launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
Step 4
ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null
Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting.
Step 5
osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
Remember, steps 1-5 are all drag-and-drop or copy-and-paste, whichever you prefer — no typing, except your password. Also remember to post the output.
You can then quit Terminal. -
I can drag a selection of images on my powerbook to my desktop perfectly. However, on my Quad, it won't work. Any ideas?
thanks!You can only drag&drop images that have previews.
Make sure on your Quad you have previews on. -
System Events not working correctly with Acrobat Professional
Hey Guys, I have a script that I have written that automatically enables security settings on a PDF through Acrobat Professional. Because of Acrobats poor scriptability I am forced into doing much though System Events.
This is not a major problem... however when activating some settings in the security settings, often warning Alert dialog boxes appear when you tell System Events to enable particular settings. These Alerts do not have a title... The only way I have been able to get the script to deal with them is with the following code:
if title of front window is "" then
tell front window
click button "OK"
end tell
end if
I guess this is an ok solution... bit hard to identify windows when they don't have titles...
BUT this is not my main problem. The main problem is that the script gets to one of these alert dialog boxes and just sits there... It sits there for like 10 seconds and then it performs the "click button "OK"" command.
This is a problem as there are like 3 of these instances and it really adds up. Can anybody help me... I am using Acrobat Professional 8.2.0 and the entire code is:
tell application "System Events"
try
tell process "Acrobat"
-- Enable security settings
click menu item "Properties..." of menu "File" of menu bar item "File" of menu bar 1
tell window "Document Properties"
tell tab group 1
click radio button "Security"
tell group "Document Security"
click pop up button 1
click menu item 2 of menu 1 of pop up button 1
end tell
end tell
end tell
tell window "Password Security - Settings"
click pop up button 1
click menu item 4 of menu 1 of pop up button 1
tell group "Permissions"
click checkbox "Restrict editing and printing of the document. A password will be required in order to change these permission settings."
click text field 1
keystroke pdfPassword
click pop up button 1
click menu item 2 of menu 1 of pop up button 1
click pop up button 2
click menu item 4 of menu 1 of pop up button 2
end tell
click button "OK"
end tell
if title of front window is "" then
tell front window
click checkbox 1
click button "OK"
end tell
end if
tell window "Adobe Acrobat - Confirm Permissions Password"
click text field 1
keystroke pdfPassword
click button "OK"
end tell
if title of front window is "" then
tell front window
click checkbox 1
click button "OK"
end tell
end if
tell window "Document Properties"
click button "OK"
end tell
end tell
on error
display alert "System Events was unable to Enable Commenting. This may be because Acrobat has modified its menu system. Please contact your system administrator."
end try
end tell
A delay does not work... its like as soon as I click the "OK" button it stalls for 10 seconds or does not know that is meant to continue... because I did this:
tell window "Password Security - Settings"
click button "OK"
end tell
beep
In this situation it still takes like 10 seconds for the beep to occur after the click button "OK" command.Hey Guys, I have a script that I have written that automatically enables security settings on a PDF through Acrobat Professional. Because of Acrobats poor scriptability I am forced into doing much though System Events.
This is not a major problem... however when activating some settings in the security settings, often warning Alert dialog boxes appear when you tell System Events to enable particular settings. These Alerts do not have a title... The only way I have been able to get the script to deal with them is with the following code:
if title of front window is "" then
tell front window
click button "OK"
end tell
end if
I guess this is an ok solution... bit hard to identify windows when they don't have titles...
BUT this is not my main problem. The main problem is that the script gets to one of these alert dialog boxes and just sits there... It sits there for like 10 seconds and then it performs the "click button "OK"" command.
This is a problem as there are like 3 of these instances and it really adds up. Can anybody help me... I am using Acrobat Professional 8.2.0 and the entire code is:
tell application "System Events"
try
tell process "Acrobat"
-- Enable security settings
click menu item "Properties..." of menu "File" of menu bar item "File" of menu bar 1
tell window "Document Properties"
tell tab group 1
click radio button "Security"
tell group "Document Security"
click pop up button 1
click menu item 2 of menu 1 of pop up button 1
end tell
end tell
end tell
tell window "Password Security - Settings"
click pop up button 1
click menu item 4 of menu 1 of pop up button 1
tell group "Permissions"
click checkbox "Restrict editing and printing of the document. A password will be required in order to change these permission settings."
click text field 1
keystroke pdfPassword
click pop up button 1
click menu item 2 of menu 1 of pop up button 1
click pop up button 2
click menu item 4 of menu 1 of pop up button 2
end tell
click button "OK"
end tell
if title of front window is "" then
tell front window
click checkbox 1
click button "OK"
end tell
end if
tell window "Adobe Acrobat - Confirm Permissions Password"
click text field 1
keystroke pdfPassword
click button "OK"
end tell
if title of front window is "" then
tell front window
click checkbox 1
click button "OK"
end tell
end if
tell window "Document Properties"
click button "OK"
end tell
end tell
on error
display alert "System Events was unable to Enable Commenting. This may be because Acrobat has modified its menu system. Please contact your system administrator."
end try
end tell
A delay does not work... its like as soon as I click the "OK" button it stalls for 10 seconds or does not know that is meant to continue... because I did this:
tell window "Password Security - Settings"
click button "OK"
end tell
beep
In this situation it still takes like 10 seconds for the beep to occur after the click button "OK" command. -
Bapi_document_create2 does not work correctly with attached file.
Hi all.
I hava a problem with bapi. I programmed below.
ls_docdata-documenttype = 'BBS'.
ls_docdata-description = 'JJW test'.
ls_file-documenttype = 'BBS'.
ls_file-ORIGINALTYPE = 1.
ls_file-storagecategory = 'ZSTW_KPRO'.
ls_file-wsapplication = 'TXT'.
ls_file-docfile = entity_filename.
append ls_file to lt_files.
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
EXPORTING
documentdata = ls_docdata
PF_FTP_DEST = 'SAPFTP'
PF_HTTP_DEST = 'SAPHTTP'
IMPORTING
documenttype = lv_documenttype
documentnumber = lv_documentnumber
documentpart = lv_documentpart
documentversion = lv_documentversion
return = ls_return
tables
documentfiles = lt_files.
call function 'BAPI_TRANSACTION_COMMIT'.
If I don't attach the file, DIR is created but if attach some files, it does not work. What should I do??
regards.Hi,
You can use the below to attach the file from BSP to SAP. But it doesnt use the BAPI - 'BAPI_DOCUMENT_CREATE2'. It works perfectly for me. Let me know if you have any questions.
Note: This code put the file into SAP Directory "/userapps/master_data/" as well as it upload the file into Transaction WTY since i am using Business object:BUS2222. You may need to modify the Business object if you ahve the one, otherwise you can just put it into SAP DIR.
FUNCTION ZATTACH_CREATE.
*"*"Update function module:
*"*"Local interface:
*" IMPORTING
*" VALUE(FILE) TYPE SAPB-SAPFILES
*" VALUE(STR_FILE_CONTENT) TYPE XSTRING
*" VALUE(OBJECT_KEY) TYPE BAPIBDS01-OBJKEY
DATA: LOGICAL_SYSTEM TYPE BAPIBDS01-LOG_SYSTEM,
CLASSNAME TYPE BAPIBDS01-CLASSNAME,
CLASSTYPE TYPE BAPIBDS01-CLASSTYPE.
DATA: IT_FILES TYPE TABLE OF BAPIFILES,
IT_SIGNATURE TYPE TABLE OF BAPISIGNAT,
FILES TYPE BAPIFILES,
SIGNATURE TYPE BAPISIGNAT.
DATA: I_TOADD TYPE TOADD,
FILENAME_ALL TYPE SAPB-SAPFILES,
FILE_PATH TYPE SAPB-SAPFILES,
FILE_PATH_MEMORY(250) TYPE C, " path für SAP memory
FILE_PATH_LENGTH TYPE I, " length of the file_path
FILE_CONTENT_LENGTH TYPE I, " length of the file_CONTENT
FILE_NAME TYPE SAPB-SAPFILES,
FILE_EXTENSION TYPE TOADD-DOC_TYPE. " file-extension.
DATA: I_FILE_CONTENT TYPE TABLE OF BAPICONTEN.
DATA: WA_FILE_CONTENT TYPE BAPICONTEN,
STRING_CONTENT TYPE STRING,
STRING_CONTENT1 TYPE STRING.
DATA:
I_FILES TYPE TABLE OF BAPIFILES ,
I_SIGNATURE TYPE TABLE OF BAPISIGNAT ,
I_COMPONENTS TYPE TABLE OF BAPICOMPON ,
COMPONENTS TYPE BAPICOMPON ,
I_PROPERTIES TYPE TABLE OF SDOKPROPTY ,
I_PROPERTIES2 TYPE TABLE OF BAPIPROPER ,
I_PROPERTIES_DEL TYPE TABLE OF BAPIDPROPT ,
MIMETYPE TYPE TOADD-MIMETYPE,
COMPID TYPE BAPICOMPON-COMP_ID, " compid for popup
COMPID_FLAG(1) TYPE C, " compid can't be changed
MODIFY_FLAG(1) TYPE C, " document is modified
ATTRI_FLAG(1) TYPE C, " attri can't be changed
TITLE_FLAG(1) TYPE C, " titel of the popup
CANCEL_FLAG(1) TYPE C, " cancel button Yes/No
BUTTON_TEXT(10) TYPE C,
INFO_TEXT(100) TYPE C,
VERSION_NR TYPE BDN_CON-DOC_VER_NO, " version_nr for popup
VERSION_LANGU2 TYPE T002T-SPTXT, " language field in POPUP
VERSION_LANGU TYPE BDN_CON-LANGU," SPRAS language field
TITLE_TEXT(100) TYPE C, " title of the popup
DESCRIPTION TYPE BDN_CON-DESCRIPT. " descr. for popup
*FILENAME_ALL = fileUpload_event->file_name.
* Transfering into SAP File server.
FILE_CONTENT_LENGTH = XSTRLEN( STR_FILE_CONTENT ).
FILENAME_ALL = FILE .
STRING_CONTENT = STR_FILE_CONTENT.
DATA: OUT_LINES TYPE TABLE OF XSTRING.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = STR_FILE_CONTENT
* APPEND_TO_TABLE = ' '
* IMPORTING
* OUTPUT_LENGTH =
TABLES
BINARY_TAB = I_FILE_CONTENT.
DELETE DATASET '/userapps/master_data/claim1.txt'.
OPEN DATASET '/userapps/master_data/claim1.txt' FOR APPENDING
IN TEXT MODE ENCODING DEFAULT.
* LOOP AT I_FILE_CONTENT INTO WA_FILE_CONTENT.
* TRANSFER STR_FILE_CONTENT TO '/userapps/master_data/claim1.txt'.
TRANSFER STRING_CONTENT TO '/userapps/master_data/claim1.txt'.
* ENDLOOP.
CLOSE DATASET '/userapps/master_data/claim1.txt'.
OPEN DATASET '/userapps/master_data/claim1.txt' FOR INPUT
IN TEXT MODE ENCODING DEFAULT.
READ DATASET '/userapps/master_data/claim1.txt' into STRING_CONTENT1.
* -- split filename -- *
DATA: LENGTH TYPE I.
DATA: PATH2(1200). " LIKE sapb-sapfiles.
DATA: L_FILE(1200),
L_DIR(1200),
L_DELIMITER TYPE C,
L_OFFSET TYPE I,
L_BYTES TYPE I,
L_DELIMITER_OFFSET TYPE I,
L_DELIMITER_BYTES TYPE I,
L_CHAR TYPE C,
L_PREVIOUS_CHAR TYPE C,
L_LAST_CHAR TYPE C.
PATH2 = FILENAME_ALL.
LENGTH = STRLEN( PATH2 ).
L_OFFSET = 0.
WHILE L_OFFSET < LENGTH.
L_LAST_CHAR = L_CHAR. "remember last character
L_BYTES = CHARLEN( PATH2+L_OFFSET ).
L_CHAR = PATH2+L_OFFSET(L_BYTES). "get current character
IF L_CHAR = '/' OR L_CHAR = '' OR L_CHAR = ':'.
IF L_DELIMITER IS INITIAL OR L_DELIMITER = ':'.
"Typically we deal with absolute paths, so the first
"delimiter is best. This allows for UNIX paths with
"'' in the directory or file name
L_DELIMITER = L_CHAR.
ENDIF.
IF L_CHAR = L_DELIMITER.
L_DELIMITER_OFFSET = L_OFFSET.
L_DELIMITER_BYTES = L_BYTES.
"remember character in front of delimiter:
L_PREVIOUS_CHAR = L_LAST_CHAR.
ENDIF.
ENDIF.
L_OFFSET = L_OFFSET + L_BYTES.
ENDWHILE.
IF NOT L_DELIMITER IS INITIAL.
L_OFFSET = L_DELIMITER_OFFSET + L_DELIMITER_BYTES.
L_FILE = PATH2+L_OFFSET.
IF L_PREVIOUS_CHAR = ':' OR L_DELIMITER = ':'.
"path ends with or after drive identifer, include the delimiter
L_DIR = PATH2(L_OFFSET).
ELSEIF NOT L_DELIMITER_OFFSET IS INITIAL.
"do not include a trailing delimiter for compatibility reasons
L_DIR = PATH2(L_DELIMITER_OFFSET).
ELSE.
CLEAR L_DIR.
ENDIF.
ELSE.
L_DIR = SPACE.
L_FILE = PATH2.
ENDIF.
FILE_PATH = L_DIR.
FILE_NAME = L_FILE.
* -- set new file_path to SAP memory -- *
FILE_PATH_LENGTH = STRLEN( FILE_PATH ).
IF FILE_PATH <> SPACE AND FILE_PATH_LENGTH < 250.
FILE_PATH_MEMORY = FILE_PATH.
SET PARAMETER ID 'OAP' FIELD FILE_PATH_MEMORY.
ELSE.
FILE_PATH_MEMORY = SPACE.
SET PARAMETER ID 'OAP' FIELD FILE_PATH_MEMORY.
ENDIF.
* -- data declaration ------------------------------------------------ *
DATA:
SINGLE_C TYPE C.
CLEAR: SINGLE_C.
LENGTH = STRLEN( FILE_NAME ).
IF LENGTH > 0.
WHILE LENGTH > 0.
SINGLE_C = FILE_NAME+LENGTH(1).
IF SINGLE_C CO '.'.
LENGTH = LENGTH + 1.
EXIT.
ELSE.
LENGTH = LENGTH - 1.
ENDIF.
ENDWHILE.
IF LENGTH > 0.
FILE_EXTENSION = FILE_NAME+LENGTH.
ELSE.
FILE_EXTENSION = SPACE.
ENDIF.
ELSE.
FILE_EXTENSION = SPACE.
ENDIF.
IF FILE_EXTENSION <> SPACE.
SET LOCALE LANGUAGE SY-LANGU.
TRANSLATE FILE_EXTENSION TO UPPER CASE. "#EC TRANSLANG
SET LOCALE LANGUAGE SPACE.
ENDIF.
* TR001++
DATA: I_TOADV TYPE TABLE OF TOADV.
DATA: WA_TOADV TYPE TOADV.
DATA: OBJECT TYPE SAEOBJART.
SELECT * FROM TOADV INTO CORRESPONDING FIELDS OF TABLE
I_TOADV WHERE STANDARD = 'X'.
DELETE I_TOADV WHERE AR_OBJECT CS 'BDS' OR AR_OBJECT CS 'ZSEST'.
READ TABLE I_TOADV INTO WA_TOADV WITH KEY DOC_TYPE = FILE_EXTENSION.
* -- get name and description for the document -- *
CLEAR: COMPID,
DESCRIPTION,
VERSION_NR,
MODIFY_FLAG,
COMPID_FLAG,
ATTRI_FLAG,
TITLE_FLAG.
COMPID_FLAG = ' '. " -> compid can't be changed
MODIFY_FLAG = 'S'. " -> popup in save modus
ATTRI_FLAG = 'X'. " -> attri's can be changed
COMPID = FILE_NAME.
VERSION_NR = '00000001'.
VERSION_LANGU2 = SY-LANGU.
TITLE_FLAG = '1'. " -> BDN
* -- get the mimetype of the docuclass -- *
*PERFORM MIMETYPE_GET(OAALL) USING FILE_EXTENSION
* CHANGING I_TOADD.
DATA: I_DOCUMENTCLASS TYPE TOADD-DOC_TYPE.
MOVE FILE_EXTENSION TO I_DOCUMENTCLASS.
SET LOCALE LANGUAGE SY-LANGU.
TRANSLATE I_DOCUMENTCLASS TO UPPER CASE. "#EC TRANSLANG
SET LOCALE LANGUAGE SPACE.
SELECT SINGLE * FROM TOADD INTO I_TOADD WHERE
DOC_TYPE EQ I_DOCUMENTCLASS.
IF SY-SUBRC NE 0. " nothing found -> default!
I_TOADD-DOC_TYPE = I_DOCUMENTCLASS.
I_TOADD-MIMETYPE = 'application/x-docType'. "#EC NOTEXT
ENDIF.
MOVE I_TOADD-MIMETYPE TO MIMETYPE.
* -- fill file and signature structure -- *
CLEAR: I_FILES, I_SIGNATURE.
REFRESH : I_FILES, I_SIGNATURE.
DESCRIPTION = FILE_NAME.
FILES-DOC_COUNT = 1.
FILES-DIRECTORY = FILE_PATH.
FILES-FILENAME = FILE_NAME.
FILES-MIMETYPE = MIMETYPE.
APPEND FILES TO I_FILES.
* -- fill components and signature structure -- *
COMPONENTS-DOC_COUNT = 1.
COMPONENTS-COMP_COUNT = 1.
COMPONENTS-MIMETYPE = MIMETYPE.
COMPONENTS-COMP_ID = FILE_NAME.
APPEND COMPONENTS TO I_COMPONENTS.
SIGNATURE-DOC_COUNT = 1.
SIGNATURE-PROP_NAME = 'BDS_DOCUMENTCLASS'.
SIGNATURE-PROP_VALUE = FILE_EXTENSION.
APPEND SIGNATURE TO I_SIGNATURE.
SIGNATURE-PROP_NAME = 'BDS_CONTREP'.
*IF BDS_DOCTYPE_LIST-CONTREP = SPACE.
SIGNATURE-PROP_VALUE = ' '. "#EC NOTEXT
*ELSE.
* I_SIGNATURE-PROP_VALUE = BDS_DOCTYPE_LIST-CONTREP.
*ENDIF.
APPEND SIGNATURE TO I_SIGNATURE.
SIGNATURE-PROP_NAME = 'BDS_DOCUMENTTYPE'.
SIGNATURE-PROP_VALUE = WA_TOADV-AR_OBJECT. "'ZSRVCXLS'."TR001+
APPEND SIGNATURE TO I_SIGNATURE.
SIGNATURE-PROP_NAME = 'DESCRIPTION'.
SIGNATURE-PROP_VALUE = DESCRIPTION.
APPEND SIGNATURE TO I_SIGNATURE.
SIGNATURE-PROP_NAME = 'LANGUAGE'.
SIGNATURE-PROP_VALUE = VERSION_LANGU.
APPEND SIGNATURE TO I_SIGNATURE.
CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CREA_TAB'
EXPORTING
* LOGICAL_SYSTEM =
CLASSNAME = 'BUS2222' "classname_select
CLASSTYPE = 'BO'" classtype_select
CLIENT = SY-MANDT
OBJECT_KEY = OBJECT_KEY
BINARY_FLAG = 'X'
* IMPORTING
* OBJECT_KEY =
TABLES
SIGNATURE = I_SIGNATURE
COMPONENTS = I_COMPONENTS
CONTENT = I_FILE_CONTENT
* ASCII_CONTENT =
* EXCEPTIONS
* NOTHING_FOUND = 1
* PARAMETER_ERROR = 2
* NOT_ALLOWED = 3
* ERROR_KPRO = 4
* INTERNAL_ERROR = 5
* NOT_AUTHORIZED = 6
* OTHERS = 7
COMMIT WORK AND WAIT.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFUNCTION.
Message was edited by:
Raja T -
Bluetooth does not work correctly with Siemens Tek Connect headphone device
I hopefully tried the new bluetooth support in OS 3.0, but it does not work with my Siemens Tek Connect headphone device. It syncs as expected, but no sound is heard. I can choose the Tek Connect in the music app and other programs, my headphone (actually my two hearing aids, which are connected wireless with ear to ear communications (e2e) via the Tek Connect necklace device) signals the connection to me (a beep), but nothing is heard. Codec problem?
AndreasI own Phonak hearing aids with their Bluetooth-capable iCom device which allows my aids to be used as a phone headset and also supports the A2DP stereo bluetooth profile. My iPod Touch 2Gen 32GB is able to play to my hearing aids properly.
One thing I noticed is that the iPod does not allow you to control the volume when using Bluetooth. It expects the headphones to be able to control the volume. Have you used your hearing aids as Bluetooth headphones on any other device? Maybe the device isn't programmed properly to set the volume while in headphones mode. I know my audiologist had to program the volume on each mode separately on my device.
My MacBook Pro is able to play music over Bluetooth to my hearing aids fine. But I have never gotten Windows to work properly sending audio to my hearing aids. Do you have a Mac with Bluetooth? Try to get that working to see if it's your hearing aid device that's causing the trouble or not.
Maybe you are looking for
-
LCM utility.sh can be automated?
Hi, LCM Utility - How to supply userid/password (to avoid prompting) I have read the above thread. I understand that once we enter UID and PWD during runtime the credentials will get stored in import.xml file. Can we actually automate this for indivu
-
i have a system error when trying to open my itunes on my laptop. Should I unistall and reinstall itunes?
-
Display incomplete image: Premature end of JPEG file
Hello people, My problem is that displaying an image with incomplete data works fine, apart from that the following error message is printed out: Premature end of JPEG file The picture looks perfect (the missing part is rendered in gray), but I want
-
Does anyone tried creating dashboards using VSAE for SCOM 2012 r2
how can i create custom dashboard views using VSAE, Does anyone find any tutorials on how to do that? Can anyone help me in doing that? Thanks & Regards, Suresh Gaddam
-
Is there any way I can use bi beans without the patches
I am a Chinese student,I am doing some research on OLAP. I'm in the initial stages of evaluating BI Beans for my research. We have previously not used Oracle in house. In attempting to use BI Beans, the first thing you must do is install the latest p