Reg:Single sender multiple receivers
Hi All,
My scenario is single sender and two receivers.
1.Webservice---PI-----RFC(Synchronous)
2.Webservice -
PI----
File(Asynchronous)
For the above stated scenario ,Iam using,
> 3 mappings
> 2 operation mappings
>2 receiver agreement
>2 interface determination
Could any one suggest me whether the above stated scenario will work where one receiver is Asynchronous and another is synchronous
Lavanya.B
Edited by: Lavanya Balanandham on May 6, 2011 3:50 AM
Hi Raj,
Thanks for your reply.
I have created one scenario as,
BPM-Portal----PI--RFC(Syn)
I need to create another interface for BPM-Portal---PI----File ,My query is ,I need to use the same sender agreement ,communication channel and how to proceed on he same.
Regards,
Lavanya
Similar Messages
-
How to send multiple attachements in single mail
Hi All,
Currently i am using this function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send mail with only one attachment.
But now i need to send multiple attachments to a single mail.
Can any one please tell me as how to send multiple attachments in single mail.
Thanks in advance.Hi
See this and do accordingly
Mailing with Attachment by ABAP Coding
Refer this link:
Mail with attachment.
FORM send_list_to_basis .
DATA: w_path LIKE rlgrap OCCURS 0 WITH HEADER LINE,
lt_index TYPE sy-tabix,
doc_type(3) TYPE c,
descr LIKE it_objpack_basis-obj_descr,
temp_data LIKE w_path,
temp1 TYPE string,
tab_lines TYPE i,
langu(15) TYPE c,
expirydate TYPE so_obj_edt,
L_FILE1(100).
CONCATENATE 'C:\' sy-repid '_' sy-datum '.XLS' INTO L_FILE1.
W_PATH-FILENAME = L_FILE1.
APPEND w_path.
CLEAR w_path.
wa_doc_chng-obj_descr = 'User List not logged on for 180 days'.
wa_doc_chng-obj_langu = 'E'.
wa_doc_chng-obj_expdat = sy-datum.
CLEAR w_subject.
CONCATENATE 'Please find attached document with list of users'
'not logged on for 180 days for client' sy-mandt
INTO w_subject SEPARATED BY space.
it_objtxt_basis-line = w_subject.
APPEND it_objtxt_basis.
CLEAR it_objtxt_basis.
it_objtxt_basis-line = text-004.
APPEND it_objtxt_basis.
CLEAR it_objtxt_basis.
CLEAR w_tab_line.
DESCRIBE TABLE it_objtxt_basis LINES w_tab_line.
READ TABLE it_objtxt_basis INDEX w_tab_line INTO l_cline.
wa_doc_chng-doc_size =
( w_tab_line - 1 ) * 255 + STRLEN( l_cline ).
CLEAR it_objpack_basis-transf_bin.
it_objpack_basis-head_start = 1.
it_objpack_basis-head_num = 0.
it_objpack_basis-body_start = 1.
it_objpack_basis-body_num = w_tab_line.
it_objpack_basis-doc_type = 'RAW'.
APPEND it_objpack_basis.
CLEAR it_objpack_basis.
LOOP AT w_path.
temp1 = w_path.
descr = w_path.
CALL FUNCTION 'STRING_REVERSE'
EXPORTING
string = descr
lang = 'E'
IMPORTING
rstring = descr.
CALL FUNCTION 'STRING_SPLIT'
EXPORTING
delimiter = '\'
string = descr
IMPORTING
head = descr
tail = temp_data.
CALL FUNCTION 'STRING_REVERSE'
EXPORTING
string = descr
lang = 'E'
IMPORTING
rstring = descr.
CALL FUNCTION 'STRING_SPLIT'
EXPORTING
delimiter = '.'
string = descr
IMPORTING
head = temp_data
tail = doc_type.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = temp1
filetype = 'BIN'
header_length = 0
read_by_line = 'X'
replacement = '#'
TABLES
data_tab = it_upload.
DESCRIBE TABLE it_upload LINES tab_lines.
DESCRIBE TABLE it_objbin_basis LINES lt_index.
lt_index = lt_index + 1.
LOOP AT it_upload.
wa_objbin_basis-line = it_upload-line.
APPEND wa_objbin_basis TO it_objbin_basis.
CLEAR wa_objbin_basis.
ENDLOOP.
it_objpack_basis-transf_bin = 'X'.
it_objpack_basis-head_start = 0.
it_objpack_basis-head_num = 0.
it_objpack_basis-body_start = lt_index.
it_objpack_basis-body_num = tab_lines.
it_objpack_basis-doc_type = doc_type.
it_objpack_basis-obj_descr = descr.
it_objpack_basis-doc_size = tab_lines * 255.
APPEND it_objpack_basis.
CLEAR it_objpack_basis.
ENDLOOP.
it_reclist_basis-receiver = '[email protected]'.
it_reclist_basis-rec_type = 'U'.
APPEND it_reclist_basis.
CLEAR it_reclist_basis.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_chng
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = it_objpack_basis
contents_txt = it_objtxt_basis
contents_bin = it_objbin_basis
receivers = it_reclist_basis
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
OTHERS = 99.
IF sy-subrc EQ 0.
SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.
ENDIF.
ENDFORM. " send_list_to_basis
<b>Reward points for useful Answers</b>
Regards
Anji -
SharePoint 2013 - SPD Custom Workflow keeps sending multiple emails for a single Task
I have a workflow triggering on List item created only. There are multiple stages in the work flow and in each stage a single task is assigned to a group of people. Currently group is only having one user i.e. my own test user with a valid email address.
Workflow was running fine for first 5 runs but now it keeps sending multiple emails for each task multiple times and runs very slow. I have only single workflow in development server with 24GB RAM.
Enabling the Workflow log in Event viewer does not show any error or warnings. The only clue I see is WorkFlowManager Database table "DebugTrace" having multiple entries showing that WF is trying to send same email multiple times with failed attempts,
but in reality emails are being delivered as well.
http://server/site/_vti_bin/client.svc/sp.utilities.utility.SendEmail Retry sending email in xx.xx.xx Status: HTTPRetrying
http://server/site/_vti_bin/client.svc/sp.utilities.utility.SendEmail Retry sending email in xx.xx.xx Status: HTTPFailed
I could not get the exact phrase as I don't have direct access to development machine at work.
Any help or guidance will be highly appreciated.Yes, I have on-premise SP site, and here is the actual log I see in DebugTraces table.
Message Level Name Category
Attempt 1 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
No Status Code>'. 2 HttpRequestFailed Http
Attempt 2 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:06.
2 HttpRequestRetrying Http
Attempt 2 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
No Status Code>'. 2 HttpRequestFailed Http
Attempt 3 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:07.
2 HttpRequestRetrying Http
Attempt 3 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
No Status Code>'. 2 HttpRequestFailed Http
Attempt 4 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:09.
2 HttpRequestRetrying Http
Attempt 4 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
No Status Code>'. 2 HttpRequestFailed Http
Attempt 5 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:13.
2 HttpRequestRetrying Http -
How to send multiple data for a single element
Hi All,
I have a requirement where I have to send multiple data for single element per single transaction. For example
Id details
1 abcd
1 efgh
1 def
Now, when I am selecting this ID from database, I have to get all the details in a single xsd like
<id>1</id>
---><details>abcd</details>
<details>efgh</details>
<details>def</details>
ThanksHi,
The following XSLT...
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<xsl:variable name="root" select="/"/>
<root>
<xsl:for-each select="distinct-values(/root/entry/id)">
<xsl:variable name="id" select="."/>
<entry>
<id><xsl:value-of select="$id"/></id>
<xsl:for-each select="$root/root/entry[id = $id]">
<details><xsl:value-of select="details"/></details>
</xsl:for-each>
</entry>
</xsl:for-each>
</root>
</xsl:template>
</xsl:stylesheet>Will work for a document like this...
<root>
<entry>
<id>1</id>
<details>detail1</details>
</entry>
<entry>
<id>1</id>
<details>detail2</details>
</entry>
<entry>
<id>2</id>
<details>detail3</details>
</entry>
</root>Hope this helps...
Cheers,
Vlad -
How to send multiple attachment in single mail
i am using FM SO_NEW_DOCUMENT_ATT_SEND_API1 for sending mail.
pls guide me how can i modify my code so that i can send multiple attachmentsHi Manish,
Check out the links below.
E-mail multiple PDF attachments
Send a Single Mail with Multiple Attachment
Hope it helps.
Regards,
Amit
*Always reward points for helpful answers
Message was edited by:
Amit Kumar -
Reg:Single Check for Multiple Vendors
Hi Experts,
I want to Issue a Single check for all vendor open items...
For this is I created one Group Key and assigned in the vendor master record, but while doing the payment separate check issuing for each vendor,
any ideaHi,
Can you check the below thread of urs.
[Reg:Single Check for Multiple Vendors]
In addition to the above, please make sure that in OBVU, the check box separate payment for each ref is deselected for your questioned comapny code.
You would have continued your earlier thread instead, rather than a new thread.
Thanks,
Srinu -
When I try to send/forward e-mail to multiple receivers, I choose the category, use ctrl, select the names and click "send e-mail to these contacts." When I return to the e-mail, the contacts are not listed.
What am I doing wrong?
Betty SprakerHi,
Creat the following internal table
DATA: i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
Pass the values to this internal table as follows
i_reclist-receiver = '<give ur mail id>'. "SAPoffice: Name of the recipient of a document (also ext.)
i_reclist-rec_type = 'U'. "Specification of recipient type
*U = INTERNET ADDRESS,
*B = SAP USER,
*P = PRIVATE DISTRIBUTION LIST,
*O = SAPOFFICE USER,
*R = SAP user in another SAP System
*X = X400 ADDRESS
*C = SHARED DISTRIBUTION LIST
APPEND i_reclist.
Pass the internal table to the Tables parameter of 'receivers'
receivers = i_reclist
Regards,
Chandu -
Send a message to multiple receivers from the same service
Hi all,
I registered on SAP community several months ago, I found many good hints and solutions to some of the problems encountered in XI and for which I thank you, but this is the first time I address a question to a common issue, written already about.
I have a scenario with 1 File FTP sender adapter and 2 Receiver adapters:1 FTP adapter and 1 MAIL adapter. The input message is sent to one of these receiver adapters based on the value taken by a specific field from the input message.The receiver adapters are using the same party and service.
The requirement is to solve this without using BPM.
I have read "multiple receiver" issue related blogs and tried to use the standard receiver determination. Thus, I have 1 Sender Agreement, 2 Receiver agreements (one for FTP and one for MAIL), 1 Interface Determinations (with the 2 inbound interfaces and interface mappings corresponding to FTP and MAIL output) and 1 standard Receiver Determination where I added the party and service twice and specified for both the condition. The condition is based on XPath, is correct.
In sxmb_moni, I get the error: "No receiver could be determined". If I remove one of the conditions, then the output is sent on both receiver adapters, instead of only the one that fulfills the condition.
Can you please give me some feedback on how to solve this problem? It is rather urgent.
I have also tried to create 2 Interface Determinations and have 2 Receiver Determinations, each one with the right condition. But I get the same error message.
Is the problem due to the fact that I don't use 2 different services ?
If you know how this can be solved without using BPM, please reply.
Thanks a lot,
Alina hudea> In sxmb_moni, I get the error: "No receiver could be determined". If I remove one of the conditions, then the output is sent on both receiver adapters, instead of only the one that fulfills the condition.
Hi,
I think the problem in Receive Determination. As you mentioned when you remove one of the condition then it works..
What I concluded is, I think while creating your Receiver Determination for multiple receivers you added the receivers by pressing the plus sign and that means you are using mulitiple receivers with "AND" condition, so in this condition when both the condition will be true then only you will get success.
What you can do is, Just remove one of the receivers and then add it by pressing the "OR" symbol i.e. by pressing this ( [ ] ) symbol and put your conditions as you like.
I hope what I have concluded is correct..
Regards,
Sarvesh -
Sending Multiple attachements (PDF) in a single email
Hello All,
I came across below link but could not understand.
How to send multiple attachements in single mail
Any idea how i can send email with Multiple attachements (PDF format files). Thanks.Smart Form PDF Link
http://help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://sap.ionelburlacu.ro/sap0/sapsf001.htm
http://help.sap.com/saphelp_erp2004/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/16/a369b1800e4bdda978ee0fe3b7bd2c/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/content.htm
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-img.com/smartforms/smart-001.htm
Rewards if useful................
Minal -
Same send step for multiple receivers: BPM scenario
Hi forum,
I have a file -BPM -file scenario,
from the BPM i need to send the same message to multiple Business systems,
so, i need to make receiver determinations in the IB_directory, but it allows me to have only 1 receiver determination for a set of Sender service and message interface, so how can i have multiple receivers in the receiver determination...
i have gone through a blog which asks me to make use of "SEND CONTEXT" in the send step in the BPM and query it in the receiver determination in the IB-directory, but how to quey it? pls help
thankshi,
For a set of one business system and receiver u can create only one Receiver determination step.
If Want to send messages to different receivers.
Go to -> Integration Directory-> Open the receiver determination step in change mode.
Go to "Configured Receiver" step -> Click on "+" symbol to add other receivers
"Conditions" is an optional tab.
Then configure receiver interface determination and receiver agreement for the new receiver
Regards,
Shabari -
Sending EDI To Multiple Partners Using Single Send Port in Orchestration
Hi Guys,
I am having a scenario where i am receiving a Xml(which can be in between 11-15). I am having 150 Trading Partners with whom these datsets have to be shared. Now every Trading partner is having there own character Sets and unique numbers so i have created 150
party agreements for all the Trading partners. I am interested to use a single port. I have created an orchestration to achieve this. Below are the steps i used to create orchestration :-
1) Receiving 11 XML from receive shape.
2) Extracting the value of Node TSP(this value is used to know the trading partners unique number on which i am deciding to which party agreement this Xml needs to go) using xpath.
3) I am constructing the message in construct.
3.1) Mapping from XML To EDI.
3.2) As all 11 datasets are having different version. So i am overidding the value ISA and GS in Message Assignment(SourceName).
4) Decide shape to decide on the value of TSP to which port it has to be send.
But according to me this is not an optimized solution. Below are reasons:-
1) I have to create 150 branch into decide shape. As i am receiving 11 different Xml messages i need to create decide shape for all the different Xml messages.
2) I have to create 150 different ports which are having 15 operation(depanding upon Xml we received).
Note:- I have to create 150 different Send Ports only because of Party Agreement. So is there any solution? i only want Single Send port and i can select the party Agreement in the orchestrations.Duplicate thread. See:
http://social.msdn.microsoft.com/Forums/en-US/c12a377e-ccf6-4fbe-9986-14da63d72282/sending-edi-to-multiple-partners-using-single-send-port-in-orchestration?forum=biztalkgeneral -
Sending the same data to multiple receivers.
Hi,
In 7.1, I did a simple file-to-file scenario with mulitple receivers.I used only 1 Rcvr Det.(included multiple business components) and 1 Interface Det. without BPM and it works.I would like to know if there's any other way to send same data to multiple receivers without BPM and/or the approach used by me.
Thanks,
VishalThanks all for your replies. I did multimapping as suggested by couple of you and it works. Since it is required to send to 7 or more systems and the no. of fields to be mapped is huge, multimapping is time-consuming. So I would like to know if there's any other approach.
@Ravi: can you please explain with more details regarding the approach suggested by you?
Can someone explain why and/or how a mapping executes multiple times if we have multiple receivers getting the same data?
And if there's any way to check(For Ex: Moni) if the mapping executed multiple times?
Thanks in adavnce,
Vishal -
Sending meesages to multiple receivers
Hi All,
Is it psossible to send an output messages to mutiple receivers without using BPM. If so then how to do it.
Thanks
AbinashHi Abinash,
For sending this to multiple receivers you dont have to use BPM. You can do it by putting the condition in deciding your receiver business system in your receiver determination. For each business system which is there as a receiver you need to provide individual interface determination also...
Cheers
JK -
I want to send multiple emails to single supplier based on the Legal Entity of the invoice paid.
eg. If a supplier has two invoices in a payment, both are paid by different legal entities of invoices payable .. then I want to send to different emails to the same supplier
I am able to create 2 pages in the RTF using <?for-each-group:OutboundPayment;DocumentPayable/DocumentPayerLegalEntityName?>
But I am unable to send 2 emails
please help..When I know i'll be transforming or adding additional filters, I prefer to go directly to creating smart objects rather than grouping them first, since the relevant layers are automatically "grouped" by being pulled into the smart object. My thought is that the default name for a smart object (or a group, for that matter) should be the lowest layer on the selected stack that has a non-default name, since in most cases that's the one you'd want to use for the new smart object. I don't know exactly how Photoshop recognizes layer names, but since it knows what number to assign to new layers or individual types of adjustment layers, it should also be able to recognize when a layer name is not a default name.
-
Reg : "Error multiple Receivers are not allowed for Synchronous calls"
Hi All,
Can somebody tell me why I am getting this error "Error multiple Receivers are not allowed for Synchronous calls" when I am using Synchronous Soap Request to WebService and the response from webservice is being sent to multiple receivers which are Business services based on Receiver determination condition(Services W/o Party).Hi , If you are simply looking up data (and not updating tables ) using RFC you can use RFC Lookup APIs to create a java mapping
The source message has to be a RFC request message interface and target should be RFC response message interface.
Also you can use three step mappings in a single interface mapping.
1. from your request message to RFC request message mapping
2. java mapping which will do the lookup and give you rfc response back
3.rfc response to your target response mapping.
PS: RFC lookup can be used if there are not may hierarchy in the RFC Response structure. (i.e. may be 3 or 4 level nesting permitted)
To help you further
The following is a link which gives you access to a ready made source code. you just need to compile it and create a jar and import the mapping in imported archive
http://knowhowsapxi.synthasite.com/rfc-loolup.php
Edited by: Progirl Progirl on Oct 31, 2008 1:33 PM
Maybe you are looking for
-
Help on printing error messages to a log file
Hi, may I know whether is there any way to print the error messages to a log file? Thanks for your help!
-
How to hide one column in Alv if it doesnt contain any value
Hi, In alv Grid if one coulmn doesnt conatin any value.I doesnt want to display in ALV grid.Is dat possible. Plz help.
-
Just downloaded the Adobe Pro trial. It converts pdf to ppt, but when I try to open ppt it shows error and closes. I have tried to 2 seperate computers with same results. Thank you for any help
-
Color managment in PSE 4.0
Hi all, I am getting a little frustrated the my blues and purples are not printing the same as what I see on my screen. They come out pink. I have a PC laptop, so a colorimeter won't work. (We are considering buying a separate monitor, but I just rea
-
Buenos días Foro. Quisiera saber cuantos decimales utilizan en sus instalaciones de SAP, en las monedas ARS - Argentina y PEN - Perú. Gracias por la información.