Dynamic mapping for alv
Hi All,
I need to display three tables using alv.
i have used one alv component in my application.
In my context i have three nodes ( for three tables )
when i am trying to map one node of my component control to 'DATA' of alv component
its working fine. i am getting the data of one table .
Now , my problem is for the remainig two tables . how these two nodes are mapped for the same alv 'DATA' attribute of alv component.
Whether i need to create two more alv components or Is there any possible to dynamic mapping ?
Thanks and Regards,
sravan.
Hi Sravan,
Now , my problem is for the remainig two tables . how these two nodes are mapped for the same alv 'DATA' attribute of alv component
You cann't map the multiple context nodes to the DATA node of interface controller.You have to declare 3 component usages.
or
you want to set the map the dynamically then use this code.
data:l_ref_interfacecontroller type ref to iwci_salv_wd_table.
l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).
l_ref_interfacecontroller->set_data( lo_node ).
Similar Messages
-
Dynamic columns for ALV/classical
Hi friends,
I came across an issue where I need to create an output list based on the selection screen.
Example: In selection screen if user enters plant 1000 2000 3000 4000 .
I want the output table having columns 1000 2000 3000 4000 .
Please help me out how to accomplish this task. Is this functionality is possible with ALV..?
A sample code for this will really help me a lot .. or send me your valuable suggestions..
Thanks
Prasead KSearch sdn for [cl_alv_table_create=>create_dynamic_table|https://www.sdn.sap.com/irj/scn/advancedsearch?query=cl_alv_table_create%3d%3ecreate_dynamic_table&cat=sdn_all], there are already many threads and samples. Basically, you dynamically fill an ALV fieldcatalog, then use the method to create a dynamic internal table from this catalog, fill the internal table and display it.
Regards -
Hi
i want a simple dynamic alv code .Hi Fozia,
the program SALV_DEMO_TABLE_REAL_SIMPLE is very simple.
Regards Rudi -
Dynamic mapping of function_elements in ALV.
Hi Experts,
I need to do a dynamic external mapping of function_elements node in my code. How we can achieve this?
Any specific method can be used to do the mapping for the function_elements in ALV.
Thanks & Regards,
ArunI have created a node that has a attribute (check the cardinaltiy what functional elements is expecting use the same cardinaltiy)
Now, go to the functional elements node map this node to that node.
I have used this attribute for dropdown.
to fill that attribute, get node info-> use valuset to fill that.
For ALV->
DATA:
lo_function TYPE REF TO cl_salv_wd_function,
lo_drk_year TYPE REF TO cl_salv_wd_fe_dropdown_by_key,
lo_fe_year TYPE REF TO cl_salv_wd_fe.
CREATE OBJECT lo_drk_year
EXPORTING
selected_key_elementname = 'YEAR'. "ATTRIBUTE NAME
IF lo_drk_year IS BOUND.
CALL METHOD lo_drk_year->set_label_text
EXPORTING
value = 'Select a Year'.
lo_fe_year ?= lo_drk_year.
ENDIF.
CALL METHOD _o_ref_alv_emp_model->if_salv_wd_function_settings~create_function
EXPORTING
id = 'FUNCTION2'
RECEIVING
value = lo_fun_year.
IF lo_fun_year IS BOUND.
CALL METHOD lo_fun_year->set_editor
EXPORTING
value = lo_fe_year.
ENDIF.
Edited by: Lekha on Feb 21, 2012 12:26 AM -
Dynamic 2-D map for A*search pathfinding problem
The Problem is a Dynamic map (the user can change size of the map) that has obstacles(obstacle location determined by the user also) and the tile could only move to adjacent tiles(only 4 moves or less), Can anyone solve that in Java? (without visualization only sample code).
basically im trying to match the value of one Map with the key of another. my thinking is that this requires me to loop through the first Map and for each value through the second Map and match up the key to it. heres my code so far:
private static Map equiJoin(Map relation1, Map relation2) // The 2 maps
Map resultRelation = new TreeMap();
Iterator keys1Iterator = relation1.keySet().iterator();
Iterator values1Iterator = relation1.values().iterator();
while (keys1Iterator.hasNext() ) // Loop through relation1
String primaryKey1 = (String) keys1Iterator.next();
String foreignKey1 = (String) values1Iterator.next();
List list = new ArrayList();
Iterator keys2Iterator = relation2.keySet().iterator();
Iterator values2Iterator = relation2.values().iterator();
while (keys2Iterator.hasNext() ) // Loop through relation2
String primaryKey2 = (String) keys2Iterator.next();
String foreignKey2 = (String) values2Iterator.next();
if(primaryKey2.equals(foreignKey1))
list.add(foreignKey1);
list.add(foreignKey2);
resultRelation.put(primaryKey1, list);
return resultRelation;
im trying to come up with ways to make this faster, perhaps by turing the second while loop/linear search into a binary search. i do indeed think using the get(key) more would increase the speed but im still thinking about ways to implement that in the above code, the problem being that i dont know what key im looking for until i loop through it (if u know what i mean) =)
many thanks. -
RE: Dynamically mapping data to widgets
One quick and dirty solution would be something like this (though not
terribly efficient):
newPanel : Panel;
newPanel = <panelCreatedFromWindowWorkshop>.Clone(deep = TRUE);for childWidget in newPanel.children do
-- check if the childWidget field name matches field name to be
set
if childWidget.name.isEqual(source=<..FieldNameToSet..>,
ignoreCase=TRUE) then
dataWidget : dataField = dataField(childWidget);
if dataWidget.textvalue = NIL then
dataWidget.textvalue = new;
end if;
-- set the textvalue of the childWidget to required
value
dataWidget.textvalue.setvalue('WORKS !');
end if;
end for;
Your problem would have been directly solved if the Forte library class
CompoundField provided a SetDataObject( ) method corresponding to the
GetDataObject( ) method.
According to Forte Help - "The GetDataObject method returns the object
that the compound field is mapped to. If the compound field is not
mapped to an object, this method returns NIL."
Maybe Forte could consider providing this in a future release.
Another option would have been to use the GetFieldByName( ) method on
the newly created panel to get at the child widgets directly.
According to Forte help - "GetFieldByName is designed for use in dynamic
applications. For example, you can use GetFieldByName to retrieve the
names of dynamically created fields for immediate use in dynamic
applications."
This works fine for compile-time named widgets, but I couldn't get it to
work for the newPanel child widgets using the code below, or maybe I am
missing something here.
newPanel : Panel;
newPanel = <panelCreatedFromWindowWorkshop>.Clone(deep = TRUE);newPanel.name.setvalue('newPanel');
newPanel.parent = <aGridField>;
dataWidget : dataField = dataField(newPanel.getFieldByName('age'));
(OR)
dataWidget : dataField =
dataField(<aGridField>.getFieldByName('newPanel.age'));
(OR)
dataWidget : dataField =
dataField(self.window.getFieldByName('newPanel.age'));
In all cases the return value was NIL.
Maybe someone from Forte could shed more light on this.
Hope this helps.
Prashant.
From: Richard Finegan[SMTP:[email protected]]
Reply To: Richard Finegan
Sent: Thursday, August 13, 1998 2:27 PM
To: 'Forte Users Mailing List'
Subject: Dynamically mapping data to widgets
Here's what I'm trying to do:
I have a panel with a bunch of data fields that I've mapped to an
object.
I want to replicate the panel several times to programmatically
populate a
TabFolder (although the TabFolder bit isn't really relevant here, I
think).
But I can't figure out how to get at the mapped data in the replicas
of my
object...
newPanel : Panel;
newPanel = <panelCreatedFromWindowWorkshop>.Clone(deep = TRUE);
panelCreatedFromWindowWorkshop.anAttributeOfObjMappedToPanel =
something;
// tada! "something" appears in a data field of the original panel
newPanel.? = something; // how to do the same thing with the new
panel?
How do I map an object to the replicated panel? I've experimented
with
assigning "Widget.AppData" to a new object, but I can't seem to get it
to
do anything...
Thanks in advance for your help.
Richard Finegan
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hi Michael,
did you find any solution?
I've the same problem. -
Dynamic Configuration for two file adapters communication channels
Hello Experts!!!!!!
In one of the interface in my landscape, I am using two file adapters for creating two files with different names and at two different destination on F.T.P.
However the receiver service for both the communication channel are same.
In message mapping I am using multi mapping to create two files out a single message.
Now i have a requirement of changing file path and file name using dynamic configuration for both the comm channel.
When i doing dynamic coniguration for both the comm. channel. My interface is creating two files but with same name and on same destination which is set for second communication channel through dynamic configuration.
Here, I guess the second dynamic configuration is over writing the first dynamic configuration and hence creating two files with same name and at same destination.
Please suggest, if separate dynamic configuration for separate communication channel of same receiver service can be done?
Thanks & Regards,
AmolThanks for your prompt responses!!!!!
Is there any way, By which in dynamic configuration I can find out the communication channel name and then change its parameter.
I mean if iam using say comm. channel A and B.
Then in dynamic configuration for A, I will first take communication channel A by calling it and then change its path/file name.
and then do samething for comm. channel B in its dynamic conf.
Regards,
Amol -
ABAP Mapping for Error handling in Proxy to JDBC
Hi All,
I am working on a proxy to jdbc scenario in which we have to throw validation errors to NWPM(Net Weaver Process Monitor Tool)
I am following the below steps,
step 1 - In message mapping a UDF is created to catch errors and store them in a variable using dynamic configuration
step 2 - writing abap mapping for handling this thrown exception and im reading the dynamic configuration in the abap class and raising exception. The exception format expected is
SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
<SAP:P1>ZPI_THROW_EXCEPTION</SAP:P1>
<SAP:P2>001</SAP:P2/>
<SAP:P3>Mandatory field is missing[BUKRS] </SAP:P3>
<SAP:AdditionalText />
<SAP:Stack>No receiver could be determined</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I have written the following ABAP code to achieve this:
method IF_MAPPING~EXECUTE.
DATA l_record type mpp_dynamic.
DATA error type String.
getting dynamic configuration value
filled in by any previous mapping
CALL METHOD DYNAMIC_CONFIGURATION->GET_RECORD
EXPORTING
NAMESPACE = 'http://sap.com/xi/XI/System/ERROR'
NAME = 'ERROR'
RECEIVING
RECORD = l_record.
error = l_record-value.
*raising exception with our message
RAISE EXCEPTION TYPE CX_MAPPING_FAULT
EXPORTING
TEXTID =
PREVIOUS =
ERROR_CODE = '001'
ERROR_TEXT = error .
RAISE EXCEPTION TYPE CX_MAPPING_FAULT
EXPORTING
TEXTID =
PREVIOUS =
ERROR_CODE = '003'
ERROR_TEXT = error .
endmethod.
I am gettign the following message for our code:
SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>No receiver could be determined</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Could you please help in finding the solution for getting currect error message from ABAP class?
Edited by: SwethaC on Jan 21, 2011 8:18 AMThe error is due to RFC Call fail from PI system to your ECC Application System.
Check your RFC Destination for ECC System type 3 in PI System.
When you are receiving data from ECC System using Proxies & again you are going to ECC System for Validation.
Why you are not doing this validation on ECC System only in your proxy code ?
In your proxy code, it will be much better for performance to check your data there on same system. -
Dynamic Header for a website. DOUBLE POINTS FOR ANSWER!!
I don't even know where to start with this one, let me try explain this:
I am looking for ideas on how to create some sort of dynamic header for an affiliate website, we have launched a new affiliate program for http://www.africancures.com/ the affiliate program is done through 1shoppingcart.com and each affiliate is given an ID like:
http://www.1shoppingcart.com/app/?af=812264
Once the affiliate signs up they choose their own website URL like: mikeshealth.com, then we point the affiliate URL mikeshealth.com to http://www.1shoppingcart.com/app/?af=812264 which in turn comes to our main website: http://www.africancures.com/ now here is where the problem comes in, how do I make the website display Mikes Health instead of African Cures .
I hope I was able to explain this well enough as it seems to be a bit confusing to me when I write it down. I really hope there is someone out there who has worked on something like this before or if there is someone who thinks they know how to do this.
Thank you
So here is something else I was thinking of, but I am not much of a programmer anymore:
Have a list of all the affiliate ids and their corresponding website names, eg:
Affiliate ID=812264 Website name= Mikes Health, then when someone comes to the site the jave works out which affiliate id sent them to the site, eg
Get(AffiliateID)from Refering.URL then Display.Header(AffiliateID) on main page, do you think you could help me now Sabre150?I'm still trying to see what this has to do with Java. Each host name such as mikeshealth.com will need to be registered with name servers with the IP address of www.1shoppingcart.com. Your web server will then need to be configured to perform perform any mapping.
Again, what has this to do with Java? -
halo fellow SAPiens,
i need to show dynamic columns for a particular material........the scenario is as follows....
1) there r 7 fixed columns describing the material...
2)when the material returns back to the plant for some reason , i need to insert a column which shows the date and reason(char) of return.
3)again after dispatching the material for some reason it comes back again a new column shld be displayed showin the date and reason(char).
4)if the material doesnt come back...the report shows only 7 columns.
any solution?try <a href="http://www.alvrobot.com.ar/home.php">here</a> ......its a useful tool for dealing with ALV
<b>reward points if useful</b> -
Hello experts,
is it possible to call an ALV via ( class cl_salv or fm REUSE_ALV_GRID_DISPLAY) with a dynamic table?
This dynamic table has for example one fix column for the material number and dynamic colums for additional data.
One material has 1 additional column, the other material has two additional columns.
So i need an ALV with 3 columns material add_data1 add_data2 (add_data2 of material one is empty this is ok).
To build an itab which can handle this is possible i know.Hello Benjamin,
Maybe you already found a solution for this, but if not (or for others looking for a solution), here is a sample program that creates, fills, and displays a dynamic table:
report ztpar_dynamic_salv.
parameters: p_colnr type i default 3.
start-of-selection.
perform execute.
form execute.
data t_table type ref to data.
** create dynamic table
perform create_dynamic_table using p_colnr
changing t_table.
** fill dynamic table
perform fill_dynamic_table changing t_table.
** display dynamic table
perform display_table using t_table.
endform.
form create_dynamic_table using colnr type i
changing table type ref to data.
data: lo_field type ref to cl_abap_typedescr,
lo_struct type ref to cl_abap_structdescr,
lo_table type ref to cl_abap_tabledescr.
data: t_comp type cl_abap_structdescr=>component_table,
l_comp like line of t_comp.
lo_field ?= cl_abap_typedescr=>describe_by_name( 'CHAR10' ).
do p_colnr times.
move sy-index to l_comp-name.
concatenate 'COLUMN' l_comp-name into l_comp-name.
condense l_comp-name no-gaps.
l_comp-type ?= lo_field.
append l_comp to t_comp.
enddo.
lo_struct = cl_abap_structdescr=>create( p_components = t_comp p_strict = space ).
lo_table = cl_abap_tabledescr=>create( lo_struct ).
create data table type handle lo_table.
endform.
form fill_dynamic_table changing table type ref to data.
field-symbols: <fs_table> type standard table,
<fs_line> type any,
<fs_field> type any.
assign table->* to <fs_table>.
do 5 times.
append initial line to <fs_table> assigning <fs_line>.
do.
assign component sy-index of structure <fs_line> to <fs_field>.
if sy-subrc ne 0.
exit.
endif.
<fs_field> = sy-index.
enddo.
enddo.
endform.
form display_table using i_table type ref to data.
data lo_alv type ref to cl_salv_table.
field-symbols <fs_tab> type any table.
assign i_table->* to <fs_tab>.
try.
cl_salv_table=>factory(
importing
r_salv_table = lo_alv
changing
t_table = <fs_tab> ).
catch cx_salv_msg.
message 'Cannot display result!' type 'E'.
endtry.
lo_alv->display( ).
endform.
Best regards,
Tanguy -
Dynamic configuration for the application
I'm a newbie and trying to evaluate JSF. I took part in a project with struts framework and i could say i don't like struts cause of some limitation and i suspect that JSF has the same limitation. First of all, there are JSP pages. I can't use JSP pages/templates stored somewhere else except web application. I'd like to store my templates in the database. This will give me ability to add/change/remove jsp page without redeploying war-archive. Yes, i can use exploded war-archive and add JSP pages straight into file system, but i don't like this way. Next problem is the configuration file like struts-config (faces-config, whatever). I have to write down all my navigation logic and beans mapping to this file and it's really annoying me. This kind of project requires dynamic configuration for the all web application and i'd like to add/change/remove pages, beans, actions without restarting/reconfiguring webapp. Today, I looked thru documentation and source code and found that FactoryFinder class could use my own classes but i'm not sure it will be enough for the dynamic configuration for the beans. In any case, it's a huge problem with the templates.
Right now i'm thinking about 1(one) JSP with XML/XSLT rendered HTML content and JSF for event/action handling. I mean, i'll use XSLT to render dynamic content and JSF for dispatching events. In that case i have to render form tag names in the HTML as JSF engine (i'm not sure if it possible). If it will take a lot of time to do this i'll have to switch a home-grown framework.
So, i really need advices how to implement this sort of dynamic behavior in the web application.
regars,
antonA lot of what you're seeing are genuine limitations, but happily, JSF is so pluggable that you can overcome them.
JSPs are problematic in exactly the way you describe - unless your app server has support for pulling JSPs out of a database, etc., you're SOL. JSF, however, lets you use something other than JSPs by replacing the ViewHandler. That's a fair bit of work, but it is doable.
For navigation logic, you'd replace the NavigationHandler. As long as you're willing to write the code that can pull navigation rules from an external source, life is good.
For managed beans, all you need to replace is the VariableResolver - again, if you can pull the rules from an external source, you have full control.
This is all far from easy - and it's a huge amount of work for one person - but I'd imagine these pieces will become available from various sources. A core goal of JSF 1.0 was making the framework as a whole pluggable so that others can innovate on top of the framework.
-- Adam Winer (EG member) -
Turning Tables in ABAP for ALV Display
Dear all,
I am running in a (for me) tricky problem:
I read any table definitions from the dictionary with function "DDIF_TABL_GET". In the next step I want to build a ALV Grid that displays some of the read data but not in rows but in lines.
Ok how does this look like:
For example use funktion DDIF_TABL_GET and use table MAKT as table parameter:
Result:
TABNAME FIELDNAME DD POSI K M ROLLNAME CHECKTABLE A I INTLEN REFTABLE
MAKT MANDT DE 0001 X MANDT T000 0 C 000003
MAKT MATNR DE 0002 X MATNR MARA 0 C 000018
MAKT SPRAS DE 0003 X SPRAS T002 0 C 000001
MAKT MAKTX DE 0004 MAKTX 0 C 000040
MAKT MAKTG DE 0005 MAKTG 0 C 000040
Ok what I want to do now is dynamically create a alv-Grid that shows the entries from the result above as list:
Example:
MAKT MAKT MAKT MAKT MAKT
MANDT MATNR SPRAS MAKTX MAKTG
DE DE DE DE DE
0001 0002 0003 0004 0005
X X X
MANDT MATNR SPRAS MAKTX MAKTG
There is a funktion in Excel called "Transponieren" (transpond) that does the same I search.
So the secret question is how to do this with ALV and dynamically???
Any idea?
Kind reagard for any hints and helps
Roman BeckerHi Roman,
my answer is kind of abstract: I implemented just the internal tables transposal.
I defined a structure of 99 string components, si you can put in whatever you want.
For illustration I fill the table with identifiers for row and column and the do the exel-like transposal.
The original table is lt_itab, the transposed one lt_trsp.
I used the string component's structure a couple of times now. This is smart because it won't waste more memory than needed.
Just cut&paste to get an idea, hope you like it!
FORM tab_transpose.
TYPES:
BEGIN OF ty_compstr,
f01 TYPE string,
f02 TYPE string,
f03 TYPE string,
f04 TYPE string,
f05 TYPE string,
f06 TYPE string,
f07 TYPE string,
f08 TYPE string,
f09 TYPE string,
f10 TYPE string,
f11 TYPE string,
f12 TYPE string,
f13 TYPE string,
f14 TYPE string,
f15 TYPE string,
f16 TYPE string,
f17 TYPE string,
f18 TYPE string,
f19 TYPE string,
f20 TYPE string,
f21 TYPE string,
f22 TYPE string,
f23 TYPE string,
f24 TYPE string,
f25 TYPE string,
f26 TYPE string,
f27 TYPE string,
f28 TYPE string,
f29 TYPE string,
f30 TYPE string,
f31 TYPE string,
f32 TYPE string,
f33 TYPE string,
f34 TYPE string,
f35 TYPE string,
f36 TYPE string,
f37 TYPE string,
f38 TYPE string,
f39 TYPE string,
f40 TYPE string,
f41 TYPE string,
f42 TYPE string,
f43 TYPE string,
f44 TYPE string,
f45 TYPE string,
f46 TYPE string,
f47 TYPE string,
f48 TYPE string,
f49 TYPE string,
f50 TYPE string,
f51 TYPE string,
f52 TYPE string,
f53 TYPE string,
f54 TYPE string,
f55 TYPE string,
f56 TYPE string,
f57 TYPE string,
f58 TYPE string,
f59 TYPE string,
f60 TYPE string,
f61 TYPE string,
f62 TYPE string,
f63 TYPE string,
f64 TYPE string,
f65 TYPE string,
f66 TYPE string,
f67 TYPE string,
f68 TYPE string,
f69 TYPE string,
f70 TYPE string,
f71 TYPE string,
f72 TYPE string,
f73 TYPE string,
f74 TYPE string,
f75 TYPE string,
f76 TYPE string,
f77 TYPE string,
f78 TYPE string,
f79 TYPE string,
f80 TYPE string,
f81 TYPE string,
f82 TYPE string,
f83 TYPE string,
f84 TYPE string,
f85 TYPE string,
f86 TYPE string,
f87 TYPE string,
f88 TYPE string,
f89 TYPE string,
f90 TYPE string,
f91 TYPE string,
f92 TYPE string,
f93 TYPE string,
f94 TYPE string,
f95 TYPE string,
f96 TYPE string,
f97 TYPE string,
f98 TYPE string,
f99 TYPE string,
END OF ty_compstr.
DATA:
lt_itab TYPE TABLE OF ty_compstr,
lt_trsp TYPE TABLE OF ty_compstr,
ls_irec TYPE ty_compstr,
lv_num2 TYPE num2,
lv_num2_i TYPE num2.
FIELD-SYMBOLS:
<anyfield> TYPE ANY,
<anyrec> TYPE ANY,
<anyfield_t> TYPE ANY,
<anyrec_t> TYPE ANY.
random fill
DO 99 TIMES.
lv_num2 = sy-index.
DO 99 TIMES.
ASSIGN COMPONENT sy-index OF STRUCTURE ls_irec TO <anyfield>.
lv_num2_i = sy-index.
CONCATENATE 'ROW' lv_num2 'COL' lv_num2_i ':' <anyfield>
INTO <anyfield> SEPARATED BY space.
ENDDO.
APPEND ls_irec TO lt_itab.
ENDDO.
Transposal
LOOP AT lt_itab ASSIGNING <anyrec>.
lv_num2 = sy-tabix.
DO.
lv_num2_i = sy-index.
ASSIGN COMPONENT sy-index OF STRUCTURE <anyrec> TO <anyfield>.
IF sy-subrc <> 0.
EXIT.
ENDIF.
READ TABLE lt_trsp INDEX lv_num2_i ASSIGNING <anyrec_t>.
IF sy-subrc <> 0.
APPEND INITIAL LINE TO lt_trsp.
READ TABLE lt_trsp INDEX sy-tfill ASSIGNING <anyrec_t>.
ENDIF.
ASSIGN COMPONENT lv_num2 OF STRUCTURE <anyrec_t> TO <anyfield_t>.
<anyfield_t> = <anyfield>.
ENDDO.
ENDLOOP." at lt_itab assigning <anyrec>.
ENDFORM. " tab_transpose
C. -
Hi...
I want to do the hibernate mapping for a dynamic component.Can any of you tell me how to
put that mapping. I know we can use the following.But no proper idea.
<dynamic-component name="ids">
<many-to-one class="class name " column="column-name "/>
</dynamic-component>>
Can any one give some guide lines/any tutorial/instructions to do this?
Thanks a lot.
Regards,
Menaka.Hai Menaka,
this is ranga nice to meeting you. Probable for ur problum you may find out at this url
http://hibernate.org -
Dynamic URL for HTTP receiver adapter
Hi all,
when the XI send the http request to the target system, the format maybe like this:
header + body the body is including: Prolog, payload and Epilog
here is about the target system have a 'input' parameter(maybe string type)
is it possible to pass the 'head + body' these value(or maybe the whole http request message) into input
i mean is it possible to set the dynamic URL for http receiver adapter like this:
http://host:port/path?input=<the header and body>
i have searched the blog Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
Link:[/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping]
and the similar threads in the forum
please give me some advice
thanks in advanceWhen a HTTP server requests the whole message as URL parameters, then I assume that the server also requests an HTTP GET, which is not supported by XI.
Could you check this?
Regards
Stefan
Maybe you are looking for
-
Except sadmin other users not able to see siebel BI publisher reports
Hi, we have integrated siebel with BI publisher, except sadmin other users not able to see BI publisher reports, it is throwing error "No file has been attached to this record, please attach a file. SBL-SVC-00155". when login with sadmin report is ge
-
Jsp and jspx and scriplets - Hiding buttons based on J2EE security roles
Hello: I have security a scoped managed bean with methods is Technician(), isUser() etc. In the jsp world, it was very easy to inspect these methods in the jsp via scriplets and show/hide buttons/links etc. I am just curious. Or, is rendering via EL
-
Problem with renameTo()
Hi all, I wrote an application with WSAD 5.1.2 that, given an array of files, should move these files into a new set of directories. The problem is that using renameTo() method, the program move only some file contained into the array while other one
-
Item Maste Data - L/U Query
Good Afternoon Experts: I have been assigned a task to pop-up a L/U query on the BINS column of the matrix on the Inventory tab of the ItemMasterData screen. So, I need to use the Item value from the ItemNumber field at the top of the screen. <b>He
-
Any way to intercept & customizer response of www-authenticate?
With WLS, a URL (or servlet etc) can have protected access throw its security realm. Before a user logins in to the site, any attempt to access the protected url will result in a www-authenticate header and status code of 401 being sent back to the c