check the screen layout of the asset master.
Re: previous asset creation
Re: Ship. point not allowed for ship. cond. , loading group , plant XXXX
This note is for AFS STO. i have checked it
Re: Fair Value Adjustments
Hi,
I would suggest to create a jounral with multiple header (in your case, TIME will serve as multiple header) and user can enter the same entry for multiple period. This will make things a bit simpler
Regards,
Rahul
Price control have to be change from "s" to "V"
Hi
Business implemented Material ledger Actual costing. Business wrongly defined the some of raw materials with price control V,now we have to change it "s".
Kindly suggest best solution to overcome this.
Thanks in adavance.
saichandra
Overlapping Start Time and End time records in Internal table
Hi All,
I tried searching SCN for this requirement but couldn't find any solution.
There is class for comparing time stamp but what if we need to compare Start Time and End time of 2 records in Table.
Eg:
Start Time End Time
Record 1 - 12:10:10 15:10:10
Record 2 - 16:10:10 18:10:10
Record 3 - 13:10:10 14:10:10
Record 1 and 3 has overlapping time slots. I tried with BETWEEN operator but it is not working.
Can anybody please help me ...
Thank you.
Re: SMARTFORMS
Hi ,
You can check in print program itself.
Based on the sales org we can trigger the smartforms.
Regards
Raj
Re: Error at Fiori launch Pad
By just seeing the word "Error" written on the tile no one will ever understand what may have caused this error. Open your browser console and check what error message(s) are displayed there. This can give you clues to what may be going wrong.
Re: ME variable
As it's a beginner question (in ABAP objects), I'm afraid that maybe the question is not correctly formulated. Could you give more info on the context, code...? Why did you ask this question?
Re: Configuration control
Didn't you find the SD space when creating the question in SCN?
moved to SD
Re: Alternate Sunday
Hi Mo Mo,
Try below query...
select day_of_week_name,business_date,ROW_NUMBER() over (order by business_date) row_num,(ROW_NUMBER() over (order by business_date)%2) as "%"
from calendar where fiscal_year = 2016 and day_of_week_name = 'sunday'
order by business_date
Regards,
Agentry Test Environment in Windows Server 2008 R2 and Windows 10 usually "Not Responding"
Doubt for Rounding on marketing document
I have a doubt to make the rounding on marketing document for tax amount and Line Total. Here is my scenario
Some setup first
- - Choose the rounding method on document setting: By Document
- - On General setting: Decimal Place for Amount =0
Make new Sales Order
- Currency with VND
Item A,
Unit Price =957.17
Quantity= 11255
Tax 10%
- Line total= 10,772,948
- Tax Amount= 1,077,295
Everything is okay now, because client wants to have the decimal for unit price =2
2. Currency with USD
Item A,
Unit Price =7.25
Quantity= 1
Tax 10%
But the Line total = 7.0 USD
- ==>Wrong calculation. I know the reason is with the setting of amount = 0 on general setting
How can I handle for both cases?
- With VND is the same with above result
- With USD, the Line total must be 7.25
If I change the Amount =2 on General setting,, the problem can be solved but the Tax Amount is not rounding. Tax amount will have the 2 decimal in some cases which client don’t want
Please suggest!
Re: Adding new field in std datasource is disabled has disabled transfer flag
Thank you, I'll try this.
is it necessary to do this each time I add new fields to the data source?
Regards.
Re: Routing to different system based on a field value
use variable substitution in the receiver channel
WERKS from the payload can be used as element in the variable
read through the below sap help
http://help.sap.com/saphelp_nw73/helpdata/en/44/6a316af5a23672e10000000a114a6b/content.htm
Approach for Company Code Merger
Dear all
We need to merger 3 Company Codes in SAP
What will the best approach for the same and Also what will be the points to be taken into account while selecting an approach
Approach 1 :- Company Code 1000,2000,3000 to be merged in Company Code 1000
Approach 2 :- Company Code 1000,2000,3000 to merged by Creating New Company Code 4000
Thanks All
Shivangi
Re: Help with a query!
Hi Rick,
It is not that bad, if the months are the same, then we can "hard code" those, so you get a single query, and you just run it with different year and sales person parameters every time.
So perhaps not too elegant, but please give this a try (parameters are the sales person name, and the year in which the financial year starts):
/* select * from OSLP sp */
DECLARE @SlpName AS NVARCHAR(50)
DECLARE @YEAR AS INT
SET @SlpName = /* sp.SlpName */ '[%0]'
SET @YEAR = /* sp.empID */ [%1]
SELECT SQ.M
,SQ.[Sale Amount]
FROM (
SELECT X.M
, SUM(ISNULL(X.[Sale Amount], 0)) AS 'Sale Amount'
FROM (SELECT '01. July' AS M
, sum(Case T0.[DocCur]
When 'AUD' then T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns]
else T0.[DocTotalFC]-T0.[VatSumFC]
end) as 'Sale Amount'
FROM OINV T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR
and DATEPART(MONTH, T0.[DocDate]) = 7
UNION ALL
SELECT '01. July' AS M
,sum(Case T0.[DocCur]
When 'AUD' then (T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns])*-1
else (T0.[DocTotalFC]-T0.[VatSumFC]- T0.[TotalExpFC])*-1
end) as 'Sale Amount'
FROM ORIN T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR
and DATEPART(MONTH, T0.[DocDate]) = 7
UNION ALL
SELECT '02. August' AS M
, sum(Case T0.[DocCur]
When 'AUD' then T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns]
else T0.[DocTotalFC]-T0.[VatSumFC]
end) as 'Sale Amount'
FROM OINV T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR
and DATEPART(MONTH, T0.[DocDate]) = 8
UNION ALL
SELECT '02. August' AS M
,sum(Case T0.[DocCur]
When 'AUD' then (T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns])*-1
else (T0.[DocTotalFC]-T0.[VatSumFC]- T0.[TotalExpFC])*-1
end) as 'Sale Amount'
FROM ORIN T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR
and DATEPART(MONTH, T0.[DocDate]) = 8
UNION ALL
SELECT '03. September' AS M
, sum(Case T0.[DocCur]
When 'AUD' then T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns]
else T0.[DocTotalFC]-T0.[VatSumFC]
end) as 'Sale Amount'
FROM OINV T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR
and DATEPART(MONTH, T0.[DocDate]) = 9
UNION ALL
SELECT '03. September' AS M
,sum(Case T0.[DocCur]
When 'AUD' then (T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns])*-1
else (T0.[DocTotalFC]-T0.[VatSumFC]- T0.[TotalExpFC])*-1
end) as 'Sale Amount'
FROM ORIN T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR
and DATEPART(MONTH, T0.[DocDate]) = 9
UNION ALL
SELECT '04. October' AS M
, sum(Case T0.[DocCur]
When 'AUD' then T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns]
else T0.[DocTotalFC]-T0.[VatSumFC]
end) as 'Sale Amount'
FROM OINV T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR
and DATEPART(MONTH, T0.[DocDate]) = 10
UNION ALL
SELECT '04. October' AS M
,sum(Case T0.[DocCur]
When 'AUD' then (T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns])*-1
else (T0.[DocTotalFC]-T0.[VatSumFC]- T0.[TotalExpFC])*-1
end) as 'Sale Amount'
FROM ORIN T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR
and DATEPART(MONTH, T0.[DocDate]) = 10
UNION ALL
SELECT '05. November' AS M
, sum(Case T0.[DocCur]
When 'AUD' then T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns]
else T0.[DocTotalFC]-T0.[VatSumFC]
end) as 'Sale Amount'
FROM OINV T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR
and DATEPART(MONTH, T0.[DocDate]) = 11
UNION ALL
SELECT '05. November' AS M
,sum(Case T0.[DocCur]
When 'AUD' then (T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns])*-1
else (T0.[DocTotalFC]-T0.[VatSumFC]- T0.[TotalExpFC])*-1
end) as 'Sale Amount'
FROM ORIN T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR
and DATEPART(MONTH, T0.[DocDate]) = 11
UNION ALL
SELECT '06. December' AS M
, sum(Case T0.[DocCur]
When 'AUD' then T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns]
else T0.[DocTotalFC]-T0.[VatSumFC]
end) as 'Sale Amount'
FROM OINV T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR
and DATEPART(MONTH, T0.[DocDate]) = 12
UNION ALL
SELECT '06. December' AS M
,sum(Case T0.[DocCur]
When 'AUD' then (T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns])*-1
else (T0.[DocTotalFC]-T0.[VatSumFC]- T0.[TotalExpFC])*-1
end) as 'Sale Amount'
FROM ORIN T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR
and DATEPART(MONTH, T0.[DocDate]) = 12
UNION ALL
SELECT '07. January' AS M
, sum(Case T0.[DocCur]
When 'AUD' then T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns]
else T0.[DocTotalFC]-T0.[VatSumFC]
end) as 'Sale Amount'
FROM OINV T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR + 1
and DATEPART(MONTH, T0.[DocDate]) = 1
UNION ALL
SELECT '07. January' AS M
,sum(Case T0.[DocCur]
When 'AUD' then (T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns])*-1
else (T0.[DocTotalFC]-T0.[VatSumFC]- T0.[TotalExpFC])*-1
end) as 'Sale Amount'
FROM ORIN T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR + 1
and DATEPART(MONTH, T0.[DocDate]) = 1
UNION ALL
SELECT '08. February' AS M
, sum(Case T0.[DocCur]
When 'AUD' then T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns]
else T0.[DocTotalFC]-T0.[VatSumFC]
end) as 'Sale Amount'
FROM OINV T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR + 1
and DATEPART(MONTH, T0.[DocDate]) = 2
UNION ALL
SELECT '08. February' AS M
,sum(Case T0.[DocCur]
When 'AUD' then (T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns])*-1
else (T0.[DocTotalFC]-T0.[VatSumFC]- T0.[TotalExpFC])*-1
end) as 'Sale Amount'
FROM ORIN T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR + 1
and DATEPART(MONTH, T0.[DocDate]) = 2
UNION ALL
SELECT '09. March' AS M
, sum(Case T0.[DocCur]
When 'AUD' then T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns]
else T0.[DocTotalFC]-T0.[VatSumFC]
end) as 'Sale Amount'
FROM OINV T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR + 1
and DATEPART(MONTH, T0.[DocDate]) = 3
UNION ALL
SELECT '09. March' AS M
,sum(Case T0.[DocCur]
When 'AUD' then (T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns])*-1
else (T0.[DocTotalFC]-T0.[VatSumFC]- T0.[TotalExpFC])*-1
end) as 'Sale Amount'
FROM ORIN T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR + 1
and DATEPART(MONTH, T0.[DocDate]) = 3
UNION ALL
SELECT '10. April' AS M
, sum(Case T0.[DocCur]
When 'AUD' then T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns]
else T0.[DocTotalFC]-T0.[VatSumFC]
end) as 'Sale Amount'
FROM OINV T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR + 1
and DATEPART(MONTH, T0.[DocDate]) = 4
UNION ALL
SELECT '10. April' AS M
,sum(Case T0.[DocCur]
When 'AUD' then (T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns])*-1
else (T0.[DocTotalFC]-T0.[VatSumFC]- T0.[TotalExpFC])*-1
end) as 'Sale Amount'
FROM ORIN T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR + 1
and DATEPART(MONTH, T0.[DocDate]) = 4
UNION ALL
SELECT '11. May' AS M
, sum(Case T0.[DocCur]
When 'AUD' then T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns]
else T0.[DocTotalFC]-T0.[VatSumFC]
end) as 'Sale Amount'
FROM OINV T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR + 1
and DATEPART(MONTH, T0.[DocDate]) = 5
UNION ALL
SELECT '11. May' AS M
,sum(Case T0.[DocCur]
When 'AUD' then (T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns])*-1
else (T0.[DocTotalFC]-T0.[VatSumFC]- T0.[TotalExpFC])*-1
end) as 'Sale Amount'
FROM ORIN T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR + 1
and DATEPART(MONTH, T0.[DocDate]) = 5
UNION ALL
SELECT '12. June' AS M
, sum(Case T0.[DocCur]
When 'AUD' then T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns]
else T0.[DocTotalFC]-T0.[VatSumFC]
end) as 'Sale Amount'
FROM OINV T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR + 1
and DATEPART(MONTH, T0.[DocDate]) = 6
UNION ALL
SELECT '12. June' AS M
,sum(Case T0.[DocCur]
When 'AUD' then (T0.[DocTotal]-T0.[VatSum]-T0.[TotalExpns])*-1
else (T0.[DocTotalFC]-T0.[VatSumFC]- T0.[TotalExpFC])*-1
end) as 'Sale Amount'
FROM ORIN T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.[SlpName] = @SlpName
and DATEPART(YEAR, T0.[DocDate]) = @YEAR + 1
and DATEPART(MONTH, T0.[DocDate]) = 6) X
GROUP BY X.M) SQ
Regards,
Johan
Re: Create follow-up document without popup for items
Hi San,
i am also facing same issue..i have implemented logic as same u mentioned above...but here empty pop up is coming .i dont want empty pop up also.
Thanks & Regards
Kalpana
Re: IDCP Dump (Getwa_Not_Assigned_Range)
Above dump is cause because targeted <filed-symbol> used before assigned.
For best practice it is always recommended that you first check <field-symbol> is assigned or not before using it.
IF <FIELD-SYMBOL> IS ASSIGNED.
"safe area to use <field-symbol>
ENDIF.
This way you can avoid such kind of dumps.
Hope this helps.
Re: Issue in Filter on Property
Hi Neha ,
Is Filter Issue Resolved !!!
Regards,
Jibin Joy
Re: Approval required- Document posted in SDN to upload Org intranet
Sincere thanks for your detailed responses..
Within the existing company system, there are no place holders to put external links and the only option would be to put the document itself else it would have been a good option I must say
As per the suggestion of Jurgen, I have put a mail to SCN content team seeking approval from official email ID.
Shall update this thread once I get a response..
Wish you all a nice day.
Regards,
Shine