Splitting TO based on quantities
HI All,
I need some help from you.
This is my scenario.
- I have 3 Storage Types: 915 for piking of short quantities. 110 for palets and a new ST for Boxes 101.
- Supose that a palet have 4000 units and a box 100 units for my 'example' material.
- Supose that I have created an Output Delivery with the 'example' material for 4150 units.
Then the question is:
Could I create the Transport Order (in background) like this:
Item Material S.Type Qty
1 Example 110 4000
2 Example 101 100
3 Example 915 50
Thanks,
OLA
Hi,
This is possible with the picking strategy "M" (Large/ Small quantities)
The appropriate control quantities shall be maintained.
The storage type search sequence shall be set prperly. (small to large)
Hope this helps.
Similar Messages
-
Split valuation based on stor. loc.
Dear Guru,
Please guide me how may I configure split valuation based on stor. loc. My company in multi level marketing (MLM). We have stor at Brunei as well. Our business set different price if any stocks parked at Brunei stor. loc.
Exp: Material A - RM1 at M'sia stor loc.
- if this material transfered to Brunei branch, it should calculate as RM1.50
- so stor. loc. should shows different valuation
I need to configure this for existing material. Bus. use PO, GR & IR for this procurement.Please assist me guru.
rgds,
nanthaHi,
Valuation category is used if you want to have a split valuation i.e. you have an option of differentiating partial stocks of material according to particular criteria & handling them differently regarding valuation within a plant.
Why Required? : 1)Your valuation of Brunei & M'sia may be different
Following configuration reqd.
1)In global setting we have to define Valuation category( Say storage Location) & Valuation type( Brunei & M'sia
2) Active split valuation in MM
3) Assign valuation type to category in customizing
5) In Material Master enter valuation category in accounting view & choose price control V
6) Extend Material Master view for both valuation type
7) valuation category to be active /assign for plant
8) In local definition Define Valuation category to Valuation area.
Then for every transaction (Valuation relevant) may be GR, GI, and Phy. Inventory you must mention valuation type during transaction to get your material valuated separately.
By this u will able to map your requireemnt & able to valuate diffrently.
Vivek -
Split delivery based on partner type
Hi Forum Colleagues
I have a scenario where in I need to split delivery based on partner type at line item level.
I am aware I need to look into copy control routine to be able to address this concern, however I am unable to find the solution.
Could someone guide me.
Regards
Kalpesh
Edited by: Kalpesh Mirchandani on Mar 31, 2009 7:07 AMHi
I am getting the following error
Item 000002: delivery split due to conflicting header data (Function Y2: Partner Number: 5100001701 <-> 5100001154)
I have created new delivery type in which I have checked "Delivery Split Part" which should ideally address this issue but it is not.
I would like to create delivery for each line item having different partner number. I am unable to locate the routine in which I could include the logic to separate the deliveries based on line item.
Pls guide.
Regards
Kalpesh
Edited by: Kalpesh Mirchandani on Mar 31, 2009 2:01 PM
Edited by: Kalpesh Mirchandani on Apr 1, 2009 6:59 AM -
Split TO based on Storage Type
Hi all:
My client doesn't want split TO based on Storage Type.
System is doing split TO based on SHF storage type.
Have configured a total of 14 Warehouse numbers (001 to 014).
Have configured three storage types, FRK, PLT and SHF, for WN 001.
No SU. No HU.
Only two of them (004 and 012) are configured for TO split under "Processing performance data processing / Define TO split". WN 001 is not.
System is creating a separated TO for materials in SHF.
Release ECC 6.0
Is there any other place where I can configure TO split based on storage types?
Thanks for any help.Hi,
Its a process of introducing Picking Area's Concept.
Based on the Storage type, system will create the transfer order, even though you club all the materials from different storage types in one sales order or in one delivery.
Explore in Picking Areas....let me know if you need any help.
Thanks
Aktar Shaik -
Forecast release split Material based on Sales Organ and Dist Channel
Hi All,
Similar to transaction /SAPAPO/MC7A which splits forecasts of a material between two locations based on the proportion percentage supplied, Our business has identified that it would like to do a similar thing but based on sales organisation / Distribution Channel rather than location. So for Sales Organisation SO01 Dist Channel 65 we want the forecasts to be split between Distribution Center Locations SO0A and SO0B 40% 60% respectively.
Does anyone know if this can be achieved or has anyone found a solution to a similar requirement? Does anyone have any suggestions on tackling this?
Thanks
MarkHi Mark,
I think this is possible.
Check please BAdi /SAPAPO/SDP_PA_COPY method CHANGE_DATA_AFTER_READ - Copy/Version Management
In this method, the selection and grouping conditions (aggregated level) can be changed after the data are loaded from a planning area. If they are changed in the tables CT_SELECTION_FR and CT_GROUP_BY_FR, the combination values in the table CT_PLOBV must be updated by calling the function module '/SAPAPO/TS_DM_MASTERDATA_GET'. The planning object IDs and key figure values should be updated in the tables CT_LINES_FR and CT_TAB_FR.
Best Regards,
Ivo Stoyanov -
Need to split value based on "+"
Hi All,
I need to split my input value based on "+" symbol.
Sample Input Value : 4506407171+4506661488+4506661489+4506548333
Out put Value 1: 4506407171
Out put Value 2: 4506661488
Out put Value 3: 4506661489
Out put Value 4: 4506548333
Please suggest a UDF
Thanks & Regards,
Mahi.Hi Mahi,
The + sign is a special character and needs to be escaped before splitting. Please see code below:
UDF: Context Type
Argument: inp (String)
for(int a=0;a<inp.length;a++){
String tmp[] = inp[a].split("\\+");
for(int b=0;b<tmp.length;b++){
result.addValue(tmp[b]);
Regards,
Mark -
Split Deliveries Based on Available Pallet Qty
Hello
Here is the process we follow,
once the sales order is booked. We create Deliveries and a Trip. Using the Trip, we do the pick release by Trip#....here is my requirement.
1. Prime Sub-Inventory - Qty is available in Eaches
2. Reserve Sub-Inventory - Qty is available only in pallets (12) - Pallet Break is not allowed in this sub-inventory
If I have shipping Delivery Lines(WSH) for total of 38 Qty
Delivery Line Detail 1 - 20 Qty
Delivery Line Detail 2 - 10 Qty
Delivery Line Detail 3 - 8 Qty
As per standard oracle solution, I want 36 qty (3 Pallets) to be picked from Reserve and 2 Qty (1+1) to be picked from Prime. To achieve it, System has to automatically split one shipping delivery line into 2 lines (suppose line# 3, qty 8 into 6+2), so that 36 can be picked from reserve and 2 from Prime. Is it possible to do through standard functionality through setups?
Thanks,
Sreehi,
In a normal sale order, stock is available in mmbe as well in sale order, availability check it is showing a confirmed quantities. But when i am trying to deliver (vl01n) its coming as only 0 EA is available, delivery could not be made. please help -
Split by & based on column name
I have 4 rows in 'dataset' table in 'result' field and it is seperated by ampersand (&). I want to divide one field into multiple fields based on field name. How do I do this in SSIS? I'am ok to do this using sql. Fieldname are higligtened.
It would be nice it can be doable without .net script
Result
deptid=1 & firstname=din &
lastname=kal & middlename=kum
firstname=raj & lastname=puli &
middlename=kumar & deptid=2
firstname=pavan & lastname=gud &
middlename=kumarrao
deptid=7 & firstname=sha &
lastname=hank
Output
deptid
firstname
lastname
middlename
1
din
kal
kum
2
puli
raj
kumar
pavan
gud
kumarrao
7
sha
hankYes there are several ways to do this but I do not think any of them will be as simple or efficient as doing it in a script task. You are going to have to break the string down into its key value pairs. This article(http://www.sqlperformance.com/2012/07/t-sql-queries/split-strings) will
give you a few options to break that string down using CTE's or numbers tables, you wound also be able to achieve some measure of success using a combination of CHARINDEX and SUBSTRING to brake the string down but this would not be very manageable.
I would still recommend using the Script task if you can. -
How to split string based on either space or tab delimitation?
I'm trying to split a string into 4 fields. The strings sometimes have space delimitation and sometimes have tab delimitation. Is there any way to do this in a SELECT, or do I need a couple staging tables, or what?
I'm trying to work with this.
Select PARSENAME(replace(replace(replace(replace([Column 0],' ','<>'),'><',''),'char(9)',' '),' ','.'),4) Date,
PARSENAME(replace(replace(replace(replace([Column 0],' ','<>'),'><',''),'char(9)',' '),' ','.'),3) ID,
PARSENAME(replace(replace(replace(replace([Column 0],' ','<>'),'><',''),'char(9)',' '),' ','.'),2) Rank1,
PARSENAME(replace(replace(replace(replace([Column 0],' ','<>'),'><',''),'char(9)',' '),' ','.'),1) Rank2
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.This is similar thread that someone posted a week ago
Split delimited string into separate columns
based on space
My solution was, using a user defined function to split the text:
Use Master
Go
CREATE FUNCTION dbo.udf_SplitString(@InputVal VARCHAR(200), @Delimiter CHAR(1))
RETURNS @Items TABLE (RowNo TINYINT, ITEM VARCHAR(100))
As
BEGIN
DECLARE @FieldLen TINYINT = 0, @FieldEnum TINYINT = 0, @TempItem VARCHAR(100) = '', @ItemLoop TINYINT = 1
SET @FieldLen = LEN(@InputVal)
WHILE @FieldEnum <= @FieldLen
BEGIN
IF (SUBSTRING(@InputVal, @FieldEnum + 1, 1) = @Delimiter OR @FieldEnum = @FieldLen) AND @TempItem <> ''
BEGIN
INSERT @Items (RowNo, Item)
VALUES (@ItemLoop, LTRIM(RTRIM(@TempItem)))
SET @TempItem = ''
SET @ItemLoop += 1
END
ELSE
BEGIN
IF SUBSTRING(@InputVal, @FieldEnum + 1, 1) <> @Delimiter
BEGIN
SET @TempItem = @TempItem + SUBSTRING(@InputVal, @FieldEnum + 1, 1)
END
END
SET @FieldEnum += 1
END
RETURN
END
Next, use the splited data to group based on requirements
DECLARE @AllData TABLE
[Column 0] VARCHAR(50)
INSERT INTO @AllData
VALUES('20150101 04559690 45 33')
INSERT INTO @AllData
VALUES('20150101 045595320 42 48')
INSERT INTO @AllData
VALUES('20150101 041198690 44 34')
INSERT INTO @AllData
VALUES('20150101 0455222130 41 49')
INSERT INTO @AllData
VALUES('20150101 554567450 40 51')
;WITH CTE
AS
SELECT
,Row_Number() OVER(PARTITION BY MainQry.[Column 0] ORDER BY MainQry.[Column 0]) As RowNo
FROM
@AllData As mainQry
CROSS APPLY (SELECT Item FROM Master.dbo.udf_SplitString(REPLACE(MainQry.[Column 0], CHAR(9), ' '), ' ')) As SubQry
SELECT
[Column 0]
,MAX(CASE WHEN RowNo = 1 THEN Item ELSE '' END) AS [DATE]
,MAX(CASE WHEN RowNo = 2 THEN Item ELSE '' END) AS [ID]
,MAX(CASE WHEN RowNo = 3 THEN Item ELSE '' END) AS [Rank1]
,MAX(CASE WHEN RowNo = 4 THEN Item ELSE '' END) AS [Rank2]
FROM
CTE
GROUP BY
[Column 0]
Output
Column 0 | DATE
| ID
| Rank1 | Rank2
20150101 0455222130
41 49
| 20150101
| 0455222130
| 41 | 49
20150101 554567450
40 51
| 20150101
| 554567450
| 40 | 51
20150101 041198690 44 34
| 20150101
| 041198690
| 44 | 34
20150101 045595320 42 48
| 20150101
| 045595320
| 42 | 48
20150101 04559690 45 33
| 20150101
| 04559690 | 45
| 33
Best Wishes, Arbi; Please vote if you find this posting was helpful or Mark it as answered. -
Split revenue based on Division
Dear all,
I entered 3 line items in a sales order......i got netvalue 1 lakh..
These 3 line items are Diff Division...EX:TV/Hard disk/Pipe..
I want to find....Each Line item Revenue..
Regards
luckkyHi Lucky,
As per your thread I came to know that you have to post the sales revenue based on the division if Iam correct then fallow this.
While doing revenue account determination you take field Division additionally in to your condition table put that conditin table in to access sequence then assign that access sequence to the account determination condition type.
Now you assign the G/L account with on of the combination Division.Transaction VKOA
Now you create the invoice the sales revenue will post to the respective G/L accounts based on the division.
You can get sales revenue details division wise.
I hope it will help you,
Regards,
Murali. -
Split string based on number of characters
Hi,
I have a simple map where I receive a Streetname out of the source and have to write that streetname to the Address1 element in the destination. The issue is that the destination Address1 element can only contain 100 characters.
If it has more then 100 characters then I have to split the string into the Address2 element.
The next question is how I can do it the good way so that the string would be split between spaces and not in the middle of a word. For example:
Streetname1 Streetname2 Streetname3 Streetname4 Streetname5 Streetname6 Streetname7 Streetname8 Streetname9
The hundredth character is between t and r in Streetname9. So the cleanest solution would be to place everything in address1 and Streetname9 in address 2.
How can I achieve this?I had faced a similar situation in which output element could only contain 100 characters after that i had to split rest of characters in batch of 100 characters and repeated the element.
This was achieved by implementing recursion through XSLT. For this I created a template which will return a substring a generate an element with that element. This template will take two parameters-1) Complete string 2) Length (100 in your case).
check the below article for a sample
http://www.codeproject.com/Articles/16866/Recursive-XSL-Templates
Thanks,
Prashant
Please mark this post accordingly if it answers your query or is helpful. -
Search for columnName and Split data based on that column name
Hi All,
I have a table with one column, lets say Notes of datatype varchar(max).
Source Date:
Notes
ABC:123:XYZ Dept:IT NameID:1 Name:Tom Hummer Date:04/12/2004
456789:CDEF:ADEF
CBD:12/12/2000:ZXCV Dept:HR NameID:1 Name:Sam Dope Date:06/17/2005
I want Output should look like below. It should split data at 'Dept:' and 'Name:' I need SQl code for SQL Server 2008 R2
Output:
Notes
Dept:IT Name:Tom Hummer
Dept:HR Name:Sam Dope
Thanks,
RH
sqlHello,
Please refer to the following statements:
create table notes (note varchar(max));
insert into notes values
('ABC:123:XYZ Dept:IT NameID:1 Name:Tom Hummer Date:04/12/2004'),
('456789:CDEF:ADEF'),
('7890:RST:QWER Dept:Sales NameID:2 Name:Mike Kule'),
('CBD:12/12/2000:ZXCV Dept:HR NameID:1 Name:Sam Dope Date:06/17/2005')
select case
when charindex('Name:',note)>0 and charindex('Date:',note)>0
then SUBSTRING(note,charindex('Name:',note)-1,charindex('Date:',note)-charindex('Name:',note))
when charindex('Name:',note)>0 and charindex('Date:',note)=0
then SUBSTRING(note,charindex('Name:',note)-1,len(note)-charindex('Name:',note))
end as name
from notes
where charindex('Name:',note)>0
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
How to split rows based on two columns..
Hi all...
I have a requirement.
I have product column, sell, purchace prices..(total of three columns) in a data set.
my data set is such a way that..if sale price exists...there is no purchase price and vice versa..
I need too present in a report ,two tables:
table 1 consists of only Sale price items
table 2 should contain only Pruchase Items.
Please see the below picture for clear understanding..
Is that doable? Where do we need to impose a condition?I tried to impose a condition but,it didnt seem to work
http://i51.tinypic.com/29xfdc6.jpg
Please help.Can you send me the template and xml file to [email protected]? I can try to help.
Did you try to filter out the records by the sale price or purchase price column not equal to null?
Thanks,
Bipuser -
Delivery Split based on Schedule line data
Hi,
Would need some help in determining how to proceed with splitting delivery based on Schedule line data (Date/Time).
If S.A 1 has line item 10 with two schedule lines SL1 and SL2 which happened in different times of the day, how to split this S.A to two deliveries in delivery creation (thru VL10E).
Please suggest.
Thanks,
PreemaHi,
In copy control see which Split routine is there, with the help of abaper
Copy that and create new one, an maintain your date criteria in newely created routine and assign that.
T-code VOFM
Kapil -
Control Delivery split based on diff in exchange rate (let. of credit)
Hi Team,
We have a scenarios where the user does nto want split in delivery because of differecne in Exchange rate for line items.
In my case when Letter of credit si assigned to line item.
I understand this as standard behavior that a delivery splits happens based on difference in exchangerate.
My question is to control this split, will it be a right to control it by routine in copy controls routine form order to delivery or we consider the user exit.
So, kindly assit me to solve this or do we have any standard setting by which i can control. this.
Thanks in advance
BalajiHi Balaji,
See Note 415716 - User exits in delivery processing, because it tells us how some modification can affect to split documents.
I suggests you to manage it with VOFM subroutine. The idea is that diferent values in LIKP-ZUKRL determintes the split of documents. You can populate until 40 characters, and you manage it with structure ZUK. This concatenation in a string is moved to LIKP-ZUKRL. It works like ZUKRI in spliting of invoice. This VOFM is set in copy rules.
Regards
Eduardo
Maybe you are looking for
-
Crystal Report in Visual Studio 2010
Hello, Our company is using Crystal Report XIR2. We are going to migrate our applications using Crystal Report to Windows Server 2008 (64-bit), we have to upgrade the Crystal Report too as current version does not support 64-bit version. Which versio
-
My new iMac 27" 3.2GHz takes over 5 minutes to start up
I have restored Mavericks and migrated my apps and data from a Time Machine backup. once it starts it seems to go OK but the number of messages in console is frightening. Could it be a hardware fault?
-
JCo Proxy Generator - not getting past Logon step in Wizard
I'm running the 2.0.11 version of the SAP NetWeaver Developer Studio and want to try out the JCo Proxy Generator. I can start the wizard and enter the connection details for a "Single System". But when I click next all I see is a progress bar before
-
I just downloaded the new itunes and it doesn't recognize my phone
I just downloaded the itunes update and now it doesn't recognize my phone when it is plugged in. The computer recognizes it and it charges fine, but in itunes the "Phone" button does not come up and it won't synk.
-
Is java worth learning for game developement?
Please dont take this as an insult to the java language, im having a blast learning this language and love it more than any other that i have learned so far. I just have one creeping issue, ive heard that the game development aspect of java isnt quit