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

Re: GRID Error Invalid query tree  [300-33]. The SQL error is -1

$
0
0

Hi Ankit Chauhan,

 

 

finally i think my code works! , I just Created a Stored Proc then Declare a Parameter on it,Then

 

i use this to execute my PROCEDURE

(dtto is a TEXTBOX in SDK)

 

sqlString &= "EXEC DFS_SP_Interest " & dtto & ""  ((oForm.DataSources.DataTables.Item(0).ExecuteQuery(sqlString)

I got the idea on your comment above.Thanks for that,

 

My only concern is when Search for the second time, the Data that is appearing in my gridView doesnt change eventhough i change my parameter date.

 

sqlString &= "EXEC DFS_SP_Interest " & dtto & " "

oForm.DataSources.DataTables.Add("MyDataTable")

oForm.DataSources.DataTables.Item(0).Clear()

oForm.DataSources.DataTables.Item(0).ExecuteQuery(sqlString)

oGrid = oForm.Items.Item("MyGrid").Specific

oGrid.DataTable = oForm.DataSources.DataTables.Item("MyDataTable")

 

 

oForm.DataSources.DataTables.Item(0).Clear()

- is not working.

 

thanks


Sap Hana Live Caliculation View

$
0
0

Hi, Please tell me how to set a sap hana live caliculation view

Re: HOW TO DISPLAY LAST 12 MONTH DATA ?

$
0
0

hi,

 

I have done that one...but i want in webi.

 

Regards

Divyesh

Re: Load data in Cube from webi report

$
0
0

Thanks Eriki ,Could you please elaborate the answer for me .What is APD ? and how to use ?

ResponsiveGridLayout XML Syntax

$
0
0

I am trying to use Responsive Grid Layout in my Application. I have referred the Demo-Kit syntax given for the same at,

 

https://sapui5.hana.ondemand.com/sdk/#test-resources/sap/ui/layout/demokit/ResponsiveGridLayout.html

 

However the syntax given there is for Javascript views and I am using XML views. I tried to write the equivalent XML on similar lines, but with no luck. I have included the libraries in index.html as data-sap-ui-libs="sap.m,sap.ui.layout" as well as in the view.

 

My XML view goes as follows. I am getting the error, Uncaught Error: failed to load 'sap/ui/layout/formContainers.js'. Please help me if there are errors in my View.

 

<core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc"  xmlns="sap.m" xmlns:form="sap.ui.layout.form" controllerName="exceltabs.updateitems"  xmlns:html="http://www.w3.org/1999/xhtml">  <Page title="Title">  <content>  <form:Form xmlns="sap.ui.layout" busy="false"  busyIndicatorDelay="1000" visible="true" width="" editable="">  <formContainers>  <form:FormContainer xmlns="sap.ui.layout"  expanded="true" expandable="false" visible="true"><formElements>  <form:FormElement xmlns="sap.ui.layout" visible="true">  <label></label>  <fields>  <Button xmlns="sap.m" visible="true" text="By Item Details"  icon="sap-icon://navigation-right-arrow" iconFirst="false"  type="Emphasized" width="65%" enabled="true" tap="" press="">  </Button>  </fields>  </form:FormElement>  </formElements>  <title></title>  </form:FormContainer>  </formContainers>  <title></title>  <layout>  <form:ResponsiveGridLayout xmlns="sap.ui.layout"  visible="true" labelSpanL="4" labelSpanM="2" labelSpanS="12"  emptySpanL="0" emptySpanM="0" emptySpanS="0" columnsL="2"  columnsM="1" breakpointL="1024" breakpointM="600">  </form:ResponsiveGridLayout>  </layout>  </form:Form></content>  </Page></core:View>

Re: Agentry Sales Manager Initial Load problem

$
0
0

Robin,

I did not work on Sales Manager, but if you are trying to download (fetch) thousands of accounts and contact persons for a single user and these are actually object instances and not complex table data, then that is a problem.  Object collections should be kept in the hundreds for each client, not the thousands.  It is theoretically possible to download thousands, but seems you are running into a server memory limit.  It all depends on how complex the individual objects are, and how many sub-collections they contain.

 

Somehow allocating more memory for the SMP Server application may help, but it sounds like you are just trying to download (fetch) too much object data.  Even if the data made it down to the client, the performance would probably be really sluggish.

 

What client platform are you using?  Does it make a difference if you try a different platform?

 

Jason Latko - Senior Product Developer at SAP

Re: Auto WT creation while doing partial GR in inbound delivery

$
0
0

Hi experts,

 

I have the same problem.

We have deliveries with several items and we are using Tx /SCWM/GR for the partial GR (for each item).

The partial posting to the ERP works fine.

After the posting we want to create the putaway warehouse task only for the item for which we posted the GR. Unfortunatley the creation only starts (by PPF) if the GR is posted for whole delivery and for all items.

Is there a way (by PPF) to initiate the creation of the WT only for the item for which the GR is posted?

 

Thanks

Ralf 

Re: OData, request body malformed

$
0
0

Hi Hans, Joao,

Jumping in here wearing my Moderator hat.

 

The SCN search function is pretty poor and I have no idea why Create Discussion steers you to only one of the many communities in SCN which have significant involvement with JavaScript.  So what I recommend to all is to use this custom Google search (save it as a bookmark).  It will better find the content you desire as well as better result set prioritization.  But since I got the same results from the SCN search that you posted, I understand why you posted it here.  I think it would be better in SAP for Mobile or perhaps SMP Developer Center (a lot of OData content resides there).  I will do a little more research and move this Discussion where it might be more appropriate for the topic.  [UPDATE: Looks like this really is the right community for OData, javascript, CRUD, etc.]

 

You have both taken different positions on the use of SAPUI5 inherent functions.  That's fine.  To each his own.  Let's keep it polite and agree to disagree.

 

Thanks, Mike (Moderator)

 

Message was edited by: Michael Appleby


Re: How we can call one .view.js from other .view.js ??

$
0
0

you need to access it as....

var theOtherView = sap.ui.jsview('yourViewId');

 

then do whatever you need to do w this view

Re: Release procedure triggering for fields not classified

$
0
0

Hello Jurgen,

 

The reply from ABAP team is as below:

 

"

I checked all enhancements mentioned by you in trailing mail.

No active code logic found. "


Thanks.

Richa

Re: Release procedure triggering for fields not classified

$
0
0

Hello Biju,

 

The reply from ABAP team is as below:

 

"

I checked all enhancements mentioned by you in trailing mail.

No active code logic found. "


Thanks.

Richa

Re: which parameters need to pass for 'BAPI_ACC_GL_POSTING_POST'

$
0
0

Hi Rob and Paul,

 

Thanks for your reply , iam new to abap .. i have ched the paul's earlier post..

bit confused the parameters passing in 'FI_DOCUMENT_CHANGE'.

can you please send me the complete logic to populate parameters to the FM,

 

Thanks

niru

Re: How to Bind data to Grid Element Dynamically

$
0
0

Hi Sakthivel,

 

Thanks for your quick reply,

 

View Code

---------------

<l:Grid

    defaultSpan="L6 M6 S12">

    <l:content>

    <List items="{/ProductCollection}">

     <CustomListItem id="productitem-small-0">

      <HBox>

      <VBox >

        <Link text="{SupplierName}"/>

        <Text text="{Description}" />

        </VBox>

      </HBox>

      </CustomListItem>

      </List>

    </l:content>

  </l:Grid>

 

 

controller Code

-----------------

 

onInit: function() {

  var oModel = new sap.ui.model.json.JSONModel("https://sapui5.netweaver.ondemand.com/sdk/test-resources/sap/ui/demokit/explored/products.json", true);

   //var oCore = sap.ui.getCore();

  this.getView().setModel(oModel);

 

},

 

 

 

 

 

Actually we are getting out like below(Scree short),

 

IMG_21042015_204725.png

 

 

 

 

but we need the out put side-by-side like Grid view.

 

 

Example:

-----------

 

1     2

3     4

Re: Enhancing fields to extractor on relationship of 0coom_c02

$
0
0

Dear Rahul

 

The fields that you mentioned above seems to be from Purchase order. Are you looking for purchase orders related to cost centers ?

 

Regards

 

Gajesh

Re: Upload Account to SAP hybris Marketing (customer engagement intelligence)

$
0
0

Hi Nidhi,

 

you gave me the right hint. I had to store the KUNNR with leading zero's in my custom z_account table. Now I can fully access the account content.

 

Thanks everyone for your comments.

 

Best regards,

Mussie


Re: Creating XML with Crystal Reports

$
0
0

Hi Joerg,

 

Correct. As I said You can use separate Schema XSD file so the XML file has just the data.

 

To see this output type create a Dataset in VS and then save the data to both files using this code:

 

ds.WriteXml("c:\\Reports\\abc.xsd", XmlWriteMode.WriteSchema);

ds.WriteXml("c:\\Reports\\abc.xml", XmlWriteMode.IgnoreSchema);

 

In CR Designer now set location to both.

 

and set location this way:

 

string myXMLfile = "c:\\Reports\\abc.xml";
System.Data.DataSet ds1 = new System.Data.DataSet();
// Create new FileStream with which to read the schema.
System.IO.FileStream fsReadXml = new System.IO.FileStream
    (myXMLfile, System.IO.FileMode.Open);
try
{
    ds1.ReadXml(fsReadXml);
}
catch (Exception ex)
{
    MessageBox.Show(ex.ToString());
}
finally
{
    fsReadXml.Close();
}

//rptClientDoc.DatabaseController.Database.Tables.Add(ds1);

// as long as the field names match exactly Cr has no problems setting report to a DS.
try
{
    rpt.SetDataSource(ds.Tables[0]);
    rpt.SetDataSource(ds);
}
catch (Exception ex)
{
    MessageBox.Show("ERROR: Schema Mismatch. Error reported by CR: " + ex.Message);
}

 

Don

Re: Reporting Suggestions

$
0
0

Hi Ritchie,

 

Two options that pop into my head would be Input Controls or OpenDocument calls.

 

For input controls, you can basically use drop downs and other interactive selectors to give your users similar filtering capabilities.

 

There are demos of these features here:Official Product Tutorials – SAP BusinessObjects Web Intelligence 4.x

 

Look for Input Controls in that list.

 

For Open Document calls, you basically use a URL to pass values to a webi document (prompt values) that can be used to filter the report.  In this scenario, you would use your own interface for selecting the values and then have a submit button or something that constructed a URL using the values selected and passed them to a Webi doc.

 

There is a document that covers openDocument here: SAP BusinessObjects Business Intelligence platform 4.1 – SAP Help Portal Page

 

It's called Viewing Documents using OpenDocument

 

Hopefully those get you started.

Jonathan

Re: How to enable save button in ALV Grid using Custom Function module

$
0
0

Hi Girish,

Girish Kumar Vedurupaka wrote:

 

I am using the Custom function module to display Records in ALV Grid, i tried to enable the Save button using standard GUI  and custom GUI status but its not working..Please help me on this

In ALV Display report, why you need the save button here? Are you going to update the ALV values?

 

If the GUI status is created, assign to Custom GUI in the attribute i_callback_pf_status_set = 'GUI_STAT_NAME'

 

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program       = SY-REPID

i_callback_pf_status_set = 'GUI_STAT_NAME'

----

----

 

Regards

 

Rajkumar Narasimman

Re: Stock Transfer Request with B1 WS

$
0
0

Hi Angel,

sorry for misunderstanding. I remember I was checking this already.

Afaik there is no service exposed for generating the wsdl ( I never saw a complete list of available ones ).

So I doubt you can use B1WS - but you should be able to use DI Server calls to add a StockTransferRequest

 

regards,

Maik

Re: Fiscal year different from document date and posting date

$
0
0

No, fiscal year is derived from posting date. What is the data in BKPF table: GJAHR and BUDAT?

Viewing all 8676 articles
Browse latest View live




Latest Images