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

Re: Process flow for PP-EWM Integration


Re: SAP HANA cursor stored procedure

0
0

test this one...

 

-- drop PROCEDURE "Project_Bal_100715"

 

 

CREATE PROCEDURE "Project_Bal_100715"

(

  IN dateFrom date

  , IN dateTo date

)

AS

BEGIN

 

 

  CREATE LOCAL TEMPORARY TABLE #TEST_TABLE

  (

  "TransId" int

  ,"PrjCode" nvarchar(10)

  ,"PrjName" nvarchar(100)

  ,"Account" nvarchar(15)

  ,"AcctName" nvarchar(100)

  ,"RefDate" timestamp

  ,"Memo" nvarchar(50)

  ,"Debit" decimal(21,6)

  ,"Credit" decimal(21,6)

  ,"BatchNum" int

  ,"CreateDate" timestamp

  ,"TaxDate" timestamp

  ,"Ref2" nvarchar(100)

  ,"FCDebit" decimal(21,6)

  ,"FCCredit" decimal(21,6)

  ,"DueDate" timestamp

  ,"Debit_BF"  decimal(21,6)

  ,"Credit_BF" decimal(21,6)

  ,"CardCode"  nvarchar(15)

  ,"CardName" nvarchar(100)

  ,"U_PR_TYPE"  nvarchar(100)

  );

 

 

  INSERT INTO #TEST_TABLE

  SELECT  T2."TransId", T0."PrjCode", T0."PrjName", T1."Account",

  T3."AcctName", T1."RefDate", T2."Memo", T1."Debit", T1."Credit", T1."BatchNum", T2."CreateDate",

  T2."TaxDate",

  T1."Ref2", T1."FCDebit", T1."FCCredit", T1."DueDate", 0.0 AS "Debit_BF",

  0.0 AS "Credit_BF", T4."CardCode", T4."CardName" , T0.U_PR_TYPE

    FROM OPRJ T0

    INNER JOIN JDT1 T1 ON T0."PrjCode" = T1."Project"

    INNER JOIN OJDT T2 ON T1."TransId" = T2."TransId"

    INNER JOIN OACT T3 ON T1."Account" = T3."AcctCode"

    INNER JOIN OCRD T4 ON T4."CardCode" = T1."ShortName"

    WHERE T1."RefDate" BETWEEN :dateFrom AND :dateTo

  AND T0.U_PR_TYPE = 'Employee'

    AND T3."AcctCode" = '2001010952'

    ORDER BY T0."PrjCode", T2."TransId";

   

  UPDATE  #test_table

  SET #test_table."Debit_BF" = "DebitSum"

  , #test_table."Credit_BF" = CASE WHEN "DebitSum" = 0 THEN 0 ELSE "CreditSum" END

    FROM #test_table

    JOIN (

    SELECT "PrjCode", "Account", "CardCode", SUM(IFNULL("Debit", 0)) AS "DebitSum",

        SUM(IFNULL("Credit", 0)) AS "CreditSum"

      FROM #test_table

    GROUP BY "PrjCode", "Account", "CardCode") AS b

    ON

  #test_table."PrjCode" = b."PrjCode"

     AND #test_table."Account" = b."Account"

  AND #test_table."CardCode" = b."CardCode";

   

  SELECT *    

  FROM #test_table

    ORDER BY "PrjCode", "TransId";

END;

 

 

 

 

 

--//  CALL "Project_Bal_100715" ( '20100101', '20161231' )

Re: Autorizaciones Lista de partidas abiertas

0
0

Hola Javier.

 

Espero explicarme: Lo que puede estar pasando es que en la lista de partidas abiertas se haya quedado elegido un listado al cual ahora ya no tiene autorización, es decir, puede que por default haya tenido elegido, por ejemplo; ordenes de compra y ahora que ya no tiene autorización a la misma, no puede ejecutarse ya que por dafault estaría buscando en ordenes de compra a las cuales ya no tiene autorización.

 

En resumen, vuelve a darle autorización total a lista de partidas abiertas, ejecuta el informe seleccionando ahora solicitudes de traslado, ve a autorizaciones y configúrala como la necesitas, el meollo del asunto es que el último informe de partidas abiertas que ejecutes sea el que necesitas para que así cuando ya no tenga autorización a las demás, la que traiga elegida por default sea la que necesitas.

 

Suerte.

Re: Local Copy client cancelled

0
0

Hi, SAP Gurus.

 

 

 

I fixed the problem, i was making copy client in windows 2012 and the log folder (/usr/sap/trans/log) was corrupted, so I created new log folder and the error was solved.

 

I hope this help someone else.

 

 

Thanks for your suggetions.

Re: integeration between Pm & Real state

0
0

thanks Terence i appreaciate and ihope find somethings in sap or on line


sadin

Check Visual BI Chart Component - No Data?

0
0

Is there a way to query the chart component to see if there is data rather than checking the data source itself since my DS has multiple KPIs that could or could not have data but I've set up my graph to only graph a specific KPI.

Re: How to populate Issuing Storage Location in Purchase Requisiton(ME51N/ME52N)

0
0

Hi KK,

 

