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

Re: Variance sales report

0
0

Hi,

 

Try:

 

SELECT T2.[ItemCode],

sum(Case DATENAME(month,T0.DocDate) when 'January' then T1.Quantity   else 0 end) as January_Qty,

                        sum(Case DATENAME(month,T0.DocDate) when 'February' then T1.Quantity   else 0 end) as February_Qty,

                        sum(Case DATENAME(month,T0.DocDate) when 'March' then T1.Quantity   else 0 end) as March_Qty,

                        sum(Case DATENAME(month,T0.DocDate) when 'April' then T1.Quantity   else 0 end) as April_Qty,

                        sum(Case DATENAME(month,T0.DocDate) when 'May' then T1.Quantity   else 0 end) as May_Qty,

                        sum(Case DATENAME(month,T0.DocDate) when 'June' then T1.Quantity   else 0 end) as June_Qty,

                        sum(Case DATENAME(month,T0.DocDate) when 'July' then T1.Quantity   else 0 end) as July_Qty,

                        sum(Case DATENAME(month,T0.DocDate) when 'September' then T1.Quantity   else 0 end) as September_Qty,

                        sum(Case DATENAME(month,T0.DocDate) when 'October' then T1.Quantity   else 0 end) as October_Qty,

                        sum(Case DATENAME(month,T0.DocDate) when 'November' then T1.Quantity   else 0 end) as November_Qty,

                        sum(Case DATENAME(month,T0.DocDate) when 'December' then T1.Quantity   else 0 end) as December_Qty

 

FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry

INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode

INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod

 

WHERE DATENAME(YEAR ,T1.DocDate )= '2014' AND T3.[ItmsGrpNam] = '[%0]'

 

GROUP BY DATENAME(month,T0.DocDate ),T2.ItemCode, T2.ItemName, T2.OnHand

 

Thanks & Regards,

Nagarajan


Re: error 8037 Failed to connect or logon to SLD

0
0

Please raise ticket to SAP support to fix this issue.

PB and MS Azure SQL database

0
0

Does anyone have experience connecting a PowerBuilder application to a Microsoft Azure SQL database?  I am using the SNC driver and PB 12.5.2.  The connection appears to work but I am getting an error when executing an in-line stored procedure call.

 

“Microsoft SQL Server Native Client 10.0
Cannot use the OUTPUT option when passing a constant to a stored procedure.”

 

The stored procedure does indeed have two output parameters.  This same application works fine when connecting to a database hosted on a local SQL Server instance.

 

Here is how I am setting the DBParm:

 

SQLCA.DBParm = "Provider='SQLNCLI10'"
SQLCA.DBParm += ", AppName='" + gs_appname + "'"
SQLCA.DBParm += ", Database='" + ls_db_name + "'"
SQLCA.DBParm += ", Identity='IDENT_CURRENT()'"
SQLCA.DBParm += ", TrimSpaces=1"
SQLCA.DBParm += ", StaticBind=0"
SQLCA.DBParm += ", TrustedConnection=0"
SQLCA.DBParm += ", Encrypt=1"
SQLCA.DBParm += ", TrustServerCertificate=0"

Re: BI 4.1 SP5

Re: Leave Request workflow - Short dump on hitting approve button SWW_WI2OBJ

0
0

issue is with workitem is Variable 2.......... 000000624020? Can you check if it is occurring for all workitem ids check in SWIA

Re: Output report to csv -- only one page

0
0

Hi Joe,

 

I was able to replicate the issue.  I had a 4 page table with only 7 columns and when using a Tab or comma delimiter, only 32 rows came back (273 rows with a semicolon delimiter) so it appears to be a bug

Re: String length in stored procedure, how?

0
0

Hi,

 

The support for the stand alone function is not provided.

 

Instead you can write the three query as

SELECT LENGTH ('length in char')  INTO v_LENGTH FROM DUMMY;

 

Hope this will help.

 

Regards ,

Pratik Doshi

Re: Multiple entities added to parent table? Deep Insert does not work offline.

0
0

Hi Rodrigo,

 

I'm researching this topic, I'll get back to you when I get more information.

 

Thanks Midhun VP, for your code snippet. Please keep in mind that this code does not use the offline store class. The SDK SP05 provides support for backward compatibility, so this code should work.

 

If you want to use the offline store SDK  SP05+, then you need to use different classes

 

    // Create your Entity Set, for example Agency Entity

    ODataEntity newEntity

          = new ODataEntityDefaultImpl(Collections.TRAVEL_AGENCY_ENTITY_TYPE);

    newEntity.getProperties().put(Collections.TRAVEL_AGENCY_ENTRY_ID,

    new ODataPropertyDefaultImpl(Collections.TRAVEL_AGENCY_ENTRY_ID, <agency id>));

    newEntity.getProperties().put(Collections.TRAVEL_AGENCY_ENTRY_NAME,

    new ODataPropertyDefaultImpl(Collections.TRAVEL_AGENCY_ENTRY_NAME, <agency name>));

    ... // Add other the required properties

 

    // Create changeSet

    ODataRequestChangeSet changeSetItem = new ODataRequestChangeSetDefaultImpl();

 

    // Create batch item

    ODataRequestParamSingle batchItem = new ODataRequestParamSingleDefaultImpl();

 

    // Allocate new Entity

    batchItem.setResourcePath(getAgencyResourcePath(mode, agency));

    batchItem.setMode(mode);

    batchItem.setPayload(newEntity);

    batchItem.setCustomTag(createBatchTag(mode, agency.getAgencyId()));

 

    // Add headers

    Map<String, String> createHeaders = new HashMap<String, String>();

    createHeaders.put("accept", "application/atom+xml");

    createHeaders.put("content-type", "application/atom+xml");

    batchItem.setOptions(createHeaders);

 

    // Add changeset

    changeSetItem.add(batchItem);

 

    // you can add more Batch items to the same changeset

 

    // Add batch item to batch request

    ODataRequestParamBatch requestParamBatch.add(changeSetItem);

 

    // Send batch request through the offline store

    store.scheduleRequest(requestParamBatch, ODataRequestListener);

 

