Access APO Table details in ECC
I have a report in ECC which gives me the details about Product and location along with some Material-plant specific details. Now my requirement is to check whether the particular Product & Location is available in APO or not. From R/3 can i use some Function module to get data from APO regarding Product & Location and display in the report at ECC side.
Regards
SG
You can use field MARC-APOKZ. It is set to 'X' when the location product is part of an active integration model. You then sometimes should run report RAPOKZFX to make sure the flag is consistent with the integration models.
Br
Hubert
Similar Messages
-
RFC Function module needed for getting table details in APO from R/3
Hi,
I need a RFC function module where I can write a query from R/3 to access APO server database table and get the necessary records.
Regards
MacPossible ways
1. Call fm RFC_READ_TABLE and give destination and table name ( But i am not sure how it will work SCIF enviornment of APO)
or
2. Create a custom function module in APO side and call from R/3 side using destnation option
a® -
Readind APO tables from ECC ABAP program
Hi,
I want to know if it is possible to read APO tables from a ABAP program in ECC 6.0.
If it is possible , please lt me know how?
RegardsHi,
There's a remote-enabled function module (think it's either RFC_READ_TABLE or RFC_TABLE_READ) which you can pass a table name, some selection criteria and a list of fields to be returned. That should allow you to read those table entries from the remote system.
Regards, Andy -
Interface table name/details in ECC
Hi SDNers,
I run tcode SPROXY on my ECC system, I can see all the interfaces created in XI which is connected to this ECC system.
I want to know the table name in ECC which stores this interface information and allows SPROXY tcode to display it.
I have referred blogs by Shravya on the table that store metadata on XI side.
Regards,
Gautam PurohitHi Ravi & Michal,
Thanks for the response.
Ravi - I need to know table information for the interfaces that we can see on the left panel of transaction SPROXY and not tables giving information about Proxies.
I want to know where does ECC store this information to display it in the transaction.
Michal - If this information is fetched dynamically, Is there any API which can be used if I need to display the interfaces on XI in a report that will run on ECC?
Any help would be apprciated.
Regards,
Gautam Purohit -
Internal error when accessing a table -
Hi,
The program which is running as background was running for last 1 year, last two days the RFC call in the program is dumping.
In DUMP its showing Internal error when accessing a table
Error : DBIF_RSQL_SQL_ERROR
I checed the size of the table its quite huge for the application.
So there is no issue with table.
Please advise what causes these sort of error.
System is ECC 6.0
With SQL server 8.0
Regards,
ThomasThese are the system log i got it from SM21. For this error logs are as below
Very High Priority error
Details Page 2 Line 9 System Log: Local Analysis of onsaprp1 1
Time
Type
Nr
Clt
TCode
Grp
N
Text
15:43:09
DIA
009
300
AB
0
Run-time error "DBIF_RSQL_INTERNAL_ERROR" occurred
Run-time error "DBIF_RSQL_INTERNAL_ERROR" occurred
Details
Recording at local and central time........................ 11.02.2011 15:43:09
Task......
Process
User......
Terminal
Session
TCode
Program
Cl
Problem cl
Package
03084
Dialog work process No. 009
TOM
1
SAPMSSY1
T
Transaction Problem
SABP
Further details for this message type
Module nam
Line
Error text
absapsql
0786
HandleRsqlErrors
Documentation for system log message AB 0 :
The specified runtime error has occurred in the system.
Parameter
abcdefghijklmnopqrstuvwxyz .. DBIF_RSQL_INTERNAL_ERROR
Technical details
File
Offset
RecFm
System log type
Grp
N
variable message data
119
618840
l
Error (Module, Row)
AB
0
HandleRsqlErrors absapsql0786
High Priority error
Details Page 2 Line 18 System Log: Local Analysis of onsaprp1 1
Time
Type
Nr
Clt
TCode
Grp
N
Text
15:44:07
DIA
009
300
SMEN
BZ
Y
Unexpected return value 8 when calling up
Unexpected return value 8 when calling up
Details
Recording at local and central time........................ 11.02.2011 15:44:07
Task......
Process
User......
Terminal
Session
TCode
Program
Cl
Problem cl
Package
03084
Dialog work process No. 009
TOM
om-blr-l
1
SMEN
SAPLSMTR_NAVIGATION
K
SAP Web AS Problem
SBAC
Further details for this message type
Module nam
Line
Table Name
Field Name
dbrepolo
172
8
Documentation for system log message BZ Y :
When calling a function within the database interface, a return
value which cannot be processed by the calling function was
provided.
Technical details
File
Offset
RecFm
System log type
Grp
N
variable message data
120
11160
h
Database Error (Non-SQL)
BZ
Y
8 dbrepolo172
Edited by: Thomas Paul jr on Feb 14, 2011 6:36 AM
Edited by: Thomas Paul jr on Feb 14, 2011 6:38 AM -
SM58 : Internal error when accessing a table
Hi there,
We have just upgraded from R/3 4.7 to ECC 6.0. After the upgarde we face many "Internal error when accessing a table" in sm58. Is there any table mapping mismatched happened during unicode conversions? How to check the details? Most of the errors are SWW_WI_EXECUTE_INTERNAL_RFC, SWW_WI_CREATE_VIA_EVENT_IBF and etc which are workflow modules.
can you help?
Thanks.
Regards,
ThavaHi
Have u checked this thread?
problem in TRFC
Error while executing Workflow: User is locked.
/message/5804053#5804053 [original link is broken]
Regards
Sridhar Goli -
Error while accessing BSAD Table with dunning date
Hi ,
I developed a report for FI module accessing BSAD table with default customer ranges and for specific dunning dates - It ran for a very long time and timed out - (I know this is due to huge volume of data) -
Is there any way to access BSAD table easily with Dunning dates (Other than creating Index on it) ???
Or any standard function module available ??
Regards
Rajesh.Hi
Try the below tables for the dunning data details:
MHND Dunning Data
MHNDO Dunning data version before the next change
MHNK Dunning data (account entries)
MHNKA Version administration of dunning changes
MHNKO Dunning data (acct entries) version before the next chang
SKS -
dear all,
i have done a system copy from production server into quality server. quality was scrapped and freshly installed with SAP then used the DB flush method to carry out the system copy. i had to change the DBS_ORA_SCHEMA in environment variables to SAP<SOURCE SID> from SAPSR3. the sap version is ECC6.0,DB is ORACLE10.2 on WIN NT.
after MMC opened, i get "SQL error in the database when accessing a table" error is coming. in SM21, I am getting "Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000 )
Database error 8103 at SEL access to table TBTCO
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
Database error 8103 at FET access to table TBTCP
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
> Short dump "081018 130339 sibqty_Q TY_00 " generated
Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
> Short dump "081018 130339 sibqty_Q TY_00 " generated
Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
Delete session 001 after error 023
Database error 8103 at DEL access to table TMSALOGAR
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
> Short dump "081018 130432 sibqty_Q TY_00 " generated
Database error 8103 at FET access to table SNAP
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
> Short dump "081018 130432 sibqty_Q TY_00 " generated
Transaction Canceled SY 002 ( SQL error in the database when accessing a table. )
Database error 8103 at FET access to table TSP02"
please find the st22 DUMP:
ow to correct the error |
Database error text........: "ORA-08103: object no longer exists"
Internal call code.........: "[RSQL/READ/TBTCO ]"
Please check the entries in the system log (Transaction SM21).
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
"SAPMSSY2" or "SAPMSSY2"
"INITIATE_JOB_START"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"INITIATE_JOB_START" "(FORM)", or its possible occurrence must be declared in
the
RAISING clause of the procedure.
|
please do me this favor if you know to avoid this problem..
thanks a lot..Hello Anuj,
This is because the COUNT(*) is returning a value which is longer than the INT4 data type it is expecting. If you restrict the selection by introducing a WHERE clause, then you won't get the dump:
DATA: dyn_from TYPE string,
dyn_where TYPE string,
gx_sql_err TYPE REF TO cx_sy_open_sql_error,
gv_text TYPE string.
dyn_from = `DD01L INNER JOIN DD02L ON DD02L~AS4LOCAL = DD01L~AS4LOCAL AND DD02L~AS4VERS = DD01L~AS4VERS`.
dyn_where = `DOMNAME LIKE 'Z%'`.
TRY .
SELECT COUNT(*) FROM (dyn_from) WHERE (dyn_where).
WRITE: / sy-dbcnt NO-GROUPING.
CATCH: cx_sy_open_sql_db INTO gx_sql_err,
cx_sy_dynamic_osql_semantics INTO gx_sql_err,
cx_sy_dynamic_osql_syntax INTO gx_sql_err.
ENDTRY.
IF gx_sql_err IS BOUND.
gv_text = gx_sql_err->get_text( ).
WRITE: / gv_text.
ENDIF.
BR,
Suhas -
Import MS Access 2013 tables into SQL Server 2012
Hi there,
Is there a step by step example somewhere showing how to import an MS Access 2013 table into SQL Server 2012?
I have read the existing posts and don't see a definitive answer.
I have installed MS Access 2010 engine, first 32 bit then 64 bit.
I have installed the MS Access 2013 runtime on my server.
I use the Office 2015 Access Database Engine OLE DB Provider.
I get the error:
Error 0xc0202009: Source - APEntries [1]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E37.
Error 0xc02020e8: Source - APEntries [1]: Opening a rowset for "`TableName`" failed. Check that the object exists in the database.
The post regarding the above errors doesn't resolve the issue.
I have full administrative permissions on the server.
What is the trick to making this work?
Thanks,
Ric
Ric MillerHi there,
I tried the exact same operation on a third machine.
This machine has Windows 8.1 64 bit, SQL Server 2012 64 bit, MS Office 2013 Plus 32 bit.
I am the administrator on this machine.
I installed this:
Microsoft Access Database Engine 2010 Redistributable 32 bit (because I have MS Office 2013 plus 32 bit installed.)
From here:
http://www.microsoft.com/en-us/download/details.aspx?id=13255
It won't let me install the 64 bit version without uninstalling MS Office 32 bit.
I created an MS Access database on this machine using MS Access 2013 and created a table with 3 records.
I used the "Import and Export Data (32 bit)" from the start menu.
After I installed the "Database Engine 2010 32 bit" driver above, I now have the option of "Office 2015 Access Database Engine OLE DB Provider" as Data Source which I did not have prior to doing this installation.
I selected the driver and added the Properties of the Data Source Name file location of the MS Access file. I am using a blank password.
I go thru the same sequence of selecting a table to import and after running the result is the same:
Error 0xc0202009: Source - APEntries [1]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E37.
"Error 0xc02020e8: Source - APEntries [1]: Opening a rowset for "`TableName`" failed. Check that the object exists in the database."
This seems to be consistent across three machines with three operating systems with the same files and the same result.
I understand that some people have gotten this to work.
I would appreciate it if anyone can report an error in the above procedure to me.
Thanks,
Ric
Ric Miller -
Master table / detail table: Problem refreshing the content
Hi,
I have a Master table/detail table on my page. When I add a new row to the master or detail table, the new row is inserted in the database, but not shown in the ADF Tables on the page. After restarting the OC4J the ADF Tables show the correct data, including the new rows.
While dropping the collection on my page there were one methodIterator and two accessorIterators created.
In several tutorials the solution for the refresh problem is to change the chacheResult parameter of the methodIterator to false. But this causes in "No row found for rowKey:null" errors.
An other solution should be to create a new invokeAction with the id "tableRefresh" and the corresponding RefreshConditions. This doesn't helps, too.
So how could I solve this problem? I want to update/refresh the master and detail table, after I inserted a new row.
Thanks,
ThomasHi,
thanks for your answer.
Sorry, but I forgot to say, that I am using Jdev 10.1.3.1, Toplink, ADF and EJB3.
I think I will give some further informations about the scenario. I created the m/d table by drag-and-droping the object out of the data control palette on site A. Each row stores a goLink item, which navigates to a new page B. After creating and saving the new entry the user navigates back to the page with the m/d table (page A). Storing the new entry is handled by an action in the page B managed bean.
Now the question: How could I re-execute in page B backing bean the iterator which is stored in page A? Could this be handled by an invokeAction? Or is it possible to get access to the iterator used and stored on another page (definition)?
Thanks,
Thomas -
How to access XI_AF_MSG table in Composite Application Framework Java Code
Hi Experts,
I've no knowledge about PI. In one of my projects, I need access the XI_AF_MSG table of PI through java code in a composite application.
How do I access this table? I've searched this forum for this query but the replies say that any SQL editor can be used to access XI_AF_MSG table. But my question is; How do I get the login details of the database? In the first place, how do I access the underlying database layer of PI? Is there any JAR file which can be used to make the connection?
It would be of great help if any expert on this can give me a detailed reply.
Thanks a lot in advance.
Best Regards,
NitinHi Nitin,
The AFW runs on the J2EE Engine, so this table is in the Java Schema of the database and thus not visible in the ABAP stack. I guess you can use any tool your database provider offers for looking at table contents (e.g. SQLPlus).
Regarding how to access the table please contact you basis administrator they will have access to the tables as they have j2ee_admin login ids and pwds.
Regards
joel -
How do I access APEX tables from SQL DEVELOPER?
What do I use as a USERNAME and PASSWORD--
inside SQL DEVELOPER?
Hello,
I have APEX installed on my machine.
WINDOWS 7 PROFESSIONAL 64 BIT.
I also have installed:
ORACLE XE
and
SQL DEVELOPER.
I have applications I have created in APEX
with various tables.
Question:
How can I access my APEX tables from
within SQL DEVELOPER?
What USERNAME and PASSWORD do I use?
I can do this with
HR
SQL DEVELOPER USERNAME = HR
PASSWORD = HR
This works fine.
But what about for my own APEX TABLES
I created inside my own workspace
inside APEX?
For example:
LOGIN TO APEX:
http://127.0.0.1:8080/apex/
If my
APEX WORKSPACE = DAVID_WS
SCHEMA = DAVID_SC
APEX USERNAME = DAVIDAPEX_UN
APEX PASSWORD = DAVIDAPEX_PW
LOGIN TO APEX ADMIN:
http://localhost:8080/apex/apex_admin
APEXADMIN USERNAME = DAVIDADMIN_UN
APEXADMIN PASSWORD = DAVIDADMIN_PW
So, given the above 6
NAMES and PASSWORDS above:
SQL DEVELOPER USERNAME = ????
SQL DEVELOPER PASSWORD = ????
Thanks a lot for your help!
David
Edited by: DAVID888 on Feb 3, 2011 11:53 PMHello david,
When you created your workspace with the below details, if the schema "DAVID_SC" was created through APEX, then you should have also specified the password as well.
APEX WORKSPACE = DAVID_WS
SCHEMA = DAVID_SC
APEX USERNAME = DAVIDAPEX_UN
APEX PASSWORD = DAVIDAPEX_PWIf you dont remember the password for "DAVID_SC", you can log on to your Oracle XE database as a "SYSTEM" user and reset the password of "DAVID_SC".
Once that is done, you can log on to SQL developer with :
username : david_sc
password : <your_new_password>
Hope it is clear and plz refer to the APEX documentation to get a better understanding of it. -
Can we access PI tables from WebDynpro Java via PI 7.1?
Hi Experts
Is it possible to fetch PI Tables (to display monitoring and alerts as dashboard on portal) from Java Stack. I got some javadocs API SAP Netweaver for PI 7.1 but i don't know how far it can help me in solving my purpose of fetching and displaying the PI monitoring data on Portal.
https://www.sdn.sap.com/irj/sdn/javadocs
Please advise if J2EE access to PI Tables is possible or RFC is the suggested solution to fetch PI Monitoring data.
Thanks
NehaHi Neha,
You can access PI tables from Webdynpro Java application using RFC or Webservices. Create RFC or Webservices which will fetch data from the PI tables.Create the required JCO's and the Webdynpro java application which uses the Adaptive RFC model or Adaptive Webservice Model to connect to the ECC system.
I found a document that speaks about fetching data from SXMB_MONI Standard Table https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b050ff4f-84c3-2b10-3d99-8f9c44f57a17
Hope this is useful.
Regards,
Seema Rane. -
If client uses all the APO modules along with ECC then what is the CIF role in DP
Hi All,
As per my knowledge if the client is using only SAP ECC and DP then CIF does not play any role but what about if client uses all the APO modules along with ECC then what is the CIF role in DP ?
Thanks in advance ..Hi Vinod,
i am aware all the above details what u mentioned.
Generally i am extracting the historical data from Excel to BI in DP- @ my project.
But if the data is in SAP ECC then do we need to use CIF to extract the data to BI in DP... so what is the role of CIF in DP if client uses only DP module? and if the client uses all the APO modules then what is the role of CIF in DP especially ?....awaiting for ur response....
Thanks. -
Getting error "SQL error in the database when accessing a table."
Hi All,
We are getting Dump Error SQL error in the database when accessing a table for the batch job EISSD/REQUISITION 14 / which includes program AQ20FD==========A2============. Please reply. The Dump error details are as follows
Short text
SQL error in the database when accessing a table.
How to correct the error
Database error text........: "ORA-01555: snapshot too old: rollback segment
number 21 with name "_SYSSMU21$" too small"
Internal call code.........: "[RSQL/FTCH/VBRK ]"
Please check the entries in the system log (Transaction SM21).
Thanks
Padmakar Kudtarkar
Edited by: Rob Burbank on May 19, 2011 9:38 AMThe query where we are getting error in Standard program AQ20FD==========A2============ for Job
EISSD/REQUISITION 14 / is as follows:
select VBRKBUKRS VBRKFKART VBRKFKDAT VBRKFKTYP VBRKGJAHR VBRKKUNAG VBRKKUNRG VBRKKURRF VBRKVBELN VBRKWAERK VBRP~AUBEL
VBRPAUPOS VBRPFKIMG VBRPKVGR2 VBRPKZWI1 VBRPMATNR VBRPMWSBP VBRPNETWR VBRPPSTYV VBRPVBELN VBRPVGBEL VBRP~VGPOS
VBRPVKBUR VBRPVKGRP VBRPVRKME VBRPWAVWR
into (VBRK-BUKRS , VBRK-FKART , VBRK-FKDAT , VBRK-FKTYP , VBRK-GJAHR , VBRK-KUNAG , VBRK-KUNRG , VBRK-KURRF , VBRK-VBELN
, VBRK-WAERK , VBRP-AUBEL , VBRP-AUPOS , VBRP-FKIMG , VBRP-KVGR2 , VBRP-KZWI1 , VBRP-MATNR , VBRP-MWSBP , VBRP-NETWR
, VBRP-PSTYV , VBRP-VBELN , VBRP-VGBEL , VBRP-VGPOS , VBRP-VKBUR , VBRP-VKGRP , VBRP-VRKME , VBRP-WAVWR )
from ( VBRK
inner join VBRP
on VBRPVBELN = VBRKVBELN )
where VBRK~BUKRS in SP$00004
and VBRK~FKDAT in SP$00001
and VBRK~KUNAG in SP$00002
and VBRK~VBELN in SP$00006
and VBRP~MATNR in SP$00003.
%dbacc = %dbacc - 1.
if %dbacc = 0.
stop.
endif.
check SP$00004.
check SP$00001.
check SP$00002.
check SP$00006.
check SP$00003.
add 1 to %count-VBRK.
%linr-VBRK = '01'.
extract %fg01.
%ext-VBRP01 = 'X'.
extract %fgwrVBRP01.
endselect.
Maybe you are looking for
-
Hello, I tried posting this in the server forum but didn't get a response. Perhaps there is a better place for this. My family has two MacBooks and two mac minis and would like to manage them more effectively. If an update appears, then we have to do
-
I copied my old itunes account on my pc to an external hard drive and put it on my laptop. How do i merge my old itunes with my current account on my laptop? Thanks
-
Using a custom tag with a 2.3 servlet descriptor BUG?
Hi, I just developed a Custom Tag and I'd like to use in my jsps. If I add the jsp in my JDev project with the custom tag when I try to build the project I got this error: Error(11): oracle.xml.parser.v2.XMLParseException: Invalid element 'listener'
-
if I have a line with g.drawLine(200,200,400,400) how can I rotate it 360 degree ?? can I use API's rotate, if yes, can someone give me short example how to do it ?? thanx.....
-
How to allocate memory in Weblogic 8.0.1.5
HI, Can anyone help me out with this one? Weblogic Server is slow and it always hang up. here is the details of the setup: OS: Windows 2000 Server Weblogic: BEA 8.0.1.5 The physical memory of the server is 8GB but weblogic server is just using 1GB. I