Quantcast
Channel: SCN: Message List
Viewing all 8594 articles
Browse latest View live

Tell me, please, where ELSE SAP uses a text table as a distinct values table?

$
0
0

I have found a place in a layered product (which shall be nameless) where SAP uses a text table as a distinct values table for the non-text table which the text table supports.

 

This is as unspeakable a crime as I've ever seen committed inside an SAP product, and I'm wondering if anyone else has ever discovered the same kind of lazy and/or ignorant programming in an SAP product or layered product.

 

If so, I'd be curious to know where.

 

You tell me yours, and I'll tell you mine.


Re: Customer Receivables Aging/Statement - more aging buckets

$
0
0

Hi Laura

 

The statement & ageing reports are the least customizable  in SAP Business One. The problem is that the layout does not depend on Table & Field values like most other layouts, but calculations that are done and then passed to the layout. As a result you cannot really modify these reports other than make cosmetic changes.

 

I would suggest writing your own query and adding a report layout to it. Below is a Stored Procedure I wrote years ago:

 

set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go


CREATE proc [dbo].[Ageing_Debtors_Statements]

@FromDate varchar(12) OUTPUT,   -- Start of month
@ToDate varchar(12) OUTPUT     -- End of month

as
set nocount on
begin

IF OBJECT_ID(N'tempdb..#DEBAGE', N'U') IS NOT NULL
drop table #DEBAGE

SELECT T1.[ShortName] AS [Customer],
CASE WHEN T1.[RefDate] >= (DATEADD(MONTH, -1,DATEADD(DAY, 1,@ToDate))) AND T1.[RefDate] <= (@ToDate)
THEN (T1.[BalDueDeb] - T1.[BalDueCred]) ELSE 0 END AS [Current],
CASE WHEN T1.[RefDate] >= (DATEADD(MONTH, -2,DATEADD(DAY, 1,@ToDate))) AND T1.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, 0,@FromDate)))
THEN (T1.[BalDueDeb] - T1.[BalDueCred]) ELSE 0 END AS [30Days],
CASE WHEN T1.[RefDate] >= (DATEADD(MONTH, -3,DATEADD(DAY, 1,@ToDate))) AND T1.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -1,@FromDate)))
THEN (T1.[BalDueDeb] - T1.[BalDueCred]) ELSE 0 END AS [60Days],
CASE WHEN T1.[RefDate] >= (DATEADD(MONTH, -4,DATEADD(DAY, 1,@ToDate))) AND T1.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -2,@FromDate)))
THEN (T1.[BalDueDeb] - T1.[BalDueCred]) ELSE 0 END AS [90Days],
CASE WHEN T1.[RefDate] >= (DATEADD(MONTH, -5,DATEADD(DAY, 1,@ToDate))) AND T1.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -3,@FromDate)))
THEN (T1.[BalDueDeb] - T1.[BalDueCred]) ELSE 0 END AS [120Days],
CASE WHEN T1.[RefDate] >= (DATEADD(MONTH, -6,DATEADD(DAY, 1,@ToDate))) AND T1.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -4,@FromDate)))
THEN (T1.[BalDueDeb] - T1.[BalDueCred]) ELSE 0 END AS [150Days],
CASE WHEN T1.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -5,@FromDate))) THEN (T1.[BalDueDeb] - T1.[BalDueCred]) ELSE 0 END AS [180Days]
INTO #DEBAGE
FROM JDT1 T1 INNER JOIN OCRD T2 ON T1.ShortName = T2.CardCode AND T2.CardType = 'C'
WHERE T1.[RefDate] <= @ToDate AND T1.[Account] = '4000' -- (Enter Control Account GL Number here)

