Passing value of multi line container element to send mail step?
Hi ,
I am using send mail step type to send mail . in this mail i want to send data of multi line container element but it is writing only one line item even though my container element is holding tow line items. so how to process all line items of multi container element in a mail. please suggest me......
do i need to use loop until step ?
Thanks,
Rahul
Hi Chindanand ,
i tried with the same now but in the mail it is not showing me any value instead it si giving me <po_items > not found.
po_items is the name of my multiline container element and i am simply using these po_item in mail.
please tell me what to do......as its urgent.....
Thanks,
Rahul
Similar Messages
-
Using Multiline Container element in sending mail
Hi,
I am sending mail with Multiline Container element APTEXT.
I put &APTEXT##& Is this right ?
But when I have 2 lines of data, its sending mail with only one line.
ThanksIt is my personal observation that if the line size is more than 132 charecters then it will display like that.
So do like this
1. First make the row size as 125.
2. and when you are selecting the multiline container element in the mail content, then it will ask you 3 options selct the option Print line by line then check the mail.
It worked in my case. -
Displaying Container element in send mail
Hi Experts,
I am a beginner in SAP Workflows. I have created a simple wokflow in which a mail is sent to a particular user.The workflow is triggered whenever a complaint (BUS20000120)is raised.Now I want to display values of certain container elements in the workflow.I have also created a container element based on BUS20000120. But every time I use some or the other container element attributes, in the mail it is displayed '<BONmae>.<Attributename> not found.
I am not getting any solution to this problem.Please help me.....Hi Raja Sekhar,
The start event of my workflow is 'created' event of the Business Object (BUS20000120) .But where to implement the binding for the 'EVT_Object'?The start event for the workflow is firing as I have checked in the transaction 'SWEL' and also the mail is being sent to the desired user.The only problem is that I cannot display any data of my container element based on Business Object BUS20000120 . I can display elements of the system container like current date ,time etc. Please give me a solution.Infact this is happening to some other workflows as well. -
Workflow condition to check error records in a multi line container element
Hi All,
My requirement is to change a standard workflow in which below condtion is checked and subsequent action is taken.
The condtion checks a return internal table contains a row or not. Now the problem is for success and Information messages
also the return table contains entries and the condition is becoming true. Subsequently workflow follows error recovery steps when there is no error.
SAP suggests a note with manual corrections and mentions to change the condition to check whether error records are there. So can we enhance the condition &return& NX to something that it checks error records. I dont want to create a new step and go to business object method to delete non error records.
Please let me know if this condition can be enhanced.
Thanks in Advance.
Aleem Mohiuddin.Dear Aleem,
As this is sap standard workflow, should report this error and wait for feed back. Or add a loop step before of this check any E messages inside, if yes put a errflg as x other wise keep as blank.
Best of luck.
Regards,
Ranjith -
HOW can i rotate the loop as many lines of multi line container in BPM
Hi All
I have to send an idoc to 2 Receivers by spliting the message.
Based on the occurance of a particular source segments i need to create those many instance of targets.
IDOC ---> Rec1 (More than one message instance)
---> Rec2 (More than one message instance)
I have taken messages of Receiver into a multi line container1
and messages of Receiver 2 into another multi line container2.
HOW can i rotate the loop as many lines of multi line container.
Thans
PrasadHi Raj
There are two webservices are 2 receivers.
In the idoc there is specific segment , which occurs unbounded,Each occurence we Need to check the value of a particual field and send to corresponding Receiver.
For Ex:
ZE1KONH (1..Unbounded)
>MSFGN =004 --> Rec1
>> MSFGN==0009 Rec2
It could be like , 1 or more segm for Rec1 and 1 or more segm for Rec2
all are for Rec1 or All are for Rec2.
so in the tranformation we need to put all message of Rec1 in corresponding multiline container as well for Rec2. Then i need to send to correspongind Receiver.
So here i need to send all splited messages to appropriate receivers -
Passing value to multi value parameter from SSIS using Report server webservice
Hi
I am triggering SSRS report from SSIS(Script task). I am passing parameter values from SSIS package.
So far working fine. Now, I have a report which has 2 parameters. One is single value parameter and the other is multi value parameter.
No issue assigning value to single value parameter. But how can I pass multi value to multi value parameter?
My code as below
ReportExecutionService rs = new ReportExecutionService()
rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
rs.Url = _webserviceURL;
rs.LoadReport(_reportPath, null);
ParameterValue[] paramval = new ParameterValue[2];
paramval[0] = new ParameterValue();
paramval[0].Name = "CountryCode";
paramval[0].Value = _countryNames;
**paramval[1] = new ParameterValue();
paramval[1].Name = "BusinessCode";
paramval[1].Value = _businessCode;****
rs.SetExecutionParameters(paramval, "en-us");
I am not sure how to pass value to BusinessCode(Multi value parameter)Hi Rajkm,
In order to pass a multi-value parameter through the Reporting Services Web services, you need to define the same numbers of ParameterValue objects as the number of the values of the multi-value parameter being past into the report. The Name property
of these ParameterValue objects must be specified same to the parameter name.
I found a good FAQ article for this scenario:
How do I pass a multi-value parameter into a report with Reporting Services Web service API?:
http://blogs.msdn.com/b/sqlforum/archive/2010/12/21/faq-how-do-i-pass-a-multi-value-parameter-into-a-report-with-sql-server-reporting-services-ssrs-web-services-api.aspx
Hope this helps.
Elvis Long
TechNet Community Support -
Need help - ResourceBundle - formated string value (and multi-line string)
Hi
Can I put a value for key on many rows and formatted??
Ex.: Into a file properties can I put
key =
My
name
is
JTonic
When I try to get the value for key, I get "". Can I get "My name is JToniC" ???
Thx in advance.http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html#load(java.io.InputStream)
The logical line holding all the data for a key-element pair may be spread out across several adjacent natural lines by escaping the line terminator sequence with a backslash character, \. -
Setting default field values for multi-line text fields in lists?
For the multiple lines of text field in a list, I'm using SharePoint Designer 2013 to set a default
value for the field, but I need that default value to include rich text formatting (the default value includes a formatted table). Is this possible without having to delve into JavaScript? And if so, how?Yes, we can :)
You can do it with powershell
$web = get-spweb <yourweb>
$list = $web.lists["<yourList>"]
$field = $list.fields["<yourField>"]
$field.DefaultValue = "place your html code here"
$field.update()
hope that helps -
TS3276 Safari mail off-line and can't send mail?
I'm using Mountain Lion 10.8.2 on my MacBook Pro. While incoming Safari Mail seems to be working fine, more often than not, I can't send mail. On further investigation with Connection Doctor, I can connect to the Internet, but my SMTP outgoing pop A/C is offline, and I cannot send mail. Is there a solution to going online to correct this problem? Many thanks.
DenMan1Do you really mean Safari - the web browser? If so, you should contact your mail service for support. If you mean Mail - the program, (the little postage stamp icon in the Dock), have a look here:
Mail: Troubleshooting sending & receiving email messages
charlie -
Use Multiline Container Element in User Decision
Hi Gurus,
I have a Multiline Container in my User Decision Task. I am able to pull the data in a Standard Text to the Multi Line Container Element if type RSTXT-TXLINE. But how do I display the total data in all the lines in that element to the User Decision Workitem Text.
Thanx & regards,
KanYou cannot insert all the table entries in the Decision step workitem Text. it wont allow you to display, one of the possible ways to fix it is please check this [blog|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID1574174750DB11406479040085832269End?blog=/pub/wlg/15666]
-
How to pass values one by one from Multiline container in workflows
Hi,
I have used a structure in my workflow as multiline container.
I want to pass values 1 by 1 to the workflow but not all the three values..so how do i pass the values 1 by 1 rather all at a time..
kindly suggest me
Thanks,
ShankyHi,
Create a new container with type I and set the initial value as 1. EX : Index.
Pass your Multi-line container and this index container to a new method. Get the multi line container data's into an internal table
and read the data based on the index and append the data's to a new multiline container.
Second time increment the index container by 1. So now the value of index container will be 2.
Pass the multiline container value and index to method. now it will read the second record from the internal table.
Call the method using the loop step type.
Thanks,
Viji. -
Container element value late update in ECC6
Hi All,
I have a problem with container element "RECEIVED" which has incomplete value. I'm using function SAP_WAPI_READ_CONTAINER (simple container) in my custom object ZBUS2081 method priceapproval. When 2nd person want to approve the workitem, the container value of element name "RECEIVED" only has previous approval person instead of table that has 2 line values (previous person who has already approved and 2nd person who want to approve this workitem).
We have upgrade our SAP version from 4.7 into ECC6/ERP6, which in 4.7 version this container element returned table of 2 line values.
Since the container element value has late to update the value, then it did not recognise as a final approval at the end of workflow step and raise an error for agent determination. If there is any related SAP note, please let me know.
Thanks,
CharlieHello Charlie !
Your RECEIVED container stores approver details.
Please check the binding between method container to task container to workflow container.Imperfect binding could be a reason why approver details are not populated properly.It seems your container is multiline container.Make sure the method,task and workflow containers are multiline enabled.
Check at SWO1, whether the PRICEAPPROVAL method behaves as expected and if you are using rule for agent determination, you have to check the rule at PFAC as well as binding details.Also check at workflow log.
Hope you have delegated ZBUS2081.
Regards,
S.Suresh -
Mail not send to multiple users even Multiline container element has value
Hi,
I have collected the AGENTS to send mail notification in a multiline container element using a background step. The method collect the agent and return in to a container. I use this container in the following mail step using expression. The type id is 'G'. The mail step fails .The address string is filled also with agents.
Please guide me if u have come across this situation early.
Regards,
Richard AI think if you are passing SAP User Id then the SAP User Id should be concatenated with US in the front.
If this is maintained in the container element and if still send mail is failing then it might be that one of the USER Id does not exist in the system.
Hope this helps.
Thanks
Arghadip -
Workflows : Multiline Container Element problem.
Hi,
I got a new problem. Well I got a requirement to collect <b>COMMENTS</b> from <i>MULTI-LEVEL Supervisors</i> and display them in the <i>work item preview</i>. So in these regards, I had declared a Multiline Container element in my Workflow and passed it to some method to get the comments. Well I had succeeded till this point. But there is a problem when I tried to display them in WORKITEM.
Well, all the lines are getting displayed continously in the Work Item preview.
Is there any solution for this ?
Like I want to display the Multiline Container element line wise. Not as a concatenated single line which is happening right now.
In the Work Item Text part I used it as ...
Comments from Supervisor : &COMMENTS&
This is FYI...
Please help me.
Regards,
Raja Sekhar.Hi Vinod,
Well, I tried including the MULTI LINE Element in a Mail step. It gave me all the three options of printing.
First one is...
Only first line of Container element can be printed using
&COMMENT&
Second one is...
All the lines of Container element can be printed in a single line as &COMMENT[]&
Third one is...
All the lines of Container element can be printed in seperate lines as &COMMENT##&
I used the third one. It worked even the same in Work Item also.
Regards,
Raja Sekhar -
How to pass values at runtime in JDBC - XI - File scenario
Hi friends,
In my scenario, data is coming from R/3 and i need to filter records from oracle database based on this data. There are 4 database tables that need to be queried using 2 select statements. The resultset after the execution of query will be mapped to the target flat file structure.
here are my queries:
1) Can I avoid BPM as data needs to be collected from the two database calls which involves two sender JDBC adapter instances with only one target structure?
2) Can I use stored procedure in this scenario? If yes, than how to pass values to stored procedure at runtime via sender JDBC adapter.
Thanks and regards,
Nitin aggarwal.Hi Nitin,
"..So i want to know if i can write multiple select statements in the stored procedure.."
Read the below line that is mentioned in the SAP help documentation fro Sender JDBC adapter:-
<i>Specify an SQL EXECUTE statement to execute a stored procedure, which contains exactly one SELECT statement.</i>
I dont think it can be achieved...but there must be some workaround for this. You can probably use a join statement.
Read this, again from the documentation:-
<i>The expression must correspond to the SQL variant supported by the relevant JDBC driver. It can also contain table JOINs.</i>
Regards,
Sushumna
Maybe you are looking for
-
Send remittance advice by email to vendors
When automatic payment (F110) run is done to make payment to vendors,it generates a PAYEXT IDOC to be send to bank for payments. Print output program is RFFOEDI1 Remittance advice standard SAP script is F110_IN_AVIS. What are the ways to send email i
-
Oracle 9i R2 Installation on Linux -ORA-03113 error
I am in the process of installing Oracle 9i R2 trail version on Linux Server 2.2.4. The software did get installed but the DBCA did not create the sample database. The error I get is: ORA-03113:end-of-file on communication channel. I have also after
-
Billing document without number
Dears, we have a billing document which was created, but it does not have a number. It is related to a delivery. When we go in the document flow we can see there is an invoice, but it does not have a number and appears as blocked. We cannot display t
-
i tunred on my min mac today and it keeps telling me to power off i do this and it keeps telling me the same thing
-
Successfule DBAs in US Job Market
To be successful in US Job Market as DBA i thing 3 things are important 1-Technical skill 60% 2-Communication Skills 30% 3- Management 10% This is my thinking , Anybody want to add some more things in it ....