Accessing material data through mseg
Hi guys,
I have been working on a subcontracting Purchase Order. I have a problem that I want to access material information at the item level in the material tab under component button where that material exist. My data Exist at Mseg Table. But the problem is this that there is no Ebeln value exist in the Mseg table. Can someone tell me how to retrieve this material data from it.
Regards,
Zahid Hameed.
hi,
That's the problem brother. My ebeln is not exist in the whole table. I have tried all the above mentioned options but no success yet. It seems to be one material and then it consist of its components. e,g in my senario is this
under components overview.
header data under component view
material: 5000000271 "BATTERY 3.6V 2,1 AH
plant: 2000. Release Date: 15.06.2010
qunatity: 5.000: Delivery Date: 15.06.2010
Component Overview
material Mat. Deacription Qty
5000000034 (PVC) EMPELLER 6* FOR WATER PUMP 1
5000000041 ABRO TAPE 1* 2
5000000050 ACEESSORIES FOR ERECTION 3
__________________ ________________________________________ .__.___.___,___V
Regards,
Zahid Hameed.
Edited by: ZAHID HAMEED on Jun 30, 2010 6:06 PM
Similar Messages
-
How do I access session data through an EJB?
Hi
How do I access session data through an EJB?
I am currantly developing a Web service (using ejb's, JBoss.net and Apache Axis). A client making a call to this Web service, is expecting a bussiness-object in return. My problem is that this bussiness-object i stored in a users session data. How do I retrieve this bussiness-object from the users session.
I have read that this does not work with httpsessions, is this true? If this is true, is it possible to store the bussiness object in a JavaBean e.g:
<jsp:useBean id="userContextWebImpl" scope="session" class="com.ac.march.client.UserContextWebImpl">
<%
String key = "test";
String value = "This is the value";
userContextWebImpl.setValue( key, value1 );
%>
</jsp:useBean>
and then retrieve this information through the EJB? Or is it possible to do this by using Statfull JavaBeans? Or can this be done through a nother solution?
Please help!I have created a JavaBean with scope="application" to store some data. The data is stored when a user prefomes a spesific task.
A different person then makes a call to a Web-Service on the server. The Web-Service then asks an EJB to retrieve the data stored in the JavaBean (servlet cotext). In other words: How do I retrieve this data from the EJB?
I have tried with this code, but with no luck.
(ApplicationContextWebImpl is the JavaBean)
public static String getBookingResult( String key )
String myResult = null;
String myKey = key;
ApplicationContextWebImpl applicationContextWebImpl = null;
try
applicationContextWebImpl = new ApplicationContextWebImpl();
myResult = (String)applicationContextWebImpl.getValue( key );
catch ( java.rmi.RemoteException e )
return myResult;
} -
Accessing DB2 data through DBLINK in Java program recieves ORA-02063 error
Hello,
Is it posible to access a mainframe DB2 table through a Java JDBC connection utilizing a DBLink / Synonym. Using Toad or SQLDeveloper, I can select the DB2 data just fine. Also, PL/SQL programs can access the data without issues. When I try to select data from the DB2 Table in a Java program, I get ORA-01002: fetch out of sequence -- ORA-02063 preceding line from DB2D errors.
The code I am using to test is:
(Note: TBL_LOC_ADR is the Synonym that points to the Mainfram DB2 table)
public static void main(String[] args) {
Connection con = null;
Statement stmt = null;
String query = "SELECT * FROM tbl_loc_adr";
ResultSet rs;
try {
System.out.println("Getting connection");
con = BatchDBConnection.getDBConnection();
TestConnection tc = new TestConnection();
System.out.println("Creating ps");
stmt = con.createStatement();
System.out.println("Calling qds");
rs = stmt.executeQuery(query);
System.out.println(" Returned data " );
} catch (Exception e) {
System.out.println("Error " + e.getMessage());
e.printStackTrace();
The error occurs on the rs = stmt.executeQuery(query); line.
Thanks for any input into this error. It's been driving me nuts all day.
ChrisChris,
What's your oracle version? You might be hitting a bug as identified in this metalkink doc id, see if this helps out. Resolution posted in the metalink by applying patches or confirm that you have applied all the required patches.
Doc ID: 456815.1 ORA-01002 ORA-2063 When Profiling DB2/400 Table Accessed by View via Transparent Gateway for DRDA
Regards -
How to access archived data through queries
Hi,
I would like to know if there is any way to access the archived data through SAP query. I don`t have any infostructure for this archived data.You mean mails once present and readable on the iPad, but no longer there (in the, by default, 50-long mail list)?
-
Error during BAPI while uploading Material data through MM01
Hi all,
i am facing one problem when uploading Material data thorough BAPI in MM01.i am attaching the code below and the error given.
but in the debugger all the value is being stored.
REPORT ZFINISHED_MAT.
Data: Begin of legacy_data occurs 0,
MATNR LIKE MARA-MATNR,
MBRSH LIKE MARA-MBRSH, "Industry Sector
MTART LIKE MARA-MTART, "Matl Type
WERKS LIKE MARD-WERKS, "Plant
LGORT LIKE MARD-LGORT, "Storage location
VKORG LIKE MVKE-VKORG,
VTWEG LIKE MVKE-VTWEG,
MAKTX LIKE MAKT-MAKTX, "Matl Desc.
MEINS LIKE MARA-MEINS, "Base UOM
MATKL LIKE MARA-MATKL, "Matl.Grp
* BISMT LIKE MARA-BISMT,
SPART LIKE MARA-SPART, "Division
* BRGEW LIKE MARA-BRGEW, "Gross weight
GROES LIKE MARA-GROES,
FERTH LIKE MARA-FERTH,
ZEINR LIKE MARA-ZEINR,
TAXKM1 LIKE MLAN-TAXM1,
TAXKM2 LIKE MLAN-TAXM2,
TAXKM3 LIKE MLAN-TAXM3,
TAXKM4 LIKE MLAN-TAXM4,
KTGRM LIKE MVKE-KTGRM,
* GEWEI LIKE MARA-GEWEI, "Weight unit
* NTGEW LIKE MARA-NTGEW, "Net weight
* KLART LIKE RMCLF-KLART,
MTVFP LIKE MARC-MTVFP, "Availibility Check
* XGCHP LIKE MARA-XGCHP,
XCHPF LIKE MARA-XCHPF, "Batch Management
TRAGR LIKE MARA-TRAGR,
LADGR TYPE MARC-LADGR,
VPRSV LIKE MBEW-VPRSV, "Price Control
VERPR LIKE MBEW-VERPR,
* SPRAS LIKE MAKT-SPRAS,
END OF LEGACY_DATA.
DATA: BEGIN OF IT_MAKT OCCURS 0.
INCLUDE STRUCTURE BAPI_MAKT.
DATA: END OF IT_MAKT.
*--- BAPI structures
DATA: BAPI_HEAD LIKE BAPIMATHEAD, " Header Segment with Control Information
BAPI_MAKT LIKE BAPI_MAKT, " Material Description
BAPI_MARA1 LIKE BAPI_MARA, " Client Data
BAPI_MARAX LIKE BAPI_MARAX, " Checkbox Structure for BAPI_MARA
BAPI_MARD1 LIKE BAPI_MARD,
BAPI_MARDX1 LIKE BAPI_MARDX, " Checkbox Structure for BAPI_MARD
BAPI_MARC1 LIKE BAPI_MARC, " Plant View
BAPI_MARCX LIKE BAPI_MARCX, " Checkbox Structure for BAPI_MARC
BAPI_MVKE1 LIKE BAPI_MVKE,
BAPI_MVKEX1 LIKE BAPI_MVKEX, " Checkbox Structure for BAPI_MVKE
BAPI_MLAN1 LIKE BAPI_MLAN,
BAPI_MLANX1 LIKE bapi_mlan1, " Checkbox Structure for BAPI_MLAN
BAPI_MBEW1 LIKE BAPI_MBEW, " Accounting View
BAPI_MBEWX LIKE BAPI_MBEWX, " Checkbox Structure for BAPI_MBEW
BAPI_RETURN LIKE BAPIRET2. " Return Parameter
* $PARAMETERS DECLARATION$
SELECTION-SCREEN BEGIN OF BLOCK B11
WITH FRAME TITLE TEXT-001.
PARAMETERS: P_FILE LIKE RLGRAP-FILENAME. " DEFAULT 'C:\TEST1.XLS'.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN ULINE.
SELECTION-SCREEN END OF BLOCK B11 .
* $DATA DECLARATION$
*DATA : BDC_DATA LIKE STANDARD TABLE OF BDCDATA WITH HEADER LINE.
DATA : IT_EXCEL TYPE STANDARD TABLE OF ALSMEX_TABLINE INITIAL SIZE 0 WITH HEADER LINE,
IT_EXCEL_DUMMY TYPE ALSMEX_TABLINE.
DATA : MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
DATA : L_MSTRING(480).
DATA :L_SUBRC LIKE SY-SUBRC.
DATA: V_FILE TYPE STRING.
* $AT-SELECTON SCREEN DECLARATION$
AT SELECTION-SCREEN ON P_FILE.
IF P_FILE IS INITIAL.
MESSAGE E398(00) WITH 'FILE NAME NEEDS TO BE SPECIFIED'.
ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
* DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE
start-of-selection.
perform data_fetch_to_xls.
perform insertion.
*& Form data_fetch_to_xls
* text
* --> p1 text
* <-- p2 text
FORM data_fetch_to_xls .
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = P_FILE
I_BEGIN_COL = 1
I_BEGIN_ROW = 2
I_END_COL = 25
I_END_ROW = 2
TABLES
INTERN = IT_EXCEL
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
WRITE: /'ERROR UPLOADING XLS FILE FROM PRESENTATION SERVER !' ,
/'RETURN CODE : ', SY-SUBRC.
ELSE.
*************NOW FILL DATA FROM EXCEL INTO FINAL LEGACY DATA ITAB----LEGACY_DATA***************
IF NOT IT_EXCEL[] IS INITIAL.
CLEAR LEGACY_DATA.
REFRESH LEGACY_DATA[].
LOOP AT IT_EXCEL.
IT_EXCEL_DUMMY = IT_EXCEL.
AT NEW COL.
CASE IT_EXCEL_DUMMY-COL.
WHEN 1.
LEGACY_DATA-MATNR = IT_EXCEL_DUMMY-VALUE(18).
WHEN 2.
LEGACY_DATA-MBRSH = IT_EXCEL_DUMMY-VALUE(1).
WHEN 3.
LEGACY_DATA-MTART = IT_EXCEL_DUMMY-VALUE(4).
WHEN 4.
LEGACY_DATA-WERKS = IT_EXCEL_DUMMY-VALUE(4).
WHEN 5.
LEGACY_DATA-LGORT = IT_EXCEL_DUMMY-VALUE(4).
WHEN 6.
LEGACY_DATA-VKORG = IT_EXCEL_DUMMY-VALUE(4).
WHEN 7.
LEGACY_DATA-VTWEG = IT_EXCEL_DUMMY-VALUE(2).
WHEN 8.
LEGACY_DATA-MAKTX = IT_EXCEL_DUMMY-VALUE(40).
WHEN 9.
LEGACY_DATA-MEINS = IT_EXCEL_DUMMY-VALUE(3).
WHEN 10.
LEGACY_DATA-MATKL = IT_EXCEL_DUMMY-VALUE(9).
WHEN 11.
LEGACY_DATA-SPART = IT_EXCEL_DUMMY-VALUE(2).
WHEN 12.
LEGACY_DATA-GROES = IT_EXCEL_DUMMY-VALUE(32).
WHEN 13.
LEGACY_DATA-FERTH = IT_EXCEL_DUMMY-VALUE(18).
WHEN 14.
LEGACY_DATA-ZEINR = IT_EXCEL_DUMMY-VALUE(22).
WHEN 15.
LEGACY_DATA-TAXKM1 = IT_EXCEL_DUMMY-VALUE(1).
WHEN 16.
LEGACY_DATA-TAXKM2 = IT_EXCEL_DUMMY-VALUE(1).
WHEN 17.
LEGACY_DATA-TAXKM3 = IT_EXCEL_DUMMY-VALUE(1).
WHEN 18.
LEGACY_DATA-TAXKM4 = IT_EXCEL_DUMMY-VALUE(1).
WHEN 19.
LEGACY_DATA-KTGRM = IT_EXCEL_DUMMY-VALUE(2).
WHEN 20.
LEGACY_DATA-MTVFP = IT_EXCEL_DUMMY-VALUE(2).
WHEN 21.
LEGACY_DATA-XCHPF = IT_EXCEL_DUMMY-VALUE(1).
WHEN 22.
LEGACY_DATA-TRAGR = IT_EXCEL_DUMMY-VALUE(4).
WHEN 23.
LEGACY_DATA-LADGR = IT_EXCEL_DUMMY-VALUE(4).
WHEN 24.
LEGACY_DATA-VPRSV = IT_EXCEL_DUMMY-VALUE(1).
WHEN 25.
LEGACY_DATA-VERPR = IT_EXCEL_DUMMY-VALUE(14).
APPEND LEGACY_DATA.
CLEAR LEGACY_DATA.
ENDCASE.
ENDAT.
AT END OF ROW.
ENDAT.
ENDLOOP.
ENDIF.
ENDIF.
ENDFORM. " data_fetch_to_xls
*& Form insertion
* text
* --> p1 text
* <-- p2 text
FORM insertion .
LOOP AT legacy_data.
* Header
BAPI_HEAD-MATERIAL = legacy_data-MATNR.
BAPI_HEAD-IND_SECTOR = legacy_data-MBRSH.
BAPI_HEAD-MATL_TYPE = legacy_data-MTART.
BAPI_HEAD-BASIC_VIEW = 'X'.
BAPI_HEAD-SALES_VIEW = 'X'.
BAPI_HEAD-STORAGE_VIEW = 'X'.
*BAPI_HEAD-PURCHASE_VIEW = 'X'.
BAPI_HEAD-ACCOUNT_VIEW = 'X'.
* Material Description
REFRESH IT_MAKT.
*IT_MAKT-LANGU = legacy_data-SPRAS.
IT_MAKT-MATL_DESC = legacy_data-MAKTX.
APPEND IT_MAKT.
BAPI_MARD1-PLANT = legacy_data-WERKS.
BAPI_MARD1-STGE_LOC = legacy_data-LGORT.
BAPI_MARDX1-PLANT = legacy_data-WERKS.
BAPI_MARDX1-STGE_LOC = legacy_data-LGORT.
** Client Data - Basic
BAPI_MARA1-MATL_GROUP = legacy_data-MATKL.
*bapi_mara1-OLD_MAT_NO = legacy_data-bismt.
BAPI_MARA1-BASE_UOM = legacy_data-MEINS.
BAPI_MARA1-PROD_MEMO = LEGACY_DATA-FERTH.
BAPI_MARA1-SIZE_DIM = LEGACY_DATA-GROES.
BAPI_MARA1-DOCUMENT = LEGACY_DATA-ZEINR.
BAPI_MARA1-BATCH_MGMT = LEGACY_DATA-XCHPF.
*BAPI_MARA1-UNIT_OF_WT = legacy_data-GEWEI.
BAPI_MARA1-TRANS_GRP = legacy_data-TRAGR.
BAPI_MARA1-DIVISION = legacy_data-SPART.
BAPI_MARAX-MATL_GROUP = 'X'.
*BAPI_MARAX-OLD_MAT_NO = 'X'.
BAPI_MARAX-BASE_UOM = 'X'.
BAPI_MARAX-PROD_MEMO = 'X'.
BAPI_MARAX-SIZE_DIM = 'X'.
BAPI_MARAX-DOCUMENT = 'X'.
BAPI_MARAX-BATCH_MGMT = 'X'.
*BAPI_MARAX-UNIT_OF_WT = 'X'.
BAPI_MARAX-TRANS_GRP = 'X'.
BAPI_MARAX-DIVISION = 'X'.
*SALES
BAPI_MVKE1-SALES_ORG = legacy_data-VKORG.
BAPI_MVKE1-DISTR_CHAN = legacy_data-VTWEG.
*BAPI_MVKE1-DELYG_PLNT = legacy_data-DWERK.
BAPI_MVKE1-ACCT_ASSGT = legacy_data-KTGRM.
BAPI_MVKEX1-SALES_ORG = legacy_data-VKORG.
BAPI_MVKEX1-DISTR_CHAN = legacy_data-VTWEG.
*BAPI_MVKEX1-DELYG_PLNT = 'X'.
BAPI_MVKEX1-ACCT_ASSGT = 'X'.
** Plant - Purchasing
BAPI_MARC1-PLANT = legacy_data-WERKS.
BAPI_MARC1-LOADINGGRP = legacy_data-LADGR.
BAPI_MARC1-AVAILCHECK = legacy_data-MTVFP.
*BAPI_MARC1-MRP_GROUP = legacy_data-disgr.
BAPI_MARCX-PLANT = legacy_data-WERKS.
BAPI_MARCX-LOADINGGRP = 'X'.
BAPI_MARCX-AVAILCHECK = 'X'.
*BAPI_MARCX-MRP_GROUP = 'X'.
* Accounting
BAPI_MBEW1-VAL_AREA = legacy_data-WERKS.
BAPI_MBEW1-PRICE_CTRL = legacy_data-VPRSV.
BAPI_MBEW1-STD_PRICE = legacy_data-VERPR.
*BAPI_MBEW1-VAL_CLASS = legacy_data-BKLAS.
*BAPI_MBEW1-STD_PRICE = legacy_data-STPRS.
*BAPI_MBEW1-PRICE_UNIT = legacy_data-PEINH.
BAPI_MBEWX-VAL_AREA = legacy_data-WERKS.
BAPI_MBEWX-PRICE_CTRL = 'X'.
BAPI_MBEWX-STD_PRICE = 'X'.
*BAPI_MBEWX-VAL_CLASS = 'X'.
* TAX JURISDICTION CODE
BAPI_MLAN1-TAXCLASS_1 = LEGACY_DATA-TAXKM1.
BAPI_MLAN1-TAXCLASS_2 = LEGACY_DATA-TAXKM2.
BAPI_MLAN1-TAXCLASS_3 = LEGACY_DATA-TAXKM3.
BAPI_MLAN1-TAXCLASS_4 = LEGACY_DATA-TAXKM4.
BAPI_MLAN1-TAXCLASS_1 = 'X'.
BAPI_MLAN1-TAXCLASS_2 = 'X'.
BAPI_MLAN1-TAXCLASS_3 = 'X'.
BAPI_MLAN1-TAXCLASS_4 = 'X'.
*--- BAPI to create material
call function 'BAPI_MATERIAL_SAVEDATA'
exporting
HEADDATA = BAPI_HEAD
CLIENTDATA = BAPI_MARA1
CLIENTDATAX = BAPI_MARAX
*PLANTDATA = BAPI_MARC1
*PLANTDATAX = BAPI_MARCX
* FORECASTPARAMETERS =
* FORECASTPARAMETERSX =
* PLANNINGDATA =
* PLANNINGDATAX =
* STORAGELOCATIONDATA =
* STORAGELOCATIONDATAX =
VALUATIONDATA = BAPI_MBEW1
VALUATIONDATAX = BAPI_MBEWX
* WAREHOUSENUMBERDATA =
* WAREHOUSENUMBERDATAX =
* SALESDATA = BAPI_MVKE1
* SALESDATAX = BAPI_MVKEX
* STORAGETYPEDATA =
* STORAGETYPEDATAX =
IMPORTING
RETURN = BAPI_RETURN
TABLES
MATERIALDESCRIPTION = IT_MAKT
* UNITSOFMEASURE =
* UNITSOFMEASUREX =
* INTERNATIONALARTNOS =
* MATERIALLONGTEXT =
* TAXCLASSIFICATIONS =
* RETURNMESSAGES =
* PRTDATA =
* PRTDATAX =
* EXTENSIONIN =
* EXTENSIONINX =
IF BAPI_RETURN-TYPE = 'E'.
WRITE:/ 'Error:' ,BAPI_RETURN-MESSAGE ,'for material:' ,legacy_data-maTNR.
ELSEIF BAPI_RETURN-TYPE = 'S'.
WRITE: 'Successfully created material' ,legacy_data-maTNR.
ENDIF.
ENDLOOP.
ENDFORM. " insertion
The error: The field MARC-MTVFP/BAPI_MARC-AVAILCHECK is defined as a required field; it does not contain an entr
suggestion will be vry helpful,
Kind Regards,
Edited by: Prasenjit Sengupta on Nov 16, 2009 9:11 AMHi Prasenjit,
Did you get any solution for this as I am getting same error from BAPI to update MRP controller in MARC table.
Regards,
Suruchi -
Accessing Iteration Dates through REST API
How should I go about getting the start and end dates for an iteration through the API?
If I attempt to access the iteration directly (using the URL retrieved by /_apis/wit/classificationnodes/iterations/{parent}&$depth=2) I receive a 'Node ID is not recognized' error:
"$id": "1",
"innerException": null,
"message": "TF51541: The Node ID is not recognized.",
"typeName": "Microsoft.TeamFoundation.WorkItemTracking.Server.Metadata.WorkItemTrackingTreeNodeNotFoundException, Microsoft.TeamFoundation.WorkItemTracking.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
"typeKey": "WorkItemTrackingTreeNodeNotFoundException",
"errorCode": 0,
"eventId": 3200
Is there another mechanism for getting this data?Hi Steve,
Thanks for your post.
We can get the Iteration using general TFS API, it also works with VSO, please refer to the replies in this post:https://social.msdn.microsoft.com/Forums/en-US/6e6a8c5a-bb2a-4b51-9a43-df3c06448f1b/get-sprint-details-from-tfs?forum=tfsgeneral
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Accessing Webrfc Data through SAPui5.
Hi Experts.
I am facing a problem in Accessing the Webrfc (Json) data from SAP, I have created a WebRFC which return the Data into Json format when calling from Browser.
Json is :
{ "itab" : [{"name" :"Faraz","age" :"26"},{"name" :"Sateesh","age" :"26"},{"name" :"Sahil","age" :"20"}] }
The problem is i am not able to bind it into SAPUi5 Table. The table is empty.
The code is as follows.
// define the Table columns
var arr = $.ajax({
type: 'GET',
url: 'http://socwes1er198.solutions.glbsnet.com:8000/sap/bc/webrfc?sap-client=950&_FUNCTION=ZTEST_WEBRFC&_NAME=_NAME',
contentType : "application/json",
success: function(data) {
var oModel_Projects = new sap.ui.model.json.JSONModel();
oModel_Projects.setData({modelData: data});
alert("Success");
var oTable = new sap.ui.table.Table({
title : "Simple Table",
visibleRowCount : 8,
selectionMode : sap.ui.table.SelectionMode.Single,
navigationMode : sap.ui.table.NavigationMode.Paginator,
oTable.addColumn(new sap.ui.table.Column({
label : new sap.ui.commons.Label({
text : "Name"
template : new sap.ui.commons.TextView().bindProperty("text", "name"),
width : "50px"
oTable.addColumn(new sap.ui.table.Column({
label : new sap.ui.commons.Label({
text : "AGE"
template : new sap.ui.commons.TextView().bindProperty(
"text", "age"),
width : "50px"
//Create a model and bind the table rows to this model
var oModel1 = new sap.ui.model.json.JSONModel();
//Get the forecastday array table from txt_forecast object
var aData = oModel_Projects.getProperty("/itab");
oModel1.setData({modelData : aData});
oTable.setModel(oModel1);
oTable.bindRows("/");
oTable.placeAt('content');Chris,
What's your oracle version? You might be hitting a bug as identified in this metalkink doc id, see if this helps out. Resolution posted in the metalink by applying patches or confirm that you have applied all the required patches.
Doc ID: 456815.1 ORA-01002 ORA-2063 When Profiling DB2/400 Table Accessed by View via Transparent Gateway for DRDA
Regards -
Accessing OIM data through API
Hie,
can u say me the code for " getting the resource accounts he have for the Particular user when his login is given as input" through OIM11gR2 api.you may get the user's key based on the user's login and then use the following OIM API to fetch a list of all the objects that have been provisioned for a user:
Thor.API.tcResultSet getObjects(long plUserKey)
Complete details:
http://docs.oracle.com/cd/E27559_01/apirefs.1112/e28159/Thor/API/Operations/tcUserOperationsIntf.html#getObjects_long_ -
Acquiring Oracle Spatial Data through WFS
Hi,
I have been researching for awhile and am slightly confused.
I have Oracle Spatial 11g with geometry data and would like to be able to retrieve that data through a WFS to serve to a viewing application.
Here's where I am confused:
1) Spatial has a WFS service which needs to be configured. If I were configure that, would I be able to access the data through URL getFeature commands? The documentation I see for them has the getFeature requests in the form of XML files so I am not sure if I can do that. Also it seems like the service is returning .log files but I think I would want GML...
If this is the option I should take, the tutorial to setup OC4J and the Web Services are for a Linux machine (http://www.oracle.com/technology/obe/11gr1_db/datamgmt/spatialws/spatialws.htm) -- Is there one for Windows 64bit?
2) Do I need another "application layer" to enable this URL support? I know MapServer can use URL requests.. can I just run this against the data in my DB and forget about the Oracle WFS?
3) MapViewer seems to work with WFS Themes and handle requests through Java and SQL.. is this another option?
I am basically confused as to where everything sits and what I should be focusing on to get my Spatial data out of the DB through a WFS. Any assistance on this matter would be greatly appreciated!
Thanks!Any help debugging this issue would be greatly appreciated:
As per the documentation:
http://localhost:8888/SpatialWS-SpatialWS-context-root/wfsservlet?request=GetCapabilities&service=wfs&version=1.0.0
:this get request should return the capabilities info however I receive this error message instead in the browser:
<?xml version="1.0" encoding="UTF-8" ?>
- <ogc:ServiceExceptionReport version="1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://localhost:8888/examples/servlets/xsds/OGC-exception.xsd" xmlns:ogc="http://www.opengis.net/ogc">
<ogc:ServiceException code="WFS-1042">Exception during processing request</ogc:ServiceException>
</ogc:ServiceExceptionReport>
The sytem out from the oc4j container provides this error message:
10/04/27 15:47:38 [oracle.spatial.ws.WSProperties, Tue Apr 27 15:47:38 MDT 2010,
INFO] No subject specified in request.
10/04/27 15:47:38 [oracle.spatial.ws.WSProperties, Tue Apr 27 15:47:38 MDT 2010,
ERROR] Oracle Spatial WS Server could not set up configuration parameters: jav
a.lang.RuntimeException: No subject specified in request.
10/04/27 15:47:38 [oracle.spatial.ws.servlet.WFSServlet, Tue Apr 27 15:47:38 MDT
2010, FATAL] java.lang.RuntimeException: java.lang.RuntimeException: No subject
specified in request.
at oracle.spatial.ws.WSProperties.getProperties(WSProperties.java:705)
at oracle.spatial.ws.servlet.WFSServlet.doGet(WFSServlet.java:108)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(Server
SocketAcceptHandler.java:234)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocket
AcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(
ServerSocketAcceptHandler.java:879)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: No subject specified in request.
at oracle.spatial.ws.WSProperties.getUser(WSProperties.java:574)
at oracle.spatial.ws.WSProperties.getProperties(WSProperties.java:695)
... 16 more -
I backed up my MacBook to an external hard drive through Time Machine. After it was all done and I reconnected the external hard drive to make sure that I could access everything that was backed up, I couldn't get into the data on the external hard drive because it said that it was backed up through Time Machine.
What does this mean? How to I access the data that is on my external hard drive?There are 2 options.
1) (The Suggested way) With the TM external drive connected Open The Time Machine App in Applications and you can browse what has been backed up.
2) Open Finder and select the drive name on the left then the Backups.backupsdb folder and in there is all your files from the backups you have made listed under your Machine Name and in that folder under the dates/times they were created -
Error in accessing data through external table
Hi,
I am getting the following error while trying to view data through external table,
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04062: no data source specified
ORA-06512: at "SYS.ORACLE_LOADER", line 19
according to this error "KUP-04062: no data source specified", location should be specified and i have specified the location as
LOCATION (<diectory_name>:' '),
then also it is giving the same error.
Please Help!I am also got the same error when retrieving the data from external table.
I resolve this problem, like this:
1. I imported the flat file(.csv) into repository.
2. Map that flat file fields to database table cols.
3. Deployed the mapping using controlcenter, and run the mapping.
4. if it fails there, i loaded the flatfile data through the command prompt using "sqlldr" statement and control file is our mapping control file.
5 Then it loaded data into database table sucessfully.
Thanks. -
Materialized view on a Partitioned Table (Data through Exchange Partition)
Hello,
We have a scenario to create a MV on a Partitioned Table which get data through Exchange Partition strategy. Obviously, with exchange partition snap shot logs are not updated and FAST refreshes are not possible. Also, this partitioned table being a 450 million rows, COMPLETE refresh is not an option for us.
I would like to know the alternatives for this approach,
Any suggestions would be appreciated,
thank youFrom your post it seems that you are trying to create a fast refresh view (as you are creating MV log). There are limitations on fast refresh which is documented in the oracle documentation.
http://docs.oracle.com/cd/B28359_01/server.111/b28313/basicmv.htm#i1007028
If you are not planning to do a fast refresh then as already mentioned by Solomon it is a valid approach used in multiple scenarios.
Thanks,
Jayadeep -
Xcelsius SWF with QaaWS through SSL: Cannot access external data
I am getting the following error while loading Xcelsius Dashboard in https mode.
Error: Error #2170, Cannot Access External Data
Connection Type: Query as a Web Service
To access external data, add a cross-domain policy file to the external data web server.
The same dashboard is working on the following conditions:
1) In http mode(both from a hosted website and from a clarity portlet)
2) When I click preview from Xcelsius designer.
3) When I run the .swf file directly.
The error is coming only when I host the swf file into a website (or running from a clarity portlet).
I am using the following cross-domain-policy file.
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-http-request-headers-from domain="" headers="" secure="true" />
<allow-access-from domain="*" secure="true" />
</cross-domain-policy>
Any comments will be appreciated here.
Thanks,Hi
I am facing the #2032 Error while running the Dashboard in portal developed using SAP Netweaver BW connection.
Scenario:
1>Actually our dashboard changes as fiscal year or budget type changes,so we have set trigger for the queries.
2>for 3-4 trigger times the dashboard changes as required without any error but after that when we change fiscal year or budget type it shows the following error:
Error:"Cannot Access External Data"
{ The BICS Remote web Service could not process your request.Open a CSN message on component BW-BEX-ET-XC and attach the technical details of the error from the following link:
http://sgsgsav0s2006:5000/bicsremotedebug?geterrorticket=KSF-1324043982210(this link changes each time the error pops up}
This error will popup and then the dashboard randomly displays data for some queries and for some it does not pull data.
After reloading the dashboard it runs fine for 3-4 times after that it again shows the error.This happens for 4-5 times then dashboard stucks at Initializing Screen for 10 mins then #2032 error comes.Then we restart our developement portal and the Dashboard runs fine for some time.
This happens even while triggering 4 queries.
We have
Xcelsius 2008 Sp3
Flash Player 10
SAP EHP 1 for SAP NetWeaver 7.0
SAP_BW sp08
SAP_ABA sp08
SAP_BASIS sp08
Dont know how to check Java Stack Version.
Please reply soon,so that we can proceed.
Thanks
Edited by: chinmaypadhi on Dec 29, 2011 7:44 AM -
Can't load data through smart view (ad hoc analysis)
Hi,
There is EPM application where I want to give ability to planners to load data through smart view (ad hoc analysis). In Shared Services there are four options in
EssbaseCluster-1: Administrator, Create/Delete Application, Server Access, Provisioning Manager. Only Administrator can submit data in smart view (ad-hoc analysis). But I don't want to grant Essbase administrator to planners, I'm just interested to give them ability to load data through ad-hoc analysis. Please suggest!I take that you refreshed the Planning security, If not refresh the security of those users. Managing Security Filters
Check in EAS whether those filters are created with "Write" permissions.
Regards
Celvin
http://www.orahyplabs.com -
Sender sending data through XML, How to process it in ECC (No PI involve)?
Hi,
The sender system sending data through XML tag and that need to be processed in SAP side.
How it can be done without involving XI or IDoc?
Is it possible through HTTP post?
Sample XML Transactions
1. SAP Availability Transaction (Request)
<?xml version="1.0" standalone="yes"?>
<ECCAVAILREQUEST>
<AVAILTEXT>CHK STATUS</AVAILTEXT>
</ECCAVAILREQUEST>
2. SAP Availability Transaction (Response)
<?xml version="1.0" standalone="yes"?>
<ECCAVAILRESPONSE>
<AVAILTEXT>OK</AVAILTEXT>
</ECCAVAILRESPONSE>
3. DUMMY_SYSTEM PO Transaction (Request)
<?xml version="1.0" standalone="yes"?>
<DUMMY_SYSTEM REQUEST>
<CREATEPB>1</CREATEPB>
<POORDERDATA>
05607015156070151TORDAEHTWW05727500002D0979054+
</POORDERDATA>
4. DUMMY_SYSTEM Order/Inquiry Transaction (Response)
<DUMMY_SYSTEM RESPONSE>
<C_PO>99999</C_PO>
<RETURNDATA>
DAT
</RETURNDATA>
</DUMMY_SYSTEM RESPONSE>Hi,
check this link
http://help.sap.com/saphelp_nw04/helpdata/en/21/e9c97ceb1911d6b2ea00508b6b8a93/content.htm
this is for processing inbound IDOc through XML-HTTP(Inbound) port
like this there should be an option for reading files placed by HTTP_POST.
in SICF transaction there should be a service to do that.
defaulthost -> sap-> xi-> adapter_plain. i know you don't have XI in your landscape but this is the component which be responsble for receving messages over HTTP_POST.
look for a program which can access messages from there.
please check with your basis team
Suresh
Maybe you are looking for
-
How to open new form with set value
I have two forms CLIENT and ORDERS who are connected by "client_id" in a one to many relationship [one client can have many orders]. What code to I put in the button so that that when I click on it from the CLIENT table, it goes to the ORDERS form wi
-
Creation of depreciation area for posting of parallel currencies postings
while i am posting f-90 asset e. auqsiation its giving error massage "Customizing inconsistency (contact your system administrator) Message no. AC496 Diagnosis Company code BP01 manages parallel currencies in Asset Accounting. For each area that post
-
Need help with AutoPatch error
I got this error message when running an .ldt inside a custom product patch *Completed: file NFEE_EXEC_JAVA_VALIDATION_CCR.ldt on worker 1 for product xxnine username APPS.* *AutoPatch error:* *The following ORACLE error:* *ORA-01458: invalid length
-
hi. i was trying to update my iphone 3gs but it was stop and don't let me , cold you pleas help me if is possible
-
My firefox updated some stuff today and told me I required the newest flash update as well, so I jumped on over to the website and downloaded the plugin, but when it tried to install itself it opened up a "Run As" window asking for a user account to