INSERT #DEBAGE SELECT T2.[ShortName] AS [Customer],
CASE WHEN T0.[RefDate] >= (DATEADD(MONTH, -1,DATEADD(DAY, 1,@ToDate))) AND T0.[RefDate] <= (@ToDate) AND T2.[IsCredit] = 'D'
THEN SUM(T2.[ReconSum]) 
WHEN T0.[RefDate] >= (DATEADD(MONTH, -1,DATEADD(DAY, 1,@ToDate))) AND T0.[RefDate] <= (@ToDate) AND T2.[IsCredit] = 'C'
THEN -SUM(T2.[ReconSum]) ELSE 0 END AS [Current],
CASE WHEN T0.[RefDate] >= (DATEADD(MONTH, -2,DATEADD(DAY, 1,@ToDate))) AND T0.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, 0,@FromDate))) AND T2.[IsCredit] = 'D'
THEN SUM(T2.[ReconSum]) 
WHEN T0.[RefDate] >= (DATEADD(MONTH, -2,DATEADD(DAY, 1,@ToDate))) AND T0.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, 0,@FromDate))) AND T2.[IsCredit] = 'C'
THEN -SUM(T2.[ReconSum])  ELSE 0 END AS [30Days],
CASE WHEN T0.[RefDate] >= (DATEADD(MONTH, -3,DATEADD(DAY, 1,@ToDate))) AND T0.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -1,@FromDate))) AND T2.[IsCredit] = 'D'
THEN SUM(T2.[ReconSum]) 
WHEN T0.[RefDate] >= (DATEADD(MONTH, -3,DATEADD(DAY, 1,@ToDate))) AND T0.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -1,@FromDate))) AND T2.[IsCredit] = 'C'
THEN -SUM(T2.[ReconSum]) ELSE 0 END AS [60Days],
CASE WHEN T0.[RefDate] >= (DATEADD(MONTH, -4,DATEADD(DAY, 1,@ToDate))) AND T0.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -2,@FromDate))) AND T2.[IsCredit] = 'D'
THEN SUM(T2.[ReconSum])
WHEN T0.[RefDate] >= (DATEADD(MONTH, -4,DATEADD(DAY, 1,@ToDate))) AND T0.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -2,@FromDate))) AND T2.[IsCredit] = 'C'
THEN -SUM(T2.[ReconSum]) ELSE 0 END AS [90Days],
CASE WHEN T0.[RefDate] >= (DATEADD(MONTH, -5,DATEADD(DAY, 1,@ToDate))) AND T0.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -3,@FromDate))) AND T2.[IsCredit] = 'D'
THEN SUM(T2.[ReconSum])
WHEN T0.[RefDate] >= (DATEADD(MONTH, -5,DATEADD(DAY, 1,@ToDate))) AND T0.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -3,@FromDate))) AND T2.[IsCredit] = 'C'
THEN -SUM(T2.[ReconSum]) ELSE 0 END AS [120Days],
CASE WHEN T0.[RefDate] >= (DATEADD(MONTH, -6,DATEADD(DAY, 1,@ToDate))) AND T0.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -4,@FromDate))) AND T2.[IsCredit] = 'D'
THEN SUM(T2.[ReconSum])
WHEN T0.[RefDate] >= (DATEADD(MONTH, -6,DATEADD(DAY, 1,@ToDate))) AND T0.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -4,@FromDate))) AND T2.[IsCredit] = 'C'
THEN -SUM(T2.[ReconSum]) ELSE 0 END AS [150Days],
CASE WHEN T0.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -5,@FromDate))) AND T2.[IsCredit] = 'D'
THEN SUM(T2.[ReconSum]) 
WHEN T0.[RefDate] <= (DATEADD(DAY, -1,DATEADD(MONTH, -5,@FromDate))) AND T2.[IsCredit] = 'C' THEN -SUM(T2.[ReconSum]) ELSE 0 END AS [180Days]
FROM dbo.ITR1 T2 INNER JOIN dbo.OITR T3 ON T2.[ReconNum] = T3.[ReconNum] LEFT OUTER JOIN JDT1 T0 ON T0.TransId = T2.TransId 
WHERE T3.[ReconDate] > @ToDate AND T3.[IsCard] = 'C' 
GROUP BY T2.[ShortName], T0.[RefDate], T2.[IsCredit] HAVING SUM(T2.[ReconSum]) <> 0
ORDER BY [Customer]

SELECT [Customer], SUM([Current]) AS [Current], SUM([30Days]) AS [30Days], SUM([60Days]) AS [60Days],
SUM([90Days]) AS [90Days], SUM([120Days]) AS [120Days], SUM([150Days]) AS [150Days], SUM([180Days]) AS [180Days]
FROM #DEBAGE
GROUP BY [Customer]
ORDER BY [Customer]

END


In SAP, add a query to call the SP.

 

EXEC [Ageing_Debtors_Statements] '2015/12/01', '2015/12/31'

 

Remember to change the control account in the Stored Procedure. Let me know if you get stuck.

 

Kind regards

 

Peter Juby

Re: RSE3003: Redundant outbound enabler connection for backend server

$
0
0

Please read the KBA.

1852554 - RSE3003: Redundant outbound enabler connection for backend server in backend farm was ignored.

 

Thanks

Re: SAP Installation error at  IMPORT ABAP Phase

$
0
0

Hi Santosh,


libclntsh.so.11.1 is oracle instant client library file, which should accessed from client lib.

Please update 11g client as the note 819829, and I am confident the client update will solve this issue.

 

Best regards,
James

Re: Difference between SAP HCM and Success factor

$
0
0

EC is next iteration and go to solution for S4HANA

 

 

http://scn.sap.com/thread/3848516 As such, SAP HCM Is matured product and will end its mainstream maintainance by 2025. So major investment would be done on EC/SFSF at the moment. Hope it clarifies.

Re: Liminited logistics user cannot do goods issue & goods receipt

$
0
0

Hi Gopal

 

Please repost this under the SAP Business One Application section and not SDK, you have a better chance of getting answers there to this question.

 

Kind regards

 

Peter Juby

Re: Where to fetch the odata Api for successfactors

Re: Affordable Care Act (ACA)

$
0
0

Hello,

 

Anybody knows how will be the way to transmit the electronic filling file from SAP to the IRS?

 

Thanks

 

Regards,

 

Janett Sáenz


Can Resource Bundle be loaded just once (on special condition)?

$
0
0

