How to send two decision
I receive a request: From a customized table get many approver, For example , I get three approver from this cusomiezed table. When the workflow has been triggered, then workflow trigggerd three descion. The three approver received this workflow in own inbox.
My question is that only one agent in one desction? Three agents that be dynamic get from a customized table are been assign in one desction ?
What is the exact requirement? Do all the approvers have to execute the task (if so use the logic suggested by Arghadip) or does only one of them have to execute the task (assign one task to all three and it will disappear from the inbox of the others when one executes the task)?
Regards,
Martin
Similar Messages
-
How to send two request in the same connection with HttpURLConnection?
As the title, I want to send two or more requests in the same connection with HttpsURLConnection..I wish all requests are in the same session.
My code is as following:
package test1;
//import javax.net.ssl.*;
import java.net.*;
import java.io.*;
public class httptest {
public httptest() {
public void test() {
HttpURLConnection uc = null;
String urlStr="";
urlStr="http://172.16.245.151/test/page1.jsp";
try {
URL u = new URL(urlStr);
uc = (HttpURLConnection) u.openConnection();
uc.setRequestMethod("GET");
uc.setDoOutput(true);
// uc.connect();
OutputStream out = uc.getOutputStream();
out.flush();
out.close();
catch (Exception ex) {
System.out.println(ex.getMessage());
public static void main(String[] args) {
httptest tt = new httptest();
tt.test();
The sample class just can send a request..Now we think of the sentence :uc = (HttpURLConnection) u.openConnection();
Obviousely, a HttpURLConnection can just have a Object of the Class URL, and the Class URL have no setURL mothed. So I can't use a HttpURLConnection to send two request.
I just want the HttpURLConnect is the same to IE...Do you understand what I mean?
Any helps will be appreciated...As the title, I want to send two or more requests in the same connection with HttpsURLConnection..I wish all requests are in the same session.
My code is as following:
package test1;
//import javax.net.ssl.*;
import java.net.*;
import java.io.*;
public class httptest {
public httptest() {
public void test() {
HttpURLConnection uc = null;
String urlStr="";
urlStr="http://172.16.245.151/test/page1.jsp";
try {
URL u = new URL(urlStr);
uc = (HttpURLConnection) u.openConnection();
uc.setRequestMethod("GET");
uc.setDoOutput(true);
// uc.connect();
OutputStream out = uc.getOutputStream();
out.flush();
out.close();
catch (Exception ex) {
System.out.println(ex.getMessage());
public static void main(String[] args) {
httptest tt = new httptest();
tt.test();
The sample class just can send a request..Now we think of the sentence :uc = (HttpURLConnection) u.openConnection();
Obviousely, a HttpURLConnection can just have a Object of the Class URL, and the Class URL have no setURL mothed. So I can't use a HttpURLConnection to send two request.
I just want the HttpURLConnect is the same to IE...Do you understand what I mean?
Any helps will be appreciated... -
How to send two seperate queries from OBI and combine the results
Hello all,
I am trying to understand how to combine results of two queries in OBI. Here is the scenario.
There are three tables, User, Security Roles joined though a Bridge Table Role_User
Each user has multiple roles, The roles to which a user has access is identified by a flag column with value T or else it will have value F.
I am trying to create an analysis as below
User Id
Roles with Access
Roles without Access
So column 2 will show all the roles with flag T for particular user and column 2 will show all the roles with flag F for same user.
I tried creating two Fact tables and using Filter condition on the flag value, but in analysis I could only use one at a time. When I add both the columns , I get error as None of the fact table are compatible with the query request. I do have hierarchies created for the dimensions and assigned them in the content level for all dims and facts.
Any hint will be highly appreciated.
ThanksGot the solution. I am posting it here in case anyone face similar issue.
I added this SQL code in the advanced tab:
Select A.saw_0 saw_0, A.saw_1 saw_1, B.saw_1 saw_2
FROM( Select Col1 saw_0,Col2 saw_1 FROM Table1) A LEFT OUTER JOIN
(Select Col1 saw_0,Col2 saw_1 FROM Table2) B
on A.saw_0=B.saw_0
I created to Logical Facts using same source with two different filter conditions and used them with sub-query as above
Ref: OBIEE Interviews: Reports -
How to send two or more XML request messages to call ALSB from ALBPM
Hi All,
I have a scenario where two or more XML messages needs to be sent to the ALSB component from the ALBPM part.
How can this be achieved using PBL coding.Please help me on this.
Thanks,
Prakash.Hi,
Based on my test, I agree with Mr. KR, we could not open two or more xml files with the same name located in different folders with Excel 2013 at the same time, because XML is not the default format of Excel.
Would you like to tell us the reason about this behavior, we might try the other methods to get your goal.
If you have any update, please feel free let us know.
Regards,
George Zhao
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click "[email protected]" -
How to send two commands within one URL call
Hey gurus,
I was wondering if it is possible to concatenate two commands in one url call:
SAPBWOpenURL(SAP_BW_URL_Get() &DATA_PROVIDER=DATAPROVIDER_1
&CMD=EXCHANGE
&IOBJNM_2=GROUP1
&IOBJNM_1=GROUP2
&FILTER_SIGN_1=E
&FILTER_VALUE_1=
&CMD=REMOVE_FILTER
&IOBJNM=GROUPX);
The URL should exchange 2 infoobjects and remove the filter of one specified.
Can anyone help me out?
Thanks,
AndreasThank you Chandran - you saved my day
Will dedicate this day to you
Cheers,
Andreas -
How to send two different IDocs to SAP without BPM
Hi Experts,
I am working on jms to IDoc scneario,my requirement is to convert one JMS messge in to 2 IDocs(DELVRY,MATMAS) to ECC , i searched in SDN to achieve this requirement without BPM, i found one blog,but its saying its not possible to use multi mapping scenarios with out BPM in IDoc
what is the best approch to achieve my requirement without BPM.
Regards,
Jamesis it true that multi mapping not going to support IDoc scenarios??
Yes it is true that IDOC does not support multi-mapping....this can be proved if you look into the help section which shows the list of adapters supporting multimapping....IDOC is missing from that list....do not get confused between Idoc Multimapping and IDOC Bundling.....IDOC bundling means bundling IDOCs of same type...however you are looking for IDOCs of different types.
Regards,
Abhishek. -
How to send report output to two detinations at a time from command line?
Hi ,
how to send my report to two detinations at a time from command line i.e FILE and Mail ?
i created batchfile in that i mentioned one line for file(DESTYPE=FILE) perpose and another line for mail perpose(DESTYPE=Mail).i don't want to mention to lines.
i want to send my report out put two destinations at a time insted of running two times.
thx in advance.....
raghuhello,
did you try to use distribution for that ? check out the reports distribution facilities available in 6i.
regards,
the oracle reports team -
How Write a Program to send TWO attachments in the same mail.
Hello,
How to write a ABAP program so that when u run this program it shd send two 0r more files as an attachment.
Presently i know how to send a single attachment but not the multiple attachment.
i.e. by using "send_api" function module .
please reply ASAP i need this urgently.this is simpple FM which can can send any type of Attachment.
FUNCTION zsend_mail_attachment.
*"*"Local interface:
*" IMPORTING
*" REFERENCE(V_FILE_PATH) TYPE STRING OPTIONAL
*" REFERENCE(V_SUBJECT) TYPE SO_OBJ_DES
*" TABLES
*" IT_RECEIVERS STRUCTURE SOMLRECI1
*" IT_MESSAGE STRUCTURE SOLISTI1
DATA: gd_cnt TYPE i,
gd_sent_all(1) TYPE c,
gd_doc_data LIKE sodocchgi1,
gd_error TYPE sy-subrc.
DATA objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA : it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.
* Binary store for File
DATA : BEGIN OF it_file OCCURS 0,
row(255),
END OF it_file.
* splitting of the filepath
DATA : BEGIN OF i_split OCCURS 0,
row(50),
END OF i_split.
DATA tab_lines LIKE sy-tabix.
REFRESH : it_file, objbin, it_packing_list, i_split.
CLEAR : it_file, objbin, it_packing_list, i_split.
DESCRIBE TABLE it_message LINES tab_lines.
READ TABLE it_message INDEX tab_lines.
gd_doc_data-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( it_message ).
gd_doc_data-obj_langu = sy-langu.
gd_doc_data-obj_name = 'SENDFILE'.
gd_doc_data-obj_descr = v_subject.
gd_doc_data-sensitivty = 'O'.
CLEAR it_packing_list.
it_packing_list-head_start = 1.
it_packing_list-head_num = 0.
it_packing_list-body_start = 1.
it_packing_list-doc_type = 'RAW'.
it_packing_list-body_num = tab_lines.
APPEND it_packing_list.
IF v_file_path IS NOT INITIAL.
DATA : v_len TYPE i,
v_index LIKE sy-index,
v_doc_type TYPE so_obj_tp,
v_filename TYPE so_obj_des .
v_len = STRLEN( v_file_path ) - 3.
v_doc_type = v_file_path+v_len(3) .
TRANSLATE v_doc_type TO UPPER CASE .
SPLIT v_file_path AT '' INTO TABLE i_split .
DESCRIBE TABLE i_split LINES v_index .
READ TABLE i_split INDEX v_index .
v_filename = i_split-row .
v_len = STRLEN( v_filename ) - 4.
v_filename = v_filename(v_len) .
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = v_file_path
filetype = 'BIN'
TABLES
data_tab = it_file.
LOOP AT it_file.
MOVE it_file-row TO objbin-line.
APPEND objbin.
ENDLOOP.
CLEAR it_packing_list.
DESCRIBE TABLE objbin LINES tab_lines.
it_packing_list-transf_bin = 'X'.
it_packing_list-head_start = 1.
it_packing_list-head_num = 1.
it_packing_list-body_start = 1.
it_packing_list-doc_type = v_doc_type.
it_packing_list-body_num = tab_lines.
it_packing_list-doc_size = tab_lines * 255.
it_packing_list-obj_descr = v_filename.
APPEND it_packing_list.
ENDIF.
* it_receivers-receiver = '[email protected]'.
* it_receivers-rec_type = 'U'.
* it_receivers-com_type = 'INT'.
* APPEND it_receivers .
* Call the FM to post the message to SAPMAIL
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = gd_doc_data
put_in_outbox = 'X'
commit_work = 'X'
* IMPORTING
* sent_to_all = gd_sent_all
TABLES
packing_list = it_packing_list
contents_txt = it_message
contents_bin = objbin
receivers = it_receivers
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.
ENDFUNCTION.
i have made it for only one attchmenet, for multiple attachmenet u can make more parameters <b>v_file_path_1, v_file_path_2, v_file_path_3</b> like wise do the coding as i have done for <b>v_file_path</b>
hope this will solves ur query.....
abhishek -
How to send the two PDF attachments into one mail
Hi Team,
I need one requirement...I have two forms ,one is cover sheet and another one is form data. These two forms are converted into two PDF documents and sent to vendor as mail attachments...
Please suggest me, how to send the two attachments through one mail .....
Thanks & Regards,
Samantula.Please SEARCH in SCN before posting. There are lots of threads related to send mail with multiple attachments.
-
My MS outlook on the PC is sending two invites in the icloud calandar. How can I stop this? I ony want the email send with my email address not the apple email.
My phone is the 4. Not the 4s. And I went there but it's nowhere the option to delete from server.
I only see: ask before deleting and it's on. -
Hi, this is probably a simple question, but I have never used the digital and timing part of any DAQboard before... I wish to use an old Power Macintosh 7200 with a DAQCard 1200 for timing and synchronizing external events . The scenario is as follows; an external device (in my case; a CCD camera) sends a trigger signal (TTL, 600 ns). I want this signal to trigger the DAQCard, whereafter I want the DAQCard to send two TTL pulses (20 microsecond duration) from two separate channels (one pulse from each channel). The first pulse must be sent within a few milliseconds after the trigger is recieved. Th
en I wish to be able to control the delay from the first pulse is sent and to the second pulse. This delay should preferably be adjustable from a few microseconds and up to at least 20 milliseconds. How can I achieve that kind of operation? (I need a few tips to get started.. like for instance: should I connect the external trigger signal to the EXTTRIG pin or to the gate pin of one of the counters? Do I have to interconnect the counters in some way? Do I have to invert the OUT signals? etc..)Thanks for your help in advance.
regards,
MichalI have not personally used the DAQCard 1200, but if it is similar to the E-series devices, you route the trigger signal to the gates of both counters.
In your code, use the Data Acquisition->Counter->Generate Delayed Pulse VI twice, once for each counter. You can then set an input on that VI to select to trigger on the gate, and set the delay and pulse width of the pulse. Since both will start from the same trigger, you can delay either pulse as long as you wish, from microsecond to seconds, making the second pulse follow the first.
Mark -
How to attach two files in the send mail action
Hi experts
I want to attach two files in the send mail action . I tried using ; as a separator but it did not work .
Regards,
Antonio R . RubalcabaThanks Jeremy,
Yes I am contemplating the another threat . I still want to send two files because the two files have very distinct type of information . The first one is operational and the second one is about statistics . Of course that I can send both type of inforrmation in only one file . I just want to save time to the end user and let him select what infomation he wants to see .
Thanks and my best wishes for you and your family ,
Antonio -
How to send timer job email to "assigned to" feild value in a task list?
Hi All,
How to send timer job email to "assigned to" field value in a task list if due date is after two days from now?Create a SharePoint Designer Workflow and use "pause until date" option when an new item is created/update.
Using Server Object model, I believe you can create the timer job from item event receiver.
--Cheers -
How to send background program output to a printer
Hi !
I created a background report,running via a job in background. I need to display the output of the background report via two channels : a printer and an e
mail. I created the output of the report by using the command Write, and the output is printed to screen. However this solution is good for an online report and not for background report ? and my question is how to send the background report output to a printer in background .
Thanks
MosheHi,
If you are using JOB_OPEN, JOB_SUBMIT & JOB_CLOSE to execute the program in background, then in the FM JOB_SUBMIT you have a parameter PRIPARAMS for which you need to pass a value.
Before that get all the Print Parameters using FM GET_PRINT_PARAMETERS. Then pass the same to PRIPARAMS.
This would solve the problem.
Best regards,
Prashant -
FEBA - How to post two or more transactions at the same time?
Hi,
one of our banks sends the statemets with many lines that belongs to the same transaction. We have to post partially one line, and afterwards the other line. Any of you know how to post two lines at the same time from the bank statement?
Thank you in advance,
MiguelHi,
I'm sorry for replying so late.
The solution I reached was to change the a few things in the standard.
Now I have a new "context menu item". I select two or more transactions and I right-click the mouse. I select that "context menu item" and the next part of the code adds the total amount of the transactions to look for the correct post for the first transaction. Once posted automatically, the next transaction is posted automatically by the system.
I hope you understand my English. I've problem with technical FI terms.
Here you are the code:
First I added a new contextual menu item:
CL_FEBAN_ALV_GRID=============CCIMP
call method e_object->add_function
EXPORTING
fcode = 'BS_POST_ITEMS'
text = text-002.
*{ INSERT DHTK904078 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
call method e_object->add_function
EXPORTING
fcode = 'ZBS_POST_ITEMS'
text = text-Z02.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
call method e_object->add_function
EXPORTING
fcode = 'BS_KILL_ADVICE'
text = text-004.
CL_FEBAN_ALV_GRID=============CCIMP
when 'BS_POST_ITEMS'.
call method cl_feban_propagator=>raise_event
EXPORTING
i_event = 'POST_ITEMS'
i_ref_to_item = l_ref_to_item.
*{ INSERT DHTK904078 2
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
when 'ZBS_POST_ITEMS'.
call method cl_feban_propagator=>raise_event
EXPORTING
i_event = 'ZPOST_ITEMS'
i_ref_to_item = l_ref_to_item.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
when 'BS_LOCK_ITEMS'.
call method cl_feban_propagator=>raise_event
EXPORTING
i_event = 'LOCK_ITEMS'
i_ref_to_item = l_ref_to_item.
CL_FEBAN_PROPAGATOR===========CM001
when 'POST_ITEMS'.
raise event post_items
exporting i_ref_to_item = i_ref_to_item.
*{ INSERT DHTK904078 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
when 'ZPOST_ITEMS'.
data: zvalor(1) value '' .
export zvalor from 'X' to memory ID 'ZFEBA01'.
raise event post_items
exporting i_ref_to_item = i_ref_to_item.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
when 'LOCK_ITEMS'.
raise event lock_items
exporting i_ref_to_item = i_ref_to_item.
Now, I proceed to calculate the total amount of the selected transactions to look for the correct one to post.
LNEW_FEBAF01
* user parameter
l_feban_position type c.
field-symbols: <items> type item_tab_type.
*{ INSERT DHTK904077 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
data: zvalor(1) value '',
zkwbtr type kwbtr,
kwb type kwbtr.
import zvalor to zvalor from memory ID 'ZFEBA01'.
if ( zvalor is not initial ).
if not i_ref_to_item is initial.
assign i_ref_to_item->* to <items>.
loop at <items> into h_item.
select single kwbtr
into kwb
from febep
where kukey = h_item-kukey and
esnum = h_item-esnum.
zkwbtr = zkwbtr + kwb.
endloop.
endif.
export zkwbtr from zkwbtr to memory ID 'ZKWBTR'.
endif.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
refresh g_picked_items.
if not i_ref_to_item is initial.
assign i_ref_to_item->* to <items>.
loop at <items> into h_item.
move-corresponding h_item to h_picked_items.
append h_picked_items to g_picked_items.
endloop.
endif.
submit rfebbu00 and return
user sy-uname
with anwnd = r_doc->*-anwnd
with s_kukey in s_kukey
with s_esnum in s_esnum
with buber = g_posting_area
with mregel = '1'
with function = 'C'
with mode = g_mode
with p_bupro = g_bupro.
*{ INSERT DHTK904077 2
*--> Miguel Estu00E9vez - 17/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
if ( zkwbtr is not initial ).
select single kwbtr
into kwb
from febep
where kukey = h_kukey-low and
esnum = h_esnum-low.
zkwbtr = zkwbtr - kwb.
export zkwbtr from zkwbtr to memory ID 'ZKWBTR'.
endif.
*<-- Miguel Estu00E9vez - 17/06/2008
*} INSERT
refresh s_kukey.
refresh s_esnum.
clear h_kukey.
clear h_esnum.
endloop. "loop over all picked items
call function 'CUSTOMIZED_MESSAGE'
EXPORTING
i_arbgb = 'NEW_FEBA'
i_dtype = '-'
i_msgnr = '110'.
RFEBBU00
* original transaction currency provided and posting area = 2.
ftclear-selvon = febep-fwbtr. "INSERT - mpEURO
ENDIF. "INSERT - mpEURO
CONDENSE ftclear-selvon NO-GAPS.
*{ INSERT DHTK903977 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
data: zkwbtr type kwbtr.
import zkwbtr to zkwbtr from memory ID 'ZKWBTR'.
if ( zkwbtr is not initial ).
ftclear-selvon = zkwbtr.
clear zkwbtr.
endif.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
APPEND ftclear.
** Begin of comment C5053248
* perform druck_buzei_ftclear using ftclear-agkon.
Maybe you are looking for
-
I texted my daughter with using some new flesh colored emoji's and she not only got my new "clapping hands" but a tiny alien face also appeared. Has anyone reported this bug to Apple. I don't know how to do it
-
How to set workflow fall into error.
Dear Expert, I have a background step to generate and send out email. My problem is sometimes the email address will be blank. How can i do to set the workflow to error when it encounter this situation. I want to have this because when the workflow g
-
Select OM aspect by default ?
Hello Experts, This may be a silly question but i never managed to find an answer for it. In PPOSE or PPOME, there is an option in menu 'Settings' to select an aspect, which in effect reduces the list of object types and infotypes for each of them to
-
Leopard Preview Photos not sharp at screen size
I notice that when you double click a photo in Leopard, the image in Preview is not always sharp. If you expand the image to 100%, then it is sharp. It was never like this in Tiger. The image is not being re-sampled correctly to fit the screen. If yo
-
DVD rip 2 audio channels if i stream from itunes
I ripped my DVD in mp4 5 audio channals, i see them if i open with quicktime i copy this file into itunes library on imac and stream it to my Apple TV 3, but i get 2 audio channals output i'm sure of that because my HIFI display audio channals of inp