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

Re: XSLT mapping help to add namespace in the existing node

$
0
0

Hi Anuradha!

 

<xsl:template match="/StudyDetails">

  <xsl:element name="ns0:{local-name(.)}" namespace="urn:sap:com">

  <xsl:copy-of select="*"/>

  </xsl:element>

</xsl:template>

 

Regards, Evgeniy.


Re: When use consistency validation check in BOPF, how to prevent the data being saved?

$
0
0

Hi Victor,

 

  Thank you, it works.

 

Best regards,

Kenny

Usage-Based Billing - Service Contract Management - SAP Library

$
0
0

To add a comment, please log in or register on the top of this page and choose Reply. Please write your comment in English.

You can also go back to the SAP help page.

Re: Analyze Capture fails in Workload Analyzer

$
0
0

Yes, looks like str_replace offsets the start/end positions, but it happens only if a blank space (chr(32)) or more blank spaces exist in the source string in front of located pattern string. In the case of more existing blank spaces, each and every one blank space is replaced with the replacement string. Fore example

 

master:1> select str_replace("abc", "b", "R")

master:2> go

 

---

aRc

 

This is correct, no blank space(s).

 

master:1> select str_replace("a bc", "b", "R")

master:2> go

 

----

aRRc

 

Located pattern string and the blank space in front of it are replaced with the replacement string.

 

master:1> select str_replace("a      bc", "b", "R")

master:2> go

 

---------

aRRRRRRRc

 

Wow! Very productive!

 

master:1> select str_replace("a      bc", "b", "RRR")

master:2> go

 

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

aRRRRRRRRRRRRRRRRRRRRRc

 

 

That's it. Note however: this strange str_replace behavior doesn't exist in non/utf-8 servers, at least not in iso_1/binary server. I've just tested str_replace running against a 16K/iso_1/binary server and the function works correctly as expected. Also, Workload Analyzer in SAP-COCKPIT-4 is running perfectly without any error (Capture, Analyze and Replay).

 

