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

Re: Macro to assign zero values to a Key Figure

$
0
0

Thank you Rahul for your help.

 

Please be informed that there 4 key figures in question but you have taken only 3 key figure in your calculation.

 

Let me put my logic in words instead of using syntax....

 

If Key Figure 1 in planning book has some value

then

Key Figure 2 = Key Figure 1-Key Figure 3

Else

Key Figure 2 - Key Figure 4 - Key Figure 3

 

 

 

We don't want negative values for Key Figure 2 so If the value of Key Figure 2 we got in above formula is negative then assign 0 to Key Figure 2 else keep the value.


If Key Figure 2 < 0

 

then

 

Key Figure 2 = 0

Else

Key Figure 2 = calculated value from above subtraction formula.

 

 

Please let me know if you have any more question.

 

Regards,

Prabhat


Re: Bex-Broadcaster Not working-"Error Java system error: while trying to get the length of a null array loaded from local variable 'arr$'"

$
0
0

We have the same issue(s) even if  ADS RFC connection from ABAP to Portal works fine.  Would you please share with us what Basis needs to fix?

Enhancements/BADI/Exits

$
0
0

Hello Experts,

 

I want to know the existing process of a business, maintained in SAP that too without the help of anybody from business side. Want to know it by digging the system. This becomes more critical, when there are enhanced processes in place with BADIs, Exits and FMs etc. for respective FICO sub areas. It is relatively easy to figure out the standard processes, but there is little challenge in case of enhancements.

 

Any welcome ideas about the right approach towards it?

 

Appreciate quickl responses.

 

Warm Regards

Partha Sarathi Samantaray

Re: Allowance calculation is wrong in case of end time 00:00

$
0
0

Hello Priynka,

 

I regret to say: Not without modification

 

 

 

For transaction PR05:

    

In Include
MP56TI20

 

 

You will find in line 253 (and following)

 

 

 

 

        MESSAGE e156.

 

 

      ENDIF.

 

 

    ENDIF.

 

 

  ENDIF.

 

 

  PERFORM vergl_datum

 

 

  USING   ptp02-datv1 ptp02-uhrv1

 

 

          ptp02-datb1
ptp02-uhrb1 vergl_ab_an.

 

 

  IF vergl_ab_an =
space.

 

 

    MESSAGE e156.

 

 

  ENDIF.

 

 

 

 

Maybe you can extend here:

 

 

IF ptp02-datv1 NE ptp02-datb1 AND

 

   ptp02-uhrb1  EQ '000000'.

 

   MESSAGE WZYX.

 

  ENDIF.

 

ENDMODULE.

 

*-----------------------------------------------

 

 

*       MODULE
LESE_MERKMALE_NEU

 

 

*-----------------------------------------------

 

 

 

 

Create a new  Message (Warning)
ZYX: If trip duration ends exact at midnight please enter 24:00 instead of
00:00 o’clock

 

 

(longtext:  00:00 o’clock is always adequate as begin/start time for a day)

 

… something like this

 

Best regards

Klaus

Re: how to debug in sap web ide 1.12.8

$
0
0

What is in your s1customer.controller.js?

 

Google

 

Regards,

Jamie

SAP - Technology RIG

Marketing Lead to Sales Lead

$
0
0

Dear experts,

 

can anyone of you tell me when i can convert a marketing lead into a sales lead ?

 

thank you

to many log files from hana backups

$
0
0

Hi experts

In a client the backup is creating to many log files, and the problem is that this files are consuming the disk space very fast.

For you to have an idea yesterday the system generated 361 log files with 25 gb. the log file are being generated during all day with intervals of one hour.

 

we don't know if it is normal, but i would like you to help us.

 

Best regards

Enable Change Recording not working - SPS9 - TrexUpdate failed on table '_SYS_REPO:ACTIVE_OBJECT'

$
0
0

Hello!

 

