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

Re: SAP B1 is giving incorrect syntax near 'SUM'

$
0
0

Hi Noel,

 

From my tests, this is because the SQL parser cannot use parameters from more than one query. So, you have to combine your queries as something like this:

SELECT @Start = TS.[Year], @End = TE.[Year], @CustomerCode = TC.[CardCode]
FROM OACP TS, OACP TE, OCRD TC
WHERE TS.[Year] = [%0]
AND TE.[Year] = [%1]
AND TC.[CardCode] = N'[%2]'

Regards,

Eric


Re: Operations on dimension members

$
0
0

There are two parts to this answer.

 

Firstly what you ask can be done. It is a bit complex and I will not provide the solution at this point.

 

The second part is that what you ask may not be what you really need and so I will address this. The most common time people want to weight over dimension members is when the actual is really a ratio or percentage. e.g. tonnes per worker. Imagine A is a big unit producing 60 tonnes and B is a small unit producing 40 tonnes. You want actuals to be tonnes per worker. A has 2 tomes per worker and B has 3 tonnes per worker. The parent cannot be 5 tones per worker which is what would usually happen when you consolidate. Nor can the parent be 2.5 tonnes per worker (average of A and B).

 

The tonnes per worker actually comprises two measures, tonnes and workers. A has 60 tonnes, 30 workers and a score of 2. B has 40 tonnes, 13.33 workers and a score of 3. The parent has 100 tonnes, 43.33 workers and a score of 2.308.

 

Is this is what you want to achieve? If so assume you have a KPI TonnesPerWorker.

 

Add four new measures TonnesAct, TonnesTar, WorkersAct and WorkersTar. These will never be displayed in your scorecard. Load data to these measures at the base level and consolidate.

 

 

Now change TonnesPerWorkerAct to a virtual measure as TonnesAct / WorkersAct.

Now change TonnesPerWorkerTar to a virtual measure as TonnesTar / WorkersTar

 

Change TonnesPerWorkerTarDev to (TonnesAct / WorkersAct) % (TonnesTar / WorkersTar).

 

Finally if this is what you want to achieve there is a further refinement tat allows you to load the target as a ratio (TonnesPerWorker) and actuals as the two base measures (tonnes and actuals). I can expand on that but first let's check whether I have correctly understood your requirement.

 

Cliff

Re: SAP Persona 3.0

$
0
0

Hi Nishant,

I guess you meant to say if functional consultant decides to remove the field from screen then should the script be updated? Yes if control is removed from screen then it should be removed from script as well. Otherwise script will throw control not found errors.

 

Thanks
Chinthan

Re: Problema con asistente de pagos

$
0
0

tengo el mismo problema alguien que sepa el A B C para resolverlo????

Re: Tab handling in SAP Screen Personas

$
0
0

Hi Mads,

Did you recreate the flavor after making corrections as per note 1999747? Because these changes will only be picked up on new flavor edits.

 

Thanks

Chinthan

Re: Movimiento dividido

$
0
0

Es correcto Gustavo!!

Los documentos estan generados con diferente tipo de cambio.

Muchas gracias!

Re: Sales Order Reason for change

$
0
0


Thanks Phanikumar for your suggestion. I will work with my ABAP person to develop a solution.

 

Regards

Ravi

ANALYZE_MISSING_ELEMENTS - Program missing

$
0
0

Hi

 

Recently we have upgraded our BW development environment from Version 7.1 to 7.4. While doing post upgrade checks, found program ANALYZE_MISSING_ELEMENTS is missing. In BW 7.4 SAP replaced this program with some thing else?

 

Thanks for the help

Sat

 



Re: Process chain taking too long to complete

$
0
0

Hi Vishal,

 

For starters, if you don't have any reporting done on DSO's then you don't need to generate the SID's for both of them. SO go to change mode of DSO and uncheck the option of 'Generate SID on Activation'.

Next, check if you have any routines written in any transformation then you can look for options to optimize them.

Also when you are loading in Cube then are you dropping the Indexes and recreating them?

 

Thanks

Amit

Difference between SIGNAL and RESIGNAL in exception handling

$
0
0

Hi All,

 

Can anybody explain the exact use of RESIGNAL in exception handling.

 

Below is code snippet from SAP HANA Documentation but I'm not able to figure of the specific use.

 

CREATE TABLE MYTAB (I INTEGER PRIMARY KEY);

 

 

 

CREATE PROCEDURE MYPROC

AS

BEGIN

DECLARE MYCOND CONDITION FOR SQL_ERROR_CODE 10001;

DECLARE EXIT HANDLER FOR MYCOND RESIGNAL;

