Logic for dynamic stucture
Hi experts,
I have a requirement in that I have to create one sturcture with i/p & o/p fields.
Whenever enduser call this sturcture by FM, they will i/p values of KUNNR.
i have to o/p data related to VBELN at item level & further. also its not limited to VBELN but down same for 5 levels query.
Now my problem is for one KUNNR there will be many VBELNs, any many other item level fields ( like LFSTK, KWMENG, MATNR, POSNR, /AFS/AGNUM, FMENG, RMENG)
so I have to fill back that in to same structure dynamically.
Can anyone give me same example?
What are dynamic actions and how to configure it?
Ans) Dynamic actions are performed automatically by the system, depending on certain conditions. If maintaining one infotype has an effect on another infotype, the system automatically displays the second infotype for processing.
Dynamic actions can run in the background i.e. the user does not see the run on the screen.
A change in one field of an infotype might require, that certain other infotype be updated at the same time. The details can be specified as a dynamic event. It is automatically triggered by the system.
*Examples: *
The Personal Data infotype is newly created, and the Number of children field is filled. Once the record is saved, the system automatically displays the Family/Related Person (0021) infotype and the Child subtype (2) for processing. An employee is hired, and the probationary period is entered in infotype Contract Elements. Once this information is saved, the system automatically displays a record from the Monitoring of Dates (0019) infotype and the subtype Expiry of probation (1) for processing.
Similar Messages
-
Can any one tell me the logic for implementing Dynamic Actions.
Regards
vamsi.What are dynamic actions and how to configure it?
Ans) Dynamic actions are performed automatically by the system, depending on certain conditions. If maintaining one infotype has an effect on another infotype, the system automatically displays the second infotype for processing.
Dynamic actions can run in the background i.e. the user does not see the run on the screen.
A change in one field of an infotype might require, that certain other infotype be updated at the same time. The details can be specified as a dynamic event. It is automatically triggered by the system.
*Examples: *
The Personal Data infotype is newly created, and the Number of children field is filled. Once the record is saved, the system automatically displays the Family/Related Person (0021) infotype and the Child subtype (2) for processing. An employee is hired, and the probationary period is entered in infotype Contract Elements. Once this information is saved, the system automatically displays a record from the Monitoring of Dates (0019) infotype and the subtype Expiry of probation (1) for processing. -
Creating a Function logic for dynamically created XML buttons
Hi!
It's me...... again! Now I've dynamically created some buttons using XML. They're spread around the stage and I've modified a tooltip script to give each button a tooltip on Mouse_Over. But to se the logic and make it work using AS3 is hard (for me). I want a function that accept to parameters: Tooltip text and Object to tooltip.
In my code I get this error msg when initiating the function on dynamically created buttons:
1118: Implicit coercion of a value with static type flash.display:Sprite to a possibly unrelated type flash.display:MovieClip.
I beleive there are more than one thing here needing a fix.
Can someone have a look and give me a pointer?
Thanks
function contentTooltip(ttt:String, ttclip:MovieClip):void {
ttclip.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
function mouseOverHandler(e:MouseEvent):void {
ttip.descr.text=ttt;
ttip.x=stage.mouseX;
ttip.y=stage.mouseY-15;
ttclip.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
ttclip.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
ttip.visible = true;
function mouseOutHandler(e:MouseEvent):void {
ttip.visible = false;
ttclip.removeEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
ttclip.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
function mouseMoveHandler(e:MouseEvent):void {
ttip.x=stage.mouseX;
ttip.y=stage.mouseY-15;
contentTooltip("Scale button",scale_btn);
contentTooltip("Hide button",hide_btn);I totally agree with what Ned says and suggests. Nevertheless, I would like to support your thinking process.
From the way you wrote the tooltip functionality it is apparent to me that you conceptualize as a programmer. Again, as Ned said, nested functions are evil. BUT, in a way, what classes accomplish is encapsulation/nesting of properties and functions under the same umbrella. It actually feels that what timeline does in general is nesting named functions within a single function we have no access to.
How you wrote the code is actually a blueprint for a class that could handle the functionality. You, perhaps, are very ready to start coding with classes - not on the timeline.
With that said, for the sake of theory, here is how your functionality can be rewritten on timeline:
scale_btn.toolTip = "Scale button";
test_btn.toolTip = "Test button";
hide_btn.toolTip = "Hide button";
scale_btn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
test_btn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
hide_btn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
var overTarget:MovieClip;
function mouseOverHandler(e:MouseEvent):void {
overTarget = e.currentTarget;
ttip.descr.text = overTarget.toolTip;
ttip.x = stage.mouseX;
ttip.y = stage.mouseY - 15;
overTarget.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
overTarget.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
setChildIndex(ttip, numChildren - 1);
ttip.visible = true;
function mouseOutHandler(e:MouseEvent):void {
ttip.visible = false;
overTarget.removeEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
overTarget.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
function mouseMoveHandler(e:MouseEvent):void {
TweenMax.to(ttip, .5, { x:stage.mouseX, ease:Quart.easeOut } );
TweenMax.to(ttip, .5, { y:stage.mouseY - ttclip.height / 2, ease:Quart.easeOut } );
//ttip.x=stage.mouseX;
//ttip.y=stage.mouseY-ttclip.height/2; -
Dynamic Logic for a report: User Maintained Logic
Hi All,
I've come across a requirement that needs to build a report.
However, the set of definitions defined for the report output might change over time.
Now every time the Definitions change, the User might have to request the change in the report through a development.
Is there a way, where the Users can maintain certain set of rules and which can be maintained easily, but also allow the report to dynamically pick up the logic that it needs to process the data to the required output layout.
To explain a little more in detail;
Data from ZTABLEA is reported out by issuing each line with a BucketID.
The report will aggregate the data to each Bucket Levels in output.
But, The Logic for issuing the ZTABLEA line with a BucketID can change over time.
So, a ZTABLEA line which was issued a BucketID_1 initially when FIELD1 of ZTABLEA = A,
can later be assigned to another BucketID when FIELD1 of ZTABLEA = A.
And this assignment needs to be maintained by the Users.
Some of these Logics can be complex in the sense that they Could span over several Fields for a condition.
Please advice. Any and all suggestions are highly appreciated.
Thanks,
RK.
Edited by: RK on Jul 17, 2008 7:16 PMFollowing in from what Kev said.
There's dynamic SQL available (which you should put in a TRY...CATCH....ENDTRY block), so they can effectively define a WHERE condition, which would be stored in your table.
I'd suggest that you have a check when they save the new logic, that the where clause is valid.
If you need some kind of other dynamic abap look at GENERATE, READ REPORT and other associated keywords in the ABAP help.
matt -
Is there a solution for dynamic reports and using Denes' Export to Excel?
Oracle 10.2.0.4.0
Application Express 3.2.1.00.10
Hello all!
I am using Denes Kubicek's Export_Excel_Pkg in my application and I'm having trouble exporting reports based on report regions created using a PL/SQL function body returning SQL query. I realize this is not an Oracle supported package, but was hoping someone here could shed some light on it. When I open up the Excel file, I get an error such as: Report Values Error: ORA-06550: line 22, column 5: PL/SQL: ORA-00907: missing right parenthesis.
I've searched the forum and already have done as others suggested by modifying the REPLACE on the v_sql variable in Export_Excel_Pkg.Get_Usable_SQL, but it did not work. My assumption is that there is an issue with the value being passed to the wwv_flow_utilities.get_binds function. I could not find documentation on this function, but I'm thinking that it cannot extract the bind variables within a PL/SQL block. The report only works when I have just use SQL with bind variables...doesn't work for PL/SQL. Nor does it work for dynamic SQL reports that use a "lexical" parameter (e.g. using WHERE &p_and_condition.) to build the WHERE clause.
Has anyone come up with a work-around to this? I somehow need to be able to extract reports based on dynamic SQL (or PL/SQL) to Excel.
Help is appreciated!
This is my example of a report based on PL/SQL function:
DECLARE
v_sql VARCHAR2(4000);
BEGIN
v_sql := q'[SELECT UPPER(t1.olo_name) agency_title,
t1.class_code,
UPPER(t1.class_title) class_title,
t1.pay_plan,
t1.pay_grade_code,
COUNT(t1.appt_fte) total_employees,
SUM(t1.appt_fte) filled_fte,
AVG(DECODE(t2.pay_cycle_code,
'UB',((t1.wage_type1_amt_for_pay * 26)/t1.appt_fte),
'UM',((t1.wage_type1_amt_for_pay * 12)/t1.appt_fte),
0)) avg_annual_rate
FROM my_schema.table1 t1,
my_schema.table2 t2,
my_schema.table3 pro
WHERE t1.pos_wk = t2.pos_wk
AND t2.pos_rate_active_flag = 'Y'
AND t1.ops_ind = 'N'
AND t1.employee_type IN ('1','2')
AND pro.ROLE_CODE = :F101_DW_ROLE
AND pro.pos_role_orgs_active_flag = 'Y']';
IF :P_MULTI_OLO IS NOT NULL THEN
v_sql := v_sql || q'[ AND INSTR(':'||']' || v('P_MULTI_OLO') || q'['||':', ':'||t1.olo_code||':') > 0]';
END IF;
v_sql := v_sql || q'[GROUP BY UPPER(t1.olo_name), t1.class_code, UPPER(t1.class_title), t1.pay_plan, t1.pay_grade_code ORDER BY t1.class_code ASC, avg_annual_rate]';
RETURN v_sql;
END;This is my example using a SQL statement with a lexical parameter:
SELECT UPPER(t1.olo_name) agency_title,
t1.class_code,
UPPER(t1.class_title) class_title,
t1.pay_plan,
t1.pay_grade_code,
COUNT(t1.appt_fte) total_employees,
SUM(t1.appt_fte) filled_fte,
AVG(DECODE(t2.pay_cycle_code,
'UB',((t1.wage_type1_amt_for_pay * 26)/t1.appt_fte),
'UM',((t1.wage_type1_amt_for_pay * 12)/t1.appt_fte),
0)) avg_annual_rate
FROM my_schema.table1 t1,
my_schema.table2 t2,
my_schema.table3 pro
WHERE t1.pos_wk = t2.pos_wk
AND t2.pos_rate_active_flag = 'Y'
AND t1.ops_ind = 'N'
AND t1.employee_type IN ('1','2')
AND pro.ROLE_CODE = :F101_DW_ROLE
AND pro.pos_role_orgs_active_flag = 'Y'
&P63_AND_CONDITION.
GROUP BY UPPER(t1.olo_name),
t1.class_code,
UPPER(t1.class_title),
t1.pay_plan,
t1.pay_grade_code
ORDER BY t1.class_code ASC, avg_annual_rateThe *&P63_AND_CONDITION.* value is populated based on a "Before Header" computation under Page Rendering, using the logic below. It is then used by the SQL query defined in the reports region at run time.
DECLARE
v_sql VARCHAR2(4000) := NULL;
BEGIN
v_sql := ' ';
IF :P_MULTI_OLO IS NOT NULL THEN
v_sql := v_sql || q'[ AND INSTR(':'||']' || v('P_MULTI_OLO') || q'['||':', ':' || t1.olo_code || ':') > 0]';
END IF;
RETURN v_sql;
END;Did you get an answer for this?
-
Variable substitution for Dynamic filename
Hi All,
my Scenario is Proxy to file. and the receiver file should be a zip file of extension .dat.gz.
In mapping I tried as below. In signature I used one sender and two receiver messages.
SENDER: RECEIVER:(2messages)
MT_Product MT_Product
-----Row ---------Row
---------field1 -----------field1
---------field2 -----------field2
---------field3 -----------field3
MT_Poduct_1
--------field5
for field5 I mapped current date and I am trying to use it in Reciver file communication channel. will that be correct to use?
In receiver communication channel the file name is Product_%field5%.zip I used
and I used Module Configuration for content conversion and Zipping the file.
In variable substitution I used field5 for dynamic date.
field5-----------
payload:Messages,1,Message2,1,MT_Product_1,1,field5,1
Module Confuguration:
Guys! am on right path????? will this be possible????Hello,
Why you are using multimapping? Just for defining target file name using var substitution - BTW, that too is incorrect. You cannot use Messages/Message 1 nodes in variable substitution.
Secondly, if I am not wrong the approach of defining dynamic zip file name using variable substitution won’t work because variable substitution will be executed once all the modules before standard call sap adapter gets executed. So during runtime, at var substitution step, ur file will actually be a text file instead of XML as a result u will get an exception.
So, if there is no specific objective of using multimapping then simply use DC.
Thanks
Amit Srivastava -
Logic for carry forward of previous stock to current period stock.
Hi Experts,
Client is using already MC.9 for see the stock analysis report, however as per there requirement we are exploring BOM as well as fetching quantity from table level as well. in my report I am experiencing difficulty to carry forward previous period closing stock quantity to current period stock quantiy, if there is no received for current period, however the same is happens in MC.9
Could any one tell me what is the logic behind MC.9 which is do carry forward previous period closing stock to current period stock quantity in report.
As per the requirement I am using S031, S032,S033, however unable to get logic for carry forward the previous month stock quantity to current month.
have a requirement of creating a report of showing material stock period wise for each plant in below mention format.
Header 1
Header 2
Header 3
Header 4
LFGJA/LFMON
ROH (MT)
HALB (MT)
FERT (MT)
11.2013
100.000
121.000
121.00
12.2013
50.000
12.000
123.00
01.2014
23.231
.23.234
45.342
02.2014
23.231
34.094
45.098
03.2014
34.098
98.983
00.000
04.2014
00.000
69.093
98.098
05.2014
00.000
89.098
00.000
For Example Break up of ROH material plant wise in below mention format.
LFGJA/LFMON
WERKS
MENGE (MT)
11.2013
P001
30.000
11.2013
P002
50.000
11.2013
P003
20.00
Thanks in advance,
SKNHi,
The last period closing stock = current period opening stock. You may get the details from MBEWH and S032 tables. Refer the doc: Material Stock and Valuation History tables - how to read them
Regards,
AKPT -
In MVC, do i need a View or Page with flow logic for POPUP window
Hi All,
I have the below scenario using the MVC pattern.
I have a main view with 3 trays, each tray has two buttons, for example first tray has Create Order button. When I click on this button, I need a popup window to come with a tableview and a button(Create), where I select some rows and click on the button Create to create order.
But as per the MVC pattern I canu2019t call the view (popup) from another view(main view). So should I create a VIEW or PAGE WITH FLOW LOGIC for the popup? .
I need 6 popup to be called from the main view and once the function is done close the popup.
Please suggest me the flow for this scenario.
Cheers,
Srini.Srini,
1. You can call the view in pop-up because you will be calling the controller using open.window.
Here is the sample code:
method DO_REQUEST .
data:
li_vw type ref to if_bsp_page,
lv_form_field type string,
li_md type ref to zcl_model01.
dispatch_input( ).
li_md ?= get_model( 'm01' ).
lv_form_field = request->get_form_field( 'invoice_create' ).
if lv_form_field is initial.
*------ Request to display main page
li_vw = create_view( view_name = 'main.htm' ).
li_vw->set_attribute( name = 'model' value = li_md ).
call_view( li_vw ).
elseif lv_form_field eq 'true'.
*------ Request to display Invoice page in pop-up
li_vw = create_view( view_name = 'invoice.htm' ).
li_vw->set_attribute( name = 'model' value = li_md ).
call_view( li_vw ).
endif.
endmethod.
Layout:
function do_Invoice()
{ var s=0; r=1; w=300; h=300; x=screen.width/2;
x=x-w/2;
var y=screen.height/4;
y=y-h/2;
popUp=window.open('main.do?invoice_create=true','win','width='+ w
+',height='+ h +', left=' + x +',top='+ y +');
Option2:
Ofcourse you can't bind the model in page becos those are 2 different things. But all you need to do is access the model to get some value. To know how to access the model from Page w/flow logic look at [this link|Passing model reference to a page in a Popup].
Raja
Edited by: Raja Thangamani on Apr 14, 2009 11:22 AM -
Sum for Dynamic Fields in a Dynamic Table with Field Symbol
Hi All,
I currently have an report which I am looking to update with some totals. The information is currently output in an ALV which is fed data from a dynamic table defined with a field symbol. The modification that needs to be applied is a summation per currency code where each of the fields to be summed is a dynamically named field at runtime. I am now just looking to see if anyone has any recommendations on how to obtain these totals it would be appreciated. I have no problem doing the leg work in piecing the solution together but am just stuck on which approach I should be investigating here. I have looked into several options but do to the fact that the totals are for dynamic fields in a dynamic table and it is a field symbol I am having some difficulties thinking of the easiest approach to obtain these totals.
Below is a simple sample of what the report currently looks like and what we are looking to add.
====================================================================================
As-Is Report:
DETAILED DATA ALV
Company Code | Plant | 2006 Total | 2007 Total | 2008 Total | CURRENCY
0001 | ABCD | 1,500 | 1,200 | 1,700 | USD
0001 | BCDE | 2,300 | 4,100 | 3,600 | GBP
0003 | DBCA | 3,200 | 1,600 | 6,200 | USD
Addition 1:
TOTALS PER CURRENCY
Currency | 2006 Total | 2007 Total | 2008 Total |
USD | 4,700 | 2,800 | 7,900 |
GBP | 2,300 | 4,100 | 3,600 |
Addition 2:
CONVERSIONS TO USD
| 2006 Curr | 2006 USD | 2008 Curr | 2006 USD |
USD | 4,700 USD | 4,700 USD | 7,900 USD | 7,900 USD |
GBP (1.5GBP/1 USD) | 2,300 GBP | 1,150 USD | 2,300 GBP | 1,800 USD |
====================================================================================
Any recommendations will be appreciated.Hi,
We cannot use the key word SUM in the loop at assigning statement.
The way i see is
When you are creating the first dynamic internal table , create one more with the structure below:
Currency | 2006 Total | 2007 Total | 2008 Total |
Then while populating the data into first itab,also move the contents to the second itab using collect statement. -
What is the logic for 2LIS_17_I3HDR to pick a order as completed on time?
Hi, Experts:
I am working on PM using 2LIS_17_I3HDR to load data. In 2LIS_17_I3HDR, there is a field called "orders completed on-time". I am wondering what is the logic for 2LIS_17_I3HDR to identify if an order was completed on time. I would assume it compares some kind of completion/finish date with a planed/schduled comletion/finish date. Would someone please tell me what fields in what table or in transaction IW39 DOES does 2LIS_17_I3HDR use for this?
Many thanks!
JennyHi, Ram:
Thank you for the reply!
The key figure is ZHLAFIH_TGERL (Number of On-time Closed Orders). I saw some SAP programs refering to its component type "DZHLAFIH_TE" too.
Thanks,
Jenny
Edited by: Jenny Chen on Dec 2, 2009 7:53 PM
Edited by: Jenny Chen on Dec 2, 2009 7:55 PM -
Error in User defined function for dynamic file naming
Hi,
While creating User Defined function with this following code for dynamic fieldname
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String ourSourceFileName = conf.get(key);
return ourSourceFileName;
which options should i select for cache Value, Context, Queue
for Augument , what name shd i mention.
Regards,
VarunHi Varun,
I guess I have answered a similar question just a few minutes before on very similar post from you. Just pasting the same here .................
Are you trying to access the ASMA values from the SOAP header of the XI message for the source file name?
First of all you need to Set the Sender File Adapter for Set ASMA and then file name. So it will work fine when you actually run the scenario end to end.
But in the mapping tool when you test the mapping - there is not message header updated with the actual source filename - and whenever you try to read the FileName attribute in the message header from the UDF - it cannot find the object and returns a NullPointerException.
I would suuggest for your mapping tool testing to be successful, have a check in the java code for null values,
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String ourSourceFileName = conf.get(key);
If (ourSourceFileName != null)
Return ourSourceFileName;
Return "NoFileName.txt";
Let us know if this works.
Regards,
Suddha -
Can anybody help?
I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
Does it have a line in and how do you monitor sound?
Will I need adaptors and an interface?
Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
I see all the upgrades as additional memory or a faster process?
Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
I have £500 already and willing to add another 500 to 700 pounds, then software extra.Can anybody help?
I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
Does it have a line in and how do you monitor sound?
Will I need adaptors and an interface?
Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
I see all the upgrades as additional memory or a faster process?
Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
I have £500 already and willing to add another 500 to 700 pounds, then software extra. -
FAGLL03 : Submit syntax for dynamic selections
Hi Experts,
My z report contains following fields in selction screen.
1 . G/ L account
2. Comapny code
3. posting date
4. document type
5. layout
In my z report i used following syntax for passing selection screen values to standard program and getting data.
SUBMIT FAGL_ACCOUNT_ITEMS_GL
WITH SD_SAKNR IN S_SAKNR
WITH SD_BUKRS IN S_BUKRS
WITH X_OPSEL EQ ' '
WITH X_CLSEL EQ ' '
WITH X_AISEL EQ 'X'
WITH SO_BUDAT IN S_BUDAT
WITH PA_VARI EQ P_VAR
EXPORTING LIST TO MEMORY
AND RETURN.
The above syntax is not working for dynamic selection field ( document type ), entire document types data is fetching from standard program. I want to fetch document type data based on my z report selection values for document type field.
Expect for document type field , submit syntax is working.
kindly provide submit syntax for my above requirement .
Any suggestions from experts....
thanks & regards,
Hari priya
Edited by: Hari Priya on Aug 24, 2009 4:33 PMHi,
Try like this.
call function 'RS_REFRESH_FROM_SELECTOPTIONS'
exporting
curr_report = 'FAGL_ACCOUNT_ITEMS_GL'
tables
selection_table = i_sel[].
Fill your profit center values in i_sel
Submit FAGL_ACCOUNT_ITEMS_GL with selection-table i_sel and return
WITH FREE SELECTIONS TEXPR AND RETURN
Regards,
Shamma -
How to add Document group in t code S_ALR_87012082 for dynamic selection.
Hi Gurus,
I Need to add Document group in t code S_ALR_87012082 for dynamic selection.
Currently here two groups are showing , Vender and Comp Code. i need to add Document group there. Kindly guide me in this.
Thanks in advance.Hi
Pls follow below report
*S_ALR_87012103 - List of Vendor Line Items *
In dynamic selections you can find Document number, there you can give the range
Reg
Vishnu -
Could anyone provide sample of WebDynpro Java TableFilter for Dynamic Table
Hi
I have a dynamic table I have given a context node as a data source and it executes a Web Service and populates itself based on the resultset of query this node contains no of columns and rows
The table changes dynamically everytime the user selects different table type
When I created a TableFilter I used IWDTableColumn from the current view and looped though the context elements and binded the values of attributes of each context element to this column inside a loop. TableSort works, But I am not able to get the Filter working for the Dynamic Table , when I click on Filter Button the Filter does not filterand just sorts.
Not sure what is wrong but if someone can give some inputs,leads I will highly appreciate if some one has a sample of WebDynpro Java TableFilter for Dynamic Table
Thanks in advance,
Ragu.Hi Ragu,
Please check the link for table filtering.
http://wiki.sdn.sap.com/wiki/display/WDJava/GenericTableFilter+Code
since your dynamic table uses webservice I assume it has fixed context attributes, just put the filter into wdDoModify method everytime you execute/trigger the webservice.
Regards,
Maybe you are looking for
-
Hi: Am having a table names emp with column commission of numeric datatype. I need to find the 3 maximum commision from this emp table.... Thanks Shan [email protected]
-
I created a dropdown navbar using the spry widget in DWCS6/HTML5/CSS3. It works fine, but it's performance is slow and clunky compared with other dropdowns I've seen. Is there a better solution to spry?
-
Print ean barcode on report 6i
Someone Know if it is possible printing EAN BARCODE using report 6i passing as parameter the ean number ??? Thank YOU
-
My itunes just pinwheels forever and never loads. I have tried force quitting it and retarting my computer. How can I fix this ASAP please?
-
When linking a BP and Customer, it complains about creating the customer
I am using transaction FLBPD2 to link an existing business partner to an existing FI customer using a business partner role. It returns the error: Customer 0000200000 already exists Message no. FLBP155 Diagnosis You tried to create a business partner