How to pass table contents to Workflow?
hi all,
my workflow accepts a table as input. when i execute the Workflow from SWUS i can enter the table contents.
Now how to pass these <b>table contents to workflow through Function module</b>
say the table has 3 columns and 5 rows.
regards.
Subba
very Helpful answer.
i referred to the below link.
<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/e4b130453d11d189430000e829fbbd/frameset.htm">http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/e4b130453d11d189430000e829fbbd/frameset.htm</a>
my workflow input container is a tableas below:
table: ZEMPLOYEE
Empid empname empaddress
<b>0001 john texas
0002 jay india
0003 hassan karachi</b>
so how to declare the container and pass these values to the container through function module. Also what is object type and object key, i have not defined any object type and object key. just a direct table contents to be imported into Workflow.
regards,
Subba
Similar Messages
-
How to pass the contents of an internal table to the IDoc FIDCC2?
Hi,
I have an internal table. Using its contents, I have to create an Idoc and do GL posting.
I have to use FIDCC2 Idoc and the function module IDOC_INPUT_FIDCC2.
Can u please let me know how to pass the contents of the internal table into the idoc FIDCC2 and do the GL posting?
Regards,
Balaji. RHi balaji,
use function IDOC_INBOUND_FROM_FILE. This will do half the process.
Documentation is missing, but program RSEINB00 explains something,
also some links
[http://help.sap.com/saphelp_nw70/helpdata/EN/dc/6b7f1543d711d1893e0000e8323c4f/frameset.htm]
[RSEINB00 does not work in background]
[RSEINB00 flat file to idoc uploading in XI]
[Loading flat idoc via report RSEINB00 into integration server fails]
Hope it helps.
Regards,
Clemens -
How to pass table data into below code for alv
hi
i want to pass table data into alvgrid
i dont know how to pass table data.
here instead of passing ABC into internal table
i want to pass table data .
please help me
ialv-test1 = 'ABC'.
form get_data.
ialv-test1 = 'ABC'.
ialv-test2 = 'DEF'.
append ialv.
ialv-test1 = 'GHI'.
ialv-test2 = 'JKL'.
append ialv.
ialv-test1 = '123'.
ialv-test2 = '456'.
append ialv.
endform
thanks in advanced.Have a look at below links. It gives you sample code of alv grid.
http://sap.niraj.tripod.com/id64.html
http://www.sap-img.com/abap/sample-programs-on-alv-grid.htm
Have a look at below links for SAP Help.
http://help.sap.com/saphelp_nw04/helpdata/en/8d/e994374c9cd355e10000009b38f8cf/content.htm
http://help.sap.com/saphelp_erp2004/helpdata/en/12/904f42d5f811d2b469006094192fe3/content.htm
Best Regards,
Vibha
*Please mark all the helpful answers -
How to pass table data to brf plus application through abap program
Dear All,
i have a question related to BRF Plus management through abap program.
In brf plus application end, Field1,field2,field3 these 3 are importing parameters.
Table1->structure1->field4,field5 this is the table,with in one structure is there and 2 fields.
in my abap program, i am getting values of fields let us take field1,field2,field3,field4,field5.
And my question is
1) How to pass fields to BRF Plus application from abap program.
2)How to pass Table data to BRF Plus application from abap program.
3)How to pass Structure data to BRF Plus application from abap program.
4)How to get the result data from BRF Plus application to my abap program.
And finally , how to run FDT_TEMPLATE_FUNCTION_PROCESS.
How do i get the code automatically when calling the function in brf plus application.
Regards
venkata.Hi Prabhu,
Since it is a Custom Fm i cant see it in my system.
Look if u want to bring data in internal table then there could be two ways::
1) your FM should contain itab in CHANGING option , so that u can have internal table of same type and pass through FM,
2) read values one by one and append to internal table.
Thanks
Rohit G -
How to Pass table-structure-fields data to BRF PLUS Application
Dear Eperts,
i have a question related to BRF Plus management through abap program.
In brf plus application end, Field1,field2,field3 these 3 are importing parameters.
Table1->structure1->field4,field5 this is the table,with in one structure is there and 2 fields.
in my abap program, i am getting values of fields let us take field1,field2,field3,field4,field5.
And my question is
1) How to pass fields to BRF Plus application from abap program.
2)How to pass Table data to BRF Plus application from abap program.
3)How to pass Structure data to BRF Plus application from abap program.
4)How to get the result data from BRF Plus application to my abap program.
And finally , how to run FDT_TEMPLATE_FUNCTION_PROCESS.
How do i get the code automatically when calling the function in brf plus application.
Regards
venkata.Hi Venkat,
As said by Jocelyn Dart, you need to go through BRF+ tutorials.
-->You can see a on of the tutorial from the below link
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/50879cee-f9b5-2e10-039e-b2d6c4b10e6b -
How to change table content ...
Hi All,
Pl. give us soltution for the following :
1. How to change table content of standard table ?
(eg. mara content not from MM02.).
2. How to add field in standard table ?
waiting reply.
YusufHi Yusuf,
Modifying a standard table through a program using SQL statements is highly risky. However if u wish to do it programatically and not through MM02, you have the option of using BAPIs.
Goto transaction BAPI and through the application hirarchy, goto Material Management section. There i am sure u will find some BAPIs to modify material master and they are the most stable mode of update programatically.
Hope this helps.
Regards,
Aditya -
How to delete table content for particular filed in a table?
Hi Experts,
How to delete table content for particular field in table?
Thanks
RavillaIs it a standard or customer table, changing a standard table with non-standard tool can raise database inconsistencies...
Then use search tool for &SAP_EDIT (*) or look for BAPI/BDC...
Regards,
Raymond
(*) Also look for notes from 1420281 - CO-OM tools: SE16N: Deactivating &SAP_EDIT to 1915828 - CO-OM-Tools: Technical enhancement of SE16N -
How to pass tables in Guided Procedures from VC
Hi experts!
I'am working in a workflow scenario, more precisely an approve-reject workflow scenario.
I've defined all the start and the end points belonging to the respective iviews (I mean the sender and the approver iviews), following the [Modeling Visual Composer iViews for Guided Procedures|http://help.sap.com/saphelp_nw70/helpdata/en/44/429bbd709914bce10000000a155369/frameset.htm]
and everything works ok if I pass input fields, data fields, or boolean fields.
But I need to pass tables (In fact, I need to pass MORE THAN ONE table).... Is that possible?
How do I make it?
Any help will be apprecieated and point-rewarded.
Thanks in advance
Best Regards,
Marcelo
P.S. I'm working on EP7 VC SP15Hi,
If you'll create 2 iViews:
1. Table connected to end point (all the fields are mapped and table selection mode is multiple)
2. Table connected to start point with same fields.
and create GP process for it, you'll find that selecting all the fields and passing them will result with all the selected fields appear in the 2nd iView.
But, i don't know if you can pass the entire table automatically (without the user selecting all the records).
Hope I helped,
Shay -
How to export table contents in xml file format through SQL queries
hi,
i need to export the table data in to xml file format. i got it through the GUI what they given.
i'm using Oracle 10g XE.
but i need to send the table name from Java programs. so, how to call the export commands from programming languages through. is there any sql commands to export the table contents in xml format.
and one more problem is i created each transaction in two tables. for example if we have a transaction 'sales' , that will be saved in db as
sales1 table and sales2 table. here i maintained and ID field in sales1 as PK. and id as FK in sales2.
i get the combined data with this query,
select * from sales1 s1, sales2 s2 where s1.id=s2.id order by s1.id;
it given all the records, but i'm getting two ID fields (one from each table). how to avoid this. here i dont know how many fields will be there in each table. that will be known at runtime only.
the static information is sales1 have one ID field with PK and sales2 will have one ID filed with FK.
i need ur valuable suggestions.
regards
pavan.You can use DBMS_XMLGEN.getXML('your Query') for generating data in tables to XML format and you can use DBMS_XMLGEN.SETROWSETTAG to change the parent element name other wise it will give rowset as well as DBMS_XMLGEN.SETROWTAG for row name.
Check this otherwise XMLELEMENT and XMLFOREST function are also there to convert data in XML format. -
How to pass table type variable into function from SQL*PLUS ?
How to pass a table type variable from sql*plus prompt into a function ?
Thanx in advance.Krishna,
Do you mean like this?SQL> DECLARE
2 TYPE t_tbl IS TABLE OF VARCHAR2(20);
3 l_sample_tbl t_tbl;
4
5 FUNCTION print_contents ( p_tbl IN t_tbl )
6 RETURN VARCHAR2
7 IS
8 l_string VARCHAR2(1000);
9 BEGIN
10 FOR i IN 1..p_tbl.COUNT LOOP
11 IF (i = 1) THEN
12 l_string := p_tbl(i);
13 ELSE
14 l_string := l_string || ', ' || p_tbl(i);
15 END IF;
16 END LOOP;
17 RETURN (l_string);
18 END print_contents;
19
20 BEGIN
21 l_sample_tbl := t_tbl();
22 l_sample_tbl.EXTEND;
23 l_sample_tbl(1) := 'one';
24 l_sample_tbl.EXTEND;
25 l_sample_tbl(2) := 'two';
26 l_sample_tbl.EXTEND;
27 l_sample_tbl(3) := 'three';
28 l_sample_tbl.EXTEND;
29 l_sample_tbl(4) := 'four';
30 l_sample_tbl.EXTEND;
31 l_sample_tbl(5) := 'five';
32 DBMS_OUTPUT.PUT_LINE(print_contents(l_sample_tbl));
33 END;
34 /
one, two, three, four, five
PL/SQL procedure successfully completed.
SQL> HTH,
T. -
How to print table contents?
hi @,
I am having a view which is dsiplaying data fetched from the R/3 through Adaptive RFC in a table. This table need to have a print functionality to print on the client.
How to do this I am not having any function / UI to do this.
Any help.
RegardsHi,
Try This:
When the user click on Print button, launch a new window as below:
public void onActionPrint(com.sap.xyz.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionPrint(ServerEvent)
StringBuffer strB = new StringBuffer("/webdynpro/dispatcher/xyz.com/(component name space) ab~xyz~testprint/(application name)PrintTestApp");
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(strB.toString(), "Print");
window.show();
//@@end
The above code helps to launch a new window with your Web Dynpro application. The application is sepecific to print functionality.
ThePrintTest App should have the content with format what exactly you would like to print. (Users use the browser standard print functionality to print the table content).
This is a kind of work around and as of NW 7.0 there is no standard print functionality available in Web Dynpro.
Thanks
Krishna -
How to pass table data to RFC?
I have scenario below:
Z_RFC_SalesOrderEntry_Input
|-----> I_T_Area
|--> PNo
|---> Quantity
|-----> E_T_Area
|-----> Output
How to set Table parameter Pno and Qiantity to I_T Area of RFC in web dynpro through coding.....Hi Pradeep,
Try This.
try
Z_RFC_SalesOrderEntry_Input z_RFC_SalesOrderEntry_Input = new Z_RFC_SalesOrderEntry_Input();
int size = wdContext.nodeText().size();
for (int i = 0; i < size;i++)
Z<Put the structure name for I_T_Area> itArea= new <Put the structure name for I_T_Area>();
itArea.setPNo(wdContext.nodeText().getTextElementAt(i).getPNo());
itArea.setQuantity(wdContext.nodeText().getTextElementAt(i).getQuantity);
z_RFC_SalesOrderEntry_Input.addI_TArea(itArea);
wdContext.nodeZ_RFC_SalesOrderEntry_Input().bind(z_RFC_SalesOrderEntry_Input);
wdContext.currentZ_RFC_SalesOrderEntry_InputElement().modelObject().execute();
wdContext.nodeOutput().invalidate();
catch(Exception e)
Assuming Text value node is bound to your View. Put the model class name properly.
How to pass multiple selected values of a table to RFC
Regards,
Mithu -
How to Pass BAPIPWD from Export workflow in Web Services Connector MA
Hello,
I need to export users from FIM to SAP using web services connector. I have created Export Work flow and added the values like user name , first name, last name and etc. I couldnt set the value for password because the data type is BAPIPWD. Could you please
tell me how to create a user in SAP from FIM using Export Workflow and how to pass the password parameter.
Thanks,
NallasivanHi you can add parameters to your FPM application and launch the aplication from POWL action.
Insder FPM, using FPM parameters you can access these varaibles inside your local webdynpro component.
Regards
Ravi -
How to pass Tables through program line.
Hi All,
I have requirment in smart forms.
I need to execute smartforms in form itself. means no chance to run with driver program.
So i created program line which where write our logic for internal table. My question is how to pass created internal table from program line. i need to display the internal table data using loop.
Thanks,
SubbuHi,
Try this :
code
REPORT report2.
DATA: text TYPE c LENGTH 10,
rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab,
range_tab LIKE RANGE OF text,
range_line LIKE LINE OF range_tab.
rspar_line-selname = 'SELCRIT1'.
rspar_line-kind = 'S'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = 'ABAP'.
APPEND rspar_line TO rspar_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'H'.
APPEND range_line TO range_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'K'.
APPEND range_line TO range_tab.
SUBMIT report1 USING SELECTION-SCREEN '1100'
WITH SELECTION-TABLE rspar_tab
WITH selcrit2 BETWEEN 'H' AND 'K'
WITH selcrit2 IN range_tab
AND RETURN.
[/code]
Reward points if found helpful.....
Cheers,
Chandra Sekhar. -
How to protect table content?
Hello
how could I protect the content of a JTable from changing by the user? Recommended is that I could click the serperated rows. This I've just implemented by using rowlistener. But how do I protect now the table content?
thank youJTable ask its model ----
public boolean isCellEditable(int rowIndex, int columnIndex){
return false;
Maybe you are looking for
-
Looking for a vertical holster that will fit an iphone with a silicone case on it
As above..I had ordered a vertical leather holster ahead of time. It's nice but it won't fit the iphone with the case on it. I had to use the case as I get dropped calls without it..Any suggestions appreciated..thx
-
Compare BEFORE and AFTER image in replicat
Do any of You experts know how to make the following code smaller? ...,p_kolonner=@STRCAT("ID='",@IF(@COLTEST(BEFORE.ID,PRESENT),BEFORE.ID,""),"'>'",@IF(@COLTEST(ID,PRESENT),ID,""),"'¤", "OBSOLETED_ON='",@IF(@COLTEST(BEFORE.OBSOLETED_ON,PRESENT),BEFO
-
Hi PM Experts, I have one Object PM_QMEL (Archive notification).I created a new notification(status NOCO)now i have to archive that notification so i use following steps, < tcode SARA> <Shedule preprocessing> <maintain varient for it> <Define start
-
Couple of questions: 1) Are there any useful oracle documents around recommended separation of duties in payables, ledger and receivables modules of EBS? 2) As I am from IT not financial background, can you give some basic examples of SOD conflicts a
-
Wireless Troubleshooting Questions
We have a Cisco 4400 WLC with about 70 Cisco AIR-1131AG-A-K9 access points. The controller runs and the access points run 4.1.171.0 code. We work in a hospital enviroment and nurses from one of our floors (3N) are complaining about poor/low signal