INSERT INTO MYTAB VALUES (1);

SIGNAL MYCOND SET MESSAGE_TEXT = 'my error';

-- will not be reached

END;

 

After executing the below code , I'm getting the error code as below.

 

Could not execute 'CALL MYPROC' in 335 ms 830 µs .

SAP DBTech JDBC: [10001]: user-defined error:  [10001] "XYZ"."MYPROC": line 5 col 33 (at pos 119): [10001] (range 3) user-defined error exception

 

Although I found some point in the thread but it was not so clear:

http://scn.sap.com/community/developer-center/hana/blog/2014/06/24/exception-handling-of-sap-hana-sqlscript-procedure

 

i.e.

The difference between SIGNAL and RESIGNAL is that when using SIGNAL, you must point out the SQL ERROR CODE or CONDITION of the exception. But RESIGNAL can be used in the action part of an EXIT HANDLER all alone. That is to say, RESIGNAL can be used to throw exception of the EXIT HANDLER catches to the caller. A user-defined exception can be catch by the corresponding EXIT HANDLER, or caught by the caller, same as an exception contains error code.


Here i don't understand the sentence highlighted in bold.


I'll be thankful to you all, if it can be explained in more simple words.


Thanks,

Sree

Re: Fully qualified domain name ...

$
0
0

Hi,

 

We have successfully installed the NW7.31 with FQDN "hgcnet.abc-def.com"..

 

Now my next issue is, we need to integrate the ECC server into the NW7.31 portal, for that purpose we need the FQDN of the ECC server, but actually ECC server was installed with only host name not domain name.

 

So now we have assign the FQDN to already installed ECC server, how should I proceed?

Kindly suggest,

By adding the FQDN does it effects on already installed SAP server?? or does effects on another instance which is on the same server??

 

As per my knowledge we have to set the following profile parameters in instance profile...

SAPLOCALHOST

SAPLOCALHOSTFULL

 

I have added above parameters in instance profile, but after restart of the SAP, server is not accessible.

 

Regards,

Amit........

Change purchase order draft line removes G/L account data

$
0
0

We created a purchase order and saved it as a draft.  We entered all information including G/L account and distribution rule but left delivery date blank.  When we go into the saved draft and input the delivery date, it removes the G/L account number.  There are many lines on this order and now we have to go back and input the G/L account number.

 

Any suggestions?

 

Thank you

 

Lori

Re: Crystal Reports Viewer on webforms rendering issue

$
0
0

Hi Sanjay

 

 

I'm not able to see the report in an app as it prompts me for parameters. I think to stop it from prompting I need you to drill down into Group header #1A, then go to page 2, then save the report an reattach it. That may stop it from prompting.

 

 

- Ludek

Re: Can not save report after changing the SQL Command!

$
0
0

Hi Brian,

 

From the errors it looks like there are problems with the Command after you change it.

 

Unfortunately XI R2 is of life and support so you may want to test it by downloading CR 2011 or 2013 Trial version and see if that works.

 

Don

Re: Configuration Missing in Purchase Requisition in ECC


Bex query structure authorization error when copying to Y name

$
0
0

Hi Gurus,

 

We are having a issue in BEX query. As per design, our IT team can copy Z queries to Y queries and modify/create Y queries in production but they cannot update/change Z queries.

 

One of the Z query is having structure and BW IT team is trying to copy that query to Y namespace but they can't edit the structure/key figures within that new Y query. . We created a ‘Y Structure’ within a ‘Y Query’ but still cannot edit/modify that Y-Structure. S_RS_COMP and S_RS_COMP1 has full access restricted by Y* in reporting component field.


Can anyone please help how should we proceed ?

 

PS: We don't have problem with other queries which don't have structures.

 

Regards,

Salman

Re: FILE -> SOAP -> FILE

$
0
0

Can u try Module key as number .. not the text like request or response. Please see my link

Re: Duvidas na NF Complementar de imposto.

$
0
0

Danielle

 

  Eu faço nota complementar de ICMS em Nota de Saída mesmo, ja que foi uma venda (acho eu) e  coloco a quantidade 1 o preço unitário(que seria a base para calcular o icms) e marco o item como (SÓ IMPOSTO) e o codigo do imposto que vai calcular o completo do ICMS.

Re: Grades for positions

$
0
0

Hi,

 

 

If your question has been answered or whether the problem is solved, please mark the thread as answered.

 

 

Thank you,

Liran

Re: How to Synchronize Qualification between SAP HCM & Erec after ALE transfer

$
0
0

Hi,

 

If your question has been answered or whether the problem is solved, please mark the thread as answered.

 

 

Thank you,

Liran

Viewing all 8798 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>