SUM - amount of product in all WAREHOUSEs
Hi
I am sql beginner and have a problem with collecting data from Oracle DB.
I have a table ODT with all the products (nr of product and nr of warehouse are the PK) (NTWR and NODD).
for every warehouse the product has its row.
for example product nr 658:
NAME NTWR NODD AMOUNT
EXAMPLEPRODUCT658 658 1 30
EXAMPLEPRODUCT658 658 2 207
EXAMPLEPRODUCT658 658 3 1602
I'd like to learn how to sum the amount for NODD.
Example output
NAME NTWR AMOUNT
EXAMPLEPRODUCT658 658 237 //the amount for NODD 1&2
EXAMPLEPRODUCT768 768 568 //the amount for NODD 1&2
I made a query like this to sum amount for a product by entered number:
SELECT SUM(SUMAMO) FROM (SELECT ODT.AMOUNT SUMAMO, ODT.NTWR, ODT.NAME FROM ODT WHERE ODT.NTWR = '657' AND ODT.NODD IN (1,2))
and it works for one product
great! :) but i entered this query into larger one with product number and name:
SELECT * FROM
SELECT DISTINCT a.NTWR,
(SELECT SUM(SUMAMO) FROM (SELECT ODT.AMOUNT SUMAMO, ODT.NTWR, ODT.NAME FROM ODT WHERE ODT.NTWR = a.NTWR AND ODT.NODD IN (1,2))),
a.NAME
FROM ODT a)
and i have an error for a.NTWR in SUM -> bad identifier
What can i do to count sum for every product?
1. Sorry for my English
2. I would appreciate any help
Can you send me the exact query that you are using?
But make sure that in group by clause, you are using the same arguments, as there are present in your select statement
for eg
incorrect one
select a,b from tem
where a=1
and b=2
group by b;
Correctone
select a,b from tem
where a=1
and b=2
group by a,b;
Similar Messages
-
Report for open orders and amount of product confirmed
Hi All,
Can some one give me an idea on a report which shows open orders and also shows amount of product confirmed against these open orders?
Thanks,
Neelima.Hi Veni,
Incomplete order are the order's in which some data is missing so that particular order can't be further processed, that is what you could check through "Incompletion Log". Whereas Open orders are the orders which are open for further processing viz. deliver billing(but open order is a complete order i.e. no data missing).
Check this program:
*& Report ZGM_OPENPO *
REPORT ZGM_OPENPO NO STANDARD PAGE HEADING LINE-SIZE 132 LINE-COUNT 36(2).
TABLES: t001w, "Plants/Branches
ekko, "Purchasing Document Header
ekpo, "Purchasing Document Item
marc, "Plant Data for Material
mara. "General Material Data
DATA:
BEGIN OF itab OCCURS 0,
matnr LIKE marc-matnr,
werks LIKE marc-werks,
beskz LIKE marc-beskz,
mmsta LIKE marc-mmsta,
END OF itab.
DATA: BEGIN OF iekpo OCCURS 0,
ebeln LIKE ekpo-ebeln,
menge LIKE ekpo-menge,
aedat LIKE ekpo-aedat,
wemng LIKE eket-wemng,
END OF iekpo.
DATA: BEGIN OF iekko OCCURS 0,
ebeln LIKE ekko-ebeln,
lifnr LIKE ekko-lifnr,
bedat LIKE ekko-bedat,
ekgrp LIKE ekko-ekgrp,
END OF iekko.
selection-screen:begin of block b1 with frame title text001.
SELECT-OPTIONS werks FOR ekpo-werks OBLIGATORY.
SELECT-OPTIONS matnr FOR ekpo-matnr.
SELECT-OPTIONS beskz FOR marc-beskz.
SELECT-OPTIONS bsart FOR ekko-bsart.
selection-screen:end of block b1.
INITIALIZATION.
AT SELECTION-SCREEN ON werks. "Validate for werks
SELECT SINGLE * FROM t001w WHERE werks IN werks.
IF sy-subrc 0. MESSAGE e429(mo). ENDIF.
AT SELECTION-SCREEN ON matnr.
SELECT SINGLE * FROM mara WHERE matnr IN matnr.
IF sy-subrc 0. MESSAGE e429(mo).ENDIF.
START-OF-SELECTION.
SELECT * FROM marc INTO CORRESPONDING FIELDS OF TABLE itab WHERE werks IN werks AND beskz IN beskz AND
matnr IN matnr.
SELECT ebeln FROM ekpo INTO CORRESPONDING FIELDS OF TABLE iekpo
FOR ALL ENTRIES IN itab WHERE matnr = itab-matnr AND loekz EQ space.
SELECT ebeln lifnr bedat ekgrp FROM ekko INTO CORRESPONDING FIELDS OF
TABLE iekko
FOR ALL ENTRIES IN iekpo WHERE ebeln = iekpo-ebeln AND bsart IN bsart.
SELECT ebeln menge aedat FROM ekpo INTO CORRESPONDING FIELDS OF iekpo
FOR ALL ENTRIES IN iekpo WHERE ebeln = iekpo-ebeln. MODIFY iekpo INDEX sy-dbcnt.
ENDSELECT.
SORT iekpo BY aedat.
DELETE ADJACENT DUPLICATES FROM iekpo COMPARING ebeln.
SELECT wemng FROM eket INTO CORRESPONDING FIELDS OF iekpo FOR ALL ENTRIES IN iekpo WHERE ebeln = iekpo-ebeln.
MODIFY iekpo INDEX sy-dbcnt.
ENDSELECT.
END-OF-SELECTION.
DATA : file_name TYPE string.
file_name = 'c:\pay_det\open_po1.xls'.
DATA : BEGIN OF it_join_fields OCCURS 0,
field_name(20),
END OF it_join_fields.
CLEAR it_join_fields.
it_join_fields-field_name = 'ebeln'.
APPEND it_join_fields.
CLEAR it_join_fields.
it_join_fields-field_name = 'menge'.
APPEND it_join_fields.
CLEAR it_join_fields.
it_join_fields-field_name = 'aedat'.
APPEND it_join_fields.
CLEAR it_join_fields.
it_join_fields-field_name = 'wemng'.
APPEND it_join_fields.
CLEAR it_join_fields.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = file_name
filetype = 'ASC'
APPEND = 'X'
write_field_separator = 'X'
TABLES
data_tab = iekpo
FIELDNAMES = it_join_fields
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT iekpo.
IF iekpo-menge NE iekpo-wemng.
WRITE:/4 iekpo-ebeln,21 iekpo-menge ,46 iekpo-aedat, 56 iekpo-wemng.
ENDIF.
ENDLOOP.
if sy-subrc 0. write / 'no data exist for this plant'. endif.
TOP-OF-PAGE.
uline 1(80).
WRITE :/ sy-vline, 20 ' OPEN purchase ORDERs report' color 5,
80 sy-vline.
uline 1(80).
WRITE:/ sy-vline , 4 'PURSCHASE ORDER' COLOR COL_HEADING,
20 sy-vline, 21 'ORDER QUANTITY' COLOR COL_HEADING,
45 sy-vline, 46 'item change' color col_heading, 55 sy-vline,
56 'RECIEVED QUANTITY' COLOR COL_HEADING, 80 sy-vline.
uline 1(80).
END-OF-PAGE.
WRITE :/ 'PAGE NUMBER' ,SY-PAGNO.
Hope this helps you.
Regards,
Chandra Sekhar -
Sum amount - Positive and negative
How do I have a select statement that sum up all the negative and positive values into 2 serperate column? sth like this:
SELECT sum(amount) as negative, sum(amount) as positive FROM account_table WHERE customer_id = 111;Here is how the output look like when I retrieve the amount of customer_id = 111:
Amount
1.4
300
-1.22
-100The expected output that I want should be like this:
Positive Negative
301.4 -101.22DECODE and SIGN functions can help
SQL> select * from t
2 /
VAL
1
-2
3
-4
5
-6
7
-8
9
-10
10 rows selected.
SQL> select sum(decode(sign(val),1,val)) pos, sum(decode(sign(val),-1,val)) neg
2 from t
3 /
POS NEG
25 -30 -
Sum(amount) from 4 tables in sql
Hi, Everyone,
I have 4 tables which has pr_code,amount in each table.
I need the sum(amount) for each pr_code from all the four tables?
How could i write a sql to achieve this?
Please help!
Regards
Suone option would be:
select sum(cnt) sum_cnt
from (select count(*) cnt from user_tables
union all
select count(*) cnt from user_objects
union all
select count(*) cnt from user_indexes
SUM_CNT
151 -
what to buy? I want to a small amount of product photo editing, build websites, and do some product label graphics. 74 years old and do not want to do the Cloud thing online.
Well, the web site building we can get out of the way rather easily: You cannot build websites with any Photoshop related applications. Adobe has other applications for that.
You can still buy the full version of Photoshop CS6 with a perpetual license—no monthly payments and you own it. $700 for the standard version, $1,000 for the extended version.
The Photographer's deal gives you a subscription to both Photoshop and Lightroom for $10 per month, but you never get to own the software. The moment you stop paying, the software ceases to work.
The Cloud thing is not really on-line. It resides on your computer. It only has to call the mother ship once a month or so.
Then there's the bargain-basement priced, emasculated Photoshop Elements, with some hand-holding features.
I'm a septuagenarian too, but then I've been using computers for decades, Photoshop seriously for over twelve years. Photoshop is a professional level application that makes no apologies for its very long and steep learning curve.
Depending on exactly how much editing you need to do to those products shots, you may be satisfied with Ps Elements mentioned above.
There are trial versions for all of the above. -
How to get sum amount (wrbtr) from table BSIS group by gjahr hkont monat
Hello! I am new to this forum, and to ABAP. Hope my question is not obvious.
I want to get sum amount from table BSIS, group by year, period an account. Normally I will try a SQL select like this:
SELECT gjahr monat hkont sum( wrbtr ) as wrbtr INTO CORRESPONDING FIELDS OF TABLE itab FROM BSIS WHERE (itabcond) GROUP BY gjahr monat hkont .
The problem is that the amount in field wrbtr is all positive. The result gets wrong. The debet/credit indicator shkzg determines what is positive/negative. How to solve this in the most efficient way? Should I read all accounting documents into an internal table, and loop through them, changing the sign, and then make some new select, or is there a better way?
Regards Dag-Egil
Message was edited by:
Dag-Egil Bull SletholtHere are the objects in the trace list:
SKB1
USR05
TRDIR
SKA1
SKAT
SKB1
BSIS
PRPS
BSAS
V_LTDX
USR02
RFBLG
V_LTDX
LTDX
RTXTH
RTXTF
RTXTT
TRDIR
The most of this call to this tables returns 1-2 records, apart from BSIS, where it returns 10 records. This is the same as accounting documents in the transaction FBL3N. When i try this again with more records returned I still have no call to table GLT0. -
BRFplus: Sum Amount in Table
Experts,
We are having trouble summing amount columns of tables in BRFplus. We have tried 2 different ideas and each has a different error:
Table Operation - sum the column containing the amount. This returns a currency error. It is not possible to pass a currency at runtime because it does not exist in the table structure.
TABLE_SUM_AMOUNT - create a formula and use this function to calculate the amount. This always returns the error "Column 0050569BA4BE1EE487810606D083E1 does not exist in table Table Type." Regardless of the column or the table type, this same error appears for all TABLE_SUM* functions.
Any ideas? Your help would be greatly appreciated.My specific requirement is to sum the BETRW amount field on an internal table of structure DFKKOP. In ABAP, the structure contains a currency field called WAERS. If you attempt to create a table Data Object in BRFplus based on the DFKKOP structure, for some reason the WAERS field disappears:
This is really a very simple and common use case. My function module that calls BRFplus is posted below. What I need to know from the experts is:
****HOW DO I SUM THE FIELD BETRW IN TABLE DFKKOP?****
The examples posted so far are not helping at all.
FUNCTION ZFICA_BRFPLUS_SUM_TEST.
*"*"Local Interface:
*" EXPORTING
*" VALUE(EV_AMOUNT) TYPE BETRW_KK
*" TABLES
*" IT_DFKKOP STRUCTURE DFKKOP
*" EXCEPTIONS
*" NO_INKGP_FOUND
CONSTANTS: lv_function_id TYPE if_fdt_types=>id VALUE '0050569BA4BE1EE48FE94B283920E9F1'. "THE BRFPLUS FUNCTION
DATA: lt_name_value TYPE abap_parmbind_tab,
ls_name_value TYPE abap_parmbind,
lv_timestamp TYPE timestamp,
exc TYPE REF TO cx_fdt,
lr_data TYPE REF TO data.
FIELD-SYMBOLS: <logmsg> TYPE if_fdt_actn_message_log=>s_log_msg,
<wa> TYPE any.
GET TIME STAMP FIELD lv_timestamp.
"SEND THE OPEN ITEMS TO BRFPLUS
CLEAR ls_name_value.
MOVE: 'IT_DFKKOP' TO ls_name_value-name.
GET REFERENCE OF IT_DFKKOP INTO lr_data.
TRY.
CALL METHOD cl_fdt_function_process=>move_data_to_data_object
EXPORTING
ir_data = lr_data
iv_function_id = lv_function_id
iv_data_object = 'IT_DFKKOP'
iv_timestamp = lv_timestamp
IMPORTING
er_data = ls_name_value-value.
CATCH cx_fdt_input.
ENDTRY.
INSERT ls_name_value INTO TABLE lt_name_value.
"THEN CALL THE BRFPLUS FUNCTION
TRY.
CALL METHOD cl_fdt_function_process=>process
EXPORTING
iv_function_id = lv_function_id
iv_timestamp = lv_timestamp
CHANGING
ct_name_value = lt_name_value.
CATCH cx_fdt_input cx_fdt INTO exc.
MESSAGE exc TYPE 'E'.
ENDTRY.
"NOW GET THE RESULT FROM THE CALL TO THE BRFPLUS FUNCTION
cl_fdt_function_process=>get_context_value( EXPORTING iv_function_id = lv_function_id
iv_data_object = 'EV_AMOUNT'
iv_timestamp = lv_timestamp
IMPORTING ev_data = EV_AMOUNT ).
ENDFUNCTION. -
Sum amount within a date range
I have 2 tables where I Need to sum up sales amount within a booking date range.
Below an example to help illustrate this task.
Table1:
CustomerID BookingDate (YYYY-MM-DD)
1 2014-04-29
1 2014-07-30
2 2014-03-31
2 2014-06-30
Table2:
CustomerID SalesDate (YYYY-MM-DD) Amount
1 2014-01-30 20
1 2014-02-25 30
1 2014-05-20 100
1 2014-07-30 200
1 2014-09-30 80
2 2014-03-20 50
Result:
CustomerID BookingDate (YYYY-MM-DD) Sum(Amount From Table2)
1 2014-04-29 50 -- SalesDate between 2014-01-01 and 2014-04-29
1 2014-07-30 300 -- SalesDate between 2014-04-30 and 2014-07-30
2 2014-03-31 50 -- SalesDate between 2014-01-01 and 2014-03-31
2 2014-06-30 0 -- SalesDate between 2014-04-01 and 2014-06-30Please try this code:
declare @Table1 table
(CustomerID int,BookingDate date );
insert @Table1
values
( 1, '2014-04-29' ),
(1, '2014-07-30' ),
(2, '2014-03-31' ),
(2, '2014-06-30') ;
declare @Table2 table
(CustomerID int, SalesDate date, Amount int);
insert @Table2
values
(1,'2014-01-30',20) ,
(1,'2014-02-25',30) ,
(1,'2014-05-20',100) ,
(1,'2014-07-30',200) ,
(1,'2014-09-30',80) ,
(2,'2014-03-20',50) ;
with cte as
select
CustomerID,
BookingDate ,
row_number() over (partition by CustomerID order by BookingDate ) as rn
from @Table1 )
, cte2 as
select
T2.CustomerID ,
isnull(T1.BookingDate, '2014-01-01') as FromDate,
T2.BookingDate as ToDate
from cte as T1
right join cte as T2
on T1.rn = T2.rn - 1
and T1.CustomerID = T2.CustomerID
select
b.CustomerID ,
b.ToDate as BookingDate,
isnull(sum(a.Amount), 0) as [Sum(Amount From Table2)]
from @Table2 as a
right join cte2 as b
on a.CustomerID = b.CustomerID
and a.SalesDate > b.FromDate
and a.SalesDate <= b.ToDate
group by
b.CustomerID ,
b.ToDate;
T-SQL Articles
T-SQL e-book by TechNet Wiki Community
T-SQL blog -
How to do "for each month in 2008 sum amount where category is cash"
The table format is:
Date(MM/DD/YYYY) Amount Description Category Account
01.02.2008 -21000 benzina (C) Calatorii Cash
01.04.2008 -2000 Mancare (C) Calatorii Cash
01.05.2008 -2000 Mancare (C) Comisioane Cash
05.12.2008 4706 diverse (C) Comisioane BT - Mondo
08/25/2008 8807 diverse (C) Calatorii BRD - PFA
08/25/2008 104000 diverse (C) Comisioane BRD - Multiplan
10.10.2008 6385849 diverse (C) Comisioane BRD - Atucont
10/26/2008 943699 diverse (C) Calatorii BRD - ISIC
10/27/2008 95313 diverse (C) Comisioane Cash
10/28/2008 -300 Comisioane (C) Comisioane BRD - ISIC
I am trying to do the following:
for each month in 2008
sum (Amount) where Category is (C) Calatorii
=>
January -23000
February 0
for each month in 2009 up until now
sum (Amount) where Category is Cash
=>
January 35000
With these 2 samples I can manage the other functions I need.
Thanks in advance.Question asked and responded several times.
In column H of the first table I inserted the formula:
=YEAR(B)*100+MONTH(B)
In column B of the second table, the formula is:
=SUMIFS(Tableau 1 :: C,Tableau 1 :: G,"=Cash",Tableau 1 :: H,"="&A)
CAUTION
I don't know your system settings.
If your system uses the decimal comma, you will have to use:
=SUMIFS(Tableau 1 :: C;Tableau 1 :: G;"=Cash";Tableau 1 :: H;"="&A)
Yvan KOENIG (from FRANCE jeudi 23 avril 2009 15:04:49) -
How can I subtract amount[3] from this sum? sum(amount[0],amount[1],amount[2])
sum(amount[0], amount[1], amount[2]) - amount[3]
Kyle -
I am self employed and I want to be able to offer private tuition in PhotoShop and Illustrator, alongside Corel PaintShopPro and MS Office that I already teach. Can I get these two products, or all, at the 'educational' price?
Not that I know. S&T pricing only applies to verified institutions. Could well be that you may need to fill out a paper with whatever governmental authority is responsible on the planet you live, but otherwise you're just a private business like any other and would most likely deduct the expenses from your tax bill...
Mylenium -
How to calculate the sum of cyclomatic complexity of all methods?
I can write a rule to calculate the sum of cyclomatic complexity of all methods in my system?
Hi Dileep,
In your query you are not specified whether the SUM of entire internal table SALARY or break up SALARY.
If you want just the SUM of the entire internal table SALARY.
Try this code.
begin of itab occurs 0,
name(10),
salary type i,
end of itab.
itab-name = 'ABC'. itab-salary = 25000.
append itab.
itab-name = 'CDF'. itab-salary = 50000.
append itab.
itab-name = 'FGH'. itab-salary = 30000.
append itab.
itab-name = 'LMN'. itab-salary = 35000.
append itab.
itab-name = 'QPR'. itab-salary = 40000.
append itab.
loop at itab.
at last. " Note the control statement used here
sum.
write: 'The total salary is',itab-salary.
endat.
endloop.
Regards,
Smart -
Hi Gurus,
My client want to distribute the credit memo amount among the products, The scenarios is
Ex. For A customer they are selling x,y and Z products worth 5,000,000, for that customer they are giving credit note(irrespective of product, revenues, quantity or sales) for 50000,presently this amount loading based on the customer, this 50000 is possible to load based on the three product? Like that they have more customers (only one gl for all customers.)For that credit memo they have one GL account they assigned in OKB9 to CO-PA.
Scenario 2(Link with above issue)
For A customer having business across India(Different regions south, north, west and east), He comes under different AMs (Area managers), Billing will do based on the AM and region how the credit memo amount will distribute among the AMS?
Please advise meu2026.
Thanks,
ChanduHi Reddy Anna
Top Down Distribution (KE28) is the solution for this
While posting the Cr Memo - you need to populate the Customer No and Other fields like Area (E/W/N/S) in the chars
Later on, using TD, you can allocate it to all products sold upon that Customer / Area
br, Ajay M -
HELP : Summing amounts along a Hierarchy.
Hi All,
I need a query to help me with summing-up amounts along a hierarchy.
Data is only at the lowest level and needs to be summed up along the
hierarchy accordingly. Each level above the lowest level needs to
have an amount that is the sum of amounts in the levels below.
Sample Data:
Id Parent_id Level amount
1 1 0
2 1 2 0
3 1 2 0
4 1 2 0
5 2 3 0
6 2 3 0
7 3 3 0
8 4 3 0
9 5 4 10
10 5 4 10
11 6 4 10
12 8 4 10
13 8 4 10
Desired Output:
Id Amount
1 50
2 30
5 20
9 10
10 10
6 10
11 10
3 0
7 0
4 20
8 20
12 10
13 10
I have tried using the following select but the results
select tn.parent_id,
sum (tn.amount)
from table_name tn
group by tn.parent_id
connect by prior tn.id = tn.parent_id
start with tn.task_id = 1
and the results I get are:
Id Amount
1 0
2 0
5 20
9 10
10 10
6 10
11 10
3 0
7 0
4 0
8 20
12 10
13 10
Am I on the right track and what do I need to modify if so.
Otherwise, will you please suggest a new way to do this ?
Thanks in advance,Like this one ?
SQL> with tbl as
2 (select 1 c1, null c2, 0 c3, null c4 from dual union all
3 select 2 c1, 1 c2, 2 c3, 0 c4 from dual union all
4 select 3 c1, 1 c2, 2 c3, 0 c4 from dual union all
5 select 4 c1, 1 c2, 2 c3, 0 c4 from dual union all
6 select 5 c1, 2 c2, 3 c3, 0 c4 from dual union all
7 select 6 c1, 2 c2, 3 c3, 0 c4 from dual union all
8 select 7 c1, 3 c2, 3 c3, 0 c4 from dual union all
9 select 8 c1, 4 c2, 3 c3, 0 c4 from dual union all
10 select 9 c1, 5 c2, 4 c3, 10 c4 from dual union all
11 select 10 c1, 5 c2, 4 c3, 10 c4 from dual union all
12 select 11 c1, 6 c2, 4 c3, 10 c4 from dual union all
13 select 12 c1, 8 c2, 4 c3, 10 c4 from dual union all
14 select 13 c1, 8 c2, 4 c3, 10 c4 from dual )
15 select c1, c2, c3, c4
16 from (select c1, c2, c3, sum(c4) over (partition by connect_by_root c1) as c4, level lv
17 from tbl
18 connect by prior c1 = c2)
19 where lv = 1;
C1 C2 C3 C4
1 0 50
2 1 2 30
3 1 2 0
4 1 2 20
5 2 3 20
6 2 3 10
7 3 3 0
8 4 3 20
9 5 4 10
10 5 4 10
11 6 4 10
12 8 4 10
13 8 4 10
13 rows selected.
Elapsed: 00:00:00.03Nicolas. -
ASCP should plan production of all lines of a Sales Order in the same IO
Requirement details:
1) We are running an ECC plan in OPM environment (Constrained Classic)
2) There are 20+ manufacturing plants – all are equally capable of manufacturing any item
3) Sourcing rules define the sequence in which plants should be loaded (first plant X, go to plant Y when capacity in plant X is full. Go to plant Z when capacity in plant Y is full… and so on.)
4) Sales Orders are entered in a fashion where 1 SO = 1 container.
5) There are 5-20 lines per sales order (for items A, B, C, D etc). Together, these items constitute a full container load (FCL)
6) The composition of this FCL will vary from one Sales Order to another (e.g., customer 1 takes items A,B,C; customer 2 takes A,B,D; customer 3 takes A,B,C,D)
7) To avoid transfers between plants, all lines of one SO should be assigned to same plant for production – even if that means delaying the shipment. The container will be loaded in that plant itself – instead of transferring it to a distribution center.
As per our understanding, ASCP does not support such a requirement. We attempted the following:
1) Defined following profiles:
MSC: Maximum number of planned orders per demand = 1
MSO: Maximum Demands per Group = 1
MSO: Maximum Demands per Slice = 1
2) Defined Demand Priority Rules:
Schedule Date – 1
Sales Orders, Forecasts & MDS Entries Priority – 2
3) If there are 10 SOs with the same Scheduled Ship Date, they were given Planning Priority as 1, 2, 3 … 10
4) All lines of a sales order were assigned the same ship set.
With all the above settings, we could not achieve our goal. Any suggestions from the ASCP Gurus?Hi Navneet,
Thank you for your reply. To answer your queries:
(1) We have a dummy inventory org mentioned as ship-from org in all SOs (calling it 'dummy' - as physically there is no such IO). This is done because the marketing team does not know from which IO material will be shipped (we do not have GOP in scope).
(2) Sourcing rules mention that a demand in the dummy IO can be met by orgs X, Y, Z etc (each one with 100% allocation, ranks 1, 2, 3 etc). There are no sourcing rules for transfers between X, Y and Z.
(3) The intent is to fulfill a SO from single org with none of the items internally sourced from other orgs.
Regards,
Parikshit
Maybe you are looking for
-
Using Sun Web Server 6.1 from the IDE
Using JSE 8 with Sun Web Server 6.1 set as the target container, I have a SUNWS61deployment.xml file created. That didn't exist in JSE 7. Is it WS 6.1 SP4 or SP5 -related ? I also have ws61-sun-web.xml with a simple <sun-web-app/> tag (empty deployme
-
Performance Problem on Designer Repository
Hello, We have performance problem on Designer Repository database, I run system statistics, recreate objects, truncate temporary tablespaces, but compile forms runs very slowly, on top sql is this sql statement: SELECT MAX(1) FROM I$SDD_WA_CONTEXT C
-
Hows it going. I 'm trying to write a program to do this: when the user clicks a JButton, a windows folder or windows explorer window opens showing the contents of the C directory. I know how to do all the normal button stuff but does anyone know how
-
Workflow Administrator SAP user Role
I have a question from the customer regarding which SAP User Role should be assigned to and Workflow Administrator? From my point of view, basically there are 2 questions here: 1. Is there any standard SAP user Role for this? (which one?) 2. If not,
-
In trouble - need help: FCPX will not open - prompts CRASH report
Tonight, 7:15pm MTN, I closed FCPX upon a short range (single connected clip) wasn't rendering. It played perfectly, and I simply wanted to get rid of the red line above the project timeline over the clip, but nothing I did to render that section or