Best regards,

Claudia


Re: Suite on HANA + Fiori Architecture

Re: sum error while connecting to communication partner 4241

0
0

Hi Envecon,

 

Have you maintained host entries for the system,If possible try to maintain localhost entries under host file as like

127.0.0.1  localhost.localdomain  localhost

<IP of Machine>  <hostname>

 

After that retry the process .

 

Hope this will help you.

 

Regards,

Gaurav

Re: Adding new tile Error

Re: Error when incident is recorded "Exception Occured"

0
0

Hi,

Was this issue solved.

 

Because i am facing same incident when cretaing a new Incident.

 

Please provide you Inputs

Can access NWBC via browser but fail with NWBC-App (Webdisp)

0
0

Hi Experts,

 

I have configured Webdispatcher server and activated NWBC (ECC6).

 

I'm able to open NWBC page using web browser (Webdisp IP) but when i use NWBC apps(3.0/4.0) it keep pointing to local-IP instead Webdisp's IP. The NWBC apps already given with Webdisp IP.

 

Kindly assist. thanks

 

R,

AM

Global Parameters

0
0

Can somebody explain what Environment > 'Global Parameters' is? What is the purpose?

 

In the menu you can set the dimension, cons chart/acct, version and period.

 

I notice that it adjusts in CX52 to match the document that is pulled up, so why does it need to set?

 

Is this the date it will use when posting or creating objects?

 

Is it important to set the correct period/FY when configuring?

 

Is it just for toggling between dimensions?

 

Thanks!

Error After uploading item via MS Excel using program RPM_DX_ITEM

0
0

Hi Experts,

 

I just want to ask who are familiar with this kind of error and how to resolve this.

please see below:

 

error in uploading.JPG

This error occurs every after I upload an item using program RPM_DX_ITEM

Please note that the item on the excel file are uploaded successfully and no error is occurring every time I run a simulation check.

 

 

Thanks,

James


Re: Mail is getting triggered without mail variants.

0
0

Hi Janette,

 

I have changed the process chain into the planning view and moreover we have only one AND variant at the end of the process chain,below that there is no subsequent process chain variant.

 

Still we are getting the error message.

 

Regards,

Sakthivel S

Re: Consignment stock transfer in Retail business

0
0

Hello,

 

When you have several own stock and consignment items, stock determination should follow different rules. For own stock items, issue should be from own stock first and if not available, issue from consignment stock. For consignment items, issue should be from consignment stock first and if not available, issue from own stock.

 

So when consignment stock transfer is checked, you need to provide the alternate rule to the regular rule. This will handle the situation of an article being in own stock and consignment stock at the same time. SAP provides the following online documentation example:

 

 

Stock RuleNameStock RuleNameCons. Stock Transfer
    4711Own/Cons.    4712Cons./Own    X
    4712Cons./Own

In this example, consignment stock determination is active for stock determination rule 4711 and an alternate consignment rule was defined, which means stock determination is performed using the alternate consignment rule, 4712.

 

 

Stock RuleNameStock RuleNameCons. Stock Transfer
    4711Own/Cons.    4712Cons./Own
    4712Cons./Own

In this example, stock determination rule 4711 is again assigned an alternate consignment rule. This has no effect on stock determination in this case, however, because consignment was not activated for the stock transfer. As a result, rule 4711 is used for stock determination.

 

 

Stock RuleNameStock RuleNameCons. Stock Transfer
    4711Own/Cons.     X
    4712Cons./Own

In this example, consignment stock determination is activated for stock determination rule 4711, but an alternate rule was defined. As a result, rule 4711 is used for stock determination.

 

 

Thanks,

Venu

Re: Issue in ChaRM Action

0
0

Hi Abhishek,

 

Thanks for your reply. But we don't want to include a new status between 'Created' and 'In development'.


Instead of restricting user action by modifying roles and authorizatin object 'B_USERSTAT', is there any other way to restrict user action in a CD? Can this be done by any coding change?

 

Regards,

Ananya Mukherjee

Shipment cost issue

0
0

Dear All, Recently we have started shipment process for a new materiel where there is no packing(loose material),But as per our existing system,After(HU) packing only shipment cost condition tab will visible in the VI01 screen,When we try to create the shipment cost for new material through VI01 without packing,pricing procedure is coming but condition tab is not coming,And we are using cal base is 'C'(Handling unit ) in condition type,Please advise to solve the issue.

SAPUI5 - Table, select multiple rows programmatically.

0
0

Hello everyone,

 

I currently have an sap.ui.table with selection mode set to sap.ui.table.SelectionMode.MultiToggle and selection behavior to sap.ui.table.SelectionBehavior.Row.

 

My question is if there is any way I can programmatically(not by clicking on the table rows) select more than 1 row from the table. For example when the selection mod is set to sap.ui.table.SelectionMode.Single , i can use the setSelectedIndex(index).At first, I was expecting that setSelectedIndex(index) will add the row to the currently selected rows, but it just erase all previously selections and selects the current row.

 

Is there any workaround for this? Thank you.

Viewing all 8667 articles
Browse latest View live




Latest Images