WM Bulk Putaway and Picking Strategy Query for a Scenario
I have two Questions ( Putaway and Picking Strategy for Break-Bulk Handling) :
Question 1) Break-Bulk Putaway Strategy
In WM Putaway Strategy for Break-Bulk, I would like to Propose the Bin for Production Receipts based on following constraints relevant for OBD Process
Scenario:
SO-1 Production Order -1 Product -1 Ship-To Party -1 Destination -1 Loading Date 20 Days from Now 8 Levels High Product Stacking Qty 500 MT Occupies 10 Bins total
SO-2 Production order-2 Product -2 Ship-To Party -1 Destination -1 Loading Date 20 Days from Now 6 Levels High Product Stacking Qty 1000 MT occupies 20 Bins total
SO-3 Production Order -3 Product -1 Ship-To Party -2 Destination 2 Loading Date 20 Days from Now 8 Levels High Product Stacking Qty 200 MT occupies 4 Bins Total
So-4 Production Order -4 Product -3 Ship-To-Party -3 Destination -1 Loading Date 30 Days from Now Qty 10 Levels High Product Stacking 1000 MT Occupies 20 Bins Total
S0-5 Production Order -5 Product -2 Destination -2 Ship-To Party-2 Loading Date 30 Days from Now Qty 6 Levels High Product Stacking 500 MT occupies 10 Bins Total
SO-6 Production Order - 6 Product- 1 Destination-3 Loading Date 10 Days from Now 8 Levels High Product Stacking Qty 2000 MT occupies 20 Bins Total
The production receipts will come randomly into Bulk Area any sequence any day any time 24 X 7 basis . The constraints we need to use are:
1) Materials should not be mixed
2) Different Loading Dates of Same Product also should not be mixed
3) Different destination of Same product or different products should not be mixed
4) Different Ship to Party for same destination should not be mixed
4) We need to reserve in advance maximum number of Bins that entire Sales Order occupies tentatively as soon as the First time material comes to Warehouse for the entire sales Order. Example SO Qty 500 MT assuming 50 MT occupies with different stack heights in one bin. I need to reserve 10 bins total closer to each other in bulk-area . When 2 Products comes, WM System should propose bins already reserved bin in the break-Bulk Area.
5) Different SO-2 product when arrives warehouse, it should not occupy already alloted bin for SO-1
Question 2) Picking Strategy
1) Pick List needs to be generated based on Loading Date at Load Port for all SO's and the sequence of Loading will be first last Destination in the route ( i.e. based on which is delivered at last port needs to be loaded first in the vessel at Load Port )
If the route contains 3 stages
Stage -1 --- First Discharge port
Stage -2 -
Second Discharge Port
Stage -3 --- Last Discharge Port
We need to load in Ship, the SO Product which will be discharge last i.e. Stage 3 Destination.
Next we need to Load Second destination and next we need to Load SO Product going to First Discharge Port.
This Picking proposal needs to come from WM System
How can we address this requirement in WM System?
Thanks and Regards,
Nagaraj
Hi,
Thank you for your attention to our question.
We have a workaround for this problem. I have created a Special Movement Indicator with a corresponding WM Movement Type and attached these in the LE-WM Interface to Inventory Management. We will now update our Material Masters with the Special Movement Indicator and keep the Placement and Removal Storage Types the same (the Fixed Bin Storage Type). We have tested this approach and are satified that it meets our needs.
Thanks and Regards,
Mike
Similar Messages
-
Need help writing a query for following scenario
Hi all, I need some help writing a query for the following case:
One Table : My_Table
Row Count: App 5000
Columns of Interest: AA and BB
Scenario: AA contains some names of which BB contains the corresponding ID. Some
names are appearing more than once with different IDs. For example,
AA BB
Dummy 10
Me 20
Me 30
Me 40
You 70
Me 50
Output needed: I need to write a query that will display only all the repeating names with their corresponding IDs excluding all other records.
I would appreciate any input. ThanksIs it possible to have a records with the same values for AA and BB? Are you interested in these rows or do you only care about rows with the same value of AA and different BB?
With a slight modification of a previous posting you can only select those rows that have distinct values of BB for the same value of AA
WITH t AS (
SELECT 'me' aa, 10 bb FROM dual
UNION ALL
SELECT 'me' aa, 20 bb FROM dual
UNION ALL
SELECT 'you' aa, 30 bb FROM dual
UNION ALL
SELECT 'you' aa, 30 bb FROM dual
SELECT DISTINCT aa, bb
FROM (SELECT aa, bb, COUNT(DISTINCT bb) OVER(PARTITION BY aa) cnt FROM t)
WHERE cnt > 1; -
Need sql query for typical scenario
Hello Champs,
I have a scenario where I am suppose to fetch data from a schema which is developed by other team ... (there are no primary keys even)
the table structure is -
Column A Column B Column C Column D
1 h 6 u
1 h 7 u
1 h 8 u
2 g 9 i
2 g 0 i
2 g 7 i
3 t 3 h
3 t 4 h
3 t 5 i
and my output should be exactly like :
1 h 6,7,8 u
2 g 9,0,7 i
3 t 3,4 h
so basically I want comma separated values for column c where remaining column values are same ...
is it possible to achieve this result via SQL?? if not then what is the other solution??
Please help .. I am working in IST and need solution urgently for this .. please help .
TIA,
Regards,
Chintanif you have 11g
WITH t AS (SELECT 1 cola,
'h' colb,
6 colc,
'u' cold
FROM DUAL
UNION
SELECT 1,
'h',
7,
'u'
FROM DUAL
UNION
SELECT 1,
'h',
8,
'u'
FROM DUAL
UNION
SELECT 2,
'g',
9,
'i'
FROM DUAL
UNION
SELECT 2,
'g',
0,
'i'
FROM DUAL
UNION
SELECT 2,
'g',
7,
'i'
FROM DUAL
UNION
SELECT 3,
't',
3,
'h'
FROM DUAL
UNION
SELECT 3,
't',
4,
'h'
FROM DUAL
UNION
SELECT 3,
't',
5,
'i'
FROM DUAL)
SELECT cola, colb, listagg (colc, ',') WITHIN GROUP (ORDER BY colc) colc, cold
FROM t
GROUP BY cola, colb, cold
COLA COLB COLC COLD
1 h 6,7,8 u
2 g 0,7,9 i
3 t 3,4 h
3 t 5 i -
Query to replace old report where I could type in an exe name and pick an OU for it to recurse
In SCCM 2007 there was a report I always used that allowed me to type in a .exe and then specify an OU, and it would show me all computers in that OU and it's sub-OU's that had that file name, and show me the version of that file.
I can't seem to find a report that allows that in SCCM 2012, so I'm wondering if someone out there has a query I could setup that would essentially provide the same data to me.Thanks. I think I did something wrong though. Here's what I put into the wql box and it says I have a syntax error
select s.Netbios_Name0,
max(ou.System_OU_Name0) as OU
, sf.FileName,
sf.FilePath
,sf.FileVersion
from v_R_System s
join v_GS_SoftwareFile sf on sf.ResourceID=s.ResourceID
join v_RA_System_SystemOUName ou on ou.ResourceID=s.ResourceID
where ou.System_OU_Name0 like 'my.domain.com/MainOU/SubOuIWant%'
and sf.FileName like 'firefox%'
group by s.Netbios_Name0,
ou.System_OU_Name0,
sf.FileName,
sf.FilePath
,sf.FileVersion -
Putaway and picking in ERP-WM with SU and batches with mixed stock
Hello all,
I configured a WM warehouse with SU management, and batch management. We have bulk storage for example of 20 pallets. each pallet may have its own SU and batch numbers. As a result we may have in the bulk storage 20 SUs with 20 different batches.
I have 2 problems:
1. in Putaway strategy B (Bulk) - although the storage type is configured to allow mixed storage - automatically the system chooses the next empty bin. How can I force the system to add to existing stock instead?
2. in Outbound Delivery (when the batch number is not entered in the delivery), when I create the TO (through LT03), the system proposes a FIFO batch number (again, we are talking about Bulk storage). How do I tell the system not to determine the batch number - but instead take it from the chosen SU on confirmation?
Thanks,
IsaacHi,
1. in Putaway strategy B (Bulk) - although the storage type is configured to allow mixed storage - automatically the system chooses the next empty bin. How can I force the system to add to existing stock instead?
In Bulk system would only one SU type perBin. If the next SU is of diferent SU type then it would propose the next Bin.
2. in Outbound Delivery (when the batch number is not entered in the delivery), when I create the TO (through LT03), the system proposes a FIFO batch number (again, we are talking about Bulk storage). How do I tell the system not to determine the batch number - but instead take it from the chosen SU on confirmation?
In this case you do not setup batch determination at delivery or WM level.
Since this is Bulk, system will allow for SU number to be entered during picking.
However the Batch number population in TO upon SU selection is doubtful.
Hope this helps. -
Splitting and executing the query for each 1 lac and executing parallel.
Hi All,
We have a table with around 10 keys and each key is having more than millions of records for a given date.
And my requirement is to find the sum of the sale_price of each keys.
( example :
Select key, sum(sale_price) from table1 where date1=sysdate
group by key
Since, each set of key contains more than a millions of records, It's time consumption is too high.
Is thr any way to achieve as below,
For key 1 (assume 1 million records)
and we will spilt these into 100 parts and execute parallelly.
At the end get sum of all 100 parts.
Similarly for other keys....
Is it possible to divide the records into 1 lac each and give it for parallel execution ?If the key column is also the partition key, I would expect that to work well with parallel query. What have you tried that isn't working? Also what is your Oracle version?
-
How to write query for this scenario
Hi -
I have two table like this:
Question:
questionid questiontext
1 comment
2 score
Answer:
authkey questionid
questiontext answertext
101 1 comment hi!!
101 2 score 4
102 1 comment excellent
102 2 score 5
103 2 score 6
104 2 score 8
Here there are two question (score and comment) and answer is stored in answer table. there are case when there is no comment and only answer. but answer would always be there in answer table for each authkey.
I want to write the query that gives the result that if no comment is given for authkey then return null as answer. something like below:
Desired Result:
authkey questionid questiontext
answertext
101 1 comment hi!!
101 2 score 4
102 1 comment excellent
102 2 score 5
103 2 score 6
103 1 comment null
104 2 score 8
104 1 comment null
what query can i write to get the above desired result.
Thanks in advanceTry below solution, it is NOT best solution but might work:
Declare @Questions TABLE (QuestionID INT, QuestionText Varchar(100))
INSERT INTO @Questions
VALUES (1, 'Comment'), (2, 'Score')
DECLARE @Answers TABLE (authkey INT, QuestionID INT, questiontext VARCHAR(100), answertext VARCHAR(100))
INSERT INTO @Answers
VALUES (101, 1, 'comment', 'hi!!'), (101, 2, 'score', '4'), (102, 1, 'comment', 'excellent'), (102, 2, 'score', '5'), (103, 2, 'score', '6'), (104, 2, 'score', '8')
SELECT
A.AuthKey
,Q.QuestionID
,Q.QuestionText
,A.AnswerText
FROM
@Questions Q
INNER JOIN @Answers A ON Q.QuestionID = A.QuestionID
UNION
SELECT
A.AuthKey
,Q.QuestionID
,Q.QuestionText
,Null
FROM
@Questions Q
CROSS JOIN @Answers A
WHERE
NOT EXISTS (SELECT 1 FROM @Answers SubQry WHERE SubQry.AuthKey = A.AuthKey AND SubQry.QuestionID = Q.QuestionID)
Output
AuthKey | QuestionID
| QuestionText
| AnswerText
101 | 1 | Comment | hi!!
101 | 2 | Score | 4
102 | 1 | Comment | excellent
102 | 2 | Score | 5
103 | 1 | Comment | NULL
103 | 2 | Score | 6
104 | 1 | Comment | NULL
104 | 2 | Score | 8
Best Wishes, Arbi; Please vote if you find this posting was helpful or Mark it as answered. -
Query for below scenario using analytical functions
Hi,
Below is the data format which I have.
COL-1 COL-2
1-Jan-13 5
2-Jan-13
3-Jan-13
4-Jan-13
5-Jan-13 10
6-Jan-13
7-Jan-13
8-Jan-13
9-Jan-13 15
10-Jan-13
Expected
COL-1 COL-2
1-Jan-13 5
2-Jan-13 5
3-Jan-13 5
4-Jan-13 5
5-Jan-13 10
6-Jan-13 10
7-Jan-13 10
8-Jan-13 10
9-Jan-13 15
10-Jan-13 15;
Thanks in advance
Edited by: unique on May 14, 2013 2:23 PMunique wrote:
Hi,
Below is the data format which I have.
COL-1 COL-2
1-Jan-13 5
2-Jan-13
3-Jan-13
4-Jan-13
5-Jan-13 10
6-Jan-13
7-Jan-13
8-Jan-13
9-Jan-13 15
10-Jan-13
Expected
COL-1 COL-2
1-Jan-13 5
2-Jan-13 5
3-Jan-13 5
4-Jan-13 5
5-Jan-13 10
6-Jan-13 10
7-Jan-13 10
8-Jan-13 10
9-Jan-13 15
10-Jan-13 15;
Thanks in advance
Edited by: unique on May 14, 2013 2:23 PMAny rationale behind your output?
How about you try to explain WHY the output is supposed to be as you ask for.
I can think of more than 1 way to do this, each of which would be wrong if I make the wrong assumption about what you are actually trying to do.
Cheers, -
Query for Identifying column changes
Hi Guys,
Need help in getting a query for my scenario.
I have 2 table Table A and Table B. Both have same columns and data type.
Table A:
Id PersonId Name Code Date
1 1000 John M 2014-07-28
2 1001 Mary B 2014-07-28
3 1002 Robin R 2014-07-28
4 1003 Maxie N 2014-07-28
Table B:
Id PersonId Name Code Date
1 1000 John 2014-07-28
2 1001 Hary S 2014-07-28
3 1002 Justin Q 2012-07-28
4 1003 Maxie P 2013-07-28
My situation is:
I need to compare both the tables and need to identify the rows that has a change in all columns, if all other columns are not changed and Code is changed to blank, i need to ignore that row.
The expected outcome is:
Id PersonId Name Code Date
2 1001 Hary S 2014-07-28
3 1002 Justin Q 2012-07-28
4 1003 Maxie P 2013-07-28
Thanks Guys...I found the solution in a easy way i guess...
select * from
SELECT ID, PERSONID,NAME,
case when code is null then
select a.code from tablea A where A.ID = B.ID
else
a.code
end as Code,
DATE FROM TABLE B
MINUS
SELECT ID,PERSONID,NAME,CODE,DATE FROM TABLE A
What do you guys think...would it work for my scenario....
i am testing few scenarios looks like working....... -
Mix of SAP Gateway and non SAP Gateway for Integration with SAP
Hello,
I am looking for a document on where SAP NW Gateway fits in as part of an integration overall strategy. So, for example, my understanding it is primarily for Mobile app integration. I hear some customers talking about using Gateway for what we normally think of as EAI core integration. So, it does not seem right to me in many typical SAP integration requirements would be handled via Gateway. Other traditional SAP integrations via PI or another ESB leveraging enterprise services, SAP API like BAPIs and IDOCS would be more appropriate in many non-mobile type situations.
Does anyone have general guidance on the above integration advice, thxA good discussion..If I can add few things
1) PI REST Adapter is planned, should be available sometime in near future..
I do not think every integration scenario should be handled in Gateway (rather oData style) just because it can or it might work thinking. Doing it odata style means you need to re-write all functionalities as Web Based Services (eSOA anyone??)
2) Gateway (oData Services) - should be used in User to System scenario ( mobile, browser light weight type) , where you would want to transfer minimal data to the user and back
3) PI - System to System as you mentioned. e.g. Master Data/Customer Synchronization between ecc & crm etc. Doing them in oData style seems like overkill to me when you can use the IDOCs/ALEs and you do not need the data to be transferred over HTTP.
Both Gateway and PI are targeted for different scenarios and have their own place, and as such the right product should be evaluated carefully for each scenario.
Just my two cents.
Sandip -
Notification Query for Item Group
Dear Experts,
Please Guide me for a Notification Query for this Scenario :
I want to put a Notification Query for a Group i.e. when any user do transactions in any form or any Particular form using items
of this Group than if the Item Quantity is in Decimal then he can not do that Transaction and Get Error Message.
Thanks in Advance.
Atul ChakrabortyHi Atul,
to achieve this you have to write SPTN at the back end
under databases node select your live database.
Select programability
select stored procedure
select db.sbo.SP_Transactionnotification
and paste your code into
ADD YOUR CODE AREA
If (@object_type = '17') and (@transaction_type in ('A', 'U'))
BEGIN
Declare @ItmGrpCode as int
Declare @Qty as int
set @ItmGrpcode = (select oitm.itmsgrpcod from oitm inner join rdr1 on oitm.itemcode = rdr1.itemcode inner join ordr on
rdr1.docentry = ordr.docentry where ordr.docentry=@list_of_cols_val_tab_del)
set @Qty = (select quantity from rdr1 inner join ordr on ordr.docentry = rdr1.docentry where ordr.docentry =
@list_of_cols_val_tab_del)
BEGIN
if @ItmGrpcode = 10 and @qty = 0
Begin
set @error = -1
set @error_message = 'Invalid Input'
End
End
END
Like wise by capturing object type and dml mode you have to write code for every document that you want to check.
For example I've given code for Sales Order.
hope this will help you
Thanking you
Malhaar' -
How to form a query for this requirment
Hi Friends,
I have a database table in which I store the employee data along with his phone number. Now this row of data can repeat for different phone number depending on if it is office phone or home phone or cell phone.
But in the output of query, I need name of empoyee and other three columns namely "Home Phone", "Office Phone" and "Cell Phone".
If employee has three rows for each kind of phone, then in the result of query all three columns for phone numbers should be filled, otherwise as many columns should be filled with data as different phone numbers employee has.
Can any one please post SQL query for this scenario ?
Thanks in AdavanceI cannot imagine, that second and third query are
under any circumstances faster as first one, but i
can imagine that they are slower You stated that query without the inline view can only be faster. Did you check on optimizer plans or use tkprof to verify your claim?
A quick check on those two selects
SELECT object_id, object_type, object_name
FROM user_objects;
SELECT object_id, object_type, object_name
FROM (SELECT object_id, object_type, object_name
FROM user_objects)
;didn't show any changes in the explain plan unter 10g1.
C. -
Query for getting data for every quarter for financial year
Hi,
My problem is I need to get the data for every quarter for financial year and also I need data for every week for financial year.
For example for financial year 2012-13, Apr2012 to Jun2012 would be Q1, Jul2012 to Sep2012 would be Q2 and so on. Total 8quarters should come upto Apr2013.
In the same way 1st apr 2012 to 7th apr 2012 would be week1, 8th apr to 15th apr would be week2 and son on. How to write a query for this scenario in oracle. Can anybody help me on this. very urgent..
Thanks in advance.lakmesri wrote:
Hi,
My problem is I need to get the data for every quarter for financial year and also I need data for every week for financial year.
For example for financial year 2012-13, Apr2012 to Jun2012 would be Q1, Jul2012 to Sep2012 would be Q2 and so on. Total 8quarters should come upto Apr2013.
In the same way 1st apr 2012 to 7th apr 2012 would be week1, 8th apr to 15th apr would be week2 and son on. How to write a query for this scenario in oracle. Can anybody help me on this. very urgent..
Thanks in advance.
How can you get 8 quarters within a year ? I'b be concerned here.
lakmesri wrote:
Hi,
In the same way 1st apr 2012 to 7th apr 2012 would be week1, 8th apr to 15th apr would be week2 and son on. How to write a query for this scenario in oracle. Can anybody help me on this. very urgent..
Thanks in advance.
First, that question is really not clearly asked. Second how could it be urgent ? You even did not tell us your Oracle version, did not show any tables descr, output sample nor any effort on your side to work on.
Nicolas. -
Querying for existing set of values
HI,
I have the following scenario. I have one table which has the measure_id,measure_value and date.
For every date, I will be populating the measure_value for every measure_id.
If the source, doesnt have the value for a day,for a measure_id, I should update it with 0.
If the source gets fresh data for a date, then the related value should get updated(sum of values for that day) or inserted.(incremental)
DATE MeasureID MeasureValue
02/01 1 10
02/01 2 20
02/01 3 30
02/02 1 10
02/02 2 0(no data in source)
02/02 3 30
Can you please give me the best query for this scenario. Any help is appreciated.
Porusyou can try using Merge command.
I have used some sample data in Source and Destination tables.Also i used a measures table with three measure.
Declare @Source Table(Dt Date, MeasureID int, MeasureValue int);
Declare @Destination Table(Dt Date, MeasureID int, MeasureValue int);
Declare @Measure Table (MeasureID int);
Insert into @Measure select 1 union all select 2 union all select 3
Insert into @Source
select '20140201',1,10
union all
select '20140201',2,10
union all
select '20140201',3,10
union all
select '20140202',1,10
union all
select '20140202',3,30
Insert into @Destination
select '20140201',1,0
select * from @Source
select * from @Destination
;With AllMeasures
as
select * from
(SELECT distinct Dt from @Source) A
cross join @Measure
MERGE @Destination AS target
USING
select A.Dt,A.MeasureID,isnull(S.MeasureValue,0) from AllMeasures A
left join @Source S on A.Dt=S.Dt and A.MeasureID=S.MeasureID
) AS source (Dt, MeasureID,MeasureValue)
ON (target.Dt = source.Dt and target.MeasureID = source.MeasureID)
WHEN MATCHED THEN
UPDATE SET MeasureValue = source.MeasureValue
WHEN NOT MATCHED THEN
INSERT (Dt, MeasureID,MeasureValue)
VALUES (source.Dt,source.MeasureID,source.MeasureValue);
select * from @Destination
Vinay Valeti| If you think my suggestion is useful, please rate it as helpful. If it has helped you to resolve the problem, please Mark it as Answer -
Hi All
PI Version = 7.0
Scenario is:
Total number of Scenarios = 20
I have created UDF in one mapping for one scenario. Same UDF i have to use for all 20 scenarios. Do i need to go to each maaping and have to write UDF or can i create one UDF and can use same for all scenario. Is there any posibility like this in 7.0, if yes then how can i achieve this???
Regards
Dheeraj KumarHi Dheeraj,
As suggested by Abhishek earlier you would have to create a java class using NWDS and then import it in the IR under Imported Archive. This can then be referenced in your UDF.
For more on this have a look into these links:
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
The way to reference the imported archives is explained here.
Regards,
Sanjeev.
Maybe you are looking for
-
Is system update right for me?
I'm trying to determine whether I should now upgrade to a new system. I'm about to start editing an independent feature length film project in about a month. I'm switching to Adobe Premiere Pro CS6. I currently have an 2 x 2.8 GHz Quad-Core Intel Xeo
-
CASH FLOW MODULE IN 8.81
Dear all, Where can i find the new cashflow documentation or webex tutorials. Please if you got a link let me have the link... Regards
-
Error while installing Solution manager with Export
Hi, I built an export of our Existing Solution Manager system and trying to install a new Demo System with that export but getting this error and not able to find any Solution. Please help me. /usr/sap/SOT/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/7
-
This is a bit of a "deep dive"... I'm trying to develop a retina workflow in photoshop for web projects. In doing this I found a strange irregularity in photoshop using smart objects and Photoshop CC 2014's new asset extraction. Essentially what is h
-
Car kit with GPS booster AND FM transmitter???
Does anyone know if there is a car kit that has both a GPS booster and a FM radio transmitter? Our cars don't have auxiliary audio inputs so we wouldn't be able to play itunes through the radio with the Tom Tom car kit. I'd really like a car kit that