Summary: I am trying to enable changing recording (feature introduced in SPS6 and enhanced a lot in SPS7) using HALM (I'm on SPS09) but I get the following error:

 

"message not found;mark active objects: SQL preparation or execution failed. Details can be found in the indexserver trace file."

 

 

Inside the browser console, I can see a failing POST call to /sap/hana/xs/lm/core/ConfService.xsjs service - it receives a HTTP 500 error. The HTTP request has the folling Form Data

 

 

{"action":"set_change_tracking","value":true}

 

 

---

 

 

What I'm 100% sure

 

 

After reading several OSS Notes, debugging this service I am aware of what is **not** the root cause:

 

 

Privileges

 

 

I'm using SYSTEM user and it has:

  • role sap.hana.xs.lm.roles::Administrator (among other lm roles)
  • system privilege REPO.CONFIGURE
  • execute privilege on procedure SYS.REPOSITORY_REST (discussed later)

 

 

Timeout

 

 

The error takes ~5 seconds to happen, so I'm discarding a timeout issue.

 

 

OSS Notes

 

 

  • 2073243 - Release Notes for SAP HANA Application Lifecycle Management for SAP HANA SPS 09

 

 

This OSS Notes is the only one I found it was useful somehow as it describes frequent issues on HALM and other restrictions according to SPS and revisions. The only item I could not check in my system is "JSVM memory" mentioned in that note. According to such OSS:

 

The change recording function in SAP HANA Application Lifecycle Management, which was introduced with HANA SPS 07, has the following restrictions:

 

 

Change recording requires enough JSVM memory to handle changelists, for example, search for changes and export/transport changelists and enable/disable change tracking. If you have received a 500 Internal Server Error in the browser console and the xsengine_* trace file is out of memory, then enhance the memory configuration to a proper value. The following example provides information about how to do this.

 

 

xsengine.ini > jsvm > max_runtime_byte

 

Using the Administration view inside Eclipse, I don't even have an option called jsvm inside xsengine.ini

 

 

Browser

 

I'm using Chrome but I'm sure the issue is in the back end according to the log files presented afterwards.

 

---

 

 

What I am **not** 100% sure

 

 

I don't know if the error I'm getting is due to the fact that at least on artifact in the system has a syntax error. To explain why I guess this could be an error I have to explain what I learn watching Change Management in SAP HANA 1.0 SPS07 and reading SAP HANA Lifecycle Management among other slides.

 

When you enable change recording, HANA takes all your artifacts and include them inside a change (the very first one in the system). After releasing this change, every activation you do on an artifact prompts for a new change associated with it (similar to how CTS works in ABAP).

 

Maybe, when HANA tries to assign all artifacts to a change, it checks the syntax of such objects and aborts the operation if at least one failed.

 

What I have done to confirm this was to manually regenerate all my packages (which contains almost 60000 artifacts) and check whether they had syntax errors or not. I found some and fixed them. I can regenerate all my packages without error. The only one I get an error is the system-local package, which although it's empty, gives me an error)

 

---

 

The error in detail

 

Debugging the ConfService.xsjs service, I came to the conclusion that the root cause is inside function execRepoCall. It calls the procedure SYS.REPOSITORY_REST but the call fails as it returns false.

 

root cause - scn.png

 

Looking at the application and SQL trace files, I see a failing UPDATE statament on table '_SYS_REPO:ACTIVE_OBJECT'

 

 

Trace on sap.hana.xs.lm Application

 

 

[6307]{6307}[-1/-1] 2015-09-02 18:36:29.640156 d xsa:sap.hana.xs. JsSuffixHandler.cpp(00085) : Execute WebRequest returned with: 0
[6307]{6307}[-1/-1] 2015-09-02 18:36:29.640164 d xsa:sap.hana.xs. JsSuffixHandler.cpp(00095) : end JS request handler for /sap/hana/xs/lm/core/ConfService.xsjs
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.511661 d xsa:sap.hana.xs. JsSuffixHandler.cpp(00058) : begin JS request handler for /sap/hana/xs/lm/csrf.xsjs
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.511891 d xsa:sap.hana.xs. JsSuffixHandler.cpp(00085) : Execute WebRequest returned with: 0
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.511897 d xsa:sap.hana.xs. JsSuffixHandler.cpp(00095) : end JS request handler for /sap/hana/xs/lm/csrf.xsjs
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.587800 d xsa:sap.hana.xs. JsSuffixHandler.cpp(00058) : begin JS request handler for /sap/hana/xs/lm/core/ConfService.xsjs
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.588039 d xsa:sap.hana.xs. GlobalFunctions.cpp(00159) : check access for URI: /sap/hana/xs/lm/core/lib/Config.xsjslib
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.589362 d xsa:sap.hana.xs. GlobalFunctions.cpp(00214) : create "sap"
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.589378 d xsa:sap.hana.xs. GlobalFunctions.cpp(00214) : create "hana"
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.589381 d xsa:sap.hana.xs. GlobalFunctions.cpp(00214) : create "xs"
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.589383 d xsa:sap.hana.xs. GlobalFunctions.cpp(00214) : create "lm"
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.589384 d xsa:sap.hana.xs. GlobalFunctions.cpp(00214) : create "core"
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.589396 d xsa:sap.hana.xs. GlobalFunctions.cpp(00214) : create "lib"
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.589397 d xsa:sap.hana.xs. GlobalFunctions.cpp(00214) : create "Config"
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.589482 d xsa:sap.hana.xs. GlobalFunctions.cpp(00159) : check access for URI: /sap/hana/xs/lm/xsts/utils.xsjslib
...
lots of other checkAccess for stuff
...
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.645294 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00873) : getTrackingStatus Starts
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.645326 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00156) : execRepoCall: {"action":"get","what":"changeTrackingStatus","session":{"sessionType":"2","owner":"SYSTEM","workspace":"HALM"}}
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.647147 i TraceContext     TraceContext.cpp(00827) : UserName=SYSTEM, ApplicationUserName=SYSTEM, ApplicationName=sap.hana.xs.lm, ApplicationSource=/sap/hana/xs/lm/core/ConfService.xsjs
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.647145 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00167) : Starts: Wed Sep 02 2015 18:36:32 GMT-0400 (EDT)
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.651268 i TraceContext     TraceContext.cpp(00827) : UserName=SYSTEM, ApplicationUserName=SYSTEM, ApplicationName=sap.hana.xs.lm, ApplicationSource=/sap/hana/xs/lm/core/ConfService.xsjs
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.651266 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00169) : Done: Wed Sep 02 2015 18:36:32 GMT-0400 (EDT)
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.651285 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00170) : Statement Result: false
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.651308 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00172) : Result: [object ArrayBuffer]
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.651325 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:utils.xsjslib(00420) : ab2str(): byte array length: 6
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.651366 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00089) : Header: repoV2
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.651370 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00091) : No. of Attachments: 1
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.651374 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00094) : JSON Length: 94
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.651380 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:utils.xsjslib(00420) : ab2str(): byte array length: 94
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.651393 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00101) : DECODED JSON: {  "error-arg": "",  "error-code": "0",  "error-msg": "No error",  "status": "disabled"
}
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.654434 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00905) : setTrackingStatus Starts: Wed Sep 02 2015 18:36:32 GMT-0400 (EDT)
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.654464 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00156) : execRepoCall: {"action":"set","what":"changeTracking","status":"on","ignoreOpenChanges":"1","session":{"sessionType":"2","owner":"SYSTEM","workspace":"HALM"}}
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.656030 i TraceContext     TraceContext.cpp(00827) : UserName=SYSTEM, ApplicationUserName=SYSTEM, ApplicationName=sap.hana.xs.lm, ApplicationSource=/sap/hana/xs/lm/core/ConfService.xsjs
[6307]{6307}[-1/-1] 2015-09-02 18:36:32.656028 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00167) : Starts: Wed Sep 02 2015 18:36:32 GMT-0400 (EDT)
[6307]{6307}[-1/-1] 2015-09-02 18:36:38.143529 i TraceContext     TraceContext.cpp(00827) : UserName=SYSTEM, ApplicationUserName=SYSTEM, ApplicationName=sap.hana.xs.lm, ApplicationSource=/sap/hana/xs/lm/core/ConfService.xsjs
[6307]{6307}[-1/-1] 2015-09-02 18:36:38.143527 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00169) : Done: Wed Sep 02 2015 18:36:38 GMT-0400 (EDT)
[6307]{6307}[-1/-1] 2015-09-02 18:36:38.143539 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00170) : Statement Result: false
[6307]{6307}[-1/-1] 2015-09-02 18:36:38.143622 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00172) : Result: [object ArrayBuffer]
[6307]{6307}[-1/-1] 2015-09-02 18:36:38.143644 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:utils.xsjslib(00420) : ab2str(): byte array length: 6
[6307]{6307}[-1/-1] 2015-09-02 18:36:38.143656 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00089) : Header: repoV2
[6307]{6307}[-1/-1] 2015-09-02 18:36:38.143660 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00091) : No. of Attachments: 1
[6307]{6307}[-1/-1] 2015-09-02 18:36:38.143664 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00094) : JSON Length: 191
[6307]{6307}[-1/-1] 2015-09-02 18:36:38.143671 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:utils.xsjslib(00420) : ab2str(): byte array length: 191
[6307]{6307}[-1/-1] 2015-09-02 18:36:38.143805 d xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00101) : DECODED JSON: {  "error-arg": "",  "error-code": "129",  "error-msg": "message not found;mark active objects: SQL preparation or execution failed. Details can be found in the indexserver trace file."
}
[6307]{6307}[-1/-1] 2015-09-02 18:36:38.147330 e xsa:sap.hana.xs. sap.hana.xs.lm.xsts:repoUtils.xsjslib(00929) :
Stack Trace:
UserReportableException@/sap/hana/xs/lm/xsts/utils.xsjslib:41
setTrackingStatus@/sap/hana/xs/lm/xsts/repoUtils.xsjslib:922
setChangeTracking@/sap/hana/xs/lm/core/lib/Config.xsjslib:26
processPOSTRequest@/sap/hana/xs/lm/core/lib/Config.xsjslib:90
@/sap/hana/xs/lm/core/lib/Config.xsjslib:104
process@/sap/hana/xs/lm/xsts/utils.xsjslib:1219
processRequest@/sap/hana/xs/lm/core/lib/Config.xsjslib:98
@/sap/hana/xs/lm/core/ConfService.xsjs:2
[6307]{6307}[-1/-1] 2015-09-02 18:36:38.147355 e xsa:sap.hana.xs. sap.hana.xs.lm.xsts:utils.xsjslib(00161) : message not found;mark active objects: SQL preparation or execution failed. Details can be found in the indexserver trace file.
[6307]{6307}[-1/-1] 2015-09-02 18:36:38.147381 d xsa:sap.hana.xs. JsSuffixHandler.cpp(00085) : Execute WebRequest returned with: 0
[6307]{6307}[-1/-1] 2015-09-02 18:36:38.147386 d xsa:sap.hana.xs. JsSuffixHandler.cpp(00095) : end JS request handler for /sap/hana/xs/lm/core/ConfService.xsjs

 

 

 

 

