Calculate depreciation only to the specified value
Hi experts,
I would like to calculate depreciation only to the specified value, not to the net value = 0, but for example =1000. How do I? Do you by setting the value of the scrap?
Rgds Stenwa
Hi,
Yes, it is done by scrap value.
You can refer the below link for more details:
http://help.sap.com/saphelp_erp60_sp/helpdata/en/4f/71dded448011d189f00000e81ddfac/content.htm
Regards,
Kiron Kumar T.
Similar Messages
-
Calculate depreciation amount with deduct memo value
Hi ! Guru
I configuration memo value amount with transaction code OAYI and How I set configuration about the system calculate depreciation amount with deduct memo value such as --> acquistition value - memo value / useful life = depreciation amount
How I can do?
thank you very muchHi,
A) depr. Key LINR, useful liefe 5 years
1. 10.000
2. 8.000
3. 6.000
4. 4.000
5. 2.000
(If you want Scrap value 2.000)
B) You can change the useful liefe in AS02. This is no peroblem. The depr. will be new calculated for open fiscal years.
regards Bernhard -
Using a dropdown box to change the specified value of a radio button?
I have a form that generates the body text for an email.
First there is a dropdown box in which the choices are either "red" or "blue"
Further down the page, there is a radiobutton list with 2 items "available" and "unavailable".
The specified values for these items (as defined on the binding tab) are "have blue hats" or "do not have blue hats".
This value is concatenated in the email body textfield which is to be copied by the user to an email body:
Concat("Dear", NameField, "," We ", RadioButtonList, " today. ") // Dear Persons Name, We have blue hats today.
Is there any way to change the value of the selected radio button based on the selected dropdown choice?
So if the user selected "red" in the dropdown field, the radio button values could become "have red hats" or "do not have red hats"?
Or perhaps there is a better way from the start?
Thanks!Ok, so now I've done that...
But is there a way to change that value with another field (ie when a user chooses "red" or "blue" in a dropdown box) so that the concatenated message reflects both the users choice of color and the availibility?
I'm guessing I should probably use an intermediary text box and put
InterText.rawValue = Concat ("We have ', dropdown1, " hats today") in the change event of the available radio button and:
InterText.rawValue = Concat ("We do not have ', dropdown1, " hats today") in the change event of the unavailable radio button.
then concatenate that box in the final textbox. -
BEx Error - The specified value is out of range
Hi
We areBI 7.0 (SP14) & recently installed SAPGUI 7.10 (patch 7).
When I select a query (Path: Info Areas --> WMH Warehouse Management --
> Shipping KPIu2019s --> Order Turnaround in Detail) and give date range
greater than 2 weeks, then I can a critical error message and the BEx session closes.
Following is the trace file details:
ListSeparator: ,
ExcelVersion: 12.0
AddinVersion: 7100.1.400.1062
10/13/2008 10:16:12 PM----
System.Exception: CriticalProgramError ---> System.Exception: CriticalProgramError ---> System.Exception: CriticalProgramError ---> System.Exception: CriticlaProgramError ---> System.Exception: CriticlaProgramError ---> System.ArgumentException: The specified value is out of range.
at Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateSet(Object o, Type& objType, String name, Object[] args, String[] paramnames, Boolean OptimisticSet, CallType UseCallType)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean OptimisticSet, Boolean RValueBase, CallType CallType)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSetComplex(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean OptimisticSet, Boolean RValueBase)
at com.sap.bi.et.analyzer.addin.BExExcelItem.set_RangeAddress(String value)
at com.sap.bi.et.analyzer.addin.BExItemGrid.AdjustItemRange()
at com.sap.bi.et.analyzer.addin.BExItemGrid.OnRender(Boolean iForceRendering)
at com.sap.bi.et.analyzer.api.BExItem.Render()
--- End of inner exception stack trace ---
at com.sap.bi.et.analyzer.api.BExItem.Render()
at com.sap.bi.et.analyzer.api.BExApplication.Render()
--- End of inner exception stack trace ---
at com.sap.bi.et.analyzer.api.BExApplication.Render()
at com.sap.bi.et.analyzer.api.BExApplication.set_Synchronize(Boolean iValue)
at com.sap.bi.et.analyzer.addin.BExExcelApplication.OpenQueryThreaded(BExParameter iParameter)
--- End of inner exception stack trace ---
at com.sap.bi.et.analyzer.addin.BExExcelApplication.OpenQueryThreaded(BExParameter iParameter)
at com.sap.bi.et.analyzer.addin.BExThreads.ProcessParameterSubExecuter.Execute()
at com.sap.bi.et.analyzer.addin.BExExcelApplication.OpenQuery(OSObjectInformation iObjectDescription, String iRRIVariableName, String iRRIVariableValue)
at com.sap.bi.et.analyzer.addin.BExThreads.ProcessOpenQueryExecuter.Execute()
--- End of inner exception stack trace ---
at com.sap.bi.et.analyzer.addin.BExThreads.ProcessOpenQueryExecuter.Execute()
at com.sap.bi.et.analyzer.addin.BExMenu.ProcessOpenQuery()
at com.sap.bi.et.analyzer.addin.BExUserInteraction.Process(String iStepName)
--- End of inner exception stack trace ---
at com.sap.bi.et.analyzer.addin.BExUserInteraction.Process(String iStepName)
at com.sap.bi.et.analyzer.addin.BExUserInteraction.ProcessUserInteraction(Sub iSubDelegate, BExStepType iStepType)
at com.sap.bi.et.analyzer.addin.BExMenu.Process(CMD iCMD)
at com.sap.bi.et.analyzer.addin.BExMenu.ProcessCMD(CMD iCMD)
at com.sap.bi.et.analyzer.addin.BExConnect.ExcelCommunication.ProcessBExMenuCommand(String iCMD)
CriticalProgramError
at com.sap.bi.et.analyzer.addin.BExUserInteraction.Process(String iStepName)
at com.sap.bi.et.analyzer.addin.BExUserInteraction.ProcessUserInteraction(Sub iSubDelegate, BExStepType iStepType)
at com.sap.bi.et.analyzer.addin.BExMenu.Process(CMD iCMD)
at com.sap.bi.et.analyzer.addin.BExMenu.ProcessCMD(CMD iCMD)
at com.sap.bi.et.analyzer.addin.BExConnect.ExcelCommunication.ProcessBExMenuCommand(String iCMD)
Thanks & Regards
Madhucheck if oyu can execute this query in RSRT, is so then you need to either go for SP > 16 or BEx Gui = 4 or 5 .,
Hope this helps -
Can I just limit user can only modify the x value of a point?
In my effect, I add a point by using PF_ADD_POINT. But I just want user can only modify the x value, is this possible? How can I do it?
hello shibin.chris! welcome to the forum!
well, there's no switch you can flip to have such behavior, but you can:
1. supervise the param, so whenever the user changes the value you can keep
the X and restore the Y. (won't hold water in case of keyframing or
expression)
2. set an expression that would do the same.
3. check the param at some events (such as the render call), and modify the
keyframes and values if necessary. (won't handle expressions)
that's all i can think of. -
Avaialability control is checked only if the assigned value is increased in PO
We are using former budgeting. We have have made the following setting. Warning message for AVC at Purchase requisition level and error message for AVC at PO and all other transaction groups. System is not issuing error message when the budget is exceeded in PO.
eg: Budget 1000
Purchase requisition created for 1100. Warning message at this stage is issued.
Purchase order created against this PR for 1100. I expect the system to issue error message. However, no messages are issued.
I would like to make the system messages error for processes starting from PO onwards like GR, SES, Invoice etc.
I understand this is the standard behaviour of SAP since the fund is already reserved at PR stage and as long as the assigned value does not increase from the PR value. However, we would like to issue error message at PO stage even if there is not change in the assigned value if the commitment exceeds the budget.
Thanks for your help.
regards
Raghuveer KamathHi,
With BCS, you have a possiblity to issue a message, when a ledger is defined with so-called 'strict' logic. Otherwise, in former, if there is no decrease in consumable budget (and in your case there is none), AVC check is not triggered.
Regards,
Eli -
Update button in sql report for each row can only get the report value
I have to added Update for each row of records like:
select a.*,'Update' button from (
select c.*,d.login from country c,champ d
where c.champ_id=d.champ_id(+)
order by c.name) a
then go to the report->edit button ->Column Link
I added some items P40_REGION, P40_CHAMPID,P40_ACTIVE,P40_CODE and assign the value like #region#,#active# ,#code# to these item, but when I click the update button in the report I found the values such as #region#,#active# ,#code# is the report value not the select list selected value(the region, active column are displayed as select list lov).
Can anyone tell me how to sort this knid of problem?
Thanks a lot!Sorry, it doesn't work. I also tried apex_application.g_f01(i), but not everytime I can get the value or get the incorrect value. If you have time you can try to create it like what I have described. Our team use two days now but still can not sort this problem.
-
Only is the last value is in output instead of all
report zexam.
tables : mara, mbew, mard,t023t.
type-pools:slis.
data : ist_list_topofpage type slis_t_listheader.
data : s_list_topofpage type slis_listheader.
data : i_fieldcat type slis_t_fieldcat_alv.
data : x_fieldcat type slis_fieldcat_alv.
**************************************selection options***********************
select-options mat_grp for mara-matkl.
********************selection from mara table*********************************
data : it_mara type table of mara,
wa_mara type mara.
select matnr matkl from mara into corresponding fields of table it_mara
where matkl in mat_grp.
loop at it_mara into wa_mara.
endloop.
****************selection from mbew*******************************************
data : it_mbew type table of mbew,
wa_mbew type mbew.
*if not wa_mara is initial.
select matnr lbkum salk3 from mbew into corresponding fields of table it_mbew
where matnr = wa_mara-matnr.
*endif.
*loop at it_mbew into wa_mbew.
*endloop.
********************grp desc from table v023***********************************************
data : it_t023t type table of t023t,
wa_t023t type t023t.
*if not wa_mara is initial.
select matkl wgbez spras from t023t into corresponding fields of table it_t023t
where matkl = wa_mara-matkl and spras = 'EN'.
*endif.
*loop at it_t023t into wa_t023t.
*endloop.
*endloop.
*endloop.
********************************itab for final output******************************************
data : begin of it_final occurs 0,
matkl like mara-matkl,
lbkum like mbew-lbkum,
salk3 like mbew-salk3,
wgbez like t023t-wgbez,
end of it_final.
data : wa_final like it_final.
loop at it_mara into wa_mara.
wa_final-matkl = wa_mara-matkl.
read table it_mbew into wa_mbew with key matnr = wa_mara-matnr.
wa_final-lbkum = wa_mbew-lbkum.
wa_final-salk3 = wa_mbew-salk3.
read table it_t023t into wa_t023t with key matkl = wa_mara-matkl.
wa_final-wgbez = wa_t023t-wgbez.
append wa_final to it_final.
endloop.
**********************to display in ALV format*****************
x_fieldcat-col_pos = 1.
x_fieldcat-fieldname = 'MATKL'.
x_fieldcat-seltext_m = 'MATERIAL GROUP'.
append x_fieldcat to i_fieldcat.
clear x_fieldcat.
x_fieldcat-col_pos = 2.
x_fieldcat-fieldname = 'WGBEZ'.
x_fieldcat-seltext_m = 'MATERIAL GROUP DESC'.
append x_fieldcat to i_fieldcat.
clear x_fieldcat.
x_fieldcat-col_pos = 3.
x_fieldcat-fieldname = 'LBKUM'.
x_fieldcat-seltext_m = 'TOTAL VALUED STOCK'.
x_fieldcat-do_sum = 'LBKUM' .
append x_fieldcat to i_fieldcat.
clear x_fieldcat.
x_fieldcat-col_pos = 4.
x_fieldcat-fieldname = 'SALK3'.
x_fieldcat-seltext_m = 'VALUE OF STOCK(INR)'.
x_fieldcat-do_sum = 'SALK3' .
append x_fieldcat to i_fieldcat.
clear x_fieldcat.
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
it_fieldcat = i_fieldcat
tables
t_outtab = it_final.
Code Formatted by: Alvaro Tejada Galindo on Jan 7, 2009 12:32 PMhi,
pass the table name as well
check this code
tables : ekko,ekpo..
type-pools slis.
*data: i_ekko like ekko occurs 0 with header line.
data: begin of i_tab occurs 0,
ebeln like ekko-ebeln,
bukrs like ekko-bukrs,
aedat like ekko-aedat,
zterm like ekko-zterm,
waers like ekko-waers,
ebelp like ekpo-ebelp,
TXZ01 like ekpo-txz01,
menge like ekpo-menge,
bprme like ekpo-bprme,
netpr like ekpo-netpr,
end of i_tab.
****Field description for ALV****
DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE,
gd_tab_group TYPE slis_t_sp_group_alv,
gd_layout TYPE slis_layout_alv,
gd_repid LIKE sy-repid.
DATA: repname LIKE sy-repid.
DATA: fieldtab TYPE slis_t_fieldcat_alv,
fieldtab1 TYPE slis_t_fieldcat_alv,
i_grid_title TYPE lvc_title,
heading TYPE slis_t_listheader,
f_events TYPE slis_t_event,
f1_event TYPE slis_alv_event,
gs_layout TYPE slis_layout_alv.
DATA:gt_sort TYPE slis_t_sortinfo_alv.
DATA:gs_filter TYPE slis_t_filter_alv.
select-options: s_ebeln for ekko-ebeln.
*select EBELN BUKRS AEDAT ZTERM WAERS
*into corresponding fields of i_ekko from ekko where ebeln in s_ebeln.
*append i_ekko.
*endselect.
start-of-selection.
select a~ebeln a~bukrs a~aedat a~zterm a~waers
b~ebelp b~txz01 b~txz01 b~menge b~bprme b~netpr
into corresponding fields of table i_tab
from ( ekko as a
inner join ekpo as b on a~ebeln = b~ebeln ).
perform alv_display.
*loop at i_tab.
*write:/ i_tab-ebeln,
* i_tab-bukrs,
* i_tab-aedat,
* i_tab-zterm,
* i_tab-waers,
* i_tab-ebelp,
* i_tab-txz01,
* i_tab-menge,
* i_tab-bprme,
* i_tab-netpr.
*endloop.
*& Form alv_display
* text
* --> p1 text
* <-- p2 text
form alv_display .
perform build_layout.
perform build_fieldcatlog.
PERFORM CALL_ALV.
endform. " alv_display
*& Form build_fieldcatlog
* text
* --> p1 text
* <-- p2 text
form build_fieldcatlog .
data l_fieldcat type slis_fieldcat_alv.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'EBELN'.
l_fieldcat-outputlen = 10.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-010.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'BUKRS'.
l_fieldcat-outputlen = 4.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-011.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'AEDAT'.
l_fieldcat-outputlen = 8.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-012.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'ZTERM'.
l_fieldcat-outputlen = 4.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-013.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'WAERS'.
l_fieldcat-outputlen = 5.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-014.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'EBELP'.
l_fieldcat-outputlen = 5.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-015.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'TXZ01'.
l_fieldcat-outputlen = 40.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-016.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'MENGE'.
l_fieldcat-outputlen = 15.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-017.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'BPRME'.
l_fieldcat-outputlen = 3.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-018.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'NETPR'.
l_fieldcat-outputlen = 13.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-019.
APPEND l_fieldcat TO fieldtab1.
endform. " build_fieldcatlog
*& Form CALL_ALV
* text
* --> p1 text
* <-- p2 text
form CALL_ALV .
REPNAME = SY-REPID.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = REPNAME
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
* I_CALLBACK_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 = gd_layout
IT_FIELDCAT = fieldtab1
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* IT_SORT =
* IT_FILTER =
* IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
* IS_VARIANT =
* IT_EVENTS = f_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 = i_tab
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.
endform. " CALL_ALV
*& Form build_layout
* text
* --> p1 text
* <-- p2 text
form build_layout .
gd_layout-zebra = 'X'.
gd_layout-info_fieldname = 'ROWCOLOR'.
endform. " build_layout
thanks
Code Formatted by: Alvaro Tejada Galindo on Jan 7, 2009 12:32 PM -
Sapscript printing only the last value
Hello,
Im currently coding subroutine for medruck.. My problem is sapscript is only printing the last value of the item for all items.. For example:
Item # 1 10 pcs 10,000.00
Item # 2 5 pcs 10,000.00
Item # 3 5 Pad 10,000.00
where actually the value of item 1 and item 2 is not 10,000.. sapscript prints only the price of item # 3 for the first two items.. here is my code..
TABLES: konv, ekko, ekpo.
DATA: BEGIN OF tab OCCURS 0,
brtwr LIKE ekpo-brtwr,
ebelp LIKE konv-kposn,
ebeln LIKE ekko-ebeln,
knumv LIKE ekko-knumv,
kbetr LIKE konv-kwert,
END OF tab.
DATA: sum TYPE p DECIMALS 2, gross TYPE p DECIMALS 2, val(16) TYPE c, d_knumv LIKE ekko-knumv, tab1 LIKE tab, val1(20) TYPE c,
ext TYPE p DECIMALS 2, val2(20) TYPE c, extend TYPE p DECIMALS 2.
REFRESH: tab.
READ TABLE in_tab INDEX 1.
CHECK sy-subrc = 0.
SELECT brtwr ebelp ebeln FROM ekpo INTO TABLE tab WHERE ebeln = in_tab-value.
LOOP AT tab.
AT NEW ebelp.
tab-kbetr = 0.
ext = 0.
ENDAT.
SELECT SINGLE knumv FROM ekko INTO tab-knumv WHERE ebeln = tab-ebeln.
SELECT SINGLE kbetr FROM konv INTO tab-kbetr WHERE knumv = tab-knumv AND kposn = tab-ebelp AND kschl = 'ZDEL'.
ext = tab-brtwr + tab-kbetr.
AT END OF ebelp.
READ TABLE out_tab INDEX 1.
WRITE ext TO val.
out_tab-value = val.
MODIFY out_tab INDEX 1.
ENDAT.
CLEAR: tab.
ENDLOOP.
i used this code using abap only and it work. there seems to be a problem in sapscript.. Thank u for the help guys..
Thanks,
JPput ur write_form with in loop...
loop at itab.
write_form..
element = 'ddd'
endloop.
in script check ...
check wheather element is specified there r not
/e ddd.
&itab- & &itab- & -
Hi all,
I am using FM: F4IF_INT_TABLE_VALUE_REQUEST to get help values on one field. The values are getting from table for the F4 value. Now i am gettign f4 value to the field
now my problem is, user has to enter the values only from the F4 value not other values. right now field taking other than f4 values if i enter.
I can not use values table at the domain level as it is standard domain.
can anybody help me on thismythily.guptha wrote:
Hi all,
>
> I am using FM: F4IF_INT_TABLE_VALUE_REQUEST to get help values on one field. The values are getting from table for the F4 value. Now i am gettign f4 value to the field
> now my problem is, user has to enter the values only from the F4 value not other values. right now field taking other than f4 values if i enter.
>
> I can not use values table at the domain level as it is standard domain.
>
> can anybody help me on this
this is discussed several times in the forums, the simple trick to first input disbale(screen-input = 0) the field in PBO/AT SELECTION-SCREEN OUTPUT using LOOP AT SCREEN and then force input into the disabled field by passing the value 'F' to the parameter 'DISPLAY' of the FM F4IF_INT_TABLE_VALUE_REQUEST.
-Rajesh. -
WAD - display only the last value in the chart
hi...
I designed a chart in WAD wich displayed a range of values in a line. Now im searching for a possibility to display the value for the points in my chart, but not for all values, only for the last value in the line! And every month the line will extended with new value-points, so it is necassary that the function is dynamic, always for the last point in the chart the value should displayed!?
thx for some ideas!
davidhi @ all... once more information:
the chart displayed only one keyfigure of a query. for example it display the revenue per month. in jan. = 10, feb. = 15, mar. = 25, apr. = 13, jun. = 23. these values should be displayed in a line in the chart aaaand additional for the last one in the line the valuecaption direct in the chart (f.e.: jun. = 23). not for all "periods-points"only for the last one.
in jul. = 25 the chart changed and only for july the value-caption should be displayed. Is it possible?
Regards,
David -
Querying with only the specified data
Hello All,
I want the following to be happened in a form.
1. Query the form
2. Get the data for the specified value
Can i do this programmatically!?
could any one of you help me in this.
Thank you,
Amarnadh JsYou can try this code:
SET_BLOCK_PROPERTY('RISO_CUST_PO_REQ',default_where,'CUSTOMER_NUMBER= '||:RISO_CUST_PO_REQ.CUSTOMER_NUMBER||' and SITE_USE_ID= '||:RISO_CUST_PO_REQ.SITE_USE_ID||');To check if your default_where is correct, assign it to a varchar2 variable and then display it.
Here is an example:
declare
my_default_where varchar2(32000) := null;
begin
my_default_where := 'CUSTOMER_NUMBER= '||:RISO_CUST_PO_REQ.CUSTOMER_NUMBER||' and SITE_USE_ID= '||:RISO_CUST_PO_REQ.SITE_USE_ID||';
message('my_default_where value is '||my_default_where);
message(' ',no_acknowledge);
SET_BLOCK_PROPERTY('RISO_CUST_PO_REQ',default_where,'CUSTOMER_NUMBER= '||:RISO_CUST_PO_REQ.CUSTOMER_NUMBER||' and SITE_USE_ID= '||:RISO_CUST_PO_REQ.SITE_USE_ID||');
go_block('RISO_CUST_PO_REQ');
execute_query;
SET_BLOCK_PROPERTY('RISO_CUST_PO_REQ',default_where,' '); -- this is to reset where condition of your block
end;Hope it helps you,
Fabrizio
If this answer is helpful or correct, please mark it. Thanks. -
Tax depreciation for vehicles from limited value in Poland
Hi,
for a polish company I have to define the depreciation for cars. In Poland is for vehicles the start value for calculation of the tax depreciation lower then the acquisition value of depreciation area "book depreciation". The tax value is limited.
The sample chart of depreciation for Poland is defined:
01 Book depreciation
02 Depreciation on tax limited value (cars)
03 Non-deductible tax depreciation (cars)
In rules for takeover was defined that depreciaition area 02 adoped the values of depreciation area 01.
Depreciation area 03 is not a real depreciation area it is defined: 01 Book deprecition - 02 Depreciation on tax limited value (cars).
I don't know the legally rule how to define the limitec tax value.
My question is, how can I define the calculation of tax depreciation from a limited value?
Thank you!
Best regards
HubertHi,
this is not the aswere of my question.
E.g. I have a care with acquisition of 25.000,-. The start value for calculation in depreciation area 01 is 25.000,-.
The start value for calculation in depreciaiton area 02 is 20.000,-.. The tax limited value is 20.000,-.
How can I define the system to calculate in deprecition area 02 with limited tax value 20.000,-?
Thank you!
Best regards
Hubert -
<blockquote>Locked by Moderator as a duplicate/re-post.
Please continue the discussion in this thread: [tiki-view_forum_thread.php?comments_parentId=702631&forumId=1]
Thanks - c</blockquote>
== Issue
==
I have a problem with my bookmarks, cookies, history or settings
== Description
==
How can I get the default value of a particular preference in FireFox?.
I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.
I see some that there are values for preferences in firefox.cs but I am not certain that these are being used as the default values for preferences. prefs.js in user's profile only has the updated values and not the default values.
Any help towards acheiving this programtically is greatly appreciated.
If the default values are stored in a file, kindly let me know the format in which it is stored for me to parse it programatically.
== User Agent
==
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)Dear Friend,
Here when you have the callableSattement as ?=proc(?), the first ? is an output parameter. So you should register it as out parameter using registeroutparameter.
Then you can get the value from the outparameter using callablestatement.getXXX().
Try that way.
For free tral versions of JDBC Drivers go to www.Atinav.com -
How to find out the maximum value in a Query within single material
Dear all,
Im creating a Query on 0SD_C03 where i have to disply Maximum value of a material which is having more that one transaction..
EX:
MATERIAL BILLED VALUE
x with BILLED VALUE 100
x with BILLED VALUE120
y with BILLED VALUE 50
y with BILLED VALUE 80
z with BILLED VALUE 50
z with BILLED VALUE 60
in a analyser i have to display X with billed value 120 that is max in X material and
Y with billed value 80 that is max in Y material and
Z with billed value 60 that is max in Z material
In a query all the values are summing up. I.e for X its 220 and Y its 130 and Z its110 but we dont want to get total sum value we want individual values and the maximim of those values..........
We are using BW 7.0 version
Can any one help me out in this
Thxs in Advance
VenuVenu,
In your query try creating a formula, with the value of each record as the key figure in the formula.
In the aggregation tab select maximum in the exception aggregation dropdown and then select material as the reference characteristic
then when you include material in the rows it will only display the maximum value.
cheers
mark
Maybe you are looking for
-
i bought a macbook from a guy and when i started it up... surprise it wont turn on if its not connected because the battery is not being detected.... then what i checked first was photobooth surprise the isight camera is not working... i searched in
-
How do I get this loop to give me numbers within a range?
So for a school assignment I need to get a loop to display all the numbers in a certain range. This range is input by the user with a starting number and an end number. For some reason when i put the code in all its giving me is the end number and no
-
For some reason, my iTunes 10.4.1 won't detect the newest update for my iPod touch 3g (the current software is 4.2.1). Please help! I have already tried syncing and restoring.
-
I got my new 80G yesterday. I've had two 30Gs in the past, so I'm not an iPod newbie, but I just want to make sure I'm not missing something. As far as I know, from the box, you just plug it into your computer via USB and it should start charging and
-
Menu drop-down (code) don´t work...
Hi experts, I try to develop a component for create the menu in drop-down, but, don´t work. My steps are: - I create a new project and i add a new portal application object of type AbstractPortalComponent. -My css is: #nav, #nav ul { padding: 0;