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

Re: ABAP Query : Multiple Rows in Report

$
0
0

Give the table join picture. What all tables you have used?

Also why you've used KZLOESCH NE 'X'  twice ?


Re: Datawindow with SQL SubSelect? PB 12.5

$
0
0

Hello Paul,

 

you haven't enlightened us as to the DBMS you're using but if it was SQL Anywhere I'd be writing a stored procedure and checking out the RANK() or DENSE_RANK() functions. MS SQL Server has the same methods.

 

Writing a function in PB could work but it would be slow if you do get hundreds of rows. Let the database do what it's good at - mashing volumes of data.

 

$0.02, Paul

Re: SFTP to SFTP interface query

Re: Agentry - List Selection drop down style on iOS

$
0
0

iOS Human Interface Guidelines specify using a picker list like the Agentry client implements.  If you really want another look you will need to use Open UI to create your own control the mimics a drop down list.

 

--Bill

Re: SPL block for Business Partner on Positive List

$
0
0

Hi experts,

 

Does anyone has any idea about any possible reason for this issue.

 

Rgds

Problem in displaying google maps in icontabbar

$
0
0

I have problem in displaying the google maps in icontabbar.

 

 

I have to icontabfilter,

1) Map

Default selected google map is displayed using hbox control.

2) Attachments

attachment icontabfilter(2nd tab) uses hbox control with sap.m.table. The table is bound to one of the child entity in the oData model. below is the code to declare & bind the table to one of the child entity

<Table noDataText="No Report Found" id="__table0" items="{path:'FieldReport'}" style="{height:100%', width:'100%'}">

 

 

The problem is as soon as i bound the table to the child entity the google maps do not appear. As soon as i remove the code items="{path:'FieldReport'} the google maps works fine.

 

 

I did the debug in chrome, the google map loading code works fine in both the scenario where the table is bound to an entity or it is not bound to an entity.

 

 

I did lot of search on the internet and it has been mentioned that the height of parent div tag should be 100%, i tried setting height and width 100% for all parent control in xml view however problem still remains.

 

 

I even tried hardcoding the height of the hbox control for google maps to 400px however, as soon as the table is bound to the child entity google maps doesnt appear.

 

 

Any help would be highly appreciated. Thanks

Re: Stock transfer invoice doing PGI error

$
0
0

Hello Jeeva,

 

did you try to search in SCN before posting with the error ID as a criteria?

 

When I search for "gtl2201" or for "glt2 201" I see many results, including wiki and sap note links.

 

Was none of these these at least a bit helpful?

 

If you are a key user - did you contact your official help-desk?

 

Stock transfer invoice PGI creation error in sap.

 

does not explain what you are actually doing, maybe you need to rephrase your question.

 

If I were working in user support and receive ticket with this content, I would return it to the sender asking for more information.

If you have consultant authorizations - did you try to display the error in SE91 and then look at where-used list?

 

If you have tried to do that (takes a minute) you would have known that this error is not coming directly from SD and that you need to ask your FICO colleague for assistance or, if you are responsible for this module as well, to increase your chances by posting in the right space.

Re: problem with sap query

$
0
0

In Infoset (SQ02) menu GoTo > Global properties

untitled2.jpg

 

where you'll find the name of External Program under section Data retrieval by program.


Re: Cummulative sum

Re: Can anyone provide an explanation on how to invoke a BODS batch job published as a web service from an external application such as Sharepoint and fetch the result back?

Default UDO form loads data

$
0
0

Hi experts,

 

I have an unusual problem. I have created an UDO form by code and everything is correct there. My problem is when I add a record to the UDO (and this is done without problems) the next time I open the UDO from the Default Forms Menu the UDO opens and "inserts" data from the first created record to one of the fields. I have reviewed my code in order to see if something there inserts the value but nothing seems to do it. Has anybody seen something like this before? Can it be the binding of the field?

I have tried to obtain the XML from the OUDO table but nothing there, only the definition of the field.

Advanced Search for SCn

$
0
0

Hi Team,

 

Thanks for the awesome work.

I would like to put forth a wish list item for SCN as well. If we can have some sort of Advanced Search functionalities on Text and filter for Space within SCN as well. That would be great.

 

Just a Wish list item and nothing which is making my SCN experience less menaingful.

 

Thanks,

Ravi

