How to pass table in RFC and use that table to populate fields in Mapping?
Hi,
I have a requirement FIle to CSV, the file consists of thousand lines...
What I did first is to put RFC look up per line. It is taking too long to process the message.
One work around that I could think of is to pass all the values to a table then pass the table to RFC then RFC returns another table, so only one RFC call is required.
How am I going to use the table returned by the RFC? Please advise how to achieve this scenario.
Hi,
I use an ABAP RFC function, which has a parameter that contains many rows.
In ABAP, I create a two types. First is a ROW - contains some fields, for example, param1, param2, etc.
Second is a TABLE - contains multiple count of ROW.
Then I create a Remotecallable Function that has this TABLE-type as parameter (you can make this parameter as INPUT and OUTPUT). So in my mapping program after import RFC Function, I see a message looks like this:
MY_TABLE_PARAM (Occurences: 1)
item (Occureces: 0..unbounded)
param1 (Occureces: 1)
param2 (Occureces: 1)
etc (Occureces: 1)
Regards.
Similar Messages
-
hello !
i have no idea how to build a lookup table(as v use in microcontroller) in labview and use that in vi.pls help me
txs
nitin
Solved!
Go to Solution.If the lookup table is always going to remain the same (e.g. a character generator or something similar) you can place the values in a 2D array constant on your diagram, with the input value as one column, the equivalent as the other. When you need to perform the lookup you use an index array to return all the values in the "input column", search it using "search 1D array" and use the resulting index number to index the other column's data. If the values may change, then it would probably be best to load an array control with your equivalent values from a file.
P.M.
Putnam
Certified LabVIEW Developer
Senior Test Engineer
Currently using LV 6.1-LabVIEW 2012, RT8.5
LabVIEW Champion -
How to create a stored procedure and use it in Crystal reports
Hi All,
Can anyone explain me how to create a stored procedure and use that stored procedure in Crystal reports. As I have few doubts in this process, It would be great if you can explain me with a small stored proc example.
Thanks in advance.If you are using MSSQL SERVER then try creating a stored procedure like this
create proc Name
select * from Table
by executing this in sql query analyzer will create a stored procedure that returns all the data from Table
here is the syntax to create SP
Syntax
CREATE PROC [ EDURE ] procedure_name [ ; number ]
[ { @parameter data_type }
[ VARYING ] [ = default ] [ OUTPUT ]
] [ ,...n ]
[ WITH
{ RECOMPILE | ENCRYPTION | RECOMPILE , ENCRYPTION } ]
[ FOR REPLICATION ]
AS sql_statement [ ...n ]
Now Create new report and create new connection to your database and select stored procedure and add it to the report that shows all the columns and you can place the required fields in the report and refresh the report.
Regards,
Raghavendra
Edited by: Raghavendra Gadhamsetty on Jun 11, 2009 1:45 AM -
How to process each records in the derived table which i created using cte table using sql server
I want to process each row from the CTE table I created, how can I traverse from first row to second row and so on....
how to process each records in the derived table which i created using cte table using sql serverIdeally you would be doing a set based processing rather than traversing row by row as thats more efficient. To answer it specific to your scenario we may need more info. Can you explain with some sample data your exact requirement?
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
How to pass Cascading Parameter in SSRS using Java
How to pass Cascading Parameter in SSRS using Java---
We are having a problem with dependent parameters.There are three drop down--
1.first dropdown is of Country.When we select a country--Accordingly next dropdown(State)will populate
2.Second dropdown is of State. When we select a state--Accordingly next dropdown(City)will populate.
I have three data sources are
CountryList-
SELECT CountryRegionCode, Name
FROM Person.CountryRegion
ORDER BY Name
StateList
SELECT StateProvinceID, StateProvinceCode, CountryRegionCode
FROM Person.StateProvince
WHERE CountryRegionCode = @CountryRegionCode
ORDER BY StateProvinceCode
CityList
SELECT StateProvinceID, City
FROM Person.Address
GROUP BY StateProvinceID, City
HAVING (StateProvinceID = @StateProvinceID)
ORDER BY City
Ihave to show report that has been deployed on server on the besis of these parameters
I am using ReportViewer in JSP Page through url--
http://192.168.90.149/ReportServer/Pages/ReportViewer.aspx?%2fReport+Project1%2fCascading_Parameters&rs:Command=Render&rs:parameter=true&Country="+Country+"&State="+State;
But it is not accepting parameter if they are cascaded.It is working fine if Both parameters are independent.
Edited by: kaushlee on May 11, 2010 9:22 PMTake a look at set_custom_property:
public static final ID SETTEXT = ID.registerProperty("SETTEXT");
public boolean setProperty(ID pid, Object value)
if (pid == SETTEXT)
String text = value.toString();
and in forms
set_custom_property('beans.bean_item', 1, 'SETTEXT', 'some text');
cheers -
How to Pass Click Value to DB using Java
How to Pass Click Value to DB using Java and display tat
clicked value row data in flex
i have created connection with Sql Server using java and drew
pie chart from values fetched from XML file created by Java
wat i need is when i click pie chart region (widget) i should
display a alert by giving value of particular widget name and Value
from Database and display in Flex AlertUse AddResource to add Javascript in your BackingBean Code and pass the value to your javascript code.
JSCookMenu and other dynamic adding of javascript to a JSF-JSP page is done using AddResource.... -
How to write data to text file using external tables
can anybody tell how to write data to text file using external tables concept?
Hi,
Using external table u can load the data in your local table in database,
then using your local db table and UTL_FILE pacakge u can wrrite data to text file
external table
~~~~~~~~~~~
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7002.htm#i2153251
UTL_FILE
~~~~~~~~~
http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_file.htm#sthref14093
Message was edited by:
Nicloei W
Message was edited by:
Nicloei W -
How do I give a letter a value and use that letter as a code througout a spredsheet?
Hi I am trying to write a spread sheet to calculate the cost of repairing stock items. I cant figure out how to make the code = the cost, so that if somone types Hx3+Tx2+rx1 it would = £8
Which would mean: 3 x Hooks need replacing 2 x Tabs need replacing and 1 5cm rip needs repairing.
SO I have made one table with the codes and the values and one table for the items and their various panels that may need repairing but I cant figure out how to make it work...?
Can any of you help...?HI Mich,
Here's an idea of the complexity of the issue, using the example in line 41:
Issue 1: determining what is code, what is quantity, and how many items are in each cell.
In the first cell, the formula has to determine, from the text string "Rx1 rx3" that:
There are two items. Possible to do this by counting the spaces and adding 1, or, assuming ALL parts in the cell will contain a x sign, by counting the "x" characters..
The first letter is code. But the code could also be the first two letters, or the first two letters plus a number (eg. WP5) or the first two letters plus the next two characters (eg. WP11). Other code lengths may also be possible. The length of the (first) could be determined using SEARCH to find the first x. Subtract 1 from that to determine the number of characters in the code, then use LEFT to extract the code from the formula.
=LEFT(B2,SEARCH("x",B2,)-1)
Now that the code has been extracted, that formula becomes the first argument of the VLOOKUP formula from the previous post, used to find the price of that item:
VLOOKUP(LEFT(B2,SEARCH("x",B2,)-1),Price List :: B:C,2,FALSE)
Next, the price must be multiplied by the number following the x. That number must be extracted. Assumption: The number is a single digit, between 1 and 9, inclusive. We can use MID:
MID(B2,SEARCH("x",B2,)+1,1)
=VLOOKUP(LEFT(B2,SEARCH("x",B2,)-1),Price List :: B:C,2,FALSE)*MID(B2,SEARCH("x",B2,)+1,1)
The result above gives the cost for repairing the large rip in B2
Next, if there is more than one type of repair to be done, the process above must be repeated with a new twist: This time we're looking for the second repair item in B2. The marker is a space, so we'll need to add a SEARCH for the first space, and use that as the starting point for both SEARCH functions in this section.
Then the whole process (with another SEARCH added to each set) must be repeated for the third (possible) code and number in the cell.
Repeat 7 for as many items as could be included in this cell.
We don't know how many items will be recorded in each cell, so we have to allow for a maximum and provide some means of making the formula quit when there's nothing more to be done. This could be an IF, depending on the count of "x" or " " in the cell, or an IFERROR that would trap the error caused by searching beyond the last space. Whatever we used would need to be added to each iteration of the last formula shown above.
As you can see, this quickly becomes a bit unwieldy, and a reason for my earlier suggestion to set up pairs of columns for each repair item.
Regards,
Barry -
Best way to declare and use internal table
Hi all,
As per my knoledge there are various techeniques (Methods) to declare and use the internal tables.
Please Suggest me the Best way to declaring and using internal table ( WITH EXAMPLE ).
Please Give the reason as well how the particular method is good ?
What are benefits of particular method ?
Thanks in advance.
Regards
RajHello Raj Ahir,
There are so many methods to declare an internal table.
Mainly I would like to explain 2 of them mostly used.
1. Using Work Area and
2. With header line.
This with header line concept is not suggestable, because, when we shift the code to oops concept.. it doesn't work... Because OOPS doesn't support the Headerline concept...
But it all depends on the situation.
If you are sure that your program doen't make use of the OOPs concept, you can use HEADER LINE concept. If it invols OOPs use WORK AREA concept.
Now I'l explain these two methods with an example each...
1. Using Work area.
TABLES: sflight.
DATA: it_sflight TYPE TABLE OF sflight.
DATA: wa_sflight LIKE LINE OF it_sflight.
SELECT *
FROM sflight
INTO it_sflight
WHERE <condition>.
LOOP AT it_sflight INTO wa_sflight.
WRITE / wa_sflight.
ENDLOOP.
In this case we have to transfer data into work area wa_sflight.
We can't access the data from the internal table direclty without work
area.
*<===============================================
2. Using Header line.
DATA: BEGIN OF it_sflight OCCURS 0,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
END OF it_sflight.
SELECT *
FROM sflight
INTO it_sflight
WHERE <condition>.
LOOP AT it_sflight INTO wa_sflight.
WRITE / wa_sflight.
ENDLOOP.
In this case we can directly access the data from the internal table.
Here the internal table name represents the header. for each and every
interation the header line will get filled with new data. If you want to
represnent the internal table body you can use it_sflight[].
*<======================================================
TYPES: BEGIN OF st_sflight,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
END OF st_sflight.
DATA: it_sflight TYPE TABLE OF st_sflight,
wa_sflight LIKE LINE OF it_sflight.
This is using with work area.
DATA: it_sflight LIKE sflight OCCURS 0 WITH HEADER LINE.
This is using header line.
<b>REWARD THE POINTS IF IT IS HELPFUL.</b>
Regards
Sasidhar Reddy Matli.
Message was edited by: Sasidhar Reddy Matli
Sasidhar Reddy Matli -
Hi, I have been using iPhoto for photo management where all the jpegs have been living, in organized events by date and subject for some time. I recently upgraded to aperture and am using the same iPhoto library. The issue I have is that I use Carbonite for my cloud back up and I am able to look at the pictures I have on my PC with the same folder organization I have them on my PC hard drive. This is apparently not possible for iPhoto library. The only way to access a picture on the iPhoto library in the cloud is to go through the master and hope you can find the specific picture since they are not organized in a comprehensible manner (like events or folders) in there.
So the only solution I can think of is to move the current iPhoto library to a referenced image library and use that as my default library from now on. This way I get cloud access and the events will hopefully turn into folders with dates and subjects that I can continue to keep organized to satisfy my OCD tendencies.
So the question I have is that:
1. How can I make a reference Library for Aperture/iPhoto?
2. How do I move the current library to the Referenced Library in an Organized manner? My wish list would be a series of folders labeled with the date and the subject, like I have in my iPhoto library right now.
3. If there is any alternative, your suggestions and recommendations would be much appreciated.
My computer: Mac Mini (Mid 2012), Lion, 16GB RAM.
Thank you kindly,Or is there a way to go through aperture to make a new reference library that I can move the masters into later?
you do not move the masters into a references library - you turn your current library into a referenced library. As Terence Devlin said:
File -> Relocate Masters
What you should set up:
Select a folder, where you want to store your referenced files - probably on an external drive.
Decide on a hierarchical folder structure inside this folder - that is completely up to you.
Select a project from your library and use the command "File -> Relocate Masters/Originals" to move the original image files to the folder where you want to go them to. Only take care not to send two projects to the same folder.
Alternatively, if you do not care about the folder structure Aperture will use, select all images at once from the "Photos" view and let Aperture decide how to assing the folders - in the "Relocate Originals" dialoge you can specify a subfolder format.
Regards
Léonie -
I have lock iPhone 5 from Japan, i don't know from which carrier it is belongs to. currently I am in Saudi Arabia, how can i unlock the phone and use here)
<Personal information edited by Host>You can't.
-
How to create a master detail form using single table
Hi,
how to create a master detail form using single table.
Regards,
M. SatishHi
how to create a master detail form using single table.Make the Master ur pks the details the rest of ur data base field in the detail it's a mater of organizing fields on a form M-Detail...
Now What ?
Regards,
Amatu Allah -
I bought 2nd hand iPhone and was linked with previous owner. I want to contact him but i didn't get any address of him. How can iget his/her email address using that iphone IMEI or you know any idea... Please reply if you know solution .....
There is no solution here and you should already have known this as you replied to a thread all about this a few up from your own post and this stated the postition quite clearly and the question was answered.
Why do you ask the same question again? The first answer is not going to change just because you don't like it!! -
i had installed Adobe CS5 Master Collection on my PC about a year ago, the PC is now dead and i purchased a mac.
i just wanted to know if i can download the Mac version and use that cereal number to activate it? and if yes how and where do i go? would appreciate anyones help. Cheers Roni just wanted to know if i can download the Mac version and use that cereal number to activate it?
No.
Serial numbers are Mac only or Windows only. There is a platform swap process (from Mac to PC etc) but only for CS6.
As a CS5 owner, your choices are to either pay to upgrade to CS6 for Mac or join the Cloud. -
Once made a selection in photoshop how do you export in Illustrator and use it with a cutting plotte
once made a selection in photoshop how do you export in Illustrator and use it with a cutting plotter?
Plotters require continuous paths. Convert the selection to a path and clean it up suitably. Copy&paste it to Illustrator and use it as a clipping mask on your artwork or whatever. You may also need to create a duplicate layer/ separate PDF file file. Talk to the people doing the plotting.
Mylenium
Maybe you are looking for
-
Place command not appearing in file menu
I click file and do not see the Place Command so I can insert picture. Where else could it be?
-
ADF Faces: How to position define table navigation in custom skin?
Hi, I played a bit with custom skins. I'am just wondering how you can choose the location of the navigation button ( << Previous | 1-10 of 32 | Next >> ) For example, if I use the oracle skin, it appears both at the top and at the bottom. In an other
-
How to use E63 as a modem on mac
please help on this i am unable connect phone & mac book want to use it as a modem
-
Which will be the best configuration to install IDES on LAPTOP
Dear Experts, I planning to buy a new HP laptop(any other brand which is more compatible), with 4gb ram and 1tb HDD and I want to install IDES, so which processor will be the best, compatible or fast/ reliable? Will windows 8.1 support GUI, if i inst
-
Should i use my Firewall on my macbook pro
I have a macbook pro i use it mostly at home and sometimes at a public university when im at home it is on my home wifi that is password protected do i need to use it?