SQL Trace

 

[9732]{212705}[1577/3965391] 2015-09-02 18:45:21.862357 i TraceContext     TraceContext.cpp(00827) : UserName=SYSTEM, ApplicationUserName=SYSTEM, ApplicationName=sap.hana.xs.lm
[9732]{212705}[1577/3965391] 2015-09-02 18:45:21.862345 e AEText           core.cpp(00324) : Invalid term id in scaled document: 32625
[9732]{212705}[1577/3965391] 2015-09-02 18:45:21.862366 e AEText           core.cpp(00325) : Document id: 13156
[9732]{212705}[1577/3965391] 2015-09-02 18:45:21.862368 e AEText           core.cpp(00326) : Size of scaled document: 114460
[9732]{212705}[1577/3965391] 2015-09-02 18:45:21.862369 e AEText           core.cpp(00327) : Number of distinct terms: 8240
[9732]{212705}[1577/3965391] 2015-09-02 18:45:21.862370 e AEText           core.cpp(00328) : Min term id: 1
[9732]{212705}[1577/3965391] 2015-09-02 18:45:21.862379 e AEText           core.cpp(00329) : Max term id: 121040
[9732]{212705}[1577/3965391] 2015-09-02 18:45:21.862388 e textattr         TextAttribute.cpp(03606) : _getNormalizedDoc._SYS_REPO:ACTIVE_OBJECT (5).$_SYS_SHADOW_CDATA$(63378): mCore->scaledDocument(id, doc, mapping, fromTemp), in _getNormalizedDoc: 6900
[9732]{212705}[1577/3965391] 2015-09-02 18:45:21.862394 e textattr         TextAttribute.cpp(03647) : _reconstructDaf._SYS_REPO:ACTIVE_OBJECT (5).$_SYS_SHADOW_CDATA$(63378): _getNormalizedDoc(id, dict, doc, fromTemp), in _reconstructDaf: 6900
[9732]{212705}[1577/3965391] 2015-09-02 18:45:21.862397 e textattr         TextAttribute.cpp(03734) : _getDaf._SYS_REPO:ACTIVE_OBJECT (5).$_SYS_SHADOW_CDATA$(63378): _reconstructDaf(id, daf, fromTemp), in _getDaf: 6900
[9732]{212705}[1577/3965391] 2015-09-02 18:45:21.862398 e textattr         TextAttribute.cpp(03700) : getDocObject._SYS_REPO:ACTIVE_OBJECT (5).$_SYS_SHADOW_CDATA$(63378): _getDaf(id, simpleDaf), in getDocObject: 6900
[5949]{212705}[1577/3965391] 2015-09-02 18:45:21.862922 i TraceContext     TraceContext.cpp(00827) : UserName=SYSTEM, ApplicationUserName=SYSTEM, ApplicationName=sap.hana.xs.lm
[5949]{212705}[1577/3965391] 2015-09-02 18:45:21.862917 e table_update     TableUpdate.cpp(12201) : TableUpdate::writeDataIntoAttributeEngine(): commitOptimizeAttributes() failed with rc=6900, Attribute engine failed; table '_SYS_REPO:ACTIVE_OBJECT$delta_1$'(6900)
[5949]{212705}[1577/3965391] 2015-09-02 18:45:21.862927 e table_update     TableUpdate.cpp(15614) : lastError: commitOptimizeAttributes() failed with rc=6900, Attribute engine failed; table '_SYS_REPO:ACTIVE_OBJECT$delta_1$'(6900)
[5949]{212705}[40/3965389] 2015-09-02 18:45:21.902318 e REPOSITORY       dbutils.cpp(01014) : mark active objects: SQL execution of
'UPDATE _sys_repo.active_object SET change_number = ?, released_at = ?
(65835, '2015-09-02 18:45:16.5740000')
SQL string with parameter values instead of '?':
UPDATE _sys_repo.active_object SET change_number = 65835, released_at = '2015-09-02 18:45:16.5740000''
failed:
transaction rolled back by an internal error: TrexUpdate failed on table '_SYS_REPO:ACTIVE_OBJECT' with error: commitOptimizeAttributes() failed with rc=6900, Attribute engine failed; table '_SYS_REPO:ACTIVE_OBJECT$delta_1$', rc=6900 - enforce TX rollback at ptime/query/plan_executor/trex_wrapper/trex_wrapper_body/trex_update.cc:2374
exception  1: no.71000129  (ptime/query/plan_executor/trex_wrapper/trex_wrapper_body/trex_update.cc:2374)    TrexUpdate failed on table '_SYS_REPO:ACTIVE_OBJECT' with error: commitOptimizeAttributes() failed with rc=6900, Attribute engine failed; table '_SYS_REPO:ACTIVE_OBJECT$delta_1$', rc=6900 - enforce TX rollback
NO exception throw location recorded. Stack generation suppressed.
[5782]{-1}[-1/-1] 2015-09-02 18:46:30.975267 w Logger           SavepointImpl.cpp(02136) : NOTE: BACKUP DATA needed to ensure recoverability of the database

 

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

 

 

