[Q] what is different of mail sending between HPUX and Solaris ??
All,
Would somebody let me know what different of mail sending between HPUX and Solaris is ?
I have several unix servers and some are HPUX 11.11 and some are Solaris v8.
To use "mailx" command in maintenance scripts, I set a relay server in sendmail.cf of /etc/mail.
What I'm curious is
,in HPUX, "mailx" is working without sendmail daemon. but in Solaris, "mailx" is not working without sendmail daemon.
I'm not good at those sendmail site. my knowldge of UNIX is very general, not specific and expertized. so need your help.
Why it works without sendmail daemon on HPUX, and why not on SUN which is not working sendmail daemon ??
Hi,
do you have a mailhost entry in /etc/hosts pointing to your relay hsot?
Fritz
Similar Messages
-
What is the programming (ABAP) difference between Unicode and non Unicode?
What is the programming(ABAP) difference between Unicode and non Unicode?
Edited by: NIV on Apr 12, 2010 1:29 PMHi
The difference between programming in Unicode or not Unicode is that you should consider some adjustments to make on the Program "Z" to comply with the judgments Unicode Standard.
In the past, developments in SAP using multiple systems to encode the characters of different alphabets. For example: ASCII, EBCDI, or double-byte code pages.
These coding systems mostly use 1 byte per character, which can encode up to 256 characters. However, other alphabets such as Japanese or Chinese use a larger number of characters in their alphabets. That's why the system using double-byte code page, which uses 2 bytes per character.
In order to unify the different alphabets, it was decided to implement a single coding system that uses 2 bytes per character regardless of what language is concerned. That system is called Unicode.
Unicode is also the official way to implement ISO/IEC 10646 and is supported in many operating systems and all modern browsers.
The way of verifying whether a program was adjusted or not, is through the execution of the UCCHECK transaction. Additionally, you can check by controlling syntax (making sure that this asset verification check Unicode).
The main decisions to adjust / replace are (examples):
ASSIGN H-SY-INDEX TEXT TO ASSIGN <F1> by
H-SY-INDEX TEXT (*) TO <F1>.
DATA INIT (50) VALUE '/'. by
DATA INIT (1) VALUE '/'.
DESCRIBE FIELD text LENGTH lengh2 by
DESCRIBE FIELD text LENGTH lengh2 in character mode.
T_ZSMY_DEMREG_V1 = record_tab by
record_tab TO MOVE-Corresponding t_zsmy_demreg_v1.
escape_trick = hot3. by
escape_trick-x1 = hot3.
itab_txt TYPE wt by
ITAB_TXT TYPE TABLE OF TEXTPOOL
DATA: string3 (3) TYPE X VALUE B2023 '3 'by
DATA: string3 (6) B2023 TYPE c VALUE '3 '.
OPEN DATASET file_name IN TEXT MODE by
OPEN DATASET file_name FOR INPUT IN TEXT MODE ENCODING NON-UNICODE.
or
OPEN DATASET file_name FOR INPUT IN TEXT MODE ENCODING DEFAULT.
CODE FROM PAGE TRANSLATE a_codepage record by
record TRANSLATE USING a_codepage.
CALL FUNCTION 'DOWNLOAD' by
CALL METHOD cl_gui_frontend_services => gui_download
CALL FUNCTION 'WS_DOWNLOAD' by
CALL METHOD cl_gui_frontend_services => gui_download
CALL FUNCTION 'UPLOAD' by
CALL METHOD cl_gui_frontend_services => gui_upload
CALL FUNCTION 'WS_UPLOAD' by
CALL METHOD cl_gui_frontend_services => gui_upload
PERFORM USING HEAD APPEND_XFEBRE +2. by
PERFORM USING HEAD APPEND_XFEBRE +2 (98).
Best Regars
Fabio Rodriguez -
What reports are used to send PO, Conf and Inv from MM to SUS?
Hi dudes
What reports are used to send PO, Conf and Inv from MM to SUS?
Regards
Raj KumarHi Raj kumar,
First implemting MM-SUS or EBP-SUS XI is mandatory. For sending a PO, it 's standard process. You have to define partner profile and once you create a PO system geneartes an IDOC with orders02 and send to XI from there goes to SUS.
For confirmation you have to run the report rpoddelvery report . this reports sends all the GR's to SUS.
Please follow the config doc and follow below links
http://help.sap.com/saphelp_srm50/helpdata/en/56/54f137a5e6740ae10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/62/fb7d3cb7f58910e10000000a114084/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/2a/38fd37dcc4e34ce10000009b38f842/content.htm
Please let me know if any problem
Thnaks
Ravi -
Docker is getting huge attention but most consider it not ready for production. Does Solaris publish a feature / function mapping of container services between Docker and Solaris ?
Solaris containerization has been battle tested in production for many, many years.You need to understand how IPMP is used within Sun Cluster. Start reading at
http://docs.sun.com/app/docs/doc/819-2968/6n57jmghj?a=view and
http://docs.sun.com/app/docs/doc/819-2969/6n57kl141?a=view
for a brief description. In a nutshell - the IPMP group is providing availability on the interface level for each node, so that a single NIC failure is not resulting into a service loss.
The IP adresses you configure directly (ie. via /etc/hostname.* setup) are always considered local to a given node.
In order to configure highly available IP adresses, which move between nodes and which should be used for the application you make highly available, you must use the SUNW.LocgicalHostaname or SUNW.SharedAdress resource types. Have a look at
http://docs.sun.com/app/docs/doc/819-2974/6n57pdjtt?a=view on how to configure them.
Greets
Thorsten -
Syncing Mail Notifications Between Mac and iPhone
Hi
I been having this problem with the mail notifications not syncing between the Mail.app on my MacBook Pro and iPhone. Let me explain:
When I get a new email, I hear the sound and see the red notification icon appear on both the MacBook and the iphone. When it comes to checking the new email, here are the two possible scenarios:
a) If I check the new email on my phone, the red notification icon disappears from BOTH the iphone and the MacBook.
b) If I check the new email on my MacBook, the red notification disappears from the MacBook but DOESN'T disappears from the iPhone (that is until I open the app). This happens with both cases, when the app is "running" in the background or when it is complety closed.
I don't know if I am crazy but I am pretty sure that both of the notifications used to disappear before, no matter where I checked the mail.
I tried deleting and creating the email again on my phone, and it didn't work.
Here some info that could help find a solution:
- I'm using icloud email (@me.com)
MacBook
-Mountain Lion
iPhone:
- iOS 6 (this problem started before the upgrade)
- Push is on.
- Fetch (that suppodselly would be used only if push is off) is set to Manually.
- On the "Advanced" sub-menu inside the Mail settings, Push is also selected.
Hopefully this can actually be fix and I can prove myself that I was not crazy!!
Thanks in advance for the help!!Anyone find a fix for this problem? I've been waiting for this since notification syncing was announced a couple years ago with iOS 6. I use iCloud for my email and find it very frustrating that when I read an email on my Mac or on iCoud.com that it doesn't automatically dismiss the notifications for those emails on my iOS devices until I open the mail app on each iOS device. Notification syncing works great with other apps. With iMessages, for example, when I read a message on my Mac running Yosemite, the notifications disappear on my iOS devices without opening the messages app (badge app icon, home screen notifications and notification center). Why can't they figure this out with email? I remember at my old job, I had an exchange account that properly synced mail notifications between devices, but it has never worked with my iCloud email. I wonder if I am just missing a particular setting or if Apple just blew it here. Any info would be greatly appreciated.
-
Mail sending with subject and attachment
hai all,
my requiremnet is i want to send a mail with a body and pdf attachemnt , but with the below code iam able to send both as attachment , but how to send along with body.
*& Report ZV_TEST *
Report ZV_TEST no standard Page heading line-size 200.
Tables: Pa0105,
pernr,
QPPNP,
HRPY_RGDIR,
SSCRFIELDS,
pa0002.
Constants
constants:
begin of F__LTYPE, "type of line
CMD like PC408-LTYPE value '/:', "command
TXT like PC408-LTYPE value 's', "textline
end of F__LTYPE.
constants:
begin of F__CMD, "commands
NEWPAGE like PC408-LINDA value '<NEW-PAGE>',
end of F__CMD.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
Data Declaration
DATA:Begin of Itab occurs 0,
pernr like HRPY_RGDIR-PERNR,
SEQNR like HRPY_RGDIR-SEQNR,
PAYSLIP_VARIANT like BAPI7004-PAYSLIP_VARIANT,
end of itab.
data: P_INFO like PC407,
P_INFO1 like PC407,
P_FORM like PC408 occurs 0 with header line,
P_P_FORM like PC408 occurs 0 with header line,
RETURN like BAPIRETURN1 occurs 0 with header line,
PAY_VAR like BAPI7004-PAYSLIP_VARIANT value 'ESS_PAYSLIPS' ,
P_LIST like ABAPLIST occurs 1 with header line,
P_IDX type I.
data: begin of P_INDEX occurs 0,
INDEX type I,
end of P_INDEX.
data: OBJBIN like SOLISTI1 occurs 10 with header line,
DOCDATA like SODOCCHGI1,
OBJTXT like SOLISTI1 occurs 10 with header line,
OBJPACK like SOPCKLSTI1 occurs 1 with header line,
RECLIST like SOMLRECI1 occurs 1 with header line,
OBJHEAD like SOLISTI1 occurs 1 with header line,
TAB_LINES type I,
ATT_TYPE like SOODK-OBJTP.
data: PDF_TAB like TBL1024 occurs 0 with header line,
OTF_TAB like TBL1024 occurs 0 with header line.
Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
gd_eventparm LIKE tbtcm-eventparm,
gd_external_program_active LIKE tbtcm-xpgactive,
gd_jobcount LIKE tbtcm-jobcount,
gd_jobname LIKE tbtcm-jobname,
gd_stepcount LIKE tbtcm-stepcount,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
DATA: w_recsize TYPE i.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
data: PDF_CONTENT TYPE XSTRING,
PDF_FSIZE TYPE I.
data: error TYPE sysubrc.
DATA: v_dest LIKE tsp01-rqdest,
v_handle LIKE sy-tabix,
v_spool_id LIKE tsp01-rqident,
v_rc TYPE c,
v_errmessage(100) TYPE c,
v_text(70) TYPE c.
data: PAYSLIP LIKE BAPI7004_PAYSLIP occurs 0 with header line.
Data: v_index like sy-index value 1.
Data: Begin of I_Sent occurs 0,
pernr like pernr-pernr,
name(20),
usrid_long like pa0105-usrid_long,
Status(3),
End of I_sent.
Data: Begin of I_NSent occurs 0,
pernr like pernr-pernr,
usrid_long like pa0105-usrid_long,
End of I_Nsent.
DATA: I_FCODE TYPE TABLE OF sy-ucomm.
data: v_text1(255),
v_text2(255),
v_text3(255).
data: month_names like T247 occurs 0 with header line,
v_month(2) type c.
***********************Selection Screen********************
selection-screen Begin of Block b2 WITH FRAME TITLE TEXT-BL1 .
Parameters: P_Print type c default 'X' radiobutton group g1
user-command CMD,
P_DISP Type C Radiobutton Group g1.
Selection-screen end of Block b2.
selection-screen Begin of Block b1 WITH FRAME TITLE TEXT-BL2 .
Recipient address and Period
SELECT-OPTIONS : s_name FOR PERNR-PERNR Modif id M1,
s_period for HRPY_RGDIR-FPPER Modif id M1.
s_year for QPPNP-PABRJ Modif id M1.
SELECT-OPTIONS: p_num FOR PERNR-PERNR Modif id M2 .
Selection-screen end of Block b1.
*SELECTION-SCREEN FUNCTION KEY 1.
*SELECTION-SCREEN PUSHBUTTON /10(20) CHARLY USER-COMMAND ABCD.
***********************At Selection Screen Output**************
at selection-screen output.
Loop at screen.
if P_Print = 'X'.
if screen-group1 = 'M2'.
screen-active = 0.
endif.
else.
if screen-group1 = 'M1'.
if screen-name = 'S_NAME-LOW' Or screen-name = 'S_PERIOD'.
screen-active = 1.
endif.
Endif.
Modify Screen.
Endloop.
***********************INITIALIZATION********************
INITIALIZATION.
MOVE 'Preview' TO SSCRFIELDS-FUNCTXT_01.
MOVE 'Preview' TO CHARLY.
p_print = 'X'.
v_text1 =
'Please find enclosed your salary slip for the month of Apr 2006 as
*attachment. This is confidential '.
***********************AT SELECTION-SCREEN******************
AT SELECTION-SCREEN.
if p_print = 'X'.
if s_name[] is initial.
message e000(8i) with 'Make Entry into Personal Number Field'.
endif.
else.
if p_num[] is initial.
message e000(8i) with 'Make Entry into Personal Number Field'.
endif.
endif.
***********************Start-of-Selection********************
Start-of-Selection.
if p_print = 'X'.
APPEND 'NEXT' TO i_fcode.
APPEND 'PREV' TO i_fcode.
set pf-status 'ZHRF' excluding I_FCODE.
Perform Get_values.
Perform Print using v_index.
perform Write_Values.
else.
set pf-status 'ZHRF'.
Perform Get_values.
Perform Print using v_index.
endif.
***********************Top-of-page***************************
Top-of-page.
skip 2.
if p_print = 'X'.
write:50 'The Pay Slip Sent details'.
skip 1.
uline at 1(70).
write :/ sy-vline,2 'Personal Number',18 sy-vline,
19 'Name',40 sy-vline,
41 'User Mail-Ids',63 sy-vline,
64 'Status',70 sy-vline.
ULINE /1(70).
endif.
set left scroll-boundary Column 0.
*& Form Get_values
text
--> p1 text
<-- p2 text
FORM Get_values .
select *
from HRPY_RGDIR
into corresponding fields of table itab
where PERNR in s_name
AND
FPPER IN S_PERIOD.
if sy-subrc eq 0.
loop at itab.
Create receiver list
refresh RECLIST.
clear RECLIST.
select single *
from PA0105
where PERNR eq ITAB-PERNR
and USRTY eq '0010'.
if SY-SUBRC <> 0.
I_sent-PERNR = ITAB-PERNR.
i_sent-status = 'NO'.
select single *
from pa0002
where pernr eq itab-pernr.
concatenate pa0002-VORNA pa0002-NACHN into i_sent-name
separated by space.
append i_Nsent.
continue.
else.
refresh reclist.
RECLIST-RECEIVER = pa0105-usrid_long.
translate RECLIST-RECEIVER to lower case.
RECLIST-REC_TYPE = 'U'.
append RECLIST.
endif.
call function 'GET_PAYSLIP'
EXPORTING
EMPLOYEE_NUMBER = itab-PERNR
SEQUENCE_NUMBER = itab-SEQNR
PAYSLIP_VARIANT = PAY_VAR
IMPORTING
RETURN = RETURN
P_INFO = P_INFO
TABLES
P_FORM = P_FORM.
loop at P_FORM
where LINDA eq F__CMD-NEWPAGE
and LTYPE eq F__LTYPE-CMD.
P_INDEX-INDEX = SY-TABIX.
append P_INDEX.
endloop.
P_IDX = 1.
refresh P_P_FORM.
append lines of P_FORM from P_IDX to P_INDEX-INDEX
to P_P_FORM.
P_IDX = P_INDEX-INDEX.
export P_P_FORM to memory id '%%_P_FORM_%%'.
export P_INFO to memory id '%%_P_INFO_%%'.
submit RPCEDT_LIST_TO_MEMORY exporting list to memory and return.
call function 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = P_LIST.
call function 'TABLE_COMPRESS'
TABLES
IN = P_LIST
OUT = OBJBIN
EXCEPTIONS
others = 1.
Read table RECLIST index 1.
I_sent-PERNR = ITAB-PERNR.
i_sent-usrid_long = RECLIST-RECEIVER.
select single *
from pa0002
where pernr eq itab-pernr.
concatenate pa0002-VORNA pa0002-NACHN into i_sent-name
separated by space.
i_sent-status = 'YES'.
append i_sent.
concatenate ' Payslip-' '(' ITAB-PERNR+4(4) ')'
into DOCDATA-OBJ_DESCR.
CALL FUNCTION 'MONTH_NAMES_GET'
EXPORTING
LANGUAGE = SY-LANGU
TABLES
MONTH_NAMES = month_names
EXCEPTIONS
MONTH_NAMES_NOT_FOUND = 1
OTHERS = 2
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 sy-datum+4(2) = '01'.
v_month = '12'.
else.
v_month = sy-datum+4(2) - 1.
endif.
read table month_names with key mnr = v_month.
concatenate 'Salary Slip for the month of' month_names-LTX
sy-datum+0(4) '-' i_sent-name
into DOCDATA-OBJ_DESCR.
DOCDATA-OBJ_NAME = 'Pay Slip'.
DOCDATA-OBJ_LANGU = SY-LANGU.
OBJTXT = 'Dear Mr.'.
concatenate OBJTXT i_sent-name into objtxt.
append OBJTXT.
append initial line to objtxt.
OBJTXT = 'Please find enclosed your salary slip for the month of'.
concatenate OBJTXT month_names-LTX sy-datum+0(4)
into objtxt separated by space.
append OBJTXT.
OBJTXT =
'as attachment This is confidential document and not be disclosed'.
append OBJTXT.
OBJTXT =
'shared with any other employee.In case of any queries on this subject'.
append OBJTXT.
OBJTXT =
'you are requested to contact the Payroll administrator Sabitha '.
OBJTXT = 'email:[email protected]'.
append OBJTXT.
append initial line to objtxt.
append initial line to objtxt.
OBJTXT = 'With Kind Regards'.
append OBJTXT.
append initial line to objtxt.
append initial line to objtxt.
OBJTXT = 'Sabitha'.
append OBJTXT.
OBJTXT = 'Payroll Administrator'.
append OBJTXT.
OBJTXT = 'Enteg Infotech Pvt Lyd.'.
append OBJTXT.
OBJTXT = 'Banaglore'.
append OBJTXT.
Write Packing List (Main)
describe table objtxt.
read table OBJTXT index sy-tfill.
DOCDATA-DOC_SIZE = ( sy-tfill - 1 ) * 255 + strlen( OBJTXT ).
clear OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = sy-tfill.
OBJPACK-DOC_TYPE = 'TXT'.
append OBJPACK.
Create Message Attachment
Write Packing List (Attachment)
ATT_TYPE = 'ALI'.
describe table OBJBIN lines TAB_LINES.
read table OBJBIN index TAB_LINES.
OBJPACK-DOC_SIZE =
( TAB_LINES - 1 ) * 255 + strlen( OBJBIN ).
OBJPACK-TRANSF_BIN = 'X'.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = ATT_TYPE.
OBJPACK-OBJ_NAME = 'ATTACHMENT'.
OBJPACK-OBJ_DESCR = 'Payslip'.
append OBJPACK.
Send the document
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOCDATA
PUT_IN_OUTBOX = ''
COMMIT_WORK = 'X'
TABLES
PACKING_LIST = OBJPACK
OBJECT_HEADER = OBJHEAD
CONTENTS_BIN = OBJBIN
CONTENTS_TXT = OBJTXT
RECEIVERS = 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.
endloop.
endif.
ENDFORM. " Get_values
*****************************At User Command*************************
at User-Command.
case Sy-ucomm.
When 'NEXT'.
describe table itab.
if sy-tfill GT v_index.
v_index = v_index + 1.
Perform Print using v_index.
else.
message E000(8i) with 'You Have Reached the Last Entry'.
endif.
When 'PREV'.
if v_index LE 1.
Message E000(8i) with 'You Have Reached the First Entry'.
else.
v_index = v_index - 1.
Perform Print using v_index.
endif.
When 'BACK'.
leave to screen 0.
WHen 'EXIT'.
set Screen 0.
leave screen.
Endcase.
*& Form Print
text
--> p1 text
<-- p2 text
FORM Print using v_index.
if v_index = 1.
select *
from HRPY_RGDIR
into corresponding fields of table itab
where PERNR in P_num
endif.
if not itab[] is initial.
sort itab by pernr .
read table itab index v_index.
select single *
from PA0105
where PERNR eq ITAB-PERNR
and USRTY eq '0010'.
call function 'GET_PAYSLIP'
EXPORTING
EMPLOYEE_NUMBER = itab-PERNR
SEQUENCE_NUMBER = itab-SEQNR
PAYSLIP_VARIANT = PAY_VAR
IMPORTING
RETURN = RETURN
P_INFO = P_INFO
TABLES
P_FORM = P_FORM.
loop at P_FORM
where LINDA eq F__CMD-NEWPAGE
and LTYPE eq F__LTYPE-CMD.
P_INDEX-INDEX = SY-TABIX.
append P_INDEX.
endloop.
P_IDX = 1.
refresh P_P_FORM.
append lines of P_FORM from P_IDX to P_INDEX-INDEX
to P_P_FORM.
P_IDX = P_INDEX-INDEX.
export P_P_FORM to memory id '%%_P_FORM_%%'.
export P_INFO to memory id '%%_P_INFO_%%'.
IMPORT P_P_FORM FROM MEMORY ID '%%_P_FORM_%%'.
IMPORT P_INFO FROM MEMORY ID '%%_P_INFO_%%'.
new-page "VKIK008647
line-size p_info-pcols
line-count p_info-psize
no-title
no-heading.
SET BLANK LINES ON.
LOOP AT P_P_FORM.
if sy-tabix lt 20.
NEW-LINE NO-SCROLLING.
endif.
CASE P_P_FORM-LTYPE.
WHEN F__LTYPE-TXT.
WRITE:/ P_P_FORM-LINDA.
WHEN F__LTYPE-CMD.
IF P_P_FORM-LINDA EQ F__CMD-NEWPAGE.
NEW-PAGE.
ENDIF.
WHEN others.
hide: itab,v_index.
WRITE:/ P_P_FORM-LINDA.
if sy-tabix lt 20.
NEW-LINE NO-SCROLLING.
else.
NEW-LINE SCROLLING.
endif.
ENDCASE.
ENDLOOP.
SET BLANK LINES OFF.
v_index = 1.
endif.
ENDFORM. " Print
*& Form Write_Values
text
--> p1 text
<-- p2 text
FORM Write_Values .
if p_print = 'X'.
loop at i_sent.
write :/ sy-vline,2 i_sent-pernr,18 sy-vline,
19 i_sent-name,40 sy-vline,
41 i_sent-usrid_long,63 sy-vline,
64 i_sent-status,70 sy-vline.
ULINE /1(70).
endloop.
endif.
ENDFORM. " Write_Values
i want to send the contents of objtxt has body.
cheersHi,
in the below code, BOLD Characters coming as body text in my mail.after that i am attaching V_LINE as the attachment.pl compare this with ur code.
revert, if you need any clarifications.
<b>*-populate body text</b>
CONCATENATE <b>'Japan BOL details for the Delivery#'
V_VBELN
',is attached'</b> INTO WA_OBJTXT SEPARATED BY SPACE.
APPEND WA_OBJTXT TO IT_OBJTXT.
<b>*---- Append Date and Time into Body of email.</b>
MOVE 'File is generated on'(004) TO V_INFO.
V_TIME = SY-UZEIT.
WRITE : SY-UZEIT TO V_TIME USING EDIT MASK '__:__:__'.
CONCATENATE V_TIME+0(2)
V_TIME+2(2)
V_TIME+4(2)
INTO
V_TIME2 SEPARATED BY ':'.
WRITE : sy-datum MM/DD/YYYY TO lv_date .
CONCATENATE SY-DATUM+4(2)
SY-DATUM+6(2)
SY-DATUM+0(4)
INTO V_DATE.
CONCATENATE <b>V_INFO
V_DATE
'At'
V_TIME2
INTO V_INFO</b> SEPARATED BY SPACE.
<b>WA_OBJTXT = V_INFO.</b> APPEND WA_OBJTXT TO IT_OBJTXT.
*-document size
CLEAR : V_TABLE_LINES.
DESCRIBE TABLE IT_OBJTXT LINES V_TABLE_LINES.
READ TABLE IT_OBJTXT INTO WA_OBJTXT INDEX V_TABLE_LINES.
X_DOC_CHNG-DOC_SIZE =
( V_TABLE_LINES - 1 ) * 255 + STRLEN( WA_OBJTXT ).
*-populate packing list for body text
CLEAR IT_OBJPACK-TRANSF_BIN.
WA_OBJPACK-HEAD_START = 1.
WA_OBJPACK-HEAD_NUM = 0.
WA_OBJPACK-BODY_START = 1.
WA_OBJPACK-BODY_NUM = V_TABLE_LINES.
WA_OBJPACK-DOC_TYPE = 'RAW'.
APPEND WA_OBJPACK TO IT_OBJPACK.
CLEAR WA_OBJPACK.
*--for attachment
*--add Internal table lines here, as attachment.
WA_OBJBIN = V_LINE.
APPEND WA_OBJBIN TO IT_OBJBIN.
CLEAR WA_OBJBIN.
*-get total no.of lines of Object table(attachment)
CLEAR : V_TABLE_LINES.
DESCRIBE TABLE IT_OBJBIN LINES V_TABLE_LINES.
*-populate object header
CONCATENATE 'Delivery#'(005)
V_VBELN
SY-DATUM
V_TIME
INTO
WA_OBJHEAD SEPARATED BY SPACE.
APPEND WA_OBJHEAD TO IT_OBJHEAD.
CLEAR WA_OBJHEAD.
*-packing list for attachment
WA_OBJPACK-TRANSF_BIN = C_X.
WA_OBJPACK-HEAD_START = 1.
WA_OBJPACK-HEAD_NUM = 1.
WA_OBJPACK-BODY_START = 1.
WA_OBJPACK-BODY_NUM = V_TABLE_LINES .
WA_OBJPACK-DOC_TYPE = 'CSV' .
WA_OBJPACK-DOC_TYPE = 'RAW' .
WA_OBJPACK-OBJ_NAME = 'POTR'.
CONCATENATE 'Delivery details for '(005)
CONCATENATE TEXT-005
V_VBELN
SY-DATUM
V_TIME
'.CSV'
INTO
WA_OBJPACK-OBJ_DESCR SEPARATED BY SPACE.
BREAK-POINT.
WA_OBJPACK-DOC_SIZE = V_TABLE_LINES * 255.
APPEND WA_OBJPACK TO IT_OBJPACK.
CLEAR WA_OBJPACK. -
HELP in API where sms sending between computer and mobie is the aim
HI everyone,
I'm Ork. I am totally new in this field. So please, help in making the following project I am involved in making a swing API, whose main objective is to :-
1. send sms to mobile phones and back to computers and to and fro,
2. mail anyone,
3. send offline messages, and
4. Online chat system.
Please guide me with the resources i need to get on running with the project. Please say me the forums in this site those are appropriate for the above mentioned topic and the java branches I need to explore.HI everyone,
I'm Ork. I am totally new in this field.{color:#000080}Hi Ork. Start by going through the Java tutorials{color}
http://java.sun.com/docs/books/tutorial/index.html
{color:#000080}Darryl{color} -
Why different Overall requirements value between labor and pool capacity
Hi all,
I create a PM Order with using a PP work center and this PP work has 3 Capacity category: machine, labor, pool.
after I check the PM Order with CM35
and i find out, that Overall requirements value are different between labor and pool capacity. Is this normal?
In my opinion,labor and pool should have same amount requirements of capacities.
thanks®ardsHello,
Please refer the Link [http://help.sap.com/saphelp_47x200/helpdata/en/b1/c03662439a11d189410000e829fbbd/frameset.htm]
Regards,
Rakesh
Edited by: RAKESH ASHOK MANE on Aug 17, 2010 9:42 AM -
What type of Fonts are compatible between Mac and PC?
Hello all:
I work in InDesign primarily from a Windows based PC. I occasionally do some work on a Mac as well. I have a mixture of font type I use (TTF, OpenType etc) on my PC. I know a lot of font types are not compatible between PC and Mac. My questions is, are OpenType fonts compatible with Mac?
What suggestions would you give to people working on two platforms as to how to best manage their font library (short of buying two versions of the same fonts)?
Thanks.OpenType and Windows TrueType fonts are usable on both Windows and MacOS X. Windows Type 1 fonts can be used with Adobe applications on both Windows and MacOX X (although on the Macintosh, the Windows Type 1 fonts must be put into the Creative Suite's private font directory).
Macintosh Type 1 and TrueType fonts cannot be used on Windows systems under any condition.
Going forward, for cross-platform compatibility, at Adobe we would strongly recommend exclusive use of OpenType fonts, thus avoiding the need for purchasing more than one version of any font.
- Dov -
How sync mail accounts between Mac and iPhone!!
Hi,
May a trivial and stupid question but never found an answer!
How easily sync mail account information (preferences of each mail account) between mac's (Mac Mini and Mac Book Pro) and iPhone?
Sorry to say that but it's so easy in Windows!! Just check the option box in itunes!!
For now, I use iCloud, define to sync mail and connected with same account on all my mac and iPhone ... nothing happened!
Oh yes, sorry, I have three accounts out of 13 who appear!!! But WHY?
I red somewhere that the account information (password) must be saved in keychain ... ok ... but how do I change that for all account?
I tried to remove one and recreate ... no success ... doesn't appear.
Why is it so complicated to have that working as the Mac is so user-friendly?
I also try a search on Apple site ... no explanation!
Some one with a clear and simple "How To" to share?
MANY THANKS!
PierreSorry if a made mistakes writing in english my mother thong is french
-
What is (are) the difference(s) between iphoto/imovie apps for the ipad as against imac?
The Mac version would be more complex and be able to do more stuff, while the iPad version can do more simple things due to the lower processing power and the fact that it's an iPad.
-
What should be the translation ratio between KRW and TWD
Hi,
What is the translation ratio between KRW and TWD I should maintain on transaction OBBS.
Please advise.
Thanks...
Ram.Strictly speaking, the translation ratio depends upon what exchange rate you are comfortable with. One can only suggest - the System owner has to be the judge of what ratio they want to maintain the ratios at.
Due to the prevalent values for the two currencies, I suggest a ratio of KRW to TWD of 100 : 1.
Of course, that doesn't mean you can't use 10 : 1 - remember it's at best a recommendation / best practice.
Please remember to assign points if found useful.
Regards,
Gulshan -
What is rfc of creating relationship between ibase and partner?
I need bapi or rfc for assign a partner to ibase.
create relationship between ibase and parten.
pls.Hi
check this link
Re: BAPI for creating IBASE structure
Regards
Pavan -
Different display aspect ratios between Mac and PC
I am working with some NTSC DV .mov files (720x480). When I view them in OS X Lion (Quicktime 10.1), the Quicktime Movie Inspector shows the video correclty at 4:3 Aspect Ratio with the correct dimensions of 640x480 (using square pixels).
However, when I open the same video in Windows 7 using Quicktime 7.7.2, It shows the video as 720x480 (I guess it is interpreting the pixesls as square instead of 0.9091). Also, on the pc, there are black bars on the left and right margins. These don't appear on the mac.
Any ideas about why these are being interpreted differently by Quicktime on OS X and Windows?
Thanks.I assure you that I can open the same file from an external drive with my Windows PC or my Mac and get the above results. I have over 500 of these videos, and they all behave the same way.
And I assure you that the files are not the same if the file display internals were chagned by your copy work flow.
I did discover in QT 7 that if I go to the "Presentation" tab in the "Show Movie Properties", that I can set the "Conform aperture to:" to "Clean" and it sets the movie to 640x480 and removes the black bars.
Underscan issues are separate from aspect ratio issues. They can be eliminated by masking or cropping along with the re-scaling—the latter of which I've have been pointing out would correct your 720x480 (3:2 aspect ratio) to 640x480 (4:3 aspect ratio) which was the original title subject of your topic.
I believe this is the difference.
http://support.apple.com/kb/HT4265
All NTSC SD DV content is encoded 720x480 matrix content whether the aspect ratio is 4:3 or 16:9. To properly trim and scale the content as described by this article, the file must contain a valid setting flagging whether the original content was recoded with a 16:9 or 4:3 aspect ratio. This has yet to be proven to be the case of your copied file which the media info window states is now playing as a simple non-anamorphic 720x480 whereas your current example reads as a simple non-anamorphic 640x480 file. In most cases this does not matter if the source content was 4:3 aspect. However, any file with a "lost" flag setting will be treated as 4:3 aspect file whether the original content was recorded as 4:3 or 16:9 so there is a potential for problems here. -
Versamail no show incoming mails sender's name and subject after ROM upgrade
It is unlocked GSM 680 before with rom ROW 1.04 and worked quite well. After the upgrade to R01.92 1.12ROW, the incoming emails doesn't show sender's name(address) and subjects, but email content displays correctly. Don't know if the VERSAMAIL program has lost some files or modules. Anyone can help?
Post relates to: Treo 680 (Unlocked GSM)I see the subject of this post specifically mentions a ROM upgrade. I didn't do a ROM upgrade but I had the same exact symptom after installing CJKOS which allows Chinese, Japanese, Korean characters be displayed on my Palm Treo. The CJKOS preferences are not in English but eventually I was able to figure out if I disable that application within that app's preferences, the sender's name and subjects are now appearing. Maybe there is something the few of you are doing that is similar?
Post relates to: VisorPhone
Maybe you are looking for
-
In Firefox 3.6.6 gmail won't stay open; calendar opens on top of it
when i open (with a button or bookmark) or if i type in google's mail URL, the google calendar opens on top of it almost immediately. this does not happen in other browsers or in previous releases, it's new since installation of firefox 3.6.6. i trie
-
Accessing XML API's from Java Stored Procedures in DB
I am working in an environment that does not contain any Oracle applications and we have been looking at XML publisher as a stand alone service. I have successfully configured the UI and created some command line java programs to produce documents an
-
FDPSTP failed due to ORA-20100: File o0035807.tmp creation for FND_FILE fai
Cause: FDPSTP failed due to ORA-20100: File o0035807.tmp creation for FND_FILE failed. You will find more information on the cause of the error in request log. ORA-06512: at "APPS.FND_FILE", line 410 ORA-06512: at $ echo $APPLPTMP /usr/tmp/DEV $ echo
-
How to use Siri on OS X to enter test into a browser field?
Siri on ML lets you enter text into Notes, but I'm trying to use it to enter text into a gDoc, or other browser field. I can get it to listen (fn^2) but what I say seems to go into outer space -- I think that it's trying to let me do voice commands,
-
How application call servlet via https
Hi guys Does anybody know how application call servlet via https? Is it same as http? How can I set up trusted certification? Thanks in advance. Regards, Mark.