Exporting descriptions
How do I export the data that is in the description field. I like that the description data is included when I share them into a mobileme gallery. I have tried all the export settings (including "current" in the "kind" category.
The instructor at my apple one to one lesson couldn't figure it out either. He tested it on one of the macs in the store and the description exported with the pre-existing photos.. but when we added our own photos with descriptions. the descriptions did not export.
The keywords will export, butI have an unmanageable amount of keywords, find faces very time consuming, and have therefore included many of the names of people in the descriptions. I lose all this info when exporting out to share with other family members in their iphoto albums.
Thanks
Where are the photos that won't take the description upon export from? When you added your photos to the the library at the Apple store did they have descriptions from earlier or did you try to enter them there and then export? How did you check them after export, via the Finder's Get Info pane?
Have you been able to export any photos from your library with the description included?
Try the following: delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your User/Library/Preferences folder.
NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding the the Option key.
Launch iPHoto and try uploading to MMe or exporting again.
OT
Similar Messages
-
IPhoto not exporting description for Canon Powershot
iPhoto is not exporting descriptions for photos taken by my Canon Powershot SX110 IS.
I use the camera to take a picture, import the photo, add a description and use File->Export, choosing JPEG, check box for Title and Keywords, check box for Locations. Perform export and view photo in Preview, view exif using Tools->Inspector. All pertinent exif data is there except description, including keywords and location. Specifically looking at IPTC and TIFF data fields.
However, if I export Photos from my wife's camera (a Canon SLR model) or a friend's Canon EOS model, then the descriptions do get exported. Any ideas or solutions on how to export the description for the Canon Powershot?I can confirm that. I just imported it to iPhoto and no, I can't see the caption there either. But, and this is odd, there are several blank spaces there - for instance, in the shot below I just typed 'this is a test' where the cursor would let me.
So you can see there is some element of recognition that there is *something* there, which is weird. I tried copying and pasting that out but there are only spaces and no actual text that I can find. This is also repeated with Aperture.
There is some incompatibility between that camera and the Quicktime substructure on the Mac... I've simply never seen anything like this before. -
ITunes Export Description Field
The standard playlist export exlcudes the 'Description' field.
Is there a way to include the 'Descritpion' field when exporting a Podcast playlist from iTunes?write a small program
use FM "TR_NAMETAB_GET" to get the table definition and use gui_download to download it to excel.
IV_TABNAME 'SFLIGHT'
IV_GET_LENGTHS_IN_CHARMODE 'X'
IV_GET_TEXTS 'X'
Regards
Raja -
IPhoto 9.6 not exporting photo descriptions
After changing image descriptions as desired, then selecting File>Export>Include: Title and keywords, the image descriptions fail to be exported (default camera description "OLYMPUS DIGITAL CAMERA" retained). Title and keywords are exported; descriptions are not.
This is new problem with new Macbook up to date running 10.10.2.
I have submitted feedback to Apple via iPhoto>Provide iPhoto Feedback.
But wondering if others are having this issue.
And if I discover a resolution then I shall post it here.How are you checking for the descriptions?
As a Test:
Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
Import a few pics into this new, blank library. Is the Problem repeated there?
Post back with the result. -
Export as MPEG2 results in M2t file
Hi,
when I try to export my video as a MPEG2 (regardingless which resolution) I always get a M2T file.
When I started the export first I got a prompt that asked for administration rights. Because the regeidtor asked for this rights I was a little bit confused and denied the request.
What do I have to do to get a real MPEG2 export?
Thanksakraemer030
Let us cut to the core of the matter.
What is your definition of a real "MPEG2 export"?
Under Publish+Share/Computer/MPEG, what you set for Presets determines what you get for video compression, file extension, and the rest of the
properties of the export file.
If you select
MPEG2 1440 x 1080i25
MPEG2 1440 x 1080i30
MPEG2 1920 x 1080i25
MPEG2 1920 x 1080i30
You get a video file which uses MPEG2 video compression with a .m2t file extension and a companion instructional file with the file extension .xmpses.
This File Type is described as MPEG2 Blu-ray.
You can customize the preset under the Advanced Button/Video Tab and Audio Tab.
The specific video codec that it uses is named MainConcept MPEG Video.
If you select
HDTV 1080i25 High Quality
HDTV 1080p24 High Quality
HDTV 1080p25 High Quality
HDTV 1080p30 High Quality
You get only a file which uses MPEG2 video compression with a .mpg file extension.
This File Type is described as MPEG2.
You can customize the preset under the Advanced Button/Video Tab and Audio Tab.
The specific video codec that it uses is named MainConcept MPEG Video.
These choices do not include a companion instructional file.
If you select
NTSC DVD Standard
NTSC DVD Widescreen
PAL DVD Standard
PAL DVD Widescreen
You get only a file which uses MPEG2 video compression with a .mpg file extension.
This File Type is described as MPEG2 DVD.
You can customize the preset under the Advanced Button/Video Tab and Audio Tab.
The specific video codec that it uses is named MainConcept MPEG Video.
These choices do not include a companion instructional file.
There are a few other presets under Publish+Share/Computer/MPEG that I have not defined as above. I will leave that for you to check out in the
scheme that I have provided.
All of the above being written, I believe the matter resolves to the question that I asked at the beginning
What is your definition of a real "MPEG2 export"?
If you need any help in selecting project settings for your Premiere Elements project, please supply details of
a. project preset
b. properties of source media
c. intended export description and intended type of use
Thank you.
ATR
Add On...All this applies if
a. You are running the program from a User Account with Administrative Privileges
and
b. Have latest version of QuickTime installed on computer with Premiere Elements. -
FM change description of structure node RMS
Hi all,
Do you know any FM to change description of structure node in a Record in RMS?
Thanks in advance.DATA: myelement TYPE REF TO cl_srm_sp_record_element.
CALL METHOD myelement->if_srm_sp_record_element~description_set
EXPORTING
DESCRIPTION = descripcion.
CALL METHOD myrecordapi->element_descr_update
EXPORTING
element = myelement. -
App for the iPad to show photo description?
Is there an App for the iPad that will let you add a brief description to the photo and have it displayed on the iPad? I have done an unsuccessful search to find an answer to this.
For me the question is not whether I can export descriptions etc added with Photo Shack, but whether it can get the ones I have added in iPhoto on the Mac. All my work is done on the Mac, and I only want to ust the iPad and iPhone to show the photos, with descriptions.
Thanks for any help anyone can give me. -
How to send smart form as mail?
Hello everybody,
I have used the following code to send a smartform in PDF format through email.
I m able to view the contents of the mail in SAP Bussiness Workplace but UNABLE TO TRANSFER THE MAIL to an INTERNET ID (like gmail id or yahoo id).
Can anybody suggest me about what might have gone wrong?
Helpful answers will surely be rewarded.
code
DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
i_tline TYPE TABLE OF tline WITH HEADER LINE,
i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
Objects to send mail.
i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
Work Area declarations
wa_objhead TYPE soli_tab,
w_ctrlop TYPE ssfctrlop,
w_compop TYPE ssfcompop,
w_return TYPE ssfcrescl,
wa_doc_chng TYPE sodocchgi1,
w_data TYPE sodocchgi1,
wa_buffer TYPE string,"To convert from 132 to 255
Variables declarations
*v_form_name TYPE rs38l_fnam, " L_FM_NAME
v_len_in LIKE sood-objlen,
v_len_out LIKE sood-objlen,
v_len_outn TYPE i,
v_lines_txt TYPE i,
v_lines_bin TYPE i.
DATA: l_fm_name TYPE rs38l_fnam.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = p_l_formname
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = l_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF g_it3 = 'M'.
g_it3 = 'Mr'.
ENDIF.
IF g_it3 = 'F'.
g_it3 = 'Ms'.
ENDIF.
CALL FUNCTION l_fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
it = g_it
it1 = g_it1
it3 = g_it3
it4 = g_it4
it5 = g_it5
it6 = g_it6
it7 = g_it7
it8 = g_it8
it10 = g_it10
it14 = g_it14
it15 = g_it15
it36 = g_it36
it18 = g_it18
it37 = g_it37
it19 = g_it19
it9 = g_it9
it11 = g_it11
it13 = g_it13
it39 = g_it39
it40 = g_it40
it20 = g_it20
it21 = g_it21
it22 = g_it22
it23 = g_it23
it25 = g_it25
it26 = g_it26
it27 = g_it27
it28 = g_it28
it29 = g_it29
it30 = g_it30
it31 = g_it31
it32 = g_it32
it33 = g_it33
total = g_total
it34 = g_it34
it35 = g_it35
it2 = pa0006-begda
it12 = pa0001-begda
it16 = pa0015-begda
it17 = pa0001-endda
it24 = pa0002-endda
it38 = pa0002-begda
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
g_semail = 'X'.
IF g_semail = 'X'.
w_ctrlop-getotf = 'X'.
w_ctrlop-no_dialog = 'X'.
w_compop-tdnoprev = 'X'.
CALL FUNCTION l_fm_name
EXPORTING
control_parameters = w_ctrlop
output_options = w_compop
user_settings = 'X'
IMPORTING
job_output_info = w_return
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
i_otf[] = w_return-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_len_in
TABLES
otf = i_otf
otf = i_otf
lines = i_tline
lines = i_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*convert PDF from 132 to 255
LOOP AT i_tline.
*Replacing space by '~'.
TRANSLATE i_tline USING '~'.
CONCATENATE wa_buffer i_tline INTO wa_buffer.
ENDLOOP.
*Repalacing '~' by space.
TRANSLATE wa_buffer USING '~'.
DO.
i_record = wa_buffer.
*Appending 255 characters as a record.
APPEND i_record.
SHIFT wa_buffer LEFT BY 255 PLACES.
IF wa_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Attachment
REFRESH:
i_reclist,
i_objtxt,
i_objbin,
i_objpack.
CLEAR wa_objhead.
*Object with PDF.
i_objbin[] = i_record[].
DESCRIBE TABLE i_objbin LINES v_lines_bin.
Create Message Body
Title and Description
*Object with main text of the mail.
i_objtxt = 'Find attached the output of the smartform'.
APPEND i_objtxt.
i_objtxt = 'Regards'.
APPEND i_objtxt.
i_objtxt = 'Lokesh'.
APPEND i_objtxt.
DESCRIBE TABLE i_objtxt LINES v_lines_txt.
READ TABLE i_objtxt INDEX v_lines_txt.
*Document information.
wa_doc_chng-obj_name = 'Offer Letter'.
wa_doc_chng-expiry_dat = sy-datum + 10.
wa_doc_chng-obj_descr = 'Offer Letter'.
wa_doc_chng-sensitivty = 'F'.
wa_doc_chng-doc_size = v_lines_txt * 255.
Main Text
*Pack to main body as RAW.
*Object to be transported not in binary form.
wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + STRLEN( i_objtxt ).
CLEAR i_objpack-transf_bin.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
i_objpack-body_num = v_lines_txt.
i_objpack-doc_type = 'RAW'.
APPEND i_objpack.
Attachment
(pdf-Attachment)
*Packing as PDF
i_objpack-transf_bin = 'X'.
i_objpack-head_start = 1.
i_objpack-head_num = 1.
i_objpack-body_start = 1.
Länge des Attachment ermitteln
DESCRIBE TABLE i_objbin LINES v_lines_bin.
READ TABLE i_objbin INDEX v_lines_bin.
i_objpack-doc_size = v_lines_bin * 255 .
i_objpack-body_num = v_lines_bin.
i_objpack-doc_type = 'PDF'.
i_objpack-obj_name = 'smart'.
i_objpack-obj_descr = 'test'.
APPEND i_objpack.
CLEAR i_reclist.
i_reclist-receiver = '[email protected]'.
i_reclist-express = 'X'.
i_reclist-rec_type = 'U'.
APPEND i_reclist.
*CALL FUNCTION 'LXE_SEND_MAIL_ATTMNT'
EXPORTING
description =
SENSITIVITY = 'O'
IN_OUTBOX = ' '
tables
receivers =
document_text =
DOCUMENT_ATTMNT =
DOCUMENT_ATTMNT_ATTR =
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
NO_AUTHORIZATION = 3
OTHERS = 4
*IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_chng
put_in_outbox = 'X'
TABLES
packing_list = i_objpack
object_header = wa_objhead
contents_bin = i_objbin
contents_txt = i_objtxt
receivers = i_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
MESSAGE 'success' TYPE 'I'.
ENDIF.
ENDIF.
ENDFORM. " GET_OFFER_LETTERHere is the code to send the Smartform to mail as PDF attachment.
*& Report ZTEST_PDF_MAIL
REPORT ZTEST_PDF_MAIL.
Internal Table declarations
DATA: I_OTF TYPE ITCOO OCCURS 0 WITH HEADER LINE,
I_TLINE TYPE TABLE OF TLINE WITH HEADER LINE,
I_RECEIVERS TYPE TABLE OF SOMLRECI1 WITH HEADER LINE,
I_RECORD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
Objects to send mail.
I_OBJPACK LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
I_OBJTXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
I_OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
I_RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
Work Area declarations
WA_OBJHEAD TYPE SOLI_TAB,
W_CTRLOP TYPE SSFCTRLOP,
W_COMPOP TYPE SSFCOMPOP,
W_RETURN TYPE SSFCRESCL,
WA_DOC_CHNG TYPE SODOCCHGI1,
W_DATA TYPE SODOCCHGI1,
WA_BUFFER TYPE STRING, "To convert from 132 to 255
Variables declarations
V_FORM_NAME TYPE RS38L_FNAM,
V_LEN_IN LIKE SOOD-OBJLEN,
V_LEN_OUT LIKE SOOD-OBJLEN,
V_LEN_OUTN TYPE I,
V_LINES_TXT TYPE I,
V_LINES_BIN TYPE I.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZTEST'
IMPORTING
FM_NAME = V_FORM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
W_CTRLOP-GETOTF = 'X'.
W_CTRLOP-NO_DIALOG = 'X'.
W_COMPOP-TDNOPREV = 'X'.
CALL FUNCTION V_FORM_NAME
EXPORTING
CONTROL_PARAMETERS = W_CTRLOP
OUTPUT_OPTIONS = W_COMPOP
USER_SETTINGS = 'X'
IMPORTING
JOB_OUTPUT_INFO = W_RETURN
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
I_OTF[] = W_RETURN-OTFDATA[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
IMPORTING
BIN_FILESIZE = V_LEN_IN
TABLES
OTF = I_OTF
LINES = I_TLINE
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
ENDIF.
LOOP AT I_TLINE.
TRANSLATE I_TLINE USING '~'.
CONCATENATE WA_BUFFER I_TLINE INTO WA_BUFFER.
ENDLOOP.
TRANSLATE WA_BUFFER USING '~'.
DO.
I_RECORD = WA_BUFFER.
APPEND I_RECORD.
SHIFT WA_BUFFER LEFT BY 255 PLACES.
IF WA_BUFFER IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Attachment
REFRESH: I_RECLIST,
I_OBJTXT,
I_OBJBIN,
I_OBJPACK.
CLEAR WA_OBJHEAD.
I_OBJBIN[] = I_RECORD[].
Create Message Body Title and Description
I_OBJTXT = 'test with pdf-Attachment!'.
APPEND I_OBJTXT.
DESCRIBE TABLE I_OBJTXT LINES V_LINES_TXT.
READ TABLE I_OBJTXT INDEX V_LINES_TXT.
WA_DOC_CHNG-OBJ_NAME = 'smartform'.
WA_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
WA_DOC_CHNG-OBJ_DESCR = 'smartform'.
WA_DOC_CHNG-SENSITIVTY = 'F'.
WA_DOC_CHNG-DOC_SIZE = V_LINES_TXT * 255.
Main Text
CLEAR I_OBJPACK-TRANSF_BIN.
I_OBJPACK-HEAD_START = 1.
I_OBJPACK-HEAD_NUM = 0.
I_OBJPACK-BODY_START = 1.
I_OBJPACK-BODY_NUM = V_LINES_TXT.
I_OBJPACK-DOC_TYPE = 'RAW'.
APPEND I_OBJPACK.
Attachment (pdf-Attachment)
I_OBJPACK-TRANSF_BIN = 'X'.
I_OBJPACK-HEAD_START = 1.
I_OBJPACK-HEAD_NUM = 0.
I_OBJPACK-BODY_START = 1.
DESCRIBE TABLE I_OBJBIN LINES V_LINES_BIN.
READ TABLE I_OBJBIN INDEX V_LINES_BIN.
I_OBJPACK-DOC_SIZE = V_LINES_BIN * 255 .
I_OBJPACK-BODY_NUM = V_LINES_BIN.
I_OBJPACK-DOC_TYPE = 'PDF'.
I_OBJPACK-OBJ_NAME = 'smart'.
I_OBJPACK-OBJ_DESCR = 'test'.
APPEND I_OBJPACK.
CLEAR I_RECLIST.
I_RECLIST-RECEIVER = '[email protected]'.
I_RECLIST-REC_TYPE = 'U'.
APPEND I_RECLIST.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = WA_DOC_CHNG
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = 'X'
TABLES
PACKING_LIST = I_OBJPACK
OBJECT_HEADER = WA_OBJHEAD
CONTENTS_BIN = I_OBJBIN
CONTENTS_TXT = I_OBJTXT
RECEIVERS = I_RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
IF SY-SUBRC <> 0.
WRITE:/ 'Error When Sending the File', SY-SUBRC.
ELSE.
WRITE:/ 'Mail sent'.
ENDIF.
If you want to send some text as Body of the Mail then follow this once
when u r callin the FM'SO_NEW_DOCUMENT_ATT_SEND_API1'.. points to remember
1.u have to pass the body of content in table CONTENTS_TXT(ia m using I_OBJBIN) (each line a record) then. suppose i have appended 11 records to the table CONTENTS_TXT .
2.PACKING_LIST(iam usign I_OBJPACK) table u ahve to append a redord as follows
I_OBJPACK-TRANSF_BIN = ' '.
I_OBJPACK-HEAD_START = 000000000000001.
I_OBJPACK-HEAD_NUM = 000000000000001.
I_OBJPACK-BODY_START = 000000000000002
I_OBJPACK-BODY_NUM = 000000000000010.
I_OBJPACK-DOC_TYPE = 'RAW'.
append I_OBJPACK-.
by the above code system treat the first line in table I_OBJBIN as header and the 2nd line to 10 lines tread as body.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = WA_DOC_CHNG
PUT_IN_OUTBOX = 'X'
TABLES
PACKING_LIST = I_OBJPACK
OBJECT_HEADER = WA_OBJHEAD
CONTENTS_BIN = I_OBJBIN
CONTENTS_TXT = I_OBJTXT
RECEIVERS = I_RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
regards,
srinivas -
Ant tools: converter java card - class file not belonging to the package!
Hi
I have another problem with converter. Could you help me please again if you have the time?
I have created a directory when I save the class files generated by javac. After That , I use convert in this way:
<convert
JCA="true"
EXP="true"
CAP="true"
packagename="testUn/classes/testUn"
packageaid="0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x02:0x00"
majorminorversion="1.0"
verbose = "true">
<AppletNameAID
appletname="testUn.classes.testUn.PorteAppUn"
aid="0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x02:0x00:0x00"/>
<classpath refid="classpath"/>
</convert>
Here is the answer of the computer:
[echo] Generation of the CAP,JCA and EXP files...
[convert] Java Card Ant Tasks, Version 1.0
[convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
[convert] Note: Usage of Java Card Ant Tasks is optional. Java Card Ant Tasks are not supported by Sun Microsystems, Inc.
[convert] Java Card 2.2.2 Class File Converter, Version 1.3
[convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
[convert] parsing /home/ehoudart/app-manager/VersionZero/src/testUn/classes/testUn/PorteAppUn.class
[convert] converting testUn.PorteAppUn
[*convert] error: class PorteAppUn does not belong to package testUn.classes.testUn.*
[convert] conversion completed with 1 errors and 0 warnings.
I do not understand why this unique applet class file does not belong to its own package. Is someone an idea?
Thanks very much in advance for your answer.Here is a complete example build.xml (I think I have posted this before).
<?xml version="1.0" encoding="UTF-8" ?>
<project default="convert" name="javacard-starter">
<!-- Build specific properties -->
<property name="target.classes" location="${basedir}/target/classes" />
<property name="target.javacard" location="${basedir}/target/javacard" />
<property name="source.java" location="${basedir}/src/main/java" />
<!-- Must point to the folder containing the JAR files from the JCDK -->
<property name="javacard.libs" location="${basedir}/lib" />
<!-- Must point to the folder containing the JAR file from the JCDK ant task -->
<property name="javacard.ant-task" location="${basedir}/lib" />
<!-- Must point to the folder containing the API export files from the JCDK -->
<property name="javacard.export" location="${basedir}/src/main/export" />
<property name="verbose" value="true" />
<property name="noverify" value="false" />
<!-- Path for JC tasks -->
<path id="classpath">
<fileset dir="${javacard.ant-task}">
<include name="*.jar" />
</fileset>
<fileset dir="${javacard.libs}">
<include name="*.jar" />
</fileset>
</path>
<!-- set the export path to the Java Card export files -->
<path id="export" description="set the export file path">
<fileset dir="${javacard.export}">
<include name="**/*.exp" />
</fileset>
<pathelement path="${javacard.export}" />
<pathelement path="${target.classes}" />
<pathelement path="${target.javacard}" />
</path>
<!-- Definitions for tasks for Java Card tools -->
<taskdef name="capgen" classname="com.sun.javacard.ant.tasks.CapgenTask" classpathref="classpath" />
<taskdef name="deploycap" classname="com.sun.javacard.ant.tasks.DeployCapTask" classpathref="classpath" />
<taskdef name="convert" classname="com.sun.javacard.ant.tasks.ConverterTask" classpathref="classpath" />
<taskdef name="verifyexport" classname="com.sun.javacard.ant.tasks.VerifyExpTask" classpathref="classpath" />
<taskdef name="verifycap" classname="com.sun.javacard.ant.tasks.VerifyCapTask" classpathref="classpath" />
<taskdef name="verifyrevision" classname="com.sun.javacard.ant.tasks.VerifyRevTask" classpathref="classpath" />
<typedef name="appletnameaid" classname="com.sun.javacard.ant.types.AppletNameAID" classpathref="classpath" />
<typedef name="jcainputfile" classname="com.sun.javacard.ant.types.JCAInputFile" classpathref="classpath" />
<target name="init">
<mkdir dir="${target.classes}" />
<mkdir dir="${target.javacard}" />
</target>
<target name="clean">
<delete dir="${target.classes}" />
<delete dir="${target.javacard}" />
<delete dir="${javacard.eeprom}" />
</target>
<target name="compile" depends="init" description="Compile source code to class files">
<!-- Compile the java code from ${src} to ${classes} -->
<javac debug="yes" optimize="no" srcdir="${source.java}" destdir="${target.classes}" source="1.5" target="1.5">
<classpath refid="classpath" />
</javac>
</target>
<target name="convert" depends="compile" description="Convert class files to cap files">
<convert packagename="chaining" packageaid="0xF0:0x00:0x00:0x01:0x00:0x01" majorminorversion="1.0" classdir="${target.classes}" outputdirectory="${target.classes}" jca="true" exp="true" cap="true" debug="true" verbose="${verbose}" noverify="${noverify}">
<appletnameaid aid="0xF0:0x00:0x00:0x01:0x00:0x01:0x00:0x01" appletname="chaining.ChainingApplet" />
<exportpath refid="export" />
<classpath refid="classpath" />
</convert>
</target>
<target name="copy-debug">
<mkdir dir="${target.debug}" />
<echo>Copying cap files</echo>
<copy flatten="true" todir="${target.debug}" verbose="true">
<fileset dir="${target.classes}" includes="**/*.cap" />
<fileset dir="${target.classes}" includes="**/*.exp" />
<fileset dir="${target.classes}" includes="**/*.jca" />
</copy>
</target>
<target name="all" depends="clean, convert" />
</project> -
How can I define select options fields as import paramter at Function Modules ?
Because I intend to pass select options fields to a FM in order to implement the below shown
code .
FUNCTION xyz
importing
ID
DESCRIPTION
CHANGING
REFERENCE(ZSC_INFO) TYPE SC_INFO
select * from SC_INFO into corresponding fields of table ZSC_INFO
where
ID in so_id and
DESCRIPTION in so_des and
ENDFUNCTIONHi,
The question is not completely clear to me but if you want to use the value of the select option and use it as an import parameter in a function module then some tips can be:
1. The value of the select option can be singles values or a range. Need to pick up the right values.
2. The import parameter and the variable you want to use must be of the same type.
DATA: tp_id TYPE <data type from the import parameter of the FM TEST>.
tp_id = so_vkorg-low "select option vkorg, you can use so_vkorg-high also for single values
CALL FM 'TEST'
IMPORT
ID = tp_id
EXPORT
DESCRIPTION = tp_description.
I hope that this is what you are looking for.
Best regards,
Guido Koopmann -
Hello,
I'm going to clone my xi. As I'm reading the homogeneous and heterogenous system copy for java and abap. I'm to the following conclusion. I need to do a oracle server specific copy. And do a sid rename on db level and in abap side with se06.
but what about the java part? and what about the xi msg's that are in the systems and the adapters? Should i disable some adapters? and so on.
In the java system copy there are some configur ation steps for xi. telling about sld integration server, exchange profile,cache,... but they are not telling about the msg's that still are in the system.
What are the steps that I'm missing?
ChrisHi Chris,
you should use the Installation Master DVD to perform the System copy, There are 2 options to do the system copy;
1) Export preparation
Description Optional step for preparing the export of a SAP NetWeaver 2004s Support Release 1 system. The export preparations are required, if: you want to build up the target system up to the point where the database load starts, before the export of the source system has finished export and import processes should run in parallel during the system copy process Export Preparations The following steps will be performed:
Creating the export directory structure with label files and source system information
Creating database structure files (.STR) Updating database statistics (depending on the database platform and the selected dialog option) Size calculation for the target database (.EXT, DBSIZE.XML)
2) Database and Central Instance Export
Description First mandatory step of a system copy procedure. The following steps will be performed: Creating the export directory structure with label files and source system information (if required) Creating database structure files (.STR) for ABAP database objects Updating database statistics (depending on the database platform and the selected dialog option) Size calculation for the target database (.EXT, DBSIZE.XML)
Exporting the ABAP and / or Java database content Archiving the SDM
Archiving application specific file system content
REgards
Anwer Waseem -
Launch File Error: Missing jnlp
Here is my XML. I don't see what I'm doing wrong. This is my first jnlp file so I know I probably done something wrong.
<?xml version=�1.0� encoding=�UTF-8�?>
<!-- JNLP File for invoiceExport -->
<jnlp
spec="1.4+"
codebase="http://www.x.x.x.x.com/lq/java"
href=�QBInvoiceExpApp.jnlp�>
<information>
<title>QuickBooks Invoice Export Application/>
<vendor>xxx/>
<description>QuickBooks Invoice Export/>
<description kind="short">Application to Export Invoices from QuickBooks/>
</information>
<resources>
<j2se version="1.4+"/>
<resources os=�Windows�/>
<jar href="QBInvExp.jar"/>
</resources>
<resources os="Windows">
<nativelib href="jintegra-native.jar"/>
</resources>
<application-desc main-class=�com.metro.quickbooks.invoiceExport�/>
</resources>
</jnlp>What is the error message ?
General Tab:
An error occurred while launching/running the application.
Category: Launch File Error
The following required field is missing from the launch file: <jnlp>
Launch File:
<?xml version="1.0" encoding="UTF-8"?>
<!-- JNLP File for invoiceExport -->
<jnlp
spec="1.0+"
codebase="file:///C:/test/jnlp"
href="QBInvoiceExpApp.jnlp">
<information>
<title>QuickBooks Invoice Export Application</title>
<vendor>Metro Financial</vendor>
<description>QuickBooks Invoice Export</description>
<description kind="short">Application to Export Invoices from QuickBooks</description>
</information>
<resources>
<j2se version="1.4+"/>
<jar href="QBInvExp.jar"/>
</resources>
<resources os="Windows">
<nativelib href="native/jintegra-native.jar"/>
</resources>
<application-desc main-class="com.metro.quickbooks.invoiceExport"
<argument>"Metro Financial Inc. "</arguement>
<argument>"metromural.jpg"</argument>
</application-desc>
</jnlp>
Exception
MissingFieldException[ The following required field is missing from the launch file: <jnlp>]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.main(Unknown Source) -
Creating photo archive/catalog
Using iPhoto 08 on a grant-funded Mac Book Pro to create an archive/catalog of historic photos for a garden conservancy. Probable outputs: to Power Point for presentations and website for display.
1) How to export "Description" data from iPhoto along with the image, title, and keywords?
2) Is there more appropriate Mac-compatible software than iPhoto to create archive/catalog records of photos and export the data and images?Both iPhoto and Aperture are aimed squarely at Photographers rather than Librarians. The features are designed to help the photographer process the output from a shoot to a usable format, and the databasing is aimed at making photographs easily found. From your description the entire Photographers end is wasted for you. It’s the DB that’s of interest.
To your specific questions:
--The sidebar data input area displays in very small font size, which makes it difficult to enter and edit data efficiently. Is there a way to increase (to full-screen size?) both the image and data entry areas when working on an image
Just like any app on your Mac, you can drag the bottom right hand corner to make the app full screen. No, there is no way to increase the size of the display font.
As imported, the jpeg file number appears in the Title area. I would like to change the Title to a descriptive one; e.g., "Longthorpe Garden, front entrance," for future display purposes. To preserve the jpeg file number, I've been moving it into the Description area, following general notes about the image. In iPhoto is there a better place to put the jpeg file number? Could that field be sorted upon? Can additional fields (e.g., File Number) be added to the iPhoto file manager structure to customize it? Could that field be sorted upon?
There’s no need to move the JPEG file number. That’s the *File Name*. It remains the File Name even though you add a title to the photo. You can search - either in the Search box at the bottom of the Window, or by using a Smart Album (File -> New Smart Album) on either the File Name or Title. The sorting options are in the View -> Sort Photos menu. You have more sorting options on more metadata in Aperture.
--date: for the Conservancy archive the most important date is the date the photo has taken (1927, 1957, etc.). Currently I'm adding this date to the Description field, following general notes about the image, and before the jpeg file number. Is this the best (only) place to put historical date information? Can other fields (e.g., Date of Image) be added to the iPhoto file manager structure to customize it?
Again, no need to do this. You can edit the date of any photo in the Information Window (click on the ‘i’ lower left) - the date field is perfectly editable.
I think you need to look at other options. The standard database app on a Mac is FileMaker Pro. A little daunting at first, but it’s not too difficult to create a database structure that meets your specific needs. Other apps that you might look at include MS Expression, Extensis’ Portfolio. There are other options I’m sure: search on MacUpdate
Regards
TD -
Configuring Netflow-Lite on 2960-X
I have a 2960-X switch that I want to configure Netflow Lite on, to send Netflow data to my Prime Infrastructure 2.1 appliance. I need some configuration examples for the flow record regarding the source and destination IP addresses? If I want netflow data on all traffic, what should those values be?
Thanks.There is a nice demo script that was developed to show the use case for LiveAction (made by ActionPacked - a Cisco partner) specifically using the 2960-X. If can be downloaded from this link.
In case that doesn't work, here are the relevant bits of their switch configuration. (The addresses and source interface would change based on your setup and PI listens for Netflow on udp/9991 vs. udp/2055.)
flow record LIVEACTION-RECORD
description DO NOT MODIFY. USED BY LIVEACTION.
match datalink ethertype
match datalink mac source address input
match datalink mac destination address input
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
collect transport tcp flags
collect interface input
collect counter bytes long
collect counter packets long
collect counter bytes permanent
collect counter packets permanent
collect timestamp sys-uptime first
collect timestamp sys-uptime last
flow exporter LIVEACTION-EXPORTER
description DO NOT MODIFY. USED BY LIVEACTION.
destination 10.10.18.111
source FastEthernet0
transport udp 2055
flow monitor LIVEACTION-MONITOR
description DO NOT MODIFY. USED BY LIVEACTION
record LIVEACTION-RECORD
exporter LIVEACTION-EXPORTER
cache timeout active 60
sampler LIVEACTION-FLOWSAMPLER
description DO NOT MODIFY. USED BY LIVEACTION.
mode random 1 out-of 500 -
Standalone CRM App for the iPad
My company uses Goldmine, but not the version that will allow me to use the Goldmine application for the iPad. Consequently I am seeking a standalone customer relationship manager for the iPad to try on my own. So far I have been unable to find one. If you are using one or know of one please let me know.
For me the question is not whether I can export descriptions etc added with Photo Shack, but whether it can get the ones I have added in iPhoto on the Mac. All my work is done on the Mac, and I only want to ust the iPad and iPhone to show the photos, with descriptions.
Thanks for any help anyone can give me.
Maybe you are looking for
-
my daughters new ipod touch is being recognised as my sons old one on itunes,this has caused the ipod to lock and she has lost all content. i now want to get itunes to recognise her new ipod , but it is still recognising it as the old one, how can i
-
Hi friends, I would like to know oe to use the select-options in BSP programing. Thanks in advance. regards, kishore
-
IPhone4 - How do you add multiple #'s?
I'm new to the iPhone, just got it last night and have to manually enter all my contacts. I'm trying to add, home, work, etc. but it's only letting me enter one number which is cell. Help!! Any other tips or tricks would be great, like how to delete
-
i removed my iphone screen guard ..if i use it without screen guard is there any possibility in formation of scratches
-
Up dated to 7.0.2. Now can't sync Outlook calendar with I pad calendar. Tried syncing via I tunes and USB and WiFi via I cloud. Neither up dated my Calendar. any suggestions?