If I take the UPDATE call from the SQL file and try to run it using SQL console, I get the same error:

 

UPDATE _sys_repo.active_object SET change_number = 65835, released_at = '2015-09-02 18:45:16.5740000'

 

 

Could not execute 'UPDATE _sys_repo.active_object SET released_at = '2015-09-02 18:45:16.5740000'' in 5.348 seconds .

[129]: transaction rolled back by an internal error: TrexUpdate failed on table '_SYS_REPO:ACTIVE_OBJECT' with error: commitOptimizeAttributes() failed with rc=6900, Attribute engine failed; table '_SYS_REPO:ACTIVE_OBJECT$delta_1$', rc=6900 - enforce TX rollback

 

I had no success searching for 'TrexUpdate failed on table', 'commitOptimizeAttributes() failed with rc=6900' and other key terms. I have no clue what is Trex and why this dinossaur doesn't like me.

 

So... after all... what do I need to do inside this system to enable change recoring?

 

Thanks a lot! I tried to be as detailed as possible.


Generic hostnames - need to adjust

$
0
0

My company is looking to possibly implement two RDS solutions from CAL.

 

As I look at the setup documents for these, I notice a common generic hostname used which will present us a need to make adjustments if we implement multiple solutions in CAL.

 

The section of the documents is: Mapping hostnames to IP addresses.  As an example, both documents reference vhcalerpci/vhcalerpdb as an example.

 