Not to set the resource model on index.html or Component.js, and not to use the sap.ui.getCore().setModel method.

 

 

Is there a way that the resource bundle can be loaded once and referred to from multiple views without re-instantiating?

Bullet Chart : Primary + Additional Value

Re: Tell me, please, where ELSE SAP uses a text table as a distinct values table?

$
0
0

My allergy detectors alerted on ISDF but I read your post anyway. Vomited twice.

 

There are worse things than this in ISDF, and also in IS-U by-the-way.

 

Cheers,

Julius

 

ps: Quality checks definitely lack in registered namespaces. SAP has their own. Customers have their own. But the grey zone in between is horrid and no one feels responsible for it. But /ISDF/ is now SAP owned as far as I know. They also cleaned up a few 'SYSTEM' calls in the past. So an OSS message should do the trick (bar backward compatibility).

 

I am not familiar with what a "layered product" is to be honest.

,

Registered namespace licensed via SAP, with sub-namespace registered for new modules to the sub-name-space?

 

If you license your name-space via SAP then you already sold yourself to what-ever the latest person you talked to had for breakfast...

Hi, Want to upgrade SAP System,

$
0
0

Details:

 

SAP SAP ERP 6.0 ,

Database: MS SQL Server 2005,

OS :Windows Server 2008 standard

 

to

 

SAP :ERP 6.0 EHP 7

Database:MS SQL Server 2012

OS: Windows Server 2012

 

Please provide the help on best possible options to achieve this and also if I want to move to different Hardware / hardware change

 

Thx

multiple fiscal year variants in the same special purpose ledger

$
0
0

Hello,

 

We have a special purpose ledger "ZS" already configured which has 10 company codes with FYV "K4" across all of them.

 

Can I assign a new company code with V3 Fiscal Year Variant or a FYV other than K4 to the ledger existing ledger "ZS" as the 11th company code.

 

If no, can we create a new ledger "ZZ" by copying the existing "ZS".

Most importantly can I map the new ledger "ZZ" to the existing table group (like totals table T123; Summary Table S123 etc.,)

 

What points are to be noted in mapping the thus copied/created new ledger (ZZ) to the existing Totals Table(T123) and use the other configuration points of the existing special purpose ledger (ZS).

 

 

Regards,

Soujanya.

Need to configure IC AR invoice iDoc to generate an AP invoice

$
0
0

Looking for flow or any details to configure AR invoice iDoc to generate an AP invoice.

Basically, EDI Output of Intercompany (IC) AR should trigger IC AP Invoice.

 

Tried and googled, however all efforts were in vain.

 

Thank you

Re: HR INFOTYPE OPERATION FOR INFOTYPE 0000

$
0
0

Gaurang,

 

   Did you get the resolution for this issue? If yes, can you please let us know the fix for this issue?

 

Regards

 

TBN


Re: Smartform print symbol issue

$
0
0

Hello Steve,

 

Are you using a different device type in production system?
check the output device in SPAD, change the device type to SWINCF and see if it helps.

 

 

Best Regards,
Wen Peng

Crystal Report 2013 - Color Highlight Problem

$
0
0

Dear all,

 

I am now using Crystal Report 2013 SP7 (Version 14.1.7.1853) to design a report file (.rpt).

 

The report includes a bar chart with Layout by Group and the Data is shown as:

 

On change of:

a Date field (Transaction.Date) and a String field (Transaction.Group)

 

Show:

Sum of a Number field (Transaction.Amount)

 

1.png

 

As I want to control the color of the bars, I goto Chart Expert->Color Highlight and try to add items in Item List (which is empty now).

When I click the "New" button, it always prompt the warning

 

Please enter a datetime value.

For example: "D/M/YYYY H:MM:SS".

 

2.png

 

and I cannot add any item on Item List.

 

I think I should enter something in Item editor in "D/M/YYYY H:MM:SS" and press "New" may solve the problem, but the textbox in Item editor is disabled if there is no item on Item list

 

How can I solve this problem?

 

Thanks.

Stephen YIP

Re: REST Service only with NW DevStudio

$
0
0

Hi Joerg

 

There is no issue developing it using the Swing UI (Enterprise Service Builder) instead of NWDS.

 

WSDL is only applicable to SOAP web service, and there is no standard way to import an external definition for REST services which uses JSON. Instead, you will have to manually define a Data Type in ESR that mirrors the JSON structure, refer to the first screenshot in the blog and create the same using ESR Swing.

 

Rgds

Eng Swee

Re: Rule based deconsolidation and distributive putaway

$
0
0

Thankyou for the response.Earlier i had Do not putaway Hu's check active for final storage type which i have removed now.I don't have capacity check active and have not maintained any weight and volume in my bins either.

 

Both products are going to same bin.And i have now allowed to be putaway with HU.Still it is going for deconsolidation.I have also attached WT log for IB02.

Re: Rule based deconsolidation and distributive putaway

$
0
0

Hi,

 

Can you change attribute value 3 and check.

 

 

C K REDDY

Viewing all 8594 articles
Browse latest View live




Latest Images