How to show a value of a field in %(Percentage) in ALV report
Hi,
I would like to show % symbol in my ALV report.
Can anybody please let me know how to do this.
Thanks
Venkat
plz refer this..
DATA : v_var(10) TYPE p DECIMALS 2,
v_char(12) .
v_var = '-3.12'.
IF v_var < 0 .
v_char = ABS( v_var ).
CONDENSE v_char.
CONCATENATE '-' v_char INTO v_char.
ELSE.
v_char = v_var.
ENDIF.
WRITE :/ v_var ,
Similar Messages
-
How to show fixed values instead of field values in ALV cell.
Hi colleagues,
I have a ALV object of type CL_GUI_ALV_GRID.
I have associted a table with it which has a field called refresh type which is of type char1.
My program works fine.
But the problem is,
The refresh_type field has fixed values in its value range.
On display of ALV i want to show the associated fixed value instead of actual value in table content.
I donno the way to do it.
Please help me.
-TruptiAnother way to do this would be to define a conversion exit function for use in the report.
You can copy a SAP-provided function group like ALFA as a template, but you may need untyped importing/exporting parameters. Name the new functions as CONVERSION_EXIT_Zxxx_OUTPUT and CONVERSION_EXIT_Zxxx_INPUT where Zxxx is some string you choose.
In this case the input to the ...OUTPUT function will be the code value from the database and the output value will be the corresponding text. So the code of the function CONVERSION_EXIT_Zxxx_OUTPUT will do the conversion suggested in steps 2 & 3 of Marcin's response above.
Here is an example based on the SFLIGHT model to enhance example report BCALV_GRID_DEMO.
First the conversion function: (I used 'zalv' as my identifying string for the conversion.)
function conversion_exit_zalv_output.
*"*"Local Interface:
*" IMPORTING
*" VALUE(INPUT)
*" EXPORTING
*" VALUE(OUTPUT)
field-symbols:
<output> type c,
<carrid> type c.
assign input to <carrid> casting.
assign output to <output> casting.
select single carrname from scarr into <output> " convert code to text
where carrid = <carrid>.
endfunction.
In a copy of program BCALV_GRID_DEMO, make changes in the module pbo.
module pbo output.
set pf-status 'MAIN100'.
if g_custom_container is initial.
create object g_custom_container
exporting
container_name = g_container.
create object grid1
exporting
i_parent = g_custom_container.
* " changes start here
data: gs_fcat type lvc_s_fcat,
gt_fcat type lvc_t_fcat.
tables: dd03l.
select * from dd03l where tabname = 'SFLIGHT'. " fill field catalog
if dd03l-fieldname = 'CARRID'.
gs_fcat-inttype = dd03l-inttype.
gs_fcat-outputlen = 20.
gs_fcat-coltext = 'Carrier'.
gs_fcat-seltext = 'Carrier'.
gs_fcat-edit_mask = '==ZALV'. " == with the string you used to name the functions
else.
clear gs_fcat.
gs_fcat-ref_table = dd03l-tabname.
endif.
gs_fcat-fieldname = dd03l-fieldname.
append gs_fcat to gt_fcat.
endselect.
* " changes end here
call method grid1->set_table_for_first_display
exporting
i_structure_name = 'SFLIGHT'
changing
it_fieldcatalog = gt_fcat
it_outtab = gt_sflight.
endif.
endmodule. "PBO OUTPUT
If you run this amended program, you see appropriate carrier texts in the ALV grid, where the original program had the IATA codes.
This approach makes sense if, for example, the same translation is also required elsewhere, as the function can easily be reused.
best wishes
Ed -
How to show "ALL" Values by default in Page Drop-Down Lists in Pivot Tables
Hi Everyone,
Iam stuck with 1 problem please can any 1 help me if u know the solution.
Here is my problem:
How to show "ALL" Values by default in Page Drop-Down Lists in Oracle BI Pivot Tables?
For example, if you place Region in the pages area, a Region drop-down list allows the user to select a particular region, and see the data for only that region, rather than seeing all the Regions,But by default its not showing "ALL" option in the drop down list ,rather than doing that its showing result for only 1 region by default.
And an other problem with this pages area is, if we palce the multiple attributes in the Pages area in the pivot table, the (Fields)result is showing in vertically, the attributes 1 by 1(Every attribute in a new line) ,rather than showing like that, is there any way to show the results in horizantally?(We want to have it as a seperate drop drown list for every field horizantally not as a concatenated list).Thanks Nikhil. But I am fetching the values from the LOVCache.java.
I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
I mean to say can I write
unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
where LOVCache.entityTypeSelectionList is used to populate the drop down box.
Regards,
Aseet -
How to Show total value in the header 2nd page but based on 1st page footer
How to show total value in header in report builder but i have the total have related with the total in footer.
Example
===============================================
Page 1
Empno Ename Sal
1 Scott 1000
2 ALlen 2000
3 Susi 1000
Total Sal Page 1: 4000
===============================================
Page 2
Total Sal Page 1: 4000 --> How to get it?????
Empno Ename Sal
4 Budi 1000
5 Roger 200
6 George 2000
Total Sal Page 2: 3200
Please Help..
Thankshmm .. what i would do is
- create a placeholder column
- create a field in the header and one in the footer
- have the footer field reference the summary column
- have the header field reference the placeholder column
- create a fromat trigger on the footer field to
store the value of the footer into the placeholder column
so when the report is executed and the footer field is formatted, the format trigger stores the current value of the summary in the placeholder. then the pagebreak occures and the header field is formatted .. printing the value.
there might actually be an easier way, just reference the two fields to the same summary column and in theory, since there is nothing happening between the time when the footer is formatted and the header is formatted, the values should be the same .. however this is a theory and i have not actually tested this. since reports does all kinds of fancy optimization this might have unexpected results, but it's worth a try.
thanks,
ph. -
How to print the value of a field of type FLTP
hi experts,
pls tell me how to print the value of a field of type FLTP. i.e in decimal format not in exponential format.
thankyou.
krishnaHi ,
I dont think in Floating point u can able to go for the decimal point display as it is for the minimum precission display..
Define the variable as the 'packed' type and then u can able to define the decimal point...
Cheers,
SImha. -
Hi there! just want to ask how to show the value 1 in chart?
Thank you in advance!
Best Regards,
JefHi jefnavarro,
According to your description, you hope the value 1 to be displayed in series. If so, please refer to the following steps to set minimum value of Horizontal Axis to zero:
Right click anywhere of Horizontal Axis on the chart and open Horizontal Axis Properties dialog box.
In Axis Options pane, in Axis range and interval section, click the expression (fx) button next to Minimum.
In the expression text box, type =0, then click OK.
The following screenshots are for your reference:
If you have any questions, please feel free to let me know.
Best Regards,
Wendy Fu
Hi there and good day to you!
First of all thank you for the clear steps that you share but I don't know why still won't come..
maybe because my horizontal axis is starting from 1 as you can see on the lower part of my screenshot.. how can i set this to 0?
thank you again.
edited:
just want to add that my data is only counting on data in Values [Count(Name)] in chart data maybe that's why i don't have 0 value? -
How to display 7 values of single field in row wise.
hi,
how to display 7 values of single field in row wise.
thankx in advance.hi ,
do it like this :
1 Place ur UI element in tranparent container with Layout as Row Data and Layout Data as Row Head Data
2 Ur first UI , which contains the first value as Row Head Data ,
3 Others as Row Data
u can do it with Matrix Data as well
if u want to give space , u can use HORIZONTAL GUTTER and set its width to medium / large / Xlarge
also there is a UI element "INVISIBLE ELEMENT" ,
1 u can use this UI element to provide space between ur other UI elements in the view
2 u can insert a text element as well , and in the Text property of the element press ALT + 0160.
u can give the space bw UIs as desired.
regards,
amit -
Hello,
Photoshop Elements 8, How to show hue, value and saturation of a specific area of a picture?
How should I select the area? Which tool?
Thank you in advance, KarlFirst make sure your Info Palette is visible : menu Window / Info (shortcut F8)
In this palette, click the small icon 'more'
Choose 'Palette Options'
and choose HSB for the second palette readout. -
Field value is not coming in my customize ALV report
Hi All,
Good day.
I have added two fields in a customized ALV report. But the customized report was not developed by me. Therefore I am unable to understand the whole report. As per my requirement I have added 2 fields more like* quantity* & unit field in that ALV. But not understanding why values are not coming in my report though values are there in DB. Plz help me regarding this. The portion of the code is given below.
SORT t_ekbe by belnr.
loop at t_ekbe INTO w_ekbe where vgabe = '1'.
on CHANGE OF w_ekbe-belnr.
SELECT MBLNR
BWART
SMBLN
ERFMG " This is the new added field
erfme " This is the new added field
INTO CORRESPONDING FIELDS OF TABLE t_mseg
from mseg
where mblnr = t_ekbe-belnr
AND bwart = '101'.
endon.
ENDLOOP.
Thanks,
Tripod.hi ,
Do according to this
SORT t_ekbe by belnr.
if t_ekbe[] is not initial .
SELECT MBLNR
BWART
SMBLN
ERFMG " This is the new added field
erfme " This is the new added field
INTO CORRESPONDING FIELDS OF TABLE t_mseg
for all entries in t_ekbe
from mseg
where mblnr = t_ekbe-belnr
AND bwart = '101'.
endif.
after this
loop at t_ekbe .
loop at t_mseg where mblnr = t_ekbe-belnr .
t_ekbe-ERFMG = t_mseg-ERFMG .
t_ekbe-erfme = t_mseg-erfme .
modify t_ekbe transporting ERFMG erfme .
clear t_mseg .
endloop.
clear t_ekbe .
endloop.
Regards
Deepak . -
How to create field catalog using field-symbols in normal alv report?
hi all,
how to create field catalog using field-symbols in normal alv report? i.e, using function modules...reuse_alv_list_display/grid_display?
regards,
jackHI
LIKE THIS
TYPE-POOLS : slis.
DATA : t_fieldcat TYPE slis_t_fieldcat_alv,
st_fieldcat TYPE slis_fieldcat_alv.
st_fieldcat-fieldname = 'STATUS'.
st_fieldcat-seltext_l = 'STATUS INDICATOR'.
st_fieldcat-outputlen = 17.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
st_fieldcat-fieldname = 'VBELN'.
st_fieldcat-do_sum = ' '.
st_fieldcat-seltext_l = 'Sales Document No.'.
st_fieldcat-outputlen = 10.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
st_fieldcat-fieldname = 'AUDAT'.
st_fieldcat-do_sum = ' '.
st_fieldcat-seltext_l = 'Document Date'.
st_fieldcat-outputlen = 10.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
st_fieldcat-fieldname = 'VBTYP'.
st_fieldcat-do_sum = ' '.
st_fieldcat-seltext_l = 'Document Type'.
st_fieldcat-outputlen = 4.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
st_fieldcat-fieldname = 'AUART'.
st_fieldcat-do_sum = ' '.
st_fieldcat-seltext_l = 'Category'.
st_fieldcat-outputlen = 1.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
st_fieldcat-fieldname = 'AUGRU'.
st_fieldcat-do_sum = ' '.
st_fieldcat-seltext_l = 'Reason'.
st_fieldcat-outputlen = 3.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
st_fieldcat-fieldname = 'NETWR'.
st_fieldcat-do_sum = 'X'.
st_fieldcat-seltext_l = 'Net Amount'.
st_fieldcat-outputlen = 15.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
st_fieldcat-fieldname = 'WAERK'.
st_fieldcat-do_sum = ' '.
st_fieldcat-seltext_l = 'Unit'.
st_fieldcat-outputlen = 5.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
*sortinfo
st_sort-fieldname = 'AUART'.
st_sort-up = 'X'.
st_sort-subtot = 'X'.
APPEND st_sort TO t_sort.
CLEAR st_sort.
st_sort-fieldname = 'VBTYP'.
st_sort-up = 'X'.
st_sort-subtot = ' '.
APPEND st_sort TO t_sort.
CLEAR st_sort.
st_sort-fieldname = 'WAERK'.
st_sort-up = 'X'.
st_sort-subtot = 'X'.
APPEND st_sort TO t_sort.
CLEAR st_sort.
st_sort-fieldname = 'VBELN'.
st_sort-up = ' '.
st_sort-subtot = 'X'.
APPEND st_sort TO t_sort.
CLEAR st_sort.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = it_eventcat
EXCEPTIONS
list_type_wrong = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF grid = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = g_program
I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT =
it_fieldcat = t_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
it_sort = t_sort
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
IR_SALV_FULLSCREEN_ADAPTER =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = it_final
EXCEPTIONS
program_error = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REWARD IF USEFULL -
How to apply List box for multiple selection of rows in ALV report ?
Hi Exprots,
1: How to apply List box for multiple selection of rows in ALV report ?
Thanking you.
Subashhi,
check the below program.
REPORT zalv_dropdowns.
*Type pools declarations for ALV
TYPE-POOLS : slis.
*data declarations for ALV container,ALV grid, Fieldcatalogues & layout
DATA: g_grid TYPE REF TO cl_gui_alv_grid,
g_custom_container TYPE REF TO cl_gui_custom_container,
gt_fieldcat TYPE lvc_t_fcat,
gs_layout TYPE lvc_s_layo.*INTERNAL TABLE AND WA DECLARATIONS FOR t517 A table
DATA: gt_outtab TYPE STANDARD TABLE OF t517a INITIAL SIZE 0,
wa_outtab TYPE t517a.
START-OF-SELECTION.*Call to ALV
CALL SCREEN 600.*On this statement double click it takes you to the screen painter SE51.
*Create a Custom container and name it CCONT and OK code as OK_CODE.
*Save check and Activate the screen painter.
*Now a normal screen with number 600 is created which holds the ALV grid.
PBO of the actual screen , Here we can give a title and customized menus
Here we also call the subroutine for ALV output.
MODULE PBO OUTPUT *
MODULE pbo OUTPUT.
PERFORM alv_output.
ENDMODULE. "pbo OUTPUT
MODULE PAI INPUT *
MODULE pai INPUT.
ENDMODULE. "pai INPUT
*& Form BUILD_FIELDCAT
FORM build_fieldcat.
DATA ls_fcat TYPE lvc_s_fcat.
*Build the field catalogue
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'T517A'
CHANGING
ct_fieldcat = gt_fieldcat.
To assign dropdown in the fieldcataogue
LOOP AT gt_fieldcat INTO ls_fcat.
CASE ls_fcat-fieldname.
WHEN 'SLART'.
*is the first list box
ls_fcat-drdn_hndl = '1'.
ls_fcat-outputlen = 15.
MODIFY gt_fieldcat FROM ls_fcat.
is the second list box
WHEN 'ABART'.
ls_fcat-drdn_hndl = '2'.
ls_fcat-outputlen = 15.
MODIFY gt_fieldcat FROM ls_fcat.
ENDCASE.
ENDLOOP.
ENDFORM. "build_fieldcat
*& Form ALV_OUTPUT
FORM alv_output .*Create object for container
CREATE OBJECT g_custom_container
EXPORTING container_name = 'CCONT'.
*create object for grid
CREATE OBJECT g_grid
EXPORTING i_parent = g_custom_container.
Build fieldcat and set column
*Assign a handle for the dropdown listbox.
PERFORM build_fieldcat.
*Build layout
PERFORM build_layout.
Define a drop down table.
PERFORM dropdown_table.
*fetch values from the T517A table
SELECT * FROM t517a INTO TABLE gt_outtab.
*Display ALV output
CALL METHOD g_grid->set_table_for_first_display
EXPORTING
is_layout = gs_layout
CHANGING
it_fieldcatalog = gt_fieldcat
it_outtab = gt_outtab.ENDFORM. "ALV_OUTPUT
*& Form dropdown_table
text
--> p1 text
<-- p2 text
FORM dropdown_table.*Declarations for drop down lists in ALV.
DATA: lt_dropdown TYPE lvc_t_drop,
ls_dropdown TYPE lvc_s_drop.
First SLART listbox (handle '1').
ls_dropdown-handle = '1'.
ls_dropdown-value = '01 Primary school'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '1'.
ls_dropdown-value = '02 Lower Secondary'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '1'.
ls_dropdown-value = '03 Upper Secondary'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '04 Professional School'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '05 College'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '06 University'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '09 Other Establishment'.
APPEND ls_dropdown TO lt_dropdown.* Second ABART listbox (handle '2'). ls_dropdown-handle = '2'.
ls_dropdown-value = '10 Primary School certificate'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '2'.
ls_dropdown-value = '20 Lower secondary/Junior high'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '30 High school diploma(B-levels)'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '2'.
ls_dropdown-value = '31 Vocational'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '32 Matriculation'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '40 Specialist vocational certificate'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '50 College degree Level1'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '51 College degree Level2'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '52 Masters degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '60 Univ Degree level1'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '61 Bachelors degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '62 Masters degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '63 Licenciate'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '64 Doctors Degree Ph.D'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '89 None'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '90 Unknown'.
APPEND ls_dropdown TO lt_dropdown.*method to display the dropdown in ALV
CALL METHOD g_grid->set_drop_down_table
EXPORTING
it_drop_down = lt_dropdown.ENDFORM. " dropdown_table
*& Form build_layout
text
*layout for ALV output
FORM build_layout . gs_layout-cwidth_opt = 'X'.
gs_layout-grid_title = 'ALV DROPDOWN LISTS'.
gs_layout-no_toolbar = 'X'.ENDFORM. " build_layout
endform.
Edited by: S.r.v.r.Kumar on Jun 1, 2009 2:48 PM -
How to show header value in each page same as Page field value.
Hi there
It would be very helpful if anyone could tell us how to set header value based on the page field.
To make it more clear.. i have a field in my Rtf (which is basically a group by) so in each page it'll differ.. My Header should reflect the same as field value.
what my understanding is header wont change for each page. but ,my requirement is something like i have to show the header which is same as one of my filed value..
for eg:
HEADER: ABC page-1
Field - ABC
HEADER:XYZ page-2
Field - XYZ
Regards - Vijay
Edited by: Vijay Santhanam on 23-Oct-2008 3:51 PMHi Haiye ,
The Pointer you gave would keep Header ABC through out all the pages in report right, actually i had tried this and got same header for all pages,
but what i need is my first page Header should be based on one of the field of Page 1, second pge Header again based on the same field, but the value may differ... (coz the page field is group by ).
Would appreciate your help on this issue!!
Regards - Vijay -
How to get the values of the fields inside pageFragment
Hi All,
I am working on Jdeveloper 11.1.1.5.
I have a fragment "home.jsff", in that fragment i have two textboxes(txt1,txt2);
Then i have created a bounded taskflow "myTF"and dragged the home.jsff inside it and used as a default activity.
Now finally i have "final.jspx" , in which i have dragged and dropped the bounded taskflow "myTF" as a region.
Scenario : - I have a button on final.jspx , and on click of that button i need to get the value of those two textboxes using bindings which is present in fragment .
On Click of button,I am using this method of pageDef and i am able to get the values :-
jsfUtils.resolveExpression("#{data.abc_homePageDef.txt1.inputValue}");
but somehow it gives me null in some conditions.I don't know why it sometimes gives the value and why it doesn't.
I have seen this video in which Frank has told about the API Mistakes : -
http://download.oracle.com/otn_hosted_doc/classic_api_mistakes_part1/classic_api_mistakes_part1.html
and i did the same mistake but what is the another approach .
If i need to get the current value of txt1, then how can i get it??
What is the best approach to get the values of the pageFragment attributes and how to use it ?
Please suggest!!!
Regards,
ShahHi Tulasi,
As i have said that i am trying to get the values on the click of button(*not on page load*) situated on final.jspx page.
On click of button i am using this code to get the values :-
public String getValueTextBox()
Object valueTXT= getBoundAttributeValue("txt1");
logger.info("value is"+ valueTXT); *// It shows the value as null.*
return null;
public Object getBoundAttributeValue( String attributeName) {
BindingContext bctx = BindingContext.getCurrent();
BindingContainer bindingContainer = bctx.findBindingContainer("abc_homePageDef");
if (bindingContainer != null) {
ControlBinding ctrlBinding = bindingContainer.getControlBinding(attributeName);
if (ctrlBinding instanceof AttributeBinding) {
return (AttributeBinding)ctrlBinding;
return null;
Please suggest!!!
Regards,
Shah -
How to display F4 values in one field based on other field selection
Hi All,
How to hide a UI element (i.e Link to action) highlited for Normal User and display the same to super user.
Component Name : /SAPSRM/WDC_DODC_SC_GAF_C
2.Can i know how to display the entries in supplier field based on Product category selection.
Right now all the entries are getting displayed in the supplier field.
I want to display only entries based on Product category.
Search Help Name : BBP_BUPA_CLL_PARTNER
Component Name : /SAPSRM/WDC_DODC_SC_I_LIM
How to enhance the web dynpro component with the filtered values.
Regards,
Krish.Hi Ashvin,
Thanks for the document. In the search help there is a standard FM which is getting executed.
Can i enhance that FM or should i copy and edit.
BBP_F4IF_SHLP_EXIT_CLL_PARTNER
If i creata a Z FM and make changes how to pass that values to my standard Component View UI Element.
If not then suggest me some alternative.
Regards,
Krish -
How to show excessive values in next page in SAP SCRIPT
Hello,
Please any one can help to show excessive values in next page .
For example i want to show
567
5678
789
23456
I want to show values 23456 in next page only.
Can anyone please suggest me how to do so?
Thanks and regards
MaveHi Swetlin,
I have this format in the main window.
textaaaaaaaaaaaaaaaaa
textfffffffffffffff
123
1234
1234
5667
1234
textweeeeeeeeeeeeeeeeeeeeee
texttryrtyrtuyrturtur
now when i am doing as you suggested
the last texts are coming in the next page.
What i want is to show overflow of numeric data in next page and the remaining last text should remain as it is in the first page only.
i mean
textaaaaaaaaaaaaaaaaa
textfffffffffffffff
123
1234
1234
5667
1234
textweeeeeeeeeeeeeeeeeeeeee
texttryrtyrtuyrturtur
and in the next page
4567
4568
8790
Thanks and regards
Mave
Maybe you are looking for
-
ORA-01722: INVALID NUMBER ERROR THROWN in suppliers accounting page
Hi, I am facing an issue in the suppliers page. After querying for a supplier, I am click on the update icon to go to the details page. In this page whenver i click on Acounting link in the left side menu, i am getting the following error. ("java.sql
-
Goods Recipt againest KANBAN SumJC
Hello Team , Im facing one error while doing the Goods receipt for KANBAN Summarized JIT call. We received the Summarized JIT call for KANBAN and trying to post the goods receipt using transaction code : PJWE and BORGR_C. The system is giving error t
-
Keep Touch From Reformatting Without Passcode?
We have restrictions on our iPod Touch but it is very easy to get around by just reformatting the Touch. Is there a way to keep the iPod Touch from being able to reformat without typing in the passcode? If the passcode is typed in, no big deal, but i
-
I'm trying out the firstcup tutorial before attacking the BluePrints. In DukesBday.java, Step 4 on page 33 of the tutorial, the reference to com.sun.firstcup.webservice.DukesAgeService cannot be resolved, yet the reference to com.sun.firstcup.webserv
-
How to change your user name for the Ipod nano...
Can anyone please explain how to change the user name on your Ipod nano?