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

Re: How to retry db fetch on the event of db errors?

$
0
0

Hi Titto,

As you have mentioned that db status is not being updated inside the loop and if-else, you can below mentioned logic.

 

as you have mentioned that it can wait 6 times in the interval of 2mins, you can write 6 if-else condition ,,take variable to assign the status of db into that variable and take this variable from second "if-else" to 6 "if-else" with keeping this additional condition and previous .ex.

 

1-if (.....)

 

2-if (var_stat$ is null and ....)

sleep(2000)

 

3-

if (var_stat$ is null and ....)

sleep(2000)

 

4-

if (var_stat$ is null and ....)

sleep(2000)

 

5-

if (var_stat$ is null and ....)

sleep(2000)

 

6-

if (var_stat$ is null and ....)

sleep(2000).

 

since it is a guess so i am not sure how much will it help you

 

Please try and update the thread.

 

Regards,

Shiva Sahu


Re: ERP6 EHP5 Upgrade to EHP6 MSSQL 2008 R2

$
0
0

Yes i have the latest releases of all downloaded from marketplace.

 

my releases in the folder usr/sap/is9/sys/exe/uc/NTAMD64

r3trans -> 721 patch 120, date: 25.05.2013

tp -> 721 patch 123, date: 20.06.2013

 

the same are in usr/SUM/abap/exe

Getting Error While Using PAL lib. In HANA

$
0
0

Hi All,

 

While executing a PAL algorithm i am getting the error stated below.

 

Could not execute 'CALL _SYS_AFL.PAL_ANOMALY_DETECTION_TEST1(PAL_AD_DATA_TAB, PAL_CONTROL_TAB, PAL_AD_RESULT_TAB) with ...' in 295 ms 860 µs .

SAP DBTech JDBC: [2048]: column store error: search table error:  [2620] executor: plan operation failed;CalculationNode ($$P3$$):Internal compiler error at AFLLANG script:failed to open library package '_SYS_AFL'.'AFLPAL', package already loaded

 

 

I am using the below script to generate a PAL procedure.

=================================================================================================

SET SCHEMA I060653;

DROP TYPE PAL_AD_RESULT_T;

CREATE TYPE PAL_AD_RESULT_T AS TABLE(

"ID" INT,

"V000" DOUBLE,

"V001" DOUBLE

);

DROP TYPE PAL_AD_DATA_T;

CREATE TYPE PAL_AD_DATA_T AS TABLE(

"ID" INT,

"V000" DOUBLE,

"V001" DOUBLE,

primary key("ID")

);

DROP TYPE PAL_CONTROL_T;

CREATE TYPE PAL_CONTROL_T AS TABLE(

"NAME" VARCHAR (50),

"INTARGS" INTEGER,

"DOUBLEARGS" DOUBLE,

"STRINGARGS" VARCHAR (100)

);

 

 

-- create procedure

DROP TABLE PDATA1;

CREATE COLUMN TABLE PDATA1(

"ID" INT,

"TYPENAME" VARCHAR(100),

"DIRECTION" VARCHAR(100) );

INSERT INTO PDATA1 VALUES (1, 'I060653.PAL_AD_DATA_T', 'in');

INSERT INTO PDATA1 VALUES (2, 'I060653.PAL_CONTROL_T', 'in');

INSERT INTO PDATA1 VALUES (3, 'I060653.PAL_AD_RESULT_T', 'out');

 

 

GRANT SELECT ON I060653.PDATA1 to SYSTEM;

call SYSTEM.afl_wrapper_generator('PAL_ANOMALY_DETECTION_TEST1', 'AFLPAL',

'ANOMALYDETECTION', PDATA1);

 

DROP TABLE PAL_AD_DATA_TAB;

CREATE COLUMN TABLE PAL_AD_DATA_TAB (

"ID" INT,

"V000" DOUBLE,

"V001" DOUBLE,

primary key("ID")

);

 

INSERT INTO PAL_AD_DATA_TAB VALUES (0 , 0.5, 0.5);