Is there any quick workaround to this?

 

Any longer term plans to allow us to enter the hostname somewhere in a common place in the setup steps and have it inherit in successive steps?

 

Thanks for any tips/guidance.

 

Wallace Henry

Why exist Matrix Prerequisitos for ERP and Matrix Prerequisitos for TM in the Activation of SAP RDS TM TT 9.1 V2

$
0
0


We are driving the activation of RDS TM TT 9.1 through solution Builder in the System TM, however we get a matrix of ERP also prerequisites. At what point should implement these activities in the ERP? We start the activation in Sol Builder on TM, but now we have the doubt about if we should run the Solution Builder in ERP.

 

 

The quick guide and the SAP Note 2013924  not is enought help.



I appreciate the support they can give me .

Re: Importar Certificado Digital NFe SAP 9.1 PL08

$
0
0

Boa tarde Eliezer !

 

Passei por isso há pouco tempo ! Solução no meu caso:

 

Dentro do SAP B1, vá em Usuários e ajuste ou renove a senha do usuário B1i.

 

No integration framework, na aba SLD, clique na base que você está usando para o cenário da NF-e. Lá você tem dois conjuntos de usuários/senhas, um é do Sql Server o outro é do B1i que está na lista de usuário do SAP B1 (não é o mesmo usuário que você utiliza para acessar o Integration Framework "B1iadmin".

 

Teste a conexão, se você obteve sucesso, no SAP B1, acesse novamente o cadastro de usuário, selecione o usuário que você quer vincular ao certificado digital, passe o caminho do certificado (importe), e quando aparecer a janela solicitando a senha do keyuser,informe a senha do usuário B1i utilizada no Integration Framework. Se o cenário foi o mesmo que o meu vai passar, só não me lembro se eu troquei o usuário Keyuser para B1i, de qualquer forma, teste com keyuser, se não der certo, coloque e B1i e teste novamente.

 

Espero ter ajudado.

 

Abrs.

Adalberto Miglionni

Problem after server upgrade

$
0
0

Hi,

 

After a server upgrade, from SICF, I can login and see the first page of service ITSMOBILE01, but when I tried to navigate to other page I get an error HTTP 400 Bad Request.

 

Regards.

Re: SAP Crystal Reports 2011 - excel export data only problem

$
0
0

Hi Igor

 

 

Assuming that with VS 2010 you are using "SAP Crystal Reports, Developer Version for Visual Studio .NET", make sure you are using SP 14:

 

SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads

 

As for the export issue. Use myExportFormatOptions.ExportPageHeadersAndFooters = ExportPageAreaKind.OnEachPage

 

For more info see the developer help files:

 

SAP Crystal Reports .NET SDK Developer Guide

SAP Crystal Reports .NET API Guide

 

 

 

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow me on Twitter

Got Enhancement ideas? Use the SAP Idea Place

Acces discussion thread using Java SDK

$
0
0

Hello everyone,

 

As you know, XI 3.1 and BI 4.1 allows to create discussion thread on almost repository objects. Into this thread, users can create new messages or reply to a user/group.

I try to acces the discussion objects via Java SDK but I didn't find how to do that and I didn't find a post on that subjet anywhere.

 

Does someone has already done ?

 

Thanks
Guillaume

Re: IDOC_AAE error

$
0
0

Hi Abishek,

What is the version of your PI system?

If you have the version 7.31 and obove you can check in Channel independent log and NWA logs..

 

What is mentioned in those options?


Message Mapping Technique

$
0
0

Hi Folks,

 

We are using PO 7.4 and the scenario is IDOC to JMS, Please help on below points.

 

1) Spliting messages based on attribute value (For example: atrribute values are A, B, C, D and As per the requirement, We are splitting as 4 different messages with same HEADER populating for all the ITEMS ) - this is DONE

 

