Compute total on a field based on change in values in 2 other fields
I have the following requirement
ITAB has fields
PO# PO_LINE# ............ PRICE
100 1 500
100 2 100
200 1 300
300 1 200
300 2 700
300 3 100
and my required output in ALV is
PO# PO_LINE# ............ PRICE
100 1 500
100 2 100
Total 600
200 1 300
Total 300
300 1 200
300 2 700
300 3 100
Total 1000
i want to compute the total price for each PO#.
Can someone please suggest how ?
Thank u so much.
Hello Asha,
It appears that you are looking for the subtotal functionality that is built into ALV. The "sort" table that is accepted by the ALV FM has a field named "subtot" that can be used to flag a field for subtotals. In your case you would flag the PO# field for subtotals.
A bare bones example of entering this information can be seen in the following:
" Fill out the field catalog, layout, etc.
" Now we will populate the sort information
ls_sort-fieldname = 'PONUMBER'.
ls_sort-up = 'X'.
ls_sort-subtot = 'X'. "This is the field that will allow subtotals
APPEND ls_sort TO gt_sort.
" Call the the display ALV FM
Now this comes with a number of conditions:
1. For simple cases, the field you want to subtotal over must be the left-most column. In your example it looks like you meet this requirement as PO# is the first column.
2. You also need to make sure that there is a column that allows totals. In your example you need to make sure price has the proper data type to allow for totals.
If you are still having trouble, I would recommend looking at the following code example: [Display subtotal text in ALV grid|http://wiki.sdn.sap.com/wiki/display/Snippets/DisplaysubtotaltextinALV+grid]. It contains a more complete example of how to use subtotals in ALV.
Similar Messages
-
Can not compute totals on a column based on a summary column
Hi. I'm new in Discoverer.
I have created a worksheet based on the following query:
SELECT O101158.COD_HACIENDA, O101158.NOMBRE, O101266.DESC_UNIDAD, SUM(( NVL(O101501.PESO_NETO,0)/1000 ))
FROM ASISTEN.SAT_HACIENDAS O101158, ASISTEN.SAT_UNIDADES O101266, ROMANA."BOLETO_CA#A" O101501
WHERE ( ( O101158.COD_UNIDAD_OPER = O101266.COD_UNIDAD ) AND ( O101501.COD_HACIENDA = O101158.COD_HACIENDA ) ) AND ( O101501.ZAFRA = '2004-2005' )
GROUP BY O101158.COD_HACIENDA, O101158.NOMBRE, O101266.DESC_UNIDAD
ORDER BY O101266.DESC_UNIDAD ASC
The expression SUM(( NVL(O101501.PESO_NETO,0)/1000 )) is defined in Discoverer as a calculated item.
I have created a total on the sum expression. The idea is to have it compute at the "DESC_UNIDAD".
The problem is that only the label "Sum" is printed at the right level. No total is calculated.
Is this a restriction on totals based on aggregation or am i missing somthing here?
Best regards, Luis ...!Hi Luis
There have been a number of questions concerning summations of totals in recent weeks.
Take a look at these threads:
Cell sum not working
Calculation shows Blank or NULL in Discoverer Viewer but not in Dis.Desktop
Do either of these help?
Best wishes
Michael -
Need a query based on the property value of the other itemDescriptor
Hi,
I have following structed repository(both items in repository) with itemDesc1 and itemDesc2. Now i have the value of prop2 (of itemDesc2 ) . Using this i want to write query (using QueryBuilder) to get the value for one of the property of itemDesc1.
<item-descriptor name="itemDesc1" >
<table name="xx" type="auxiliary" id-column-name="id" >
<property name="prop" column-name=xx" item-type="itemDesc2" />
</table>
</item-descriptor>
<item-descriptor name="itemDesc2" >
<table name=yy" type="primary" id-column-name="id">
<property name="prop1" column-name="xx" item-type="itemDesc2" />
<property name="prop2" column-name="xx" item-type="itemDesc2" />
<property name="prop3" column-name="xx" item-type="itemDesc2" />
</table>
</item-descriptor>
Thanks in advanceJack,
Simplest solution is probably a lookup table containing a list of positions and the salary level associated with each position:
The formula that retrieves the salaries from the rate table is shown above the Main table (left). Rate Table, to the right, contains the list of positions and the salary associated with each position.
Regards,
Barry -
Change the value of a field in a form when the form is displayed
Hello
I have a report which has a link to a form for updating the records. I have used a link to the form from report which displays the the record to be updated i.e it gets default values from the report. I need to change one of these values at the time of displaying the form. The set_value in the 'before displaying the page' section doesn't change the vaue displayed in the form. I tried in other 'Advanced pl/sql' sections provided but didn't succeed.
Thank you
Jayasreehi,
let's call the new value u want to set "NewValue"
insert this code in the before displayin' the page
htp.p('<script language="Javascript1.1">
function defaultValue(fieldname)
var thefield;
for( var v=0; v < document.forms[0].elements.length; v++)
// get the right field
if (document.forms[0].elements[v].name.indexOf(fieldname) >= 0 )
thefield = document.forms[0].elements[v];
thefield.value='''||NewValue||''';
break;
</script>');
in the after displaying the page section call the function above with the appropriate field:
htp.p('<script language=javascript1.1>
defaultValue(''Field_Name'');
</script>');
where Field_name is the name of the field u want to change the value!
Mohamed -
SPEL? make REASON field required if user has changed the value in SALARY
I have a requirement to make REASON field required if user has changed the value in SALARY field. Is it possible using spel? what are my options?
Karan,
You can change the Rendered Property through personalization.
But in your requirement you need to attach the Spell through personalization & extend the existing CO to set the value of the SPELL based upon the condition.
Note - Refer this thread http://forums.oracle.com/forums/thread.jspa?threadID=2176729&tstart=0. If you have worked on SSHRParams kindly help the user.
Regards,
Gyan -
Not allowing totaling of a field in alv output
hi,
I had made a ALV in which i have to hide 1 field for getting it totaling.
i.e. if somebody try to make total of it ,it should not be allowed on dat field . is dere any solution for this problem?
plzz provide me guidelines for it.Please please it this. I made the total for every field other than RACCT and SUM_COMM.
*& Form sub_prepare_display_output
Display output
--> No Parameter
FORM sub_prepare_display_output .
Local variables
DATA: l_lead_col TYPE char25, " Lead column
l_progname TYPE sy-repid, " Program name
Local internal tables
l_oref_layout TYPE REF TO cl_salv_layout, "Layout
Local work area
l_wa_key TYPE salv_s_layout_key, "Work area for key
l_except1 TYPE REF TO cx_salv_msg,"Exception
l_text1 TYPE string. "Exception msg
If profit center is checked
IF p_prfctr = c_check.
l_lead_col = 'Profit Center'(041).
If product catagory is checked
ELSEIF p_prodc = c_check.
l_lead_col = 'Product Category'(042).
If material is checked
ELSEIF p_smatnr = c_check.
l_lead_col = 'Material No.'(043).
ENDIF.
Create ALV instance with class-method cl_salv_table=>factory
TRY.
CALL METHOD cl_salv_table=>factory
EXPORTING
list_display = if_salv_c_bool_sap=>false
IMPORTING
r_salv_table = v_oref_table
CHANGING
t_table = i_final.
CATCH cx_salv_msg INTO l_except1.
l_text1 = l_except1->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
Make header of the report
PERFORM sub_header_report USING v_oref_table.
Get the toolbar
v_oref_functions = v_oref_table->get_functions( ).
For activating application toolbar
v_oref_functions->set_all( abap_true ).
v_oref_columns = v_oref_table->get_columns( ).
It populate the key fields which are always displayed
PERFORM sub_fill_fields_of_fcatalog USING:
'SUM_COMM' l_lead_col ' ',
'RACCT' 'Account Number'(035) ' ',
'FOBAC' 'FOB Acrual'(023) 'X',
'EXCESS' 'Excess'(024) 'X',
'OBSOLE' 'Obsolescence'(025) 'X',
'PPV' 'Puchachse Price Var'(026) 'X',
'FR_VAR' 'Freight Variance'(027) 'X',
'PROD_OR_VAR' 'Produc Ord Var'(028) 'X',
'DEP_VAR' 'Dept. Variance'(029) 'X',
'OTH_PROD_VAR' 'Other Prod Var'(030) 'X',
'PR_OR_SCRP_VAR' 'Scrap Variance'(031) 'X',
'COST_OF_ACC' 'Cost of Sales Accnt'(032) 'X',
'INV_ACC' 'Inventory Account'(033) 'X'.
Optimize the columns
v_oref_columns->set_optimize( value = 'X' ).
Setting the layout
get the LAYOUT object
l_oref_layout = v_oref_table->get_layout( ).
set the layout key
l_progname = sy-repid.
l_wa_key-report = l_progname.
l_oref_layout->set_key( value = l_wa_key ).
set save restriction:
none / only user-dependent / only user-independent
l_oref_layout->set_save_restriction(
value = if_salv_c_layout=>restrict_none ).
set: setting of default layout is allowed / isnu2019t allowed
l_oref_layout->set_default( value = 'X' ).
Dispaly the output
v_oref_table->display( ).
ENDFORM. " sub_prepare_display_output
*& Form sub_header_report
Create the header of the report
-->P_v_oref_TABLE table name
FORM sub_header_report USING p_v_oref_table TYPE REF TO
cl_salv_table .
DATA : l_oref_grid TYPE REF TO cl_salv_form_layout_grid.
CREATE OBJECT l_oref_grid.
Add text items for top of page
l_oref_grid->create_text( row = 1 column = 1 text = 'Program'(022)
l_oref_grid->create_text( row = 1 column = 2 text = sy-repid ).
l_oref_grid->create_text( row = 2 column = 1
text = 'User Name'(021) ).
l_oref_grid->create_text( row = 2 column = 2 text = sy-uname ).
l_oref_grid->create_text( row = 3 column = 1 text = 'Date'(020) ).
l_oref_grid->create_text( row = 3 column = 2 text = sy-datum ).
l_oref_grid->create_text( row = 3 column = 3 text = 'Time'(019) ).
l_oref_grid->create_text( row = 3 column = 4 text = sy-uzeit ).
l_oref_grid->create_text( row = 4 column = 1 text = 'System'(018) ).
l_oref_grid->create_text( row = 4 column = 2 text = sy-sysid ).
l_oref_grid->create_text( row = 4 column = 3 text = 'Client'(017) ).
l_oref_grid->create_text( row = 4 column = 4 text = sy-mandt ).
Declare grid as header of list
p_v_oref_table->set_top_of_list( value = l_oref_grid ).
ENDFORM. " sub_header_report
*& Form sub_fill_fields_of_fcatalog
This subroutine populates the field catalog excluding
period fields
-->P_FIELDNAME Table field name
-->P_NAME Field description
-->P_DEC Decimal value flag
FORM sub_fill_fields_of_fcatalog USING p_fieldname TYPE lvc_fname
p_name TYPE c
p_dec TYPE c.
DATA: l_char_l TYPE scrtext_l, "For short text
l_char_m TYPE scrtext_m, "For medium text
l_char_s TYPE scrtext_s, "For long text
l_except1 TYPE REF TO cx_salv_not_found,"Exception
l_text1 TYPE string, "Exception msg
l_orf_aggregs TYPE REF TO cl_salv_aggregations.
Getting the text long/short/medium into variables
l_char_l = p_name.
l_char_m = p_name.
l_char_s = p_name.
Setting the long/short/medium text and fix the key fileds
TRY.
CALL METHOD v_oref_columns->get_column
EXPORTING
columnname = p_fieldname
RECEIVING
value = v_oref_column1.
CATCH cx_salv_not_found INTO l_except1.
l_text1 = l_except1->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
v_oref_column ?= v_oref_column1.
v_oref_column->set_long_text( l_char_l ).
v_oref_column->set_medium_text( l_char_m ).
v_oref_column->set_short_text( l_char_s ).
v_oref_column->set_key( value = 'X' ).
v_oref_columns->set_key_fixation( value = 'X' ).
Set the decimal length
IF p_dec = 'X'.
v_oref_column->set_decimals( value = '2' ).
ENDIF.
IF p_fieldname = 'RACCT' AND p_gl <> c_check.
v_oref_column->set_visible( value = space ).
ENDIF.
IF p_gl = c_check.
v_oref_columns->set_column_position( columnname = 'RACCT'
position = 2 ).
ENDIF.
IF p_fieldname NE 'RACCT' AND p_fieldname NE 'SUM_COMM'.
l_orf_aggregs = v_oref_table->get_aggregations( ).
l_orf_aggregs->add_aggregation( columnname = p_fieldname
aggregation = if_salv_c_aggregation=>total ).
ENDIF.
ENDFORM. " sub_fill_fields_of_fcatalog -
Dump when changing the value for a field (of 13 decimals) in alv grid.
Hi Group,
Its giving a dump when user is trying to change the value.
dump description: Unable to interpret "70,000 " as a number.
what is happening here is, the original value is 50,000 and he is deleting 5 and replacing it with 7, here its throwing the dump.
If he removes the complete number 50,000 and then gives 70000 its taking the value.
I tried to use, the decimals options in alv field catalog but to no joy.
Please can you give me an advice on this.
Many Thanks.the problem is the comma in the 70,000....that's an alpha character.... Normally, we expect SAP to display numeric fields in a appropriate format, based upon their numeric type, but trying to forcibly insert '70,000' into a true numeric-type field can generate an 'unable to interpret xxx,xxxx as number' error.
You could experiment with changing your ALV column to a char17 (or appropriate width) and putting your numeric value into that to display, then converting back to type P, or other field type in the table, in a column that is not displayed, when the user changes the value.... essentially two columns, one not displayed with a routine to copy/convert the numeric field into the alpha field and the reverse when the field is changed.
But, the better solution is probably for the user to understand that they're seeing a formatted numeric field, and that they need to replace the entire value with the only possible punctuation being a decimal and (if necessary) a negative sign. -
Alv subtotals and grand total for a field
Hi friends,
I Have an internal table ITAB1
in that i have a senario as below.
In my GRID display iam getting values in the layou as follows
BUKRS = 1000
LIFNR MATNR STCST
100 abc 500,00
100 pqr 400,00
100 xyz 200,00
sub total
200 pto 700,00
200 vbr 900,00
sub total
BUKRS = 2000
LIFNR MATNR STCST
150 abc 500,00
150 pqr 400,00
150 xyz 200,00
sub total
260 pto 700,00
260 vbr 900,00
sub total
GRAND TOTAL =
Now my requirement is at the end of every vendor i need sub total for STCST field.
and at the end of every company code i need GRAND TOTAL for STCST field.
Its alv grid display.
how can i do that.
Regards,
Priyanka.Check this sample code may it will help u:
*& Report Z_ALV_SUBTOTAL
REPORT z_alv_subtotal.
*& Table declaration
TABLES: ekko.
*& Type pool declaration
TYPE-POOLS: slis. " Type pool for ALV
*& Selection screen
SELECT-OPTIONS: s_ebeln FOR ekko-ebeln.
*& Type declaration
* Type declaration for internal table to store EKPO data
TYPES: BEGIN OF x_data,
ebeln TYPE char30, " Document no.
ebelp TYPE ebelp, " Item no
matnr TYPE matnr, " Material no
matnr1 TYPE matnr, " Material no
werks TYPE werks_d, " Plant
werks1 TYPE werks_d, " Plant
ntgew TYPE entge, " Net weight
gewe TYPE egewe, " Unit of weight
END OF x_data.
*& Internal table declaration
DATA:
* Internal table to store EKPO data
i_ekpo TYPE STANDARD TABLE OF x_data INITIAL SIZE 0,
* Internal table for storing field catalog information
i_fieldcat TYPE slis_t_fieldcat_alv,
* Internal table for Top of Page info. in ALV Display
i_alv_top_of_page TYPE slis_t_listheader,
* Internal table for ALV Display events
i_events TYPE slis_t_event,
* Internal table for storing ALV sort information
i_sort TYPE slis_t_sortinfo_alv,
i_event TYPE slis_t_event.
*& Work area declaration
DATA:
wa_ekko TYPE x_data,
wa_layout TYPE slis_layout_alv,
wa_events TYPE slis_alv_event,
wa_sort TYPE slis_sortinfo_alv.
*& Constant declaration
CONSTANTS:
c_header TYPE char1
VALUE 'H', "Header in ALV
c_item TYPE char1
VALUE 'S'.
*& Start-of-selection event
START-OF-SELECTION.
* Select data from ekpo
SELECT ebeln " Doc no
ebelp " Item
matnr " Material*
matnr " Material*
werks " Plant*
werks " Plant*
ntgew " Quantity
gewei " Unit
FROM ekpo
INTO TABLE i_ekpo
WHERE ebeln IN s_ebeln
AND ntgew NE '0.00'.
IF sy-subrc = 0.
SORT i_ekpo BY ebeln ebelp matnr .
ENDIF.
* To build the Page header
PERFORM sub_build_header.
* To prepare field catalog
PERFORM sub_field_catalog.
* Perform to populate the layout structure
PERFORM sub_populate_layout.
* Perform to populate the sort table.
PERFORM sub_populate_sort.
* Perform to populate ALV event
PERFORM sub_get_event.
END-OF-SELECTION.
* Perform to display ALV report
PERFORM sub_alv_report_display.
*& Form sub_build_header
* To build the header
* No Parameter
FORM sub_build_header .
* Local data declaration
DATA: l_system TYPE char10 , "System id
l_r_line TYPE slis_listheader, "Hold list header
l_date TYPE char10, "Date
l_time TYPE char10, "Time
l_success_records TYPE i, "No of success records
l_title(300) TYPE c. " Title
* Title Display
l_r_line-typ = c_header. " header
l_title = 'Test report'(001).
l_r_line-info = l_title.
APPEND l_r_line TO i_alv_top_of_page.
CLEAR l_r_line.
* Run date Display
CLEAR l_date.
l_r_line-typ = c_item. " Item
WRITE: sy-datum TO l_date MM/DD/YYYY.
l_r_line-key = 'Run Date :'(002).
l_r_line-info = l_date.
APPEND l_r_line TO i_alv_top_of_page.
CLEAR: l_r_line,
l_date.
ENDFORM. " sub_build_header
*& Form sub_field_catalog
* Build Field Catalog
* No Parameter
FORM sub_field_catalog .
* Build Field Catalog
PERFORM sub_fill_alv_field_catalog USING:
'01' '01' 'EBELN' 'I_EKPO' 'L'
'Doc No'(003) ' ' ' ' ' ' ' ',
'01' '02' 'EBELP' 'I_EKPO' 'L'
'Item No'(004) 'X' 'X' ' ' ' ',
'01' '03' 'MATNR' 'I_EKPO' 'L'
'Material No'(005) 'X' 'X' ' ' ' ',
'01' '03' 'MATNR1' 'I_EKPO' 'L'
'Material No'(005) ' ' ' ' ' ' ' ',
'01' '04' 'WERKS' 'I_EKPO' 'L'
'Plant'(006) 'X' 'X' ' ' ' ',
'01' '04' 'WERKS1' 'I_EKPO' 'L'
'Plant'(006) ' ' ' ' ' ' ' ',
'01' '05' 'NTGEW' 'I_EKPO' 'R'
'Net Weight'(007) ' ' ' ' 'GEWE' 'I_EKPO'.
ENDFORM. " sub_field_catalog
*& Form sub_fill_alv_field_catalog
*& For building Field Catalog
*& p_rowpos Row position
*& p_colpos Col position
*& p_fldnam Fldname
*& p_tabnam Tabname
*& p_justif Justification
*& p_seltext Seltext
*& p_out no out
*& p_tech Technical field
*& p_qfield Quantity field
*& p_qtab Quantity table
FORM sub_fill_alv_field_catalog USING p_rowpos TYPE sycurow
p_colpos TYPE sycucol
p_fldnam TYPE fieldname
p_tabnam TYPE tabname
p_justif TYPE char1
p_seltext TYPE dd03p-scrtext_l
p_out TYPE char1
p_tech TYPE char1
p_qfield TYPE slis_fieldname
p_qtab TYPE slis_tabname.
* Local declaration for field catalog
DATA: wa_lfl_fcat TYPE slis_fieldcat_alv.
wa_lfl_fcat-row_pos = p_rowpos. "Row
wa_lfl_fcat-col_pos = p_colpos. "Column
wa_lfl_fcat-fieldname = p_fldnam. "Field Name
wa_lfl_fcat-tabname = p_tabnam. "Internal Table Name
wa_lfl_fcat-just = p_justif. "Screen Justified
wa_lfl_fcat-seltext_l = p_seltext. "Field Text
wa_lfl_fcat-no_out = p_out. "No output
wa_lfl_fcat-tech = p_tech. "Technical field
wa_lfl_fcat-qfieldname = p_qfield. "Quantity unit
wa_lfl_fcat-qtabname = p_qtab . "Quantity table
IF p_fldnam = 'NTGEW'.
wa_lfl_fcat-do_sum = 'X'.
ENDIF.
APPEND wa_lfl_fcat TO i_fieldcat.
CLEAR wa_lfl_fcat.
ENDFORM. " sub_fill_alv_field_catalog
*& Form sub_populate_layout
* Populate ALV layout
* No Parameter
FORM sub_populate_layout .
CLEAR wa_layout.
wa_layout-colwidth_optimize = 'X'." Optimization of Col width
ENDFORM. " sub_populate_layout
*& Form sub_populate_sort
* Populate ALV sort table
* No Parameter
FORM sub_populate_sort .
* Sort on material
wa_sort-spos = '01' .
wa_sort-fieldname = 'MATNR'.
wa_sort-tabname = 'I_EKPO'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO i_sort .
CLEAR wa_sort.
* Sort on plant
wa_sort-spos = '02'.
wa_sort-fieldname = 'WERKS'.
wa_sort-tabname = 'I_EKPO'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO i_sort .
CLEAR wa_sort.
ENDFORM. " sub_populate_sort
*& Form sub_get_event
* Get ALV grid event and pass the form name to subtotal_text
* event
* No Parameter
FORM sub_get_event .
CONSTANTS : c_formname_subtotal_text TYPE slis_formname VALUE
'SUBTOTAL_TEXT'.
DATA: l_s_event TYPE slis_alv_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 4
IMPORTING
et_events = i_event
EXCEPTIONS
list_type_wrong = 0
OTHERS = 0.
* Subtotal
READ TABLE i_event INTO l_s_event
WITH KEY name = slis_ev_subtotal_text.
IF sy-subrc = 0.
MOVE c_formname_subtotal_text TO l_s_event-form.
MODIFY i_event FROM l_s_event INDEX sy-tabix.
ENDIF.
ENDFORM. " sub_get_event
*& Form sub_alv_report_display
* For ALV Report Display
* No Parameter
FORM sub_alv_report_display .
DATA: l_repid TYPE syrepid .
l_repid = sy-repid .
* This function module for displaying the ALV report
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = l_repid
i_callback_top_of_page = 'SUB_ALV_TOP_OF_PAGE'
is_layout = wa_layout
it_fieldcat = i_fieldcat
it_sort = i_sort
it_events = i_event
i_default = 'X'
i_save = 'A'
TABLES
t_outtab = i_ekpo
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE i000 WITH 'Error in ALV report display'(055).
ENDIF.
ENDFORM. " sub_alv_report_display
* FORM sub_alv_top_of_page
* Call ALV top of page
* No parameter
FORM sub_alv_top_of_page. "#EC CALLED
* To write header for the ALV
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = i_alv_top_of_page.
ENDFORM. "alv_top_of_page
*& Form subtotal_text
* Build subtotal text
* P_total Total
* p_subtot_text Subtotal text info
FORM subtotal_text CHANGING
p_total TYPE any
p_subtot_text TYPE slis_subtot_text.
* Material level sub total
IF p_subtot_text-criteria = 'MATNR'.
p_subtot_text-display_text_for_subtotal
= 'Material level total'(009).
ENDIF.
* Plant level sub total
IF p_subtot_text-criteria = 'WERKS'.
p_subtot_text-display_text_for_subtotal = 'Plant level total'(010).
ENDIF.
ENDFORM. "subtotal_text
Edited by: Joyjit Ghosh on Aug 21, 2008 5:25 PM -
How to change the values in custom profiles based on security group ??
Hi,
i am facing problem for my requirement, can anybody help me for below scenario...
i have custom check in profiles , there are content types and sub types. sub type nothing but a categories on for particular content type. For example i have News content type , same in the below subtypes drop down list are press release, events, articles etc.
what i want to do is, when i open custom checkin profile, subtype values need to be changed( some values in subtype should hide) based on security group changes .
In the Sub type listed values, some values need to hide only when i choose different security groups.. sub types values should display based on the particular security group only. when ever i change the security group, drop down Values in subtypes needs to change.
hope understand my requirement.
How to achieve this task. Any help would be greatly appreciated.
Thanks,
ytHi,
Thanks alot. its working fine
Can we configure DCL Relation two times in one information filed ??? i should not create not more than fields to this requirement.
Type -> subtype = DCL already existed
Now, i want to Create DCL to
Subtype ---> Security group
As per my requirement, if i change the security group in checkin form, values should be change in the SubType drop down list.
Created checkin profile there was DCL relation to " Type and "Sub Type" . now i want to map Relation ( DCL ) for subtype to security group.
i was trying do for DCL for subtype and security group. but there was already existing DCL created for subtype information field (Relation configuration done for content type). even though i was trying to do for DCL in Security group information field. but, i could not find security group information field in configuration manager.
Now what should i do ?? how to create DCL to subtype and security group ??
Help would be appreciated.
yt -
How to Change the Value Field Type of a Value Field
Hi,
How can I change the value field type from Currency to Quantity of a value field? I have tried to do it in KEA6. I can change the value field and its description, but not the value field type from currency to qty. If I change this config, is there any other changes that I need to make so there is no side issue of this change?Hi Prem,
Once you created value field as quantity or currency, you can not change this nature of value field. Based on this, system creates lots of data and tables. For this reason system will not allow any changes in quantity or currency.
Alternative way is to remove the old value field and create a new value field assign to operating concern and put all your seetings.
Please let me know if you require any clarifications.
Thank you,
Regards,
Santosh
Reward points if helpful. -
Show or Hide fields based upon a variable value
Hi,
I am a rookie in the field of Acrobat. And my only question is :
How to Circle a Form Field based upon a variable value .
For example, If x=1, I want to circle Japan and if x=0, I want to leave it without any change.
Please help me out. Thanks for your time and help.
Thanks,
Vijayvijay77.Hi George,
I am pre-populating a Pdf file based upon the data submitted by the user. And I have to circle options selected in the form.
I am writing coldfusion code to flatten, populate the form into a PDF form. The end result is the PDF generation with all the data in it.
The data comes from the database, where I set variable values if any is selected or not.
Thanks for your reply, I really appreciate your help.
Vijayvijay77. -
Change the value of the field on the screen
Hello All,
I want to change the value of another field on the screen when the user selects the value for a particular field.
For eg: If i select ship-to-party value on the screen by F4 based on that the sales office and sales group values should change on the screen.
I am modifying the internal table that has these values, but its not showing the new values on the screen.
Please let me know how to resolve this issue.
Points gauranteed.....
Thank You,
Sureshhi
use at selection-screen on help request for field1
OR on value request for field1.
Use selection screen events.
AT SELECTION-SCREEN OUTPUT
AT SELECTION-SCREEN ON sel_opt1.
AT SELECTION-SCREEN ON test1.
AT SELECTION-SCREEN ON END OF sel_opt1.
AT SELECTION-SCREEN ON HELP-REQUEST FOR sel_opt1-low.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR test2.
AT SELECTION-SCREEN ON BLOCK block1
AT SELECTION-SCREEN ON RADIOBUTTON GROUP rad1.
Regards,
Prasanth
*Reward points if helpful -
Computer Totally Cannot be Power On
Hi hi to everyone,
Recently, i have replace some part of my PC. The parts replaced are 1GB(2 X 512MB)ram, new DVD-Rom and a new harddisk.
After connecting all the new parts, i power on the computer and everything run smoothly on the first run. Then, i switch off the computer to screw back the casing. When i tried to on it back, the whole computer totally cannot be power on as in totally no power even the power supply fan is not moving. Then, i tried troubleshooting the power supply and found that the power supply fan is running in stand-alone mode. Please advise on what to do...
My Computer Specification as follow:
1) Power Supply: Antec SmartPower 350W
+5V : Max - 35A Min - 1.5A
+12V : Max - 16A Min - 0.8A
+3.3V: Max - 28A Min - 0.5A
-5V : Max - 0.5A Min - 0A
-12V : Max - 0.8A Min - 0A
+5V SB : Max - 2A Min - 0A
2) Motherboard: MSI 865PE NEO2-S
3) CPU: Intel Pentium 4 2.6GHz
4) RAM: GEIL DDR400 1GB(2 X 512MB) CL2.5
5) VGA: MSI FX-5200 128MB 8X-AGP
6) Hard-Disk:
a) Seagate 7200rpm 160GB Hard-Disk
b) Hitachi 7200rpm 60GB Hard-Disk
7) Drive
a) LG 16X/52X DVD-Rom
b) Creative 24X/10X/40X CD-RW
8) 4 External Casing Fan
Thanks a million for any advice....Quote from: Carpe_Diem on 06-May-07, 00:06:38
Hi hi,
Firstly, thanks for the advice.... and sorry for my stupid question.
You suggest a new psu but it is basically working fine until the recent upgarde....
Thanks
"You suggest a new psu but it is basically working fine until the recent upgarde...."
stats of that PSU are too weak. it can't be not enough to handle the changes, or it can be just damaged.
try with better one with high amperes on +12V.
other possibilities due memory failure or underpowered sticks. try but back your old memory. -
How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks
http://support.apple.com/kb/ht5621
-
Where it is possible to change the value separator in Custom Field?
Hello,
This is a question around the "Custom Fields" and "Lookup Table"
I linked a "Custom Field" to a "Lookup Table".
I select the option "Allow multiple values to be selected from lookup table"
When I used this "Custom Field" in a view, the selected values are separated by a comma ",".
Where it is possible to change this value?
I saw another project server where the character is a semi-column ";" and I would like to test with ";".
Thank you in advance
Pascal JeanHi,
This will be triggered by your regional settings.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller |
Hello,
Thank you for the answer.
Do you mean the "local regional settings"?
Because, depending on the PWA site I'm connected to I don't have the same values. I'm obviously using the same workstation.
Regards
Maybe you are looking for
-
How can I stream audio from Apple TV 2 to Airport Express speakers.
how can I stream audio from Apple TV 2 to Airport Express speakers. I have LCD projector on one wall and connected ATV to it via HDMI. Speakers on the other wall and connected to APXpress.
-
How to: print selected pages, same pages, odd pages on a book?
hi, about book: how can I print only pages that I want to? Like selected pages, odds pages or only that I want? How can I print front-back sheet? Thank you
-
How can this be fixed?
-
HT1551 Streaming music from iPhone 4 to apple tv
I can stream videos and photos no problem from my iPhone but can't seem to play music. I can select the button which gives you a choice of iPhone or apple tv but just seems to play silently on my phone and not through the tv. The button seems to turn
-
Leopard problem loading a DVD on the machine it was burnt on ??
I burnt a DVD+R today at the "max possible" speed. After it finished I tried to watch it on the Mini - it claimed the disc was damaged. So I thought "Drat, coaster" and made another. That one, having been ejected after the burn, was refused loading b