Re: logic in calculated columns

$
0
0

Few suggestions here:

 

1.  Projection_1 giving date to both Rank nodes .  Use 2 separate projection , model would be easier to read and less complex.  You can easily copy project 1 and name it something else.

 

2. Calculate total number of failure at desired level  before joining them  at Join_2 node.

 

If you are using dummy key figure ( =1 ) , you cannot make -1 for every row. Essentially that would make 1-1 = 0 and sum will be zero.   You have to sum it first for all failures and then subtract 1 from the total .

 

You can also take data from Rank_1 node with a filter of Rank Not Equal to 1  or Greater than 1 .  This way, you will always omit the first failure .  So, you can derive total number of repeat failure.

 

Also explore "Counter"  in Calculation View .

 

Regards

Anindya

Re: Exposing serivces as Odata in PO

$
0
0

Hi Amol

 

Unfortunately, that is still not possible even on PO 7.5. Check the conversation between Shabarish and Alex in the comments of the following blog.

What’s new in SAP Process Orchestration 7.5 SP00

 

It is only possible to provision OData services from SAP backends using Integration Gateway on PO and Gateway on the backend. Non-SAP backends are not possible.

 

Regards

Eng Swee

Re: Datawindow with SQL SubSelect? PB 12.5

$
0
0

Hello Paul,

 

Well, yes you could. You could put the SP call in a global function and call that from the computed field. But then the PowerBuilder Code Police will hunt you down and do nasty things to you*.

 

The way to go is to put the ranking in the result set of the SP and use the procedure to build the datawindow. I can't see from your sample SQL that it would be too much of a stretch to do that.

 

You could work out a plain select statement and use that in the datawindow but off the top of my head you might have to retrieve the competitor's data too, and I guess you don't want to do that so maybe a stored procedure is the way to go.

 

Don't panic - you don't have to rebuild the datawindow you have (I wouldn't want to either). Create a dw using the SP and then comparing it with the existing one and with careful use of Edit Source you should be able to change the existing dw to use the SP instead of a select.


HTH, Paul

 

* that said, the ability to call them from a datawindow is the one and only justification for global functions existing (uh oh, I might have started a flame war here!)


Re: Read body in XSJS

$
0
0

Hi Florian,

 

XSJS File:

function updateData() {  if ($.request.parameters.get("$mode") === "ins") {  var sData = $.request.body.asString();  var oJson = JSON.parse(sData);  var squery = 'INSERT INTO "SYSTEM"."bootcamp.DB::JobModel.Job" VALUES (?,?,?,?,?,?)';  var connection = $.hdb.getConnection();  connection.executeUpdate(squery,oJson.JOBID,oJson.DESCRIPTION,oJson.DEPARTMENT,oJson.VALID_TILL,'','');  connection.commit();  connection.close();     $.response.contentType = "text/html";     $.response.setBody("Success");     $.response.status = $.net.http.OK;  } else {     $.response.contentType = "text/html";     $.response.setBody("Wrong Mode!");     $.response.status = $.net.http.OK;  }
}
updateData();

 

Database:

Destinaition.png

 

Database:

Database.png

 

 

Thanks,

Chad

Re: BI 4.0 SP4 Server space issue

$
0
0

check the event viewer logs for any specific errors if you are not able to connect to CMS.

 

If you want to cleanup the logs in BO servers, check logging folder where BO installed. Empty the logging folder.

Re: Recover design studio from FRSINPUT

$
0
0

There is no way to restore if you don't have backup. If you have design studio files which stored locally, you can re publish them.

Re: Agentry Server: /SYCLO/CX_CORE_RFC_OO_DATA:An exception occurred

$
0
0

Sankara,

 

Please create a Discussion marked as a Question.  This question is already marked as answered.  This way others may benefit from your solution once it is found, but also because you will have more folks looking to provide a solution when your issue has the greater visibility of a Discussion.

 

--Bill

Re: Problem Connecting Agentry Client

$
0
0

Sankara,

 

Please create a Discussion marked as a Question.  Not only so others may benefit from your solution once it is found, but also because you will have more folks looking to provide a solution when your issue has the greater visibility of a Discussion.  Also suggest that you visit the Getting Started link at the top right of each SCN page for help with creating a good Discussion.

 

--Bill

Viewing all 8798 articles
Browse latest View live




Latest Images