This is really funny. 16K page size and utf-8 server charset are the key prerequisites to install Workload Analyzer repository. The 'installsybcatdb' script will refuse and abort the installation of repository for any charset other than utf-8 (if you don't edit the script). Cannot believe they never tested WA running against an utf-8 server.

 

Here are generated outputs of the tests you required, running against the utf-8 server.

 

-- some sample tests to run against a utf-8 dataserver and a non/utf-8 dataserver ...

-- str_replace() with literal

 

master:1> select str_replace("create procedure p_test as select * from publishers", "p_test", "p_test_v22")

master:2> go

 

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

create procedurep_test_v22t as select * from publishers

 

 

 

-- str_replace() with literal and multi-string search/replace;

-- all 3x correct? all 3x wrong? mix of correct/wrong?

 

master:1> select "create procedure p_test as select * from publishers"

master:2> union all

master:3> select str_replace("create procedure p_test as select * from publishers", " p", "XY")

master:4> go

 

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

create procedure p_test as select * from publishers

createXYrocedureXY_test as select * fromXYublishers

 

 

 

-- stuff() with @variable

 

master:1> declare @proctext varchar(100)

master:2> select @proctext = "create procedure p_test as select * from publishers"

master:3> select stuff(@proctext, 18, 6, "p_test_v22")

master:4> go

 

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

create procedure p_test_v22 as select * from publishers

 

 

 

-- stuff() with literal

 

master:1> select stuff("create procedure p_test as select * from publishers", 18, 6, "p_test_v22")

master:2> go

 

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

create procedure p_test_v22 as select * from publishers

 

 

 

-- charindex() with @variable; returns 17 (wrong) or 18 (right)?

 

master:1> declare @proctext varchar(100)

master:2> select @proctext = "create procedure p_test as select * from publishers"

master:3> select charindex("p_test", @proctext)

master:4> go

 

-----------

          17

 

 

 

-- charindex() with literal; returns 17 (wrong) or 18 (right)?

 

master:1> select charindex("p_test", "create procedure p_test as select * from publishers")

master:2> go

 

-----------

          17

 

 

 

-- patindex() with @variable; returns 17 (wrong) or 18 (right)?

 

master:1> declare @proctext varchar(100)

master:2> select @proctext = "create procedure p_test as select * from publishers"

master:3> select patindex("%p_test%", @proctext)

master:4> go

 

-----------

          18

 

 

 

-- patindex() with literal; returns 17 (wrong) or 18 (right)?

 

master:1> select patindex("%p_test%", "create procedure p_test as select * from publishers")

master:2> go

 

-----------

          18

 

 

 

-- substring() with @variable: returns "p_test" or " p_tes"?

 

master:1> declare @proctext varchar(100)

master:2> select @proctext = "create procedure p_test as select * from publishers"

master:3> select substring(@proctext, 18, 6)

master:4> go

 

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

p_test

 

 

 

-- substring() with literal; returns "p_test" or " p_tes"?

 

master:1> select substring("create procedure p_test as select * from publishers", 18, 6)

master:2> go

 

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

p_test

Re: Internal Order Still Open

$
0
0

Hello Aryan,

 

You can use program COPCOBJ_REORGCHECK to see what values are preventing the order from being closed.


You can then proceed according to note 140672 or note 421376, depending on which note better suits your particular circumstance.

 

Best regards,

Jason

Re: No certificate request received from Server

$
0
0

Hi Ludek Uher,


Thanks for your quick response.


Customer want to implement SSL only as per the scope of the work.


so the latest version for the SAML does't support as per the KBA right?


Once again thank you so much for the quick response and inputs which are helpful to discuss with next level team,to make them understandable by the KBA's


Regards,

Rama

Re: SMP Integration Gateway SOAP request transport

$
0
0

Hi Emanual,

 

Thanks for quick reply, when you mentioned pointing to the different server instances ,  that's exactly what I am asking,  how?  how can I pointing to the different server instances  for the wsdl?

 

when you develop in IG ,the soap endpoint is set in the Select Data Source,  I can only be able to point to different server in this step. am i right?

A6EC60DF-6049-46CD-B995-97A610B5EBBF.png

 

Thanks,

Billy

Re: st04 dumps with MOVE_TO_LIT_NOTALLOWED_NODATA on ECC6.07 K745

$
0
0

Hi Benoît,

 

Note 2117573 can be fixed by SAPKB74015, thus you need to implement this note and skip manual acitivites which do not contain your current version.

 

Following the implementation of the correction instructions from SAP Note 2117573, you must still implement the correction instructions from SAP Note 1324544 (valid for SAPKB74011 - SAPKB74014).

 

Regards,

Ning


Re: CTS+ transport ID scenario with error no business system in SLD

$
0
0

hi Raghuraman:

 

Thank you for your response.

The systems and targets are maintained in both environments, because they got the SLD information from the same Solution Manager.

Re: Extract all letters left of first number in string

$
0
0

Hi Mike,

 

Web intelligence doesn't support RegEx pattern search. We either need to take the literal rule for searching for different digits or push this to database.

 

To add to Mahboob's answers, you can use replace function to change each digit to one digit and look for this one digit.

Re: issue with Bapi CRMXIF_PRODUCT_MATERIAL_SAVE

$
0
0

Dear Rahul,

 

I created a KBA regarding the error you are facing.

 

2319379 - Error "An internal number range interval cannot be determined for category *" (COM_PRODUCT_CUST005)

 

Please refer to this KBA for the resolution.

 

Thank you.

Best regards,

Julin Xin

Re: SCN searching within a specific forum

Customer factsheet in C4C by BW data

$
0
0

Hi Experts,

I have requirement to get customer factsheet/360 from in C4C by BW data.

I have following questions for the same:

1. What is the best way to get customer factsheet in  C4C by BW data?

2. do we need to transfer data into C4C first or can the data be called from BW at the time of requesting/navigating to screen?

3. Does it work same way in PDF fact sheet whichever way we will use in 2nd Point(Question)?

4. Can we show different 360 based on business role?

 

Detail answer much appreciated.

 

Thanks in advance

Re: Making Kapsel application fully online

$
0
0

Hi Dan/Jitendra,

 

I am using sapui5. Scenario is very simple after installimg the application for first time my odata call is able to reach the backend, but from second time onwards it is always getting synchronized with local data store though i haven't created any local

 

Yes i have installed odata plugin too, but i am not sure how to use that.

 

-Dinesh C R

Re: DBA COCKPIT ATM CONFIGURATION


Re: HANA Studio Authorization Error

Use series to control the document for display

$
0
0

Dear All

 

I would like to have an addon that

 

I create a production order and select series 'FA' for Factory A.

I create another production order and select series 'FB' for Factory B.

 

When I create receipt from production and select series 'FA' for Factory A, and click the production order at the bottom, the addon can show me all factory A production order only.

 

When I create receipt from production and select series 'FB' for Factory B, and click the production order at the bottom, the addon can show me all factory B production order only.


When I create issue from production and select series 'FA' for Factory A, and click the production order at the bottom, the addon can show me all factory A production order only.

 

When I create issue from production and select series 'FB' for Factory B, and click the production order at the bottom, the addon can show me all factory B production order only.


I also create a sales order and select series 'FA' for Factory A.

I create another sales order and select series 'FB' for Factory B.


When I create delivery and select series 'FA' for Factory A, and click the copy from  at the bottom, the addon can show me all factory A sales order only.

 

When I create delivery and select series 'FB' for Factory B, and click the copy from at the bottom, the addon can show me all factory B sales order only.


I would like to know, is it possible to do it?


Use DI or UI to do it?


Have any information for my reference?


Regards

Edmund

Re: Connecting a CAL instance to SAP Cloud Connector

$
0
0

Hi Ventsislav,

 

You are correct. 3300 does not seem to be open on my laptop.

When I type telnet localhost 3300 I get at my Mac terminal,

 

Trying ::1...

telnet: connect to address ::1: Connection refused

Trying 127.0.0.1...

telnet: connect to address 127.0.0.1: Connection refused

telnet: Unable to connect to remote host

 

I am now trying to figure out how to open a port on Mac OS. Will keep you posted.

 

Regards

Suneet

Re: Account Characteristics in costing based COPA

$
0
0

Hi KJ,

 

I heard this solution works. Can you share how to activate "Account" characteristics and User exits in KEDR ? We need same solution.

 

Thanks.

Re: Concejo Power Builder Clasico vs Appeon

$
0
0
Dersarrollo within my system there is a module that imports large quantities of data
are millions of records flat file , that loads the run creating files:

.Log
.bat
.CTL

through SQL Loader Oracle

2. There is another module that loads files Planos but using the following functions run

- GetFileOpenName
- iMPORTFILE

3. The database is in Oracle 10g , has, procedures , functions, packages , cursors .


Thank you

 

 

 

Appeon presents a problem with the above described

 

I would use PB Classic (or SQL Loader) for the high volume imports on a server

 

Appeon should be able to support GerFileOpenName and ImportFile

 

If you can wait, I think Appeon will provide a self-updateable PB Native application.  Personally I am hanging out for that

Viewing all 8902 articles
Browse latest View live




Latest Images