2) So in the above case 1 FILE will have 4 messages and all this messages will reach to target at a time but our requirement is SEND THE MESSAGE TO TARGET ONE BYE ONE

 

 

EXAMPLE:

 

MESSAGES (MULTI) FOR EX: A, B , C, D (WE ARE ACHEVING THIS IN FIRST POINT)

 

HEADER(1)

 

-ITEMS (MULTI)

  1

  2

  3

  4

--ATTRIBUTE(MULTI)

---VALUE

     A

     B

     C

     D

 

We need to send the above mentioned multiple messages INDIVIDUALLY or ONE BY ONE TO TARGET APPLICATION. Please help on this requirement.

 

 

Regards,

MFH

Customer Hierarchy & Risk Categories

$
0
0

We have a situation where the same customer can order through two channels (wholesale and retail).   We currently have this customer represented by a single customer ID, which means we can only apply a single credit limit and risk category to all orders.   We would like each channel to behave differently from a credit perspective.  This has led us to the idea of using customer hierarchy so that we can have two customers (one for wholesale, one for retail), but report on them together.   My question is whether we can set different credit limits and risk categories for these two customers.  Please advise.

 

Thanks,

Dan

Re: Crystal Report 2103 Error Log:

$
0
0

When are you getting the error? What would I have to do to get it?

 

 

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow me on Twitter

