Thanks Aditya. Are you referring to PCR TO20/TO21?
Any which case, I am quite intrigued to know how this merging can happen....
Any help?
Regards
Kumarpal
Thanks Aditya. Are you referring to PCR TO20/TO21?
Any which case, I am quite intrigued to know how this merging can happen....
Any help?
Regards
Kumarpal
DS 4.2 SP5 has a new feature for setting up FTP, SFTP, and so on. Please look at the What's New Guide for information about file location objects (http://help.sap.com/businessobject/product_guides/sbods42/en/ds_42_whats_new_en.pdf ) section 2.2.
I Tried looking standard table which contain Material number, Serial number, Equipment and Material Document but there isn't any.
So I went into SQVI and join two tables, MSEG and OBJK. There I manually draged the MATNR from MSEG Table to OBJK and then selected the fields like Materials Number, Plant, Material Document, Mov Type etc and from other table I selected Material Number plus Serial Number, Equipment (chose your required filters) and then executed and it shows the required records correctly.
Only issue it had was that if you try thousands of records e.g. Materials it went though and brought resukts and some time it dumped. But it fulfilled my needs successfully.
So I will assume there is no BAPI getting this information.
Hi Enrique . . .
Yes. Today the ECC system is running on a traditional RDBMS. But it will soon migrate to HANA. This migration will allow some operational reporting use cases to move off of the current HANA based EDW back into the SoH system.
Similarly, the use of virtual tables (in the OLAP HANA) via SDA connectivity into the physical table on the SOH is viable for some other use cases.
But where there is heavy duty modeling across many tables (some Non-SAP) and the reporting granularity involves large result sets - this will put heavy load on the OLTP system to feed data into OLAP HANA over SDA connections. This is why the customer is contemplating keeping physical replicas in the EDW: because there are certain use cases that just don't belong in the OLTP HANA. And are best serviced by materialized objects in the EDW HANA.
regards,
Keith
Hi!
I'm having an issue with a code I've been working on!
I have a SQL code which runs perfectly in the HANA SQL Console. I need that code to be dynamic so I put it on an XSJS service. (Still haven't worked on the dynamic part because of this error i keep getting).
The SQL Code has a PAL algorithm call, that gives me an error when I execute it on XSJS. The error is this:
dberror(CallableStatement.execute): 2048 - column store error: search table error: [2620] executor: plan operation failed;Can not insert data from temp table "SYSTEM:P3_55497E0FFE9D18A7E10000007F000002 (-1)" into table ""TRIALFIRE_CLIENTDATA"."KM_RESULTS"" at ptime/session/eapi/jdbc/ExternalStatement.cc:927
The code that's giving the error is the following:
(The error is on line 66)
var response = {}; var conn = $.db.getConnection(); var eString = ""; function onesql(sql) { try { var ps = conn.prepareStatement(sql); ps.execute(); ps.close(); }catch(e){ eString += sql + ":\n" + e.toString() + "\n--------\n\n"; } } try { var fieldsParam = $.request.parameters.get('fields'), typesParam = $.request.parameters.get('types'), fields = fieldsParam.split("|"), types = typesParam.split("|"); onesql( 'SET SCHEMA TRIALFIRE_CLIENTDATA'); onesql( 'DROP TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_DATA'); onesql( 'DROP TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_PARAMS'); onesql( 'DROP TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_RESULTS'); onesql( 'DROP TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_CENTERS'); onesql( 'DROP TABLE TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE'); var pc = conn.prepareCall("CALL SYSTEM.AFL_WRAPPER_ERASER ('PAL_KM')"); pc.execute(); onesql( 'DROP VIEW TRIALFIRE_CLIENTDATA.V_KM_DATA'); onesql( 'DROP TABLE TRIALFIRE_CLIENTDATA.KM_RESULTS'); onesql( 'DROP TABLE TRIALFIRE_CLIENTDATA.KM_CENTERS'); onesql( 'CREATE TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_DATA AS TABLE ' + ' ( STORE_SK INTEGER, COST DOUBLE, SALES DOUBLE, TRAFFIC_BAND DOUBLE, ' + ' CUSTOMER_COUNT DOUBLE, GENDER_F DOUBLE, GENDER_M DOUBLE, AGE DOUBLE)'); onesql( 'CREATE TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_PARAMS AS TABLE (NAME VARCHAR(60), INTARGS INTEGER, DOUBLEARGS DOUBLE, STRINGARGS VARCHAR(100))'); onesql( 'CREATE TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_RESULTS AS TABLE (ID INTEGER, CENTER_ID INTEGER, DISTANCE DOUBLE)'); onesql( 'CREATE TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_CENTERS AS TABLE' + ' ( CENTER_ID INTEGER, COST DOUBLE, SALES DOUBLE, TRAFFIC_BAND DOUBLE,' + ' CUSTOMER_COUNT DOUBLE, GENDER_F DOUBLE, GENDER_M DOUBLE, AGE DOUBLE)'); onesql('CREATE COLUMN TABLE TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE (ID INTEGER, TYPENAME VARCHAR(100), DIRECTION VARCHAR(100))'); onesql("INSERT INTO TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE VALUES (1, 'TRIALFIRE_CLIENTDATA.PAL_T_KM_DATA', 'in')"); onesql("INSERT INTO TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE VALUES (2, 'TRIALFIRE_CLIENTDATA.PAL_T_KM_PARAMS', 'in')"); onesql("INSERT INTO TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE VALUES (3, 'TRIALFIRE_CLIENTDATA.PAL_T_KM_RESULTS', 'out')"); onesql("INSERT INTO TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE VALUES (4, 'TRIALFIRE_CLIENTDATA.PAL_T_KM_CENTERS', 'out')"); conn.commit(); var pc = conn.prepareCall("CALL SYSTEM.AFL_WRAPPER_GENERATOR ('PAL_KM', 'AFLPAL', 'KMEANS', TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE)"); pc.execute(); onesql('CREATE VIEW TRIALFIRE_CLIENTDATA.V_KM_DATA AS' + ' SELECT STORE_SK, SUM(COST) AS COST, SUM(SALES) AS SALES, MAX(TRAFFIC_BAND) AS TRAFFIC_BAND,' + ' MAX(CUSTOMER_COUNT) AS CUSTOMER_COUNT, MAX(GENDER_F) AS GENDER_F, MAX(GENDER_M) AS GENDER_M, MAX(AGE) AS AGE' + ' FROM "TRIALFIRE_CLIENTDATA"."STORE_SALES_TRAITS"' + ' GROUP BY STORE_SK'); onesql('CREATE COLUMN TABLE TRIALFIRE_CLIENTDATA.KM_RESULTS LIKE TRIALFIRE_CLIENTDATA.PAL_T_KM_RESULTS'); onesql('CREATE COLUMN TABLE TRIALFIRE_CLIENTDATA.KM_CENTERS LIKE TRIALFIRE_CLIENTDATA.PAL_T_KM_CENTERS'); onesql('DROP TABLE KM_PARAMS'); onesql('CREATE TABLE KM_PARAMS LIKE TRIALFIRE_CLIENTDATA.PAL_T_KM_PARAMS'); onesql("INSERT INTO KM_PARAMS VALUES ('THREAD_NUMBER', 2, null, null)"); onesql("INSERT INTO KM_PARAMS VALUES ('GROUP_NUMBER', 150, null, null)"); onesql("INSERT INTO KM_PARAMS VALUES ('INIT_TYPE', 1, null, null)"); onesql("INSERT INTO KM_PARAMS VALUES ('DISTANCE_LEVEL', 2, null, null)"); onesql("INSERT INTO KM_PARAMS VALUES ('MAX_ITERATION', 100, null, null)"); onesql("INSERT INTO KM_PARAMS VALUES ('NORMALIZATION', 0, null, null)"); onesql("INSERT INTO KM_PARAMS VALUES ('EXIT_THRESHOLD', null, 0.00001, null)"); conn.commit(); var pc = conn.prepareCall("CALL _SYS_AFL.PAL_KM (TRIALFIRE_CLIENTDATA.V_KM_DATA, KM_PARAMS, TRIALFIRE_CLIENTDATA.KM_RESULTS, TRIALFIRE_CLIENTDATA.KM_CENTERS) WITH OVERVIEW"); pc.execute(); response.values = fields; response.types = types; conn.commit(); conn.close(); $.response.contentType = "application/json"; $.response.headers.set("Access-Control-Allow-Origin", "*"); $.response.setBody(JSON.stringify(response)); response.status = $.net.http.OK; } catch (e) { eString = "\nException.toString(): " + e.toString() + "\n"; var prop = ""; for (prop in e) { if (e.hasOwnProperty(prop)) { eString += prop + ": " + e[prop] + "\n"; } } response.status = $.net.http.INTERNAL_SERVER_ERROR; response.contentType = "plain/text"; $.response.setBody(eString); }
And this is the SQL code that is working perfectly on the console, which is basically the same as the above code:
set schema TRIALFIRE_CLIENTDATA; DROP TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_DATA; DROP TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_PARAMS; DROP TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_RESULTS; DROP TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_CENTERS; DROP TABLE TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE; CALL SYSTEM.AFL_WRAPPER_ERASER ('PAL_KM'); DROP VIEW TRIALFIRE_CLIENTDATA.V_KM_DATA; DROP TABLE TRIALFIRE_CLIENTDATA.KM_RESULTS; DROP TABLE TRIALFIRE_CLIENTDATA.KM_CENTERS; --DROP VIEW V_KM_RESULTS; -- PAL setup CREATE TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_DATA AS TABLE ( STORE_SK INTEGER, COST DOUBLE, SALES DOUBLE, TRAFFIC_BAND DOUBLE, CUSTOMER_COUNT DOUBLE, GENDER_F DOUBLE, GENDER_M DOUBLE, AGE DOUBLE ); CREATE TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_PARAMS AS TABLE (NAME VARCHAR(60), INTARGS INTEGER, DOUBLEARGS DOUBLE, STRINGARGS VARCHAR(100)); CREATE TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_RESULTS AS TABLE (ID INTEGER, CENTER_ID INTEGER, DISTANCE DOUBLE); CREATE TYPE TRIALFIRE_CLIENTDATA.PAL_T_KM_CENTERS AS TABLE ( CENTER_ID INTEGER, COST DOUBLE, SALES DOUBLE, TRAFFIC_BAND DOUBLE, CUSTOMER_COUNT DOUBLE, GENDER_F DOUBLE, GENDER_M DOUBLE, AGE DOUBLE ); CREATE COLUMN TABLE TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE (ID INTEGER, TYPENAME VARCHAR(100), DIRECTION VARCHAR(100)); INSERT INTO TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE VALUES (1, 'TRIALFIRE_CLIENTDATA.PAL_T_KM_DATA', 'in'); INSERT INTO TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE VALUES (2, 'TRIALFIRE_CLIENTDATA.PAL_T_KM_PARAMS', 'in'); INSERT INTO TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE VALUES (3, 'TRIALFIRE_CLIENTDATA.PAL_T_KM_RESULTS', 'out'); INSERT INTO TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE VALUES (4, 'TRIALFIRE_CLIENTDATA.PAL_T_KM_CENTERS', 'out'); --GRANT SELECT ON TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE TO SYSTEM; CALL SYSTEM.AFL_WRAPPER_GENERATOR ('PAL_KM', 'AFLPAL', 'KMEANS', TRIALFIRE_CLIENTDATA.PAL_KM_SIGNATURE); -- app setup CREATE VIEW TRIALFIRE_CLIENTDATA.V_KM_DATA AS SELECT STORE_SK, SUM(COST) AS COST, SUM(SALES) AS SALES, MAX(TRAFFIC_BAND) AS TRAFFIC_BAND, MAX(CUSTOMER_COUNT) AS CUSTOMER_COUNT, MAX(GENDER_F) AS GENDER_F, MAX(GENDER_M) AS GENDER_M, MAX(AGE) AS AGE FROM "TRIALFIRE_CLIENTDATA"."STORE_SALES_TRAITS" GROUP BY STORE_SK; CREATE COLUMN TABLE TRIALFIRE_CLIENTDATA.KM_RESULTS LIKE TRIALFIRE_CLIENTDATA.PAL_T_KM_RESULTS; CREATE COLUMN TABLE TRIALFIRE_CLIENTDATA.KM_CENTERS LIKE TRIALFIRE_CLIENTDATA.PAL_T_KM_CENTERS; -- app runtime DROP TABLE KM_PARAMS; CREATE COLUMN TABLE KM_PARAMS LIKE TRIALFIRE_CLIENTDATA.PAL_T_KM_PARAMS; INSERT INTO KM_PARAMS VALUES ('THREAD_NUMBER', 2, null, null); INSERT INTO KM_PARAMS VALUES ('GROUP_NUMBER', 150, null, null); INSERT INTO KM_PARAMS VALUES ('INIT_TYPE', 1, null, null); INSERT INTO KM_PARAMS VALUES ('DISTANCE_LEVEL', 2, null, null); INSERT INTO KM_PARAMS VALUES ('MAX_ITERATION', 100, null, null); INSERT INTO KM_PARAMS VALUES ('NORMALIZATION', 0, null, null); INSERT INTO KM_PARAMS VALUES ('EXIT_THRESHOLD', null, 0.00001, null); TRUNCATE TABLE TRIALFIRE_CLIENTDATA.KM_RESULTS; TRUNCATE TABLE TRIALFIRE_CLIENTDATA.KM_CENTERS; --GRANT CREATE ANY ON SCHEMA TRIALFIRE_CLIENTDATA TO _SYS_AFL; CALL _SYS_AFL.PAL_KM (TRIALFIRE_CLIENTDATA.V_KM_DATA, KM_PARAMS, TRIALFIRE_CLIENTDATA.KM_RESULTS, TRIALFIRE_CLIENTDATA.KM_CENTERS) WITH OVERVIEW; SELECT * FROM TRIALFIRE_CLIENTDATA.KM_RESULTS ORDER BY CENTER_ID; SELECT * FROM TRIALFIRE_CLIENTDATA.KM_CENTERS;
Hi Dave,
The MID can be different for each material according to my business. so it needs to be a field at item level.
Thanks,
Satish
Dentro del objeto documents debes setear la propiedad DocumentSubType para cargar otro tipo de factura.
Dim oDoc As SAPbobsCOM.Documents
set oDoc = oCompany.GetBusinessObject(oPurchaseInvoice)
oDoc.DocumentSubType = bod_InvoiceExempt
Saludos
One possible explanation to this could be that the workitem text is saved in the language it was run in the swwwihead (the text itself - without the variables) when reading it in the translated language however the text is calculated, so the &level& value is determined from the final &level& value ('03') for all steps.
That is exactly what is happening.
See if switching off the option "Display work items in logon language" makes a difference.
And the other option is to create a custom decision task, add the level as a container element, bind it in and use the 'Task local' element for your text.
Exito
Saludos
Thank you very much, in doing some extra research I found that I had not include the code:
CrystalReportViewer1.RefreshReport()
When I added this line, it now works!!
Thank you so much,
Sonya
We had the same issue as we were loading the stock of material in LSMW for Mov Type 561. So I simply went in Material master > General Plant data View 2 and there I change the Serial profile to another profile from drop down, For instance my material for serial number was having profile ZYYY for FERT finished goods and I changed it to Raw material ROH serial profile ZXXX and that resolved my issue.(But you might want to ask some one in relevant area for appropriate serial profile as an alternative.)
Then I did a MASS change for all these FERT's into ZXXX serial profile which doesn't gives this error anymore.
Idea is to assign the serialized profile which does not require the serial number while doing stock movement transaction, once purpose is served then it can be revert back to original serial profile.
Hope it helps as it has helped me.
Hello,
I am currently searching for Batch number transaction tables that "System Information" does not show me. Ultimately I need to recreate the Batch Number Transactions Report in SAP because we have found that if you go back to a certain posting date as a parameter (lets say two weeks ago) the transactions in the quantity on the bottom half show correct but the quantities on the upper half by lot number still reflect what are in the warehouses today and not limited by the post date.
I have been searching for the batch number transaction tables and thought it could be OBTN or OIBT but its not the information I am looking for. OIBT refers to the upper portion which is what is in our warehouse currently. I also did get "System Information' to show RITL but I can't find this as a Table or a View.
I wonder how a strategy could determine a different destination bin than the one where the material already is. This makes only sense if you changed your strategy and all your current stock is considered as being stored in the wrong place.
Hi Ben,
Sorry been busy on cases. They are paid for so get priority....
So if you can't export a simple report to PDF this has got to be something in your environment.
Do you have Adobe Reader installed? Although that should not make any difference.
Export to Word, Word has an Adobe plug-in that allows you to export to PDF also. See if that works.
Not the same code base but might help debug the issue...
Try doing a repair install of CR and check the export options, make sure Adobe is checked on.
Be sure to install under local PC admin account so the installer has full rights to register COM dll's and update the registry...
Check your AV and firewall logs, could be they are blocking or have blocked something to cause this problem.
Don
Hi Terence, we used "Start in Cycle" to restart the plan in IP10.
It looks like you need to go in sequence i.e. sp4, sp5, sp6, sp7. That is fine I do have sp7 installing successfully now. Now to see if I can get a dymo 30321 label to print. I am confident it will.
BTW: this link works for all downloads:
https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/patch_download/main_public.htm
Thank you!!
Hi Hector,
This solution is just available in following countries: Austria, Germany, Switzerland.
If you activate the CustomerCheckout scenario in the B1if and after that you define the b1if connection as the service endpoint in the POS the synchronization between 2 POS and B1 will working.
B1 configuration is needed also. Company System ID and so on.
Kind regards,
Nghia
Hi Cristobal,
my screen is always 100% but the issue still exists.
Thank you.
regards,
Jenilyn