Is subtotal values considered for Cumulation
Dear All,
I have a basic doubt in the pricing procedure.
For example we have a condition type PR00 and it has a value 1000.
Next to that, we have a Net value with the sub total 1 assigned. So obviously this also carries the value of 1000. And it is not statistical.
In this case, system will cumulate both the values right. If it cumulated, our calculation is wrong. Either system should consider the value in PR00 or in Net value.
How system is managing these kind of things.
Please explain.
System does not add up the price and subtotal because of the logic of calculation mentioned in pricing procedure.
For example if
Step 10 - PR00
Step 20 - Subtotal (from 10 to 19)
Then for further calculations you give from as 20 but not 10. So that value is not considered.
If subtotal is used then - it is considered as the basis for further calculations, generally.
And for Net Value (for the document) - the value is considered for the condition types based on their condition class (price, discount/surcharge). Subtotal has no condition type and cond. class.
And Subtotal 1 helps the value to populate into item tables (VBAP, VBRP)
Thanks
Similar Messages
-
How to display amount in words for subtotal value?
Hi All,
I am diplaying a amount in words for sub-total value after each document number.
Can any one suggest how to display text for sub-total value not for Grand total?
I want subtotal at each material for each document number and want to display that subtotal amount in words.
Thanks and Regards
SteveThanks Jorge ,
Is it possible in ALV printing Sut-total text by adding a new line .?
And where to insert At new or on-chane ?
Sub-total calculating automatically not programaticall..
Regards
Steve -
How to write a code for cumulative values..
Hi
Can any one proivde the Sudo code for Customer exit at Reports.
I need to write a code for when ever user input Calaender month then querry calucalate the cumulative values also.
How to write a code for cumulative values..
Example:
Customer -Sales.Quantity(CalMonth)--- Sales.quantity(Cumulative Month)
1000--223--
2200
Regards
mannev.hi mannev,
to get an idea, search in SDN
for example
customer exit code
with hopes,
Raja Singh -
ALV List Display - Is it possible to sum up the subtotal values of field
Hi Experts,
We hav a requirement to do subtotals of the price field for each unique PO Line item, and also to sum up the subtotal values ie. only the subtotal values needs to be added irrespective of the repetation of the po line items in the report.
PO Number PO Item Price
XXXXXXXX 10 20
XXXXXXXX 10 20
Subtotalled 20
YYYYYYY 10 10
YYYYYYY 10 10
Subtotal showing 10
We want the total of price to be 30 ie (Subtotal value of XXXX, 10 = 20 and YYYYY,10 = 10 ) but currently do_sum is been used in the fieldcat of the report which displays all the occurances of the record... = 60(202010+10)
Kindly help asap.
Thanks,
RosyHi rosy,
the question pops up to why you have duplicates in the display table. If you
DELETE ADJACENT DUPLICATES FROM
the output table, everything should be fine.
Regards,
Clemens -
How to get subtotal value in ALV list display
Hi all,
How to give condition on the value of subtotal line in ALV list display,
i.e.if value of subtotal of plan quantity = actual quantity (in red oval) it should show the message
'ON TIME DELIVERY' else it should not show messagee.In my case(shown in red oval) its
showing for each subtotal value. I know how to change the subtotal text but i want to change
with respect to value of the subtotal.(plz refer attachment)
Any input regard to this will be achieved great.
Many thanks in advance.
samadhan shinde.Hi Samadhan,
I am awaiting for solution for this problem.....but as i think dynamically displaying sub total based on
matching actual quantity and planned quantity is bit complicated.
My idea is to display matched quantities in one block and unmatched quantities in another. I mean using blocked list.
awaiting suggestions.
regards, -
After deactivation asset still shows value in AR03 cumulative value
Dear All
After deactivation of an asset , it still shows value in AR03 cumulative acq value column. can somebody guide us
where my client is lacking as we deactivated the asset on 14.05.2008 in AS02 and transfer the asset value thrru ABUMN
but still the same asset is showing the value on 31.03.2009 .
Thanks in advance
VGDear Srinu
Does Deactivation really need manually entry of writing date in AS02 or date generates automatically thru ABUMN.
As i have already transfered value thru ABUMN and created one new asset against it.
The new asset is working properly but my deactivated my asset is quite trouble some. If I tick the box in Depreciation area
which is for deactivation, will all assets under that class will be deactivated ?
I just had same ABUMN procedure and my asset got deactivated.
I had one asset which is deactivated in 2008 mid, In 2008 AR03 shows 0 value but 2009 it shows its cumulative value.
In tag line my asset should not show the value after it's deactivation in AR03.
Please have some inputs on this.
Regards,
VG.
Edited by: viral guruji on Jul 2, 2009 12:30 PM -
Implementation of F4 value help for a search field which is an EEWB field
Hi...
I am trying to create a F4 value help for a search field which is an eewb field.The f4 value help jus need to be a pop up containing the values of the field existing in the system.Since this is a search field the GET_V method cannot be used. I tried implementing it by creating a search help and then using it in the GET_DQUERY_VALUEHELPS method.But the problem when u use the search help is that all the values including the null values and duplicate entries will be populated when f4 is clicked.Is there any way to filter the values that get populated when f4 is clicked?If any other method can be used to implement the functionality please let me know..Thanks in advance....Hi,
the GET_V methods worked for me most of the time. Even in advanced searchs. Only time they do not is if there is a different aproach considered in the GET_DQUERY_VALUEHELPS.
As the GET_V_ you created obviously was called I suppose you found the correct place to Populate it to be used in the search.
I do not know what the problem with the NULL values and duplicate entries is you talked about, but it sounds to me the creation of your valuehelp class is flawed. Not the integration into the UI.
Maybe have a look at SAPs' standard implementations of Search Components. You should get a feeling for how search helps work. See. BT111S_OPPT, BP_HEAD_SEARCH
cheers Carsten -
Color subtotal value while using class "cl_gui_alv_tree"
Dear All,
Can we color subtotal value?? I am using class "cl_gui_alv_tree" to creare alv tree. if yes please let me know how.
Regards.
GyanendraHi gop4sap11 ,
Autometically subtotal is coming coloured that is fine,but my requirment is like,,,
can i manually coloured subtotal value of any particular node of any column based on some condition??
for ex: node name : -
af
coloumn name : ---abc bcd
60 70
can i colore 60 or 70 in red colore?
subtotal is calculating using standard method
call method tree1->update_calculations. of class "cl_gui_alv_tree"
after that , i tried to use following method
LOOP AT lt_node_temp INTO ls_node_temp.
CALL METHOD TREE1->GET_OUTTAB_LINE
EXPORTING
I_NODE_KEY = ls_node_temp-lv_p_node_key
IMPORTING
E_OUTTAB_LINE = lv_E_OUTTAB_LINE
E_NODE_TEXT = LV_E_NODE_TEXT
ET_ITEM_LAYOUT = LV_ET_ITEM_LAYOUT
ES_NODE_LAYOUT = LV_ES_NODE_LAYOUT
EXCEPTIONS
NODE_NOT_FOUND = 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.
CALL METHOD TREE1->CHANGE_NODE
EXPORTING
I_NODE_KEY = ls_node_temp-lv_p_node_key
I_OUTTAB_LINE = lv_E_OUTTAB_LINE
IS_NODE_LAYOUT = LV_ES_NODE_TEMP_LAYOUT
IT_ITEM_LAYOUT = LV_ET_ITEM_TEMP_LAYOUT
I_NODE_TEXT = LV_E_NODE_TEXT
I_U_NODE_TEXT =
EXCEPTIONS
NODE_NOT_FOUND = 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.
ENDLOOP.
this method must be called to send the data to the frontend
call method tree1->frontend_update. -
Sales order stock is considered for requirement
Hi,
We are using STO scenarion and the material was subjected to MRP and we are creating STO with sales order as account assignment.
The Problem here is when the material master MRP 4 BOM explosion / dependent requirement is set to 2 while STO creation it is not considering Sales order stock.
So we normally change the material master to BOM explosion / dependent requiremt to 1 and Copy the old PO line and creating a new line then we delete old PO lines. Now the sales order stock is considered for requirement.
I want to know how the changes in material master BOM explosion / dependent requiremt 1 or 2 should update the stock and requirement automatically to considered the sales order stock or not.
Kinldy provide me the tips if you have
Regards
palaniHI,
If you change the individual / collective requirement field to 1, and if the settings for MRP type / lot size are PD /EX, system will always consider it as a special stock material.
Now it will be a business decision whether to consider this material as a special stock material or plant stock material. Based on this you can change the individual / collective field value.
Please write back in case you need any additional information.
Thanks... -
Get subtotal value of different column of different root_node in alv tree
Dear All,
I am working on hierarchical alv tree and using class "cl_gui_alv_tree"
CALL METHOD g_alv_tree->update_calculations is providing subtotal
I want to get subtotal value for different node(based on node key) and different column
i am using following method
CALL METHOD g_alv_tree->GET_OUTTAB_LINE(if I am passing pamater "node key" it is returning column name with '0' value,not exact subtotal value)
Thanks and regards in advance. Edited by: Gyanendra Dubey on Jan 26, 2012 7:55 AM
Edited by: Gyanendra Dubey on Jan 26, 2012 8:03 AMHi Dubey,
We are currently facing similar issue, would you be able to share your solution?
CALL METHOD g_alv_tree->GET_OUTTAB_LINE is returning 0 value for the subtotal.
Thank you. -
Pharma: shelf life with remaining 4 months should not be considered for planning
Hi,
Implementation in Pharma : FG Shelf life with remaining 4 months should not be considered for FG planning.
How to exclude this stock while planning for FG. FG planning is Make to stock.
BR
Subbu.Hi,
Thanks to Caetano, Kumar & Mani..
We have achieved this with below with customized program....
Exclude those batches from MRP run whose difference between the (expiration date &
current date ) is less than or equal to its procurement time mention in MRP-2
view of material master.
Before running MRP, one need to execute the program with following option:
Input data will be plant, material type or list of material:
System should execute following logic:
1) In a plant list all material with given material type
2) Execute the BAPI for find out the characteristic value of EXB_MRP from class
type 001of material class (BAPI_OBJCL_GETDETAIL_KEY)
3) If EXB_MRP = Y , then list out all such material.
4) For such a material identity those batches which are available in stock other
than ‘9999’
5) All such batches characteristic of shelf life expiry date need to be derived
from BAPI
6) Calculate ( Expiry Date - Today’s Date)
= Difference
PLIFZ ), batch of
the material will be transferred to the 9999 storage location which will be
excluded from MRP run.
PLIFZ ), batch of the material will be transferred
to the 9999 storage location which will be excluded from MRP run.
7) Run the MRP on materials
8) Transfer posting from 9999 storage location to original storage location :
Selection criteria
On execution transfer the material back to required storage location.
BR
Subbu. -
Query needed for Cumulative data
HI Friends,
I need output like this.
Frequency Percent (%) Cumulative
Frequency Cumulative Percent
4468 0.91 4468 0.91
21092 4.31 25560 5.23
57818 11.82 83378 17.05
6274 1.28 89652 18.33
I am using Oracle 9i.
My output data like this and I need to write the query for 3 columns (Percent ,Cumulative frequency and Cumulative percent)
1:The formula for Percent column data is (Frequency/Sum of cumulative frequency)*100
2:The formula for Cumulative Frequency column data is (Cumulative of Frequency column data)
3:The formula for Cumulative Percent column data is (Cumulative of Percent column data)
What should be the analytic function and how to write the query.
Thanks,
LonyHi Friends,
I need output like this.
Frequency Percent (%) Cumulative Frequency Cumulative Percent
4468 0.91 4468 0.91
21092 4.31 25560 5.23
57818 11.82 83378 17.05
6274 1.28 89652 18.33
I am using Oracle 9i.
My output data like this and I need to write the query for 3 columns (Percent ,Cumulative frequency and Cumulative percent)
1:The formula for Frequency column data is sum of (dd+cc+mc_cc_mc).
1:The formula for Percent column data is (Frequency/Sum of cumulative frequency)*100
2:The formula for Cumulative Frequency column data is (Cumulative of Frequency column data)
3:The formula for Cumulative Percent column data is (Cumulative of Percent column data)
What should be the analytic function and how to write the query.Please find the sample data and table script.
CREATE TABLE all_lony (
campno varchar2(20),
dd INTEGER,
cc INTEGER,
mc INTEGER,
cc_mc INTEGER
insert into all_lony (campno,dd,cc,mc,cc_mc)
values(36,156,1320,445,2547);
insert into all_lony (campno,dd,cc,mc,cc_mc)
values(40,233,19711,263,885);
=============
Please find my query below
SELECT campno
|| ','
|| dm
|| ','
|| cc
|| ','
|| mc
|| ','
|| cc_mc
|| ','
|| frequency
|| ','
|| per
||','
||cumulative_fr
||','
|| SUM (per) OVER (ORDER BY per ROWS UNBOUNDED PRECEDING)
FROM (SELECT q3.campno campno, q3.dm, q3.cc, q3.mc, q3.cc_mc,
q3.frequency, q3.cumulative_fr,
(q3.Frequency / SUM (q3.cumulative_fr)) * 100 per
FROM (SELECT q2.campno campno, SUM (q2.dm) dm, SUM (q2.cc) cc,
SUM (q2.mc) mc, SUM (q2.cc_mc) cc_mc,
(SUM ( NVL (q2.dm, 0)
+ NVL (q2.cc, 0)
+ NVL (q2.mc, 0)
+ NVL (q2.cc_mc, 0)
) frequency,
SUM (SUM ( NVL (q2.dm, 0)
+ NVL (q2.cc, 0)
+ NVL (q2.mc, 0)
+ NVL (q2.cc_mc, 0)
) OVER (ORDER BY SUM ( NVL (q2.dm, 0)
+ NVL (q2.cc, 0)
+ NVL (q2.mc, 0)
+ NVL (q2.cc_mc,0)
) ROWS UNBOUNDED PRECEDING)
cumulative_fr
from all_lony
q1 )q2
GROUP BY q3.campno) q3
GROUP BY campno, dm, cc, mc,cc_mc, frequency,cumulative_fr)
Can anybody just verify the query and let me know. -
Subtotal value in sales order not coming into the net value field.
Dear Gurus,
I am entering two manual conditions in sales order and the total of the two conditions is taking into subtotal step. I want to show that subtotal value into Net Value field(i.e. avilable in the conditions tab).
I tried number of combinations.
Please help.As taking two pricing conditions, system is deactivating one condition. That's why the net value is considering one pricing condition only.
to make both active, one pricing condition and the other condition as surcharge with positive value. -
What are the different values available for type attribute
Hi,
I am working with IDOC to Stored Procedure. For each field we need to give the values for 'isInput' and 'type' attributes. I need to pass values for 'datetime' and 'numeric' fields. What are the list of values availabIe for 'type' attribute. I know only about 'CHAR' attribute.
Can anybody please tell me what all the values availabe for attribute 'type'. I am facing this problem while giving the value for type attribute.
Thanks in Advance,
Murthy.Does this help
tring
Data that contains a combination of letters, numbers, and special characters. String data types are listed below:
CHARACTER: Fixed-length character strings. The common short name for this data type is CHAR.
VARCHAR: Varying-length character strings.
CLOB: Varying-length character large object strings, typically used when a character string might exceed the limits of the VARCHAR data type.
GRAPHIC: Fixed-length graphic strings that contain double-byte characters.
VARGRAPHIC: Varying-length graphic strings that contain double-byte characters.
DBCLOB: Varying-length strings of double-byte characters in a large object.
|BINARY: A sequence of bytes that is not associated with a |code page.
|VARBINARY: Varying-length binary strings.
BLOB: Varying-length binary strings in a large object.
|XML: Varying-length string that is an internal representation |of XML.
Numeric
Data that contains digits. Numeric data types are listed below:
SMALLINT: for small integers.
|INTEGER: for large integers.
|BIGINT: for bigger values.
DECIMAL(p,s) or NUMERIC(p,s), where p is precision and s is scale: for packed decimal numbers with precision p and scale s. Precision is the total number of digits, and scale is the number of digits to the right of the decimal point.
|DECFLOAT: for decimal floating-point numbers.
REAL: for single-precision floating-point numbers.
DOUBLE: for double-precision floating-point numbers.
Datetime
Data values that represent dates, times, or timestamps. Datetime data types are listed below:
DATE: Dates with a three-part value that represents a year, month, and day.
TIME: Times with a three-part value that represents a time of day in hours, minutes, and seconds.
TIMESTAMP: Timestamps with a seven-part value that represents a date and time by year, month, day, hour, minute, second, and microsecond.
Regards
Ravi -
Popup Key LOV, NULL and "Invalid numeric value undefined for column"
Hello.
I've created an item based on database column of NUMBER type and set the following properties:
Display As = Popup Key LOV (Displays description, returns key value)
List of values definition=select 'display_value' d, 1 r from dual
Null display value=%
Null return value=
Display Null=Yes
When I select "%" in the LOV and try to apply changes to database I get error:
ORA-20001: Error in DML: p_rowid=1781, p_alt_rowid=N1, p_rowid2=, p_alt_rowid2=. ORA-20001: Invalid numeric value undefined for column N2
Error Unable to process row of table TTT.
If I set Display As = Select List, all works fine. But I need Popup Key LOV.
Could anybody help me?
I use Application Express 2.2.1.00.04Hi all,
I did my homework and solved this issue. First I would like to thank Patrick Wolf for the invaluable help he gives out on thread Re: Null value handling in LOVs The code presented here is just a minor edit to his code, but an essential one when dealing with Popup Key LOV items.
Here's what I did:
1. Create an Application Process.
Name: RemoveNulls
Sequence: 0
Point: On Submit: After Page Submission - Before Computations and Validations
Process Text:
BEGIN
FOR rItem IN
( SELECT ITEM_NAME
FROM APEX_APPLICATION_PAGE_ITEMS
WHERE APPLICATION_ID = TO_NUMBER(:APP_ID)
AND PAGE_ID IN (TO_NUMBER(:APP_PAGE_ID), 0)
AND LOV_DISPLAY_NULL = 'Yes'
AND LOV_DEFINITION IS NOT NULL
AND LOV_NULL_VALUE IS NULL
LOOP
IF (V(rItem.ITEM_NAME) = '%null' || '%' OR V(rItem.ITEM_NAME) = 'undefined')
THEN
Apex_Util.set_session_state(rItem.ITEM_NAME, NULL);
END IF;
END LOOP;
END;Error Message: #SQLERRM#Condition: None
2. You should be able to submit a Popup Key LOV with a NULL value now.
Once again, THANKS, Patrick! You rock! I'm seriously thinking of trying ApexLib now :)
Georger
Maybe you are looking for
-
Key Reports for Customers (Follow-Up from P2P)
Currently, we are working intensively on enhancing the reporting area in B1 and XL Reporter. Our ambition is to reach a situation where most of the required reports will be installed automatically. We would like to know your opinion about your prefer
-
HTML5 Video Works In Live and Preview But Not on My Website
I feel totally ripped off by Adobe, again, I talked to a sales representative who told me that if I bought CS6 I would be able to easily install html5 video because the new version had an insert function that did most of the coding for you and gave y
-
Terrible battery after 2 years
I've had my macbook pro for about 2 years, and for the past few months the battery has been completely useless. It gives me approximately 10 minutes of life before shutting down when not plugged in. Even when it is plugged in, it often will go into s
-
Hi, in model i create WEbServiceDataControl. On local i use ip like 195....... But when i deploy ma app on server - webServices must call from 172.... ip. My problem: i cant change ip for my dataControls. It work great on local or on server, i just w
-
I have installed a new Samsung 850 Pro 1TB SSD drive that replaced a Samsung 256GB SSD. However, i am unable to get the computer to boot with I select AHCI mode in the BIOS drive setup. I can only boot in the RAID mode and Magician then tells me t