In the BAPI ME_PROCESS_REQ_CUST under Process item method (,pass the storage location and then set the value using set_data method.

 

method IF_EX_ME_PROCESS_REQ_CUST~PROCESS_ITEM.

 

DATA : ITEM TYPE MEREQ_ITEM.


CALL METHOD im_item->get_data

   RECEIVING

     re_data = ITEM

     .

ITEM-RESLO = 'your storage location value'.

 

CALL METHOD im_item->set_data

   EXPORTING

     im_data = ITEM.

    

 

 

endmethod.

 

 

Regards,

Mohammed.

ITS - Mobile in warehousemanagment (WMS)

0
0

Hi,

 

Im looking into the funcionality of ITS Mobile to be able to implement SAP WMS with the use of Portable barcode readers for a customer.

I have experience with SAPConsole but this tecnique seems to be no longer suported by SAP as off Netweaver versión 7.10.

The questions I have are the following:

 

- Does one still have to do the configuration in LE-MOB (Queue-management, Menus, barcode definición and usage)  if one is using ITS Mobile?

- If not, where are these configs done using ITS Mobile?

 

Thanks for any answer.

 

Aart


Re: VL71 print help needed

0
0

So just to try make it more clear when I press to print I'm getting my 3 copies of each one like..

 

1,2,3

1,2,3

1,2,3

 

but what I want is

 

1,1,1

2,2,2

3,3,3

 

so then I can attach all together without having to sort them.

Re: Ifthenelse

0
0

ifthenelse(Select_Distinct.SEAS_IND = 'N', NULL, Select_Distinct.SEAS_START_DATE)

Re: Custom KPI in SAP B1

Re: Results Analysis Using Earned Values (POC is not updated in KKA2)

0
0

You have to run progress analysis first and it will write the POC to a Statistical Key Figure.  RA will read this POC from the SKF.

Re: Deleting structure from SPROXY

Re: Group on measures not working

0
0

I use SAS and ODBC connection to pass through the SQL script to HANA.

Re: SAP BW JAVA Stack Integration

0
0

Hello Craig,

 

Probably you have more than one BW system configured on your Portal, or no BW system is your default bw system.


Check the BI Master System and setup the SAP_BW system as your default BW system



You can check this link, will help you to find out these configurations:

 

Symptom 1 and resolution - Technology Troubleshooting Guide - SCN Wiki

 

Also (part of the link below), execute the BI Diagnostics tool - See note 937697

 

 

Best Regards,
Edward


Re: Error on registering a service on SEGW - Function module "/IWFND/FM_ACTIVATE_SERVICE" not found.

0
0
I have an ABAP server for Netweaver Gateway (dgw.multipla.local - 00 - DGW) and another ABAP server (192.168.1.214 - 00 - DVR), that is the SAP ERP.

 

From your comment I believe you are using deployment option 2 as mentioned in SAP Gateway deployment options in a nutshell

My current suggestions are based on this assumption.

 

This means your Gateway server and Service Development environment(where you execute SEGW) is just the same system , which is DGW in this case. That means you need to configure a local Gateway server.

 

You can do the configuration from SPRO->SAP NetWeaver->SAP Gateway Service Enablement -> Backend OData Channel ->Connection Settings to SAP Gateway->SAP Gateway Settings .

 

A sample config may look like

 

Destination system: LOCAL_DGW

CLient: <CLIENT NO>

System Alias: DGW_CLIENT_NO

RFC Dest: NONE

 

 

As per current configuration, using Service Builder you are trying to register a service in the ERP system(DVR). This is not correct, because your ERP system is not a Gateway system. That is the reason you get the error message,because the function module exists only in the Gateway Server system.

 

 

Regards

atanu

Problema na conexão do SDK

0
0

Amigos, estou com um problema na conexão do sistema ao SAP B1, vejam se podem me ajudar.

 

Eu criei uma aplicação em C# para fazer transferências automáticas entre depósitos através da demanda gerada pelas ordens de produção. Fiz a aplicação e testei na minha máquina virtual.

Funcionou perfeitamente com a dica dada pelo Fábio Bilicki. Porém quando testo a aplicação em meu ambiente de produção ele dá o erro “Unable to connect to SBO-COMMON” na conexão.

 

Verifiquei nos arquivos “b1-local-machine” das pastas “SAP Business One DI API/Conf” e “SAP Business One/Conf” e os mesmos estavam com o nome do servidor certo na linha <value>Servidor:30000<value>;

Tentei colocar o IP tanto nos arquivos quanto no oCompany.Server, porém com IP também não resolveu.

 

Teria algum outro arquivo que tenho de configurar para rodar a aplicação ou algo que necessite fazer e não tenha feito em termos de configuração?

 

Caso possam me ajudar?

 

Obrigado!

 

Cordialmente,

Re: Restriction in analytic view

0
0

Hi Nag,

 

Crate Calculated Measure column at top level and integer should be data type

 

Please use following formula

 

if(isnull("Item_category"),0,if("Item_category" ='KPT','QTY',0))

 

First it will check "Item_Category" column for null, if yes the it will return ZERO otherwise, it will check for next condition. If "Item Category" belongs to KPT then it will return actual quantity else it will return zero.

 

At the semantic level, Please hide your "QTY" column.

 

I hope, this will solve your problem.

 

Regards,

Vikram Divekar

Re: Hybrid app using Sybase Unwired Platform giving issue while accessing MBO?

Re: VIM Config Documents

0
0

Hello Sydney;

 

 

The link is broken.

Please, can you provide a new one?.

 

 

 

Regards,

Viewing all 8851 articles
Browse latest View live




Latest Images