Got Enhancement ideas? Use the SAP Idea Place

Re: Problem with join returning zero rows

$
0
0

Look if index incosistency is reported.

Look certain options impatcing results are set to non-default (eg. AnsiNull).

Recent pacth level PL31 fixed issues :CR781504 & CR771660.

Re: How to run sql statement in xsjs and get the result as json?

$
0
0

Hello Namita,

 

try following.

 

 

var query = "SELECT SUM(\"Column_Name\") FROM \"Schema_Name\".\"Table_Name\""; 
var oConnection = $.db.getConnection(); 
var oStatement = oConnection.prepareStatement(query); 
oStatement.execute(); 
var oResultSet = oStatement.getResultSet();
var result = {    records : [ ]   
}; 
while (oResultSet.next()) {   result.records.push({value: oResultSet.getInteger(1)}); 
} 
oResultSet.close(); 
oStatement.close(); 
oConnection.close(); 
$.response.contentType = "application/json; charset=UTF-8"; 
$.response.setBody(JSON.stringify(result)); 
$.response.status = $.net.http.OK; 

 

Some hints regarding your coding:

  • The JSON object you try to prepare is not valid JSON object, so JSON stringify does not produce any result.
  • Calling getString method of the result set object thems to be wrong, cause you have a numeric value in your aggregated column. So getInteger, getDouble ... depending on the type would be more appropriate, although getString works too.

 

Hope that helps you.

 

Best Regards,

Florian

Viewing all 8667 articles
Browse latest View live




Latest Images