Want to create program which will trigger workflow with PDF attachement
Hi Expert,
I m new for work flow.
I want to create abap program which trigger work flow with PDF attachment.
Thanks in advanced.
Regards,
Laxman Sankhla.
HI i have written code as per below.
Now if i m running programe i m getting error "Unable to create work item container
(CL_SWF_RUN_WIM_FLOW->_IMPORT_CONTAINER) "
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = FP_FORMOUTPUT-PDF
APPEND_TO_TABLE = ' '
IMPORTING
OUTPUT_LENGTH = ZVAR1
TABLES
BINARY_TAB = IT_SOLIX_TAB.
IF SY-SUBRC = 0 AND NOT IT_SOLIX_TAB[] IS INITIAL .
SWC_SET_TABLE CONTAINER 'IT_SOLIX_TAB' IT_SOLIX_TAB.
SWC_SET_ELEMENT CONTAINER 'ZVAR1' ZVAR1.
SWC_SET_ELEMENT CONTAINER 'YBUS2012' OBJ.
GV_INITIATOR = SY-UNAME.
CALL FUNCTION 'SWW_WI_START_SIMPLE'
EXPORTING
CREATOR = GV_INITIATOR
PRIORITY = SWFCO_NO_PRIO
TASK = 'WS99900241'
CALLED_IN_BACKGROUND = 'X'
TABLES
AGENTS = IT_AGENTS
WI_CONTAINER = CONTAINER.
COMMIT WORK.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks in advanced
Laxman Sankhla.
Similar Messages
-
Want to create a function module which will convert smartform into PDF .
Hi All ,
Requirement : I want to create a function module/report which will convert smartform into PDF .
Thanks in advanceHi All ,
zsuresh_test : for converting smartform into pdf.
when I am excuting this report(zsuresh_test) and by passing the smartform name FOPCR_STANDARD_F1
I am getting error :
Incorrect parameter with CALL FUNCTION
Can you please help me out..
REPORT zsuresh_test.
Variable declarations
DATA:
w_form_name TYPE tdsfname VALUE 'FOPCR_STANDARD_F1',
w_fmodule TYPE rs38l_fnam,
w_cparam TYPE ssfctrlop,
w_outoptions TYPE ssfcompop,
W_bin_filesize TYPE i, " Binary File Size
w_FILE_NAME type string,
w_File_path type string,
w_FULL_PATH type string.
Internal tables declaration
Internal table to hold the OTF data
DATA:
t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
Internal table to hold OTF data recd from the SMARTFORM
t_otf_from_fm TYPE ssfcrescl,
Internal table to hold the data from the FM CONVERT_OTF
T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
This function module call is used to retrieve the name of the Function
module generated when the SMARTFORM is activated
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = w_form_name
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = w_fmodule
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.
Calling the SMARTFORM using the function module retrieved above
GET_OTF parameter in the CONTROL_PARAMETERS is set to get the OTF
format of the output
w_cparam-no_dialog = 'X'.
w_cparam-preview = space. " Suppressing the dialog box
" for print preview
w_cparam-getotf = 'X'.
Printer name to be used is provided in the export parameter
OUTPUT_OPTIONS
w_outoptions-tddest = 'LP01'.
CALL FUNCTION w_fmodule
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = w_cparam
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = w_outoptions
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
job_output_info = t_otf_from_fm
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.
t_otf[] = t_otf_from_fm-otfdata[].
Function Module CONVERT_OTF is used to convert the OTF format to PDF
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
ARCHIVE_INDEX = ' '
COPYNUMBER = 0
ASCII_BIDI_VIS2LOG = ' '
PDF_DELETE_OTFTAB = ' '
IMPORTING
BIN_FILESIZE = W_bin_filesize
BIN_FILE =
TABLES
otf = T_OTF
lines = T_pdf_tab
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 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.
To display File SAVE dialog window
CALL METHOD cl_gui_frontend_services=>file_save_dialog
EXPORTING
WINDOW_TITLE =
DEFAULT_EXTENSION =
DEFAULT_FILE_NAME =
FILE_FILTER =
INITIAL_DIRECTORY =
WITH_ENCODING =
PROMPT_ON_OVERWRITE = 'X'
CHANGING
filename = w_FILE_NAME
path = w_FILE_PATH
fullpath = w_FULL_PATH
USER_ACTION =
FILE_ENCODING =
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 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.
Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
presentation server
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = W_bin_filesize
filename = w_FULL_PATH
FILETYPE = 'BIN'
APPEND = ' '
WRITE_FIELD_SEPARATOR = ' '
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH =
tables
data_tab = T_pdf_tab
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Want to create program (XYZ) for scheduling anther program(ABC)
Requirement :
I have one report ABC and I want to create program XYZ for scheduling the report ABC (without executing the program ABC ).
Output : Program XYZ
1) schedule the report ABC
2) Provide the output of ABCSeee if the below code help:
REPORT Z_MQSCHD NO STANDARD PAGE HEADING LINE-SIZE 170 LINE-COUNT 58 .
DATA: ZCOUNT LIKE SY-TABIX,
JOBNAME LIKE TBTCJOB-JOBNAME,
PARAMS LIKE PRI_PARAMS,
JOBCOUNT LIKE TBTCJOB-JOBCOUNT,
AUTHCKNAM LIKE TBTCJOB-AUTHCKNAM,
SDLSTRTTM LIKE TBTCJOB-SDLSTRTTM,
SDLSTRTDT LIKE TBTCJOB-SDLSTRTDT,
VARIANT LIKE RALDB-VARIANT,
REPORT LIKE SY-REPID,
ZTIME LIKE SY-UZEIT,
PREDJOB_CHECKSTAT LIKE TBTCSTRT-CHECKSTAT,
PRED_JOBCOUNT LIKE TBTCJOB-JOBCOUNT,
PRED_JOBNAME LIKE TBTCJOB-JOBNAME,
RELEASED LIKE BTCH0000-CHAR1.
*email variables
DATA: emailaddr(80) TYPE c.
data: objtxt like solisti1 occurs 10 with header line.
data: tab_lines like sy-tabix.
DATA: OBJECT_HD_CHANGE LIKE SOOD1.
DATA: OBJECT_TYPE LIKE SOOD-OBJTP.
DATA: OBJCONT LIKE SOLI OCCURS 0 WITH HEADER LINE.
DATA: RECEIVERS LIKE SOOS1 OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN: BEGIN OF BLOCK A1 WITH FRAME TITLE TEXT-001.
PARAMETERS:
NAME LIKE RS38M-PROGRAMM OBLIGATORY,
VAR LIKE RS38M-SELSET OBLIGATORY,
JOB LIKE TBTCJOB-JOBNAME,
FRQ1 LIKE SY-INDEX,
FRQ2(2) TYPE C.
SELECTION-SCREEN END OF BLOCK A1.
SELECTION-SCREEN: BEGIN OF BLOCK A2 WITH FRAME TITLE TEXT-002.
PARAMETERS: ZDATE LIKE SY-DATUM DEFAULT SY-DATUM OBLIGATORY.
SELECT-OPTIONS:
TIME1 FOR SY-UZEIT OBLIGATORY.
SELECTION-SCREEN END OF BLOCK A2.
SELECTION-SCREEN: BEGIN OF BLOCK A3 WITH FRAME TITLE TEXT-003.
PARAMETERS: p_mail AS CHECKBOX DEFAULT 'X'. "X = Mail report
SELECT-OPTIONS: so_mlist FOR emailaddr.
SELECTION-SCREEN END OF BLOCK A3.
AT SELECTION-SCREEN ON FRQ2.
IF FRQ2 NE 'H' AND FRQ2 NE 'M' AND FRQ2 NE 'S'.
MESSAGE E001(Z1) WITH 'Time Unit must be H or M or S'.
ENDIF.
AT SELECTION-SCREEN ON ZDATE.
IF ZDATE < SY-DATUM.
MESSAGE E001(Z1) WITH 'Date must be greater than current date'.
ENDIF.
AT SELECTION-SCREEN ON TIME1.
IF ZDATE = SY-DATUM AND TIME1-LOW < SY-UZEIT.
MESSAGE E001(Z1) WITH 'Time must be greater than current time'.
ENDIF.
AT SELECTION-SCREEN OUTPUT.
IF JOB IS INITIAL.
JOB = NAME.
ENDIF.
$$* Start of selection
START-OF-SELECTION.
IF JOB IS INITIAL.
JOB = NAME.
ENDIF.
clear params.
call function 'GET_PRINT_PARAMETERS'
EXPORTING
mode = 'CURRENT'
no_dialog = 'X'
IMPORTING
out_parameters = params.
params-paart = 'X_PAPER'.
ZTIME = TIME1-LOW.
JOBNAME = JOB.
VARIANT = VAR.
REPORT = NAME.
AUTHCKNAM = SY-UNAME.
PARAMS-PRIMM = SPACE.
SDLSTRTDT = ZDATE.
CLEAR: ZCOUNT.
WHILE ZTIME LE TIME1-HIGH.
SDLSTRTTM = ZTIME.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = JOB
IMPORTING
JOBCOUNT = JOBCOUNT
EXCEPTIONS
OTHERS = 4.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
AUTHCKNAM = AUTHCKNAM
JOBCOUNT = JOBCOUNT
JOBNAME = JOB
PRIPARAMS = PARAMS
REPORT = REPORT
VARIANT = VARIANT.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
SDLSTRTDT = SDLSTRTDT
SDLSTRTTM = SDLSTRTTM
JOBCOUNT = JOBCOUNT
JOBNAME = JOB
IMPORTING
JOB_WAS_RELEASED = RELEASED.
IF RELEASED = 'X'.
WRITE: / 'Job', JOBNAME, '(' ,JOBCOUNT, ')' ,'will run at', ZTIME,
'on', ZDATE, 'with program',NAME, 'and variant', VAR.
IF NOT P_MAIL IS INITIAL.
CLEAR OBJCONT.
CONCATENATE
'Job' JOBNAME '(' JOBCOUNT ')' 'will run at' ZTIME 'on' ZDATE
'with program' NAME 'and variant' VAR
INTO OBJCONT SEPARATED BY SPACE.
APPEND OBJCONT.
ENDIF.
ELSE.
WRITE: /
'Unable to release job', JOBNAME, '(' ,JOBCOUNT, ')' ,'at', ZTIME,
'on', ZDATE, 'with program',NAME, 'and variant', VAR.
IF NOT P_MAIL IS INITIAL.
CLEAR OBJCONT.
CONCATENATE
'Unable to release job' JOBNAME '(' JOBCOUNT ')' 'at' ZTIME
'on' ZDATE 'with program' NAME 'and variant' VAR
INTO OBJCONT SEPARATED BY SPACE.
APPEND OBJCONT.
ENDIF.
ENDIF.
CASE FRQ2.
WHEN 'H'.
ZTIME = ZTIME + ( 60 * 60 * FRQ1 ).
WHEN 'M'.
ZTIME = ZTIME + ( 60 * FRQ1 ).
WHEN 'S'.
ZTIME = ZTIME + FRQ1.
WHEN OTHERS.
ENDCASE.
ENDWHILE.
IF NOT P_MAIL IS INITIAL.
CHECK NOT SO_MLIST IS INITIAL.
PERFORM SENDEMAIL.
ENDIF.
*& Form SENDEMAIL
text
--> p1 text
<-- p2 text
FORM SENDEMAIL.
clear objcont.
append objcont.
append objcont.
concatenate
'This e-mail was sent from an automated system...' sy-sysid sy-mandt
into objcont.
append objcont.
clear objcont.
objcont = 'Do not reply to this message.'(013).
append objcont.
MOVE: SY-LANGU TO OBJECT_HD_CHANGE-OBJLA,
'NOTIFICATION' TO OBJECT_HD_CHANGE-OBJNAM,
'Report from job scheduler' TO OBJECT_HD_CHANGE-OBJDES.
MOVE 'RAW' TO OBJECT_TYPE.
describe table objtxt lines tab_lines.
read table objtxt index tab_lines.
*Now we will create the packing list entry for our text body.
describe table objtxt lines tab_lines.
read table objtxt index tab_lines.
OBJECT_HD_CHANGE-OBJLEN = tab_lines * 255.
*in this next section we create our recipient list.
LOOP AT so_mlist.
clear RECEIVERS.
move so_mlist-low to RECEIVERS-RECEXTNAM.
MOVE 'U' TO RECEIVERS-RECESC.
APPEND RECEIVERS.
if not so_mlist-high is initial.
move so_mlist-high TO RECEIVERS-RECEXTNAM.
MOVE 'U' TO RECEIVERS-RECESC.
APPEND RECEIVERS.
endif.
ENDLOOP.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
OBJECT_HD_CHANGE = OBJECT_HD_CHANGE
OBJECT_TYPE = OBJECT_TYPE
TABLES
OBJCONT = OBJCONT
RECEIVERS = RECEIVERS
EXCEPTIONS
ACTIVE_USER_NOT_EXIST = 1
COMMUNICATION_FAILURE = 2
COMPONENT_NOT_AVAILABLE = 3
FOLDER_NOT_EXIST = 4
FOLDER_NO_AUTHORIZATION = 5
FORWARDER_NOT_EXIST = 6
NOTE_NOT_EXIST = 7
OBJECT_NOT_EXIST = 8
OBJECT_NOT_SENT = 9
OBJECT_NO_AUTHORIZATION = 10
OBJECT_TYPE_NOT_EXIST = 11
OPERATION_NO_AUTHORIZATION = 12
OWNER_NOT_EXIST = 13
PARAMETER_ERROR = 14
SUBSTITUTE_NOT_ACTIVE = 15
SUBSTITUTE_NOT_DEFINED = 16
SYSTEM_FAILURE = 17
TOO_MUCH_RECEIVERS = 18
USER_NOT_EXIST = 19
ORIGINATOR_NOT_EXIST = 20
X_ERROR = 21
OTHERS = 22.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " SENDEMAIL -
Programs which can trigger GLPCA table entries
Hi SAP Community,
I am looking for a complete list of programs which can trigger GLPCA table entries. I am currently in the process of running related transactions manually, but to be on the save side, I would really appreciate the feedback from you guys.
Thanks in advance for your support.
Cheers,
ChrisHi,
You can find the programs where the table GLPCA is being used. For this use transaction code SE11 and enter the table name GLPCA and click on the icon where used. A pop up window will be displayed and you can click on Programs only. This will display all the Programs where the table GLPCA is used including any Z programs developed in your system.
Thanks
Murali. -
Std Bapis which can trigger Workflows inHR
Hi friends,
Do we have any std Bapis which can trigger workflows in HR module.
The functionality I am looking at is Intra country promotion/transfer.
Please suggest.
Cheers,
Rajesh.Hi,
I do not know your knowledge of SAP Workflow. So maybe you should start with standard [SAP documentation|http://help.sap.com/saphelp_nw04/helpdata/en/8d/25f90a454311d189430000e829fbbd/frameset.htm]. Especially check section Using Events. I really enjoyed book [Practical Workflow for SAP|http://www.sappress.com/product.cfm?account=&product=H950].
What's the name of the workflow you want to start?
Cheers -
Does ios 7.1 contain a carrier update for Meteor in Ireland? I haven't taken the latest update as I don't want to lose my 3G on/off button (which will be replaced with a 4G switch).
Yes, I know... I discovered now that I have saved the photos I wanted from it long time ago (for the same reasons, i didn't wanted to lose them). So I'm kind of saved. Also it has been like crap because the laptop where I had my backups is as dead as can be. That was the moment when I panicked. From now on... I'll back-up it everyday. Thank you a lot!
-
I want to create home page for my application with short URL
I want to create home page for my application with short URL
as when I want user to use my application user must go to URL like this
http://127.0.0.1:7101/My-Project/faces/app/empModule/allEmployees/viewMyEmployees.jspxI want the user to use short URL , How can I use shorter URL not all this one.
I want shorter URL for my application not to write full path .
thanks in advance.
Edited by: user611775 on Oct 31, 2010 10:21 PMWell,
it's up to you. The first part (Mcit-Project-ViewController-context-root) is the context root which you define in the view controller project. 'faces' is the name the servlet filter reacts on. You can't omit it but shorten it in web.xml. The rest is your directory structure. I'm not sure how to shorten this other as to move the jspx files back into the web root folder.
By the way an ADF faces app never uses the .jspx at the end of the url. If you specify '.jspx', you only render the page but don't start the work flow.
Timo -
Can anyone recommend a printer which will actually work with mac 10.4.11 ?
Hi all! I have had problems getting a printer which will actually work with my macbook 10.4.11. I've tried HP deskjet f4180 (supposed to be compatible) and various lexmarks (no compatible software). Apple and hp, and my local curry's have not been able to assure me which printer will DEFINATELY work. I just wanted to hear from other Mac users with 10.4.11, if they had actually been able to find a printer which works properly. Would be greatful for any recommendations of printer's which are actually compatible with the updated tiger 10.4.11
Many thanks.
Crazynow!!I read your previous posts, but had just upgraded to 10.4.11 & hadn't check my printers. All 3 of these work: Apple laserwriter 360, Brother HL 1440, and Brother MFC 7820N. I print to all of these wirelessly via airport.
Message was edited by: melitar
Message was edited by: melitar -
How do I change The Itunes library to a new comutor which will then synch with my Iphone? Thanks.
Copy everything ( itunes, pics, contacts,calendars, files docs,etc) from your old computer, or your backup copy of your old computer, to your new one.
-
I have made an 8.5 x 11 flyer and want to create handbills, four to a page, with Photoshop or Adobe Acrobat Pro. Waht do I do?
Create a new document the size of the handbill 4-up {example if handbill is 3"X4" then the new document would be 6"X8" Plus an optional margin and bleed (don't forget to include the gutters between the handbills - The gutter is used for the opposite margin to make the white space around the individual handbill equal)}
place the original document into the new document
make sure the layers are grouped for easy moving
Drag out guides from the ruler (make sure ruler is visible) - Make the guides for each edge of the page for the margin, 2 guides between where each document should be (both rows and columns) Readjust if necessary until it looks right
Optional - Scale original document to fit the guides if necessary
Alt drag the group to the next location
Repeat 6
I can't make it any more or less detailed without see something from your screen, when in doubt post screen shots -
I wanted to create a photo album on dreamweaver with the same style as the ones in iWeb, does anyone know a site to do this or a way to transfer the album to dreamweaver?
Excellent suggestion! I regularly post in those forums too, so I thought I might offer help here, but http://forums.adobe.com/community/dreamweaver?view=discussions would be the best place for a Dreamweaver question.
Nancy O, Murray Summers or Mark Hollis there can be of plenty help. -
Dear Adobe Community,
I am looking for a third-party Affiliate Program that will integrate well with the Adobe Business Catalyst platform.
The requirement is fairly basic, i.e., to track multiple affiliates and down-stream affiliate-to-affiliate referrals. Also looking to report and display these referrals an affiliate’s dashboard.
We have looked into Affiliate Program Software, Affiliate Tracking Software Marketing and would like to entertain other options before making a decision.
Any assistance would be greatly appreciated! —Thank You!
Kind Regards,
Doug McClureFor what it is worth, I am a fan of NuGen, I have both SEQ 1 and 2 and two stereo enhancing tools (stereoizer and stereoplacer I think they're called). Since I have the SEQ 1 it replaces all Channel EQ's. And the stereotools sound great and very lush, in stead of the more usual cheezy combfilterthingies that pass for stereo enhancing tools.
And I actually like the interfaces. Simple, but stylish, functional and ergonomic (in this case meaning you can see all parameters in a quick glance, no guessing at settings). -
Can I mount my external hard drive which will be compatible with both Mac and Windows?
Hello,
Can I mount my external hard drive which will be compatible with both Mac and Windows? If yes, then please let me know, because I intend to use my hard drive for both Windows and Mac, without losing any file.Yes. By default, Mac OS X and Windows can read and write drives which are formatted as FAT32 or exFAT; NTFS drives aren't writable from Mac OS X without additional software.
(124553) -
Collect Feedback workflow with pdf documents
Hi,
Is it possible to incorporate collect feedback workflow with pdf documents ?
Thanks
techieHi,
According to your post, my understanding is that you want to incorporate collect feedback workflow with pdf documents.
Before you add a workflow, you plan where you want to add it (for a single list or library, or for the entire site collection) and the details of how it will work.
If you want to add the pdf documents to a library, you can add the collect feedback workflow for a library. Please refer to:
https://support.office.com/en-ie/article/All-about-Collect-Feedback-workflows-a0fd6fc5-0625-4aef-a41f-40aadbc9d946#add1add
If you want to make the pdf documents as a template of a content type, you can
add the collect feedback workflow for a content type. Please refer to:
https://support.office.com/en-ie/article/All-about-Collect-Feedback-workflows-a0fd6fc5-0625-4aef-a41f-40aadbc9d946#add2add
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
Custome FM to create Email with PDF attachment
Hi Experts,
I am working in Smart form. my requriment is to create a Custom Function module , for sending email with PDF attachment to the customer. PDF is nothing but which ever I create smart form.
How can I approach , please give me a suggestion or send me a sample code, if any one create.
1. This FM should work like : convert form to PDF and send Email to particular customer.Hi,
Steps to convert Smartform to PDF,
1 Call smartform through FM SSF_FUNCTION_MODULE_NAME.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
2 Converting Smartform to OTF and in turn to PDF
Set Following parameter in order to convert Smartform into OTF.
gs_cparam-no_dialog = 'X'. " Suppressing the dialog box
gs_cparam-preview = 'X'. " for print preview
gs_cparam-getotf = 'X'. " To get Output in OTF
CALL FUNCTION g_fmodule
EXPORTING
control_parameters = gs_cparam
output_options = gs_outoptions
IMPORTING
job_output_info = gt_otf_from_fm
TABLES
gt_final = gt_final
gt_otf[] = gt_otf_from_fm-otfdata [].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = g_bin_filesize
TABLES
otf = gt_otf
lines = gt_pdf_tab
CHECK sy-subrc = 0.
g_bin_filesize = g_bin_filesize + 1.
Transfer the 132-long strings to 255-long strings
LOOP AT gt_pdf_tab into gs_pdf_tab.
TRANSLATE gs_pdf_tab USING ' ~'.
CONCATENATE g_buffer gs_pdf_tab INTO g_buffer.
ENDLOOP.
TRANSLATE g_buffer USING '~ '.
DO.
gs_mess_att = g_buffer.
APPEND gs_mess_att to gt_mess_att.
SHIFT g_buffer LEFT BY 255 PLACES.
IF g_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
3 For Sending Mail use following mail,
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = ls_doc_data
put_in_outbox = 'X'
sender_address = l_sender_address
sender_address_type = l_sender_address_type
commit_work = 'X'
TABLES
packing_list = lt_packing_list
contents_bin = lt_attachment
contents_txt = lt_message
receivers = lt_receivers
I hope this could help you,
Please let me know if any issue.
Thanks & regards,
ShreeMohan
Edited by: ShreeMohan Pugalia on Jul 18, 2009 8:02 AM
Edited by: ShreeMohan Pugalia on Jul 18, 2009 8:03 AM
Edited by: ShreeMohan Pugalia on Jul 18, 2009 8:05 AM
Maybe you are looking for
-
when i go to a web site and click on a video it says that i need to download the latest flash player.when i click on the link it says error.where do i find it and download it?
-
How to sync my wife's iPad2, iTouch
How to sync my wife's iPad2, iTouch (iOS5.1) & iMac account to Mountain Lion when it was originally sync'd to my account on Loin using my ID?
-
IMac won't get past startup screen, no matter what. Pls help?
I just inherited a mid-2010 iMac from a friend. It hadn't been used for months, and now when it is started up, it won't get past startup screen. It shows the 'slot' looking image on the bottom of the white loadup screen, then it's just the apple symb
-
If and lse both are executing in the websphere sever
i am here giving the code plz go through and help me out in this . here i am using GenericKeyedObjectPooled this problem is coming after some call to the function private static String format(Date date, DecimalFormatSymbols decimalFormatSymbols, Loca
-
Hi, When I send my FCP sequence (media linked to RD3 files) to Color, I get corrupt files. I am using Color 1.0.4 and FCP 6.0.6. I have identified the corrupt files to come from the same 12 media clips. I tried re-linking the clips again, but it did