Communication strategy missing for external send
Dear all,
I want to send O/Cs via mail, therefore I configured the transmission medium of the output type to "external send". As well I set the communication strategy for mail to the output type. Nevertheless I receive an error, when I want to save the O/C with a new message. Please be so kind and take a look at the attached screenshot. Do you have any idea why the error occurs?
Best regards,
Benjamin
Hi Susan,
Please be so kind and take a look at the SAP-note 2017440 - Communication strategy cleared in message output . In my case this solved the problem.
Best regards,
Benjamin
Similar Messages
-
Exit/Enhancement for External Send
Hi all,
I have a requirement that needs to retrieve the correct email recipient of vendor(this is for PO). A custom output type for External Send is maintained in NACE. The vendor has two email address maintained (one with a note that it is for PO), I can check which email address is correct through tables ADR6 and ADRT. Buts there any exit/enhancement where I can add the logic for this?
Thanks,
EoCheck enhancement 'LMEDR001' this is the customer exit that would be used for enhancement of the print program check the changing parameter CX_DOC which is of the type MEEIN_PURCHASE_DOC_PRINT which has structure 'MSGPA' which should have address numbers information.
How does that help though? There's no access to the e-mail address - what he's trying to do is set the correct address when multiple ones exist on the vendor.
As I remember, with the PO external send processing, you could only use the default address on the vendor (because of a hard-coded READ in the code), so we use the default e-mail address for PO sends and for other objects such as payment advices (where you can actually pick the e-mail address), we tag the notes with an identifier. I have not revisited this code in ECC 6.0 though.
You can see where the e-mail address is set in function CONVERT_COMM_TYPE_DATA; it uses the old macro calls to set the e-mail recipient which is derived from a simple ADDR_GET call (using the address number). There aren't any exits here but you could use an implicit enhancement to change the values. -
HOW to make 2 step Communication strategy for external send
Hi
I have made this 2 step communication strategy and attached to an email output type for purchase order, but it doesn't work as expected.
The 2 steps are 1 INT, 2 = PRT
If the vendor/supplier has an email in the address the purchase order is send by email, but if he has no email addres, then the output fails with message "E-mail address incorrect or non-existent"
I expected the result to be that it would create a print instead of an email.
What is wrong?
Thanks.
Thomas Madsen NielsenI found the solution myself.
The communication type PRT = Print is not supported, but LET = Letter will do exactly the same thing.
I found the answer in OSS note 323720.
Thanks -
Change "SAPScript" email subject/body for External Send(5) for output type?
Hello,
I'm emailing a SAPscript form (converted to PDF) generated via Transmission Medium 5 (External send) for output type (EK00) and need to change email's subject and body of email created by SAP code. Any suggestions on how to change email's subject and body?
Thanks,
BillyAlso if u want to add a body to the mail. See the below form (sub routine) which needs to be mentioned in NACE. Either u can keep this routine in the driver program or u can put in separate report program. All thing u need to is see the below code and mention the name of the program and form name in nace. Double click on output type in nace. u will find a tab stripped screen in right. In the screen u can see the first tab as 'General data' and at the bottom a block with title 'Replacement of text symbols' can be seen. There u need to pass this program name and form name.
Execute ur program and test the result.
FORM text_symbol_replace TABLES pt_lines STRUCTURE tline
USING ps_thead STRUCTURE thead
ps_nast STRUCTURE nast.
DATA:
lv_kunnr LIKE vbak-kunnr, " AN0465 Add AKKUMA1 02/19/07
lv_new_cursor_column LIKE sy-tabix," Cursor column
lv_new_cursor_line LIKE sy-tabix," Cursor row
lv_changed, " Indicator
lv_matnr LIKE vbap-matnr,
lv_vkorg LIKE vbak-vkorg,
lv_vtweg LIKE vbak-vtweg,
lv_desc(20),
lv_name TYPE thead-tdname, " Name
lt_lines LIKE tline OCCURS 0 WITH HEADER LINE,
lv_currentprogram LIKE sy-repid. " Program Name
DATA :
ps_lines LIKE tline. " Structure
CONSTANTS:
lc_int TYPE nast-nacha VALUE '5', " External Send
lc_comma TYPE c VALUE ','. " Comma Separater
DATA: BEGIN OF ls_fname,
dsnam TYPE nast-dsnam, " Spool Name
dsuf1 TYPE nast-dsuf1, " Spool Suffix1
dsuf2 TYPE nast-dsuf2, " Spool Suffix 2
END OF ls_fname.
FIELD-SYMBOLS: <lfs_nast> TYPE vnast.
IF ps_nast-kschl EQ gc_zj17.
Fetching vbak-kunnr.
SELECT SINGLE kunnr " Customer
vkorg
vtweg
INTO (lv_kunnr,lv_vkorg,
lv_vtweg)
FROM vbak
WHERE vbeln EQ ps_nast-objky.
IF sy-subrc EQ 0.
SELECT SINGLE matnr INTO lv_matnr
FROM vbap
WHERE vbeln EQ ps_nast-objky.
ELSE.
IMPORT xvbak-kunnr TO lv_kunnr FROM MEMORY ID 'YSOLDTO'.
IMPORT xvbak-vkorg TO lv_vkorg FROM MEMORY ID 'YSALESORG'.
IMPORT xvbak-vtweg TO lv_vtweg FROM MEMORY ID 'YDISTCH'.
IMPORT xvbap-matnr TO lv_matnr FROM MEMORY ID 'YMATERIAL'.
ENDIF.
IF sy-subrc EQ 0.
CONCATENATE lv_matnr lv_vkorg lv_vtweg
INTO lv_name.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = '0001'
language = ps_nast-spras
name = lv_name
object = 'MVKE'
TABLES
lines = lt_lines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc = 0.
CLEAR lv_desc.
LOOP AT lt_lines.
CONCATENATE lv_desc lt_lines-tdline
INTO lv_desc
SEPARATED BY space.
ENDLOOP. " LOOP AT lt_desc
CONDENSE lv_desc.
ENDIF.
ENDIF. " AN0465 Add AKKUMA1 02/26/07
Fetch Region.
SELECT SINGLE name1 ort01 " City
INTO (gv_name1, gv_ort01)
FROM kna1
WHERE kunnr EQ lv_kunnr.
IF sy-subrc EQ 0.
CONDENSE gv_ort01.
CONCATENATE ':OC:'
gv_name1
gv_ort01
lv_desc
INTO ps_lines-tdline SEPARATED BY space.
LOOP AT pt_lines.
pt_lines-tdline = ps_lines-tdline.
MODIFY pt_lines.
CLEAR pt_lines.
ENDLOOP.
ENDIF. " IF ps_nast-kschl EQ gc_z..
ENDIF. " AN0465 Add AKKUMA1 02/19/07
IF NO TEXT IS PROVIDED READ TEXT USING HEADER INFO
IF pt_lines[] IS INITIAL AND NOT ps_thead IS INITIAL.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = ps_thead-tdid
language = ps_thead-tdspras
name = ps_thead-tdname
object = ps_thead-tdobject
TABLES
lines = pt_lines
EXCEPTIONS
OTHERS = 1.
IF sy-subrc NE 0.
ENDIF. " IF sy-subrc NE 0.
ENDIF. " IF pt_lines[] IS INITIAL
REPLACE VARIABLES USING DATA FROM PROGRAM YVADOR01
IF NOT pt_lines[] IS INITIAL.
lv_currentprogram = 'SAPMV45A'.
CALL FUNCTION 'TEXT_SYMBOL_REPLACE'
EXPORTING
endline = sy-tabix
header = ps_thead
program = lv_currentprogram
IMPORTING
changed = lv_changed
TABLES
lines = pt_lines.
Subrc Check not required.
CALL FUNCTION 'FORMAT_TEXTLINES'
IMPORTING
new_cursor_column = lv_new_cursor_column
new_cursor_line = lv_new_cursor_line
TABLES
lines = pt_lines
EXCEPTIONS
OTHERS = 2.
IF sy-subrc NE 0.
EXIT.
ENDIF. " IF sy-subrc NE 0.
ENDIF. " IF NOT pt_lines[] IS INITIAL
SPLIT ORDER NUMBER AND PUT THEM INTO SPOOL REQUEST NAME & SUFFIX FIELD
SAP USES THESE FIELDS TO CONSTRUCT FILENAME
FOR THE PDF ATTACHMENT IN EMAIL
IF ps_nast-nacha EQ lc_int OR ps_nast-nacha = '2'.
IF ps_nast-dsnam IS INITIAL AND ps_nast-dsuf1 IS INITIAL.
ls_fname = ps_lines-tdline.
ps_nast-dsnam = ls_fname-dsnam.
ps_nast-dsuf1 = ls_fname-dsuf1.
ps_nast-dsuf2 = ls_fname-dsuf2.
ENDIF. " IF ps_nast-dsnam IS INITIAL...
ENDIF. " IF ps_nast-nacha EQ lc_int
ENDFORM. " TEXT_SYMBOL_REPLACE
Venkat. -
PO creator email id for external send
Hi,
When we email POs to vendor from SAP, now it is picking the email id of PO approver as the from address(this is with Dispatch - 4). Is it possible to get PO creator emailid when the POs are emailed from SAP, if we use release process and Dispatch - 4.
Thanks
BobHi All,
Sorry for jumping into this loop, but I need a help from all of you.
I want to send email with PO, but no idea under the case below.
We have 3 LOBs under 1 legal entity, so that the vendor master is shared with 3 LOBs.
Then, a vendor has 2 departments ("A" department and "B" department) as well.
Our 1 LOB want to send PO via email to "A" department in the vendor, however, we don't want to send PO to B department.
On the other hand, the other LOB in our company wants to send PO to "B" department in the vendor, but does not want to send it to "A" department.
This requirement can be handled in SAP?
I would greatly appreciate your advice.
Thanks. -
Hello Guru's reg IMG settings for output det of PO External Send
Hello Gurus,
While configuring output determination Medium for External Send At Message Type Purchase order step in IMG Settings, I need to configure the following settings
Program, routine, form
I have Output type: Neu ( for Purchase orders)
Application: EF Purchase Order
Medium----External Send
Program:?????
Routine:
Form:
What is the the program name, routine Name and Form, should I select from the drop down bar. There is no description for the SAP STD program for External Send mode will anyone guide me.
Full points for the answerHI,
You can get some idea by clicking this.
http://help.sap.com/erp2005_ehp_03/helpdata/EN/75/ee122c55
c811d189900000e8322d00/frameset.htm
regards -
Problem with the External send output for Portugal in Smartforms
Hello All,
I am facing an issue with a particular outtype for external send for portugal country.The print priview is of different font than original font of the form.
But When the same output type is assigned with the print output the form is showing the font with the original fonts of the form.
can any one suggest the solution for this?Hello ,
Actually the same external send output type is working fine in the development system.This is having issue only in quality system.
And the condition records are maintained same in both dev system and quality system.
Does the capturing of Font play any Role...
I read some where that sometimes in translations a particular coutry might not hold the fonts.
Regards,
Varun -
Output type not accepting Comm method 5 - External send
Hi
not sure whether this should be posted on the Abap forum or on here ???
I have a shipping output type.
assigned Partner functions and applicable mediums - 1, 2 and 5
however when trying to produce ooutput via comm method 5, external send, i am gettting red error messages/ traffic ligh
processing log is as follows:-
"processing log for program xxxxxxxx routine ENTRY
Please enter an address number
communication type cannot be used"
all outputs for medium types 2 Fax and 1 print are all OK for all Partner functions involved
please could someone provide our Abapper with the missing coding that is needed to accomodate the External send functionality
Many thanks for your help on this matter
TonyTony
Check if you have done the following:
1) Maintained Email address in the customer master data?
2) Maintained Email address in the user master data, this could be the generic/batch user you use for outputs.
3) Set up communication strategy in config for external sending: SPRO/IMG/Sales and Distribution/Basic Functions/Output Control/Determine Communication Strategy.
4) Set up settings for SAPconnect using SCOT?
Please follow the following OSS notes for more details and ensure that you have done all those steps:
454893 - CHECKLISTSD: Sales document output as an e-mail
960088 - FAQ: Sending SD messages externally
Let me know how it goes. -
External send PO email to vendor
Hi experts,
I have one requirement to add additional text in the email content for external send email to vendor, can anyone show me how to do this?
Also, is there anyway to get acknowledgement from vendor when they receive the auto PO email?
Thanks and regards,
JTHI,
In order to send PO, your Basis team must configure the system first so that external email can be sending out from SAP. If it is not configured, no settings you do on MM will work.
1. You must maintain email address in vendor master data.
2. The same applies to your user master data. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail. You can find the definition of the communication strategy in the Customizing via the following path:
(SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy).
As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).
3. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
4. In the condition records for the output type (for example, Transaction MN04), use medium '5' (External send).
5. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been carried out.
6. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
try this link
Re: Email PO's
Hope Help U !
Regards,
Pardeep Malik -
External Send Billing Document - Issues Generating Body Text in Email
Have generated output type to email billing document as PDF to customer. I am using medium 5 for 'External Send' and have everything working well - the subject line is correctly showing the company name and invoice number, also the PDF is tagged correctly the same data. The issue I am having is trying to incorporate body text in the email itself. I found OSS note 753622, and it indicates this is not possible but the note is quite old. I have combed internet for solutions on this, and many suggestions seem to point to function module CONVERT_OTF_AND_MAIL but not clear to me that this can be overcome here. Would appreciate any insights if someone has experienced this requirement as well.
Thanks,
JayJason,
The FM you mentioned CONVERT_OTF_AND_MAIL is only for converting the OTF format to the email format. It has no other role in displaying some texts in the email.
As already pointed out, it is not possible in standard SAP. You have to go for the custom code in the report program meant for the output type.
This is the widely accepted and used practice in output world.
Hope this helps you -
Smartforms PO - output type external send - for purchase order
Dear
I want to define a specific output type for example ZPOM, with medium 'External Send'. The communication Strategy is SMTP (MAIL).
The configuration of the Processing Routine is the following:
Program: - FM06P
Form Routine: ENTRY_MEU
SMARTFORM: Z_MM_PURCHASEORDER.
When we create this mesage in the PO, no mail is send. There is also no processing log available.
Is it possible to use the same smartform with print program that is used for Medium 'Print Output' for medium 'External Send'?
Best regards
LucWhat you need to do is to create in SPAD Output device for E-mail ( in the Host Spool Access Method define M:E-Mail to Receiver/Owner) and then in the 'Print Output' assign this device.
Hope this helps.
Thanks,
Naveed -
Purchase Order External Send, Print for single output message
Hi Experts,
In my purchase order, NEU message output in triggered ( Medium 5 ). In communication method i defined comm strategy as CS01. Print immediately check box is active. I am able to send mail, but i am not getting printout.
What could cause this, will i get printout, when i keep print immediate option.
Is there any notes that is helpful for this.
Thanks & Regards,
RaviI assume that when you say "I am able to send mail, but i am not getting printout" you mean that for vendors where no email address can be found the communications strategy CS01 is not then printing the purchase order, is this correct?
-
Exchange 2007 - The server don't send dsn message for external users
Hello,
Our exchange 2007doesn't send dsn message for external users but for internals it is ok, I check my configuration but all seems to be ok
Have you any idea please?
ThxHi,
To narrow down the cause, let's firstly try to check the following configuration:
Get-TransportConfig |fl
Get-RemoteDomain | select identity, NDREnabled
Get-SystemMessage
Thanks,
Angela Shi
TechNet Community Support -
Communication Strategy CS01 is missing
Hi All,
As per SAP note# 191470, As a default, the the Communication strategy CS01 is delivered under below path. .
SAP Customizing Implementation Guide=>SAP NetWeaver=>Application Server=>Basis Services=>Message Control=>Determine Communication Strategy
But in our upgraded system [from 4.0B to ECC6.0], we don't find the Communication Strategy "CS01" by default as below image. This page is totally empty as below.
Please let us know 1) Why Communication Strategy CS01 is missing.
We need to send "Purchase Order" as an email.
2) How to create a Communication strategy CS01 with depended elements in Communication strategy overview window?
Or is there any to obtain the CS01 by default?
Thanks & Regards
ThiruHi Thiru
Could you refer the SAP KBA implement the SAP note
2147913 - Communication strategy disappears from purchase order output
BR
SS -
How to pass contents in email body for output type medium external send
Hi ,
In my requirement i am send attachment to external send using open_form function module with email content blank,So now my requirement is add 2 to 3 line email content should come in external mail with attachment through open_form function module for that any one can help me if faced this kind of object it will be very help full for me.
Thanks,Hi,
Is your solution using DEVICE = 'MAIL' when calling OPEN_FORM? If yes, please read through OSS Note 311037 - Printing using e-mail. You should be able to define up to 10 lines, as a static cover page for printouts sent via mail (I have not verified if this works). If that doesn't suffice, you are out of luck, I'm afraid. You'd be better off sorting out the otf to pdf conversion problem.
Edit in: alternatively, you could of course try to extend FM SO_OBJECT_SEND via implicit enhancement... All you really need to do there is to populate the table NOTE_TEXT, which will then get converted into e-mail body Create a singleton to hold text, set text in in the driver program before open_form, get it in the implicit enhancement at the beginning of SO_OBJECT_SEND, and, if note_text is empty, take over your text and clear the singleton instance...
cheers
Janis
Message was edited by: Jānis B
Maybe you are looking for
-
Hi, I am fairly new to Apple. I recently bought macbook pro mavrick 10.9.2. I was having a problem my sound going off and I had to reboot my system to get it back on. After reading a post I changed to driver to 10.8.5 and now the system sound is of
-
Vendor Evaluation using Material Group
Dear all Kindly let me know whether Vendor evalation is possible using material Group. Regards M.Chandra mohan
-
Lost the Trackball Camera Zoom Function
Hole everyone, I recently did an upgrade on to my phone, which caused the Lost of the Trackball Camera Zoom Function. I was wondering how do I get it back?? I have to manually zoom similar to how my old bb used to do by goin back n forth in the menu
-
External load a StyleSheet within the IPreloaderDisplay via the StyleManager
Hello, I've attempted to dynamically load an external stylesheet swf file within my IPreloaderDisplay implementation using the StyleManager.loadStyleDeclerations and have caught an error: TypeError: Error #1006: getInstance is not a function. at
-
Certificate authentication for Cisco VPN client
I am trying to configure the cisco VPN client for certificate authentication on my ASA 5512-X. I have it setup currently for group authentication with shared pass. This works fine. But in order for you to pass pci compliance you cannot allow aggresiv