INSERT INTO PAL_AD_DATA_TAB VALUES (1 , 1.5, 0.5);

INSERT INTO PAL_AD_DATA_TAB VALUES (2 , 1.5, 1.5);

   

DROP TABLE PAL_CONTROL_TAB;

CREATE COLUMN TABLE PAL_CONTROL_TAB (

"NAME" VARCHAR (50),

"INTARGS" INTEGER,

"DOUBLEARGS" DOUBLE,

"STRINGARGS" VARCHAR (100)

);

INSERT INTO PAL_CONTROL_TAB VALUES ('THREAD_NUMBER',2,null,null);

INSERT INTO PAL_CONTROL_TAB VALUES ('GROUP_NUMBER',4,null,null);

INSERT INTO PAL_CONTROL_TAB VALUES ('INIT_TYPE',4,null,null);

INSERT INTO PAL_CONTROL_TAB VALUES ('DISTANCE_LEVEL',2,null,null);

INSERT INTO PAL_CONTROL_TAB VALUES ('MAX_ITERATION',100,null,null);

 

   DROP TABLE PAL_AD_RESULT_TAB;

CREATE COLUMN TABLE PAL_AD_RESULT_TAB (

"ID" INT,

"V000" DOUBLE,

"V001" DOUBLE

);

 

     CALL _SYS_AFL.PAL_ANOMALY_DETECTION_TEST1(PAL_AD_DATA_TAB, PAL_CONTROL_TAB,

PAL_AD_RESULT_TAB) with overview;

select * from PAL_AD_RESULT_TAB;

Re: Repete activation of .hdbdd file after schema deletion

$
0
0

Did you delete schema by R-Click or by using SQL

 

If you deleted the schema by using SQL then you cannot recover the objects if you have used the below syntax :

DROP SCHEMA schema_name CASCADE;

 

But you can recover the schema if you have used the syntax as :

DROP SCHEMA schema_name;

 

You can also refer to : http://help.sap.com/hana/html/sql_drop_schema.html

Re: SLT Replication: Status - Scheduled for long time

$
0
0

Hi,

 

okey - your are then on the old SP. So I would recommend to patch to SP9 and implement all correction notes first. Than you are save that all bugs are fixed and you also ensure that all other known bugs are covered.

 

Can you patch and implement all? Or is this not possible?

Afterwards let me know if it is working or not and we can investigate into the issues.

 

Best,

Tobias

Batch creation?

$
0
0

Dear All,

 

Is it possible that, During Order Confirmation Batch of Finish goods should be similar to the Batch of that Raw Material and same should be derived automatically?

 

Kindly guide whether possible or not if yes then how?

 

Thanks,

Naresh

Re: Update CUA Master

$
0
0

AFAIK there is no such a BAPI...

 

Regards,

Raymond

Re: ODS Activation Termination

$
0
0

It seems there is an erroneous records in this request. Delete the req from DSO. Go to PSA and find out the errors and edit them and upload to DSO, if you are using BW3.5.

 

In BI 7.0, delete the req from DSO. Activate error stack in your DTP by selecting Valid records update, status green or red and semantic groups and execute the DTP.

 

After that run error DTP after rectifying the errors in error stack. Finally you can activate the req in DSO.

 

Regards,

Suman


Re: user exit for auto PR through scheduling plan

Re: Product Substitution in WCEM not working

$
0
0

Thanks for your input Tamara!

 

From a "future release point of view", I do believe that it would be helpful if SAP added some sort of message handling support via WebChannel Builder!

 

Eg possibile to configure if "success", "warning", "info" or "error" messages should be shown on a general level... and then if more advanced functionality is needed - then XML changes could be done.

 

I don't fully understand the rationale behind hiding everything but error messages, since changes now is needed both in CRM backend as well as in the message.xml file to achieve things. If all messages were shown as default in WCEM, then it would only be needed to do the changes in CRM backend... and minimizing the number of places to customize things to achieve what is needed in frontend I assume must be the best approach when building an application.

 

However, your input makes it possible for us to proceed!

 

BR / Alex

Re: Error in Job_Realtime_DQ_SAP_Address_Cleanse_Suggestions when executing

$
0
0

Hi Daya,

 

Due to formatting it is difficult to see the error you are reporting.

 

Kindly attach the error log, instead of copying.

 

Thank you,

Viacheslav.

Re: Populate variables or parameters from a database table

$
0
0

Shive -

Awesome.  As you can tell, I am new to this.

Two follow up questions:

 

1. Is there a specific reason you assign first variable $L_Val, and then $P_INPUT?

 

Or can I directly do:   $$myFileName = SELECT FileName FROM sysParams WHERE Client='X';

 

2. Can I substitute another variable inside the SQL statement, something like:

 

$$FileName = SELECT FileName FROM sysParams WHERE Client= $gClientID;

 

 

I think I might create a custom function, since I always will need a set of parameters to populate.

Re: Need help on run OS command

$
0
0

Hi Pavan,

             You can try putting this command

 

cmd.exe /C "ren %F %F.pgp"

 

However I think you cannot use this feature to rename a file in sender file adapter.

The reason being adapter after picking up the file will execute the command which will change the file at OS level.  This will not change the filename of the file already picked up. In case this does not work then  you need to check the receiver file adapter with following questions

 

1. Does it suport Dynamic configuration (ASMA) ?

2. Does it support OS command feature?

 

If you are using SAP SFTP adapter it lacks OS command line feature. Thus only options are to use custom adapter module or add an java mapping code in the scenario. Please check this wonderful blog by Shabarish Vijayakumar.  The other helpful articles are

 

 

http://wiki.sdn.sap.com/wiki/display/Snippets/Dynamic+file+name+in+a+File+to+File+pass+through+scenario

 

http://wiki.sdn.sap.com/wiki/display/XI/Dynamic+file+name+for+pass-through+scenario

  

 

Regards

Anupam

Re: InfoObjects attributes

$
0
0

Hi Abdess,

 

I  think you were very familiar with BW, you did lot of extractions on generic as well as transaction loads also.

 

like how we loads data to cube ,same way we can load to master data info objects(if have attributes).

Creating data source for master data, we need to choose right radio buttons at RSO2(for generic).\

 

Data source----> info object,same as Data source --> cube.

transformations, mapping, info and dtp are common.

 

2. When you click on transformations between info object master data source, you can see them. if objects resebles same, they will mapped automatically, if not, set to map.

 

3.  if source have field, we can add in attribute and map. load them. or we can do enahancement from source as you aware(think so).

 

Thanks

Re: Navigational attribute is not seen in query designer columns. How I can show?

$
0
0

To make use of nav attr, you must assign it in MP. Although your MP has multiple cubes, you just need to assign in MP and activate the MP only. Make sure you have ticked the Nav attr in the respective cubes also. This is a simple task, noting to worried to activate MP and cubes.


Re: How to write script for DATE Range

Re: Value Mapping Replication - PO 7.3 - Receiver - No XI adapter

$
0
0

Hi,

 

You should run this T-code in  ECC System, from where you are replicating the tables. Check if the XI engine is active.

Re: How to connect SQL database with SAP BW - UNIX ABAP Stack using DBconnect/UDconnect?

How to connect MS SQL database with BW (HP Unix OS / ABAP Stack) Using DBConnect/UDConnect?

$
0
0

Dear Team,

 

Requesting you to help us on connecting the MS SQL Database with SAP BW ( HP Unix OS / ABAP Stack) using DB Connect / UD Connect.

 

Please note that we don't have java stack installed in Our system. We have gone through JDBC connection Documents but because of ABAP stack we are not able to use this. Also note that we don't want to install windows application server on this Database.

 

Please help us on this ASAP. Thanks in Advance.

 

Regards,

Ashish Lakdawala

Re: Custom adapter

Viewing all 8746 articles
Browse latest View live




Latest Images