DBIF_RSQL_INVALID_CURSOR : Error extracting records in RSA3 for 2LIS_02_ITM
Hi
I'm extracting the data in R/3 system using tcode RSA3 for transaction datasource (2LIS_02_ITM). When i extracted the transaction data , it was giving time out error. Then i went into debug mode to find the error. While debugging the code it gave me a DBIF_RSQL_INVALID_CURSOR short dump.
NOTE : Data extraction is working for all 02 transaction data like 2LIS_02_SCL , 2LIS_02_S012. It s failing for only 2LIS_02_ITM only.
I have pasted the eror message below for reference. Urgent help required.
From
Bobby
ERROR MESSAGE DUMP for DBIF_RSQL_INVALID_CURSOR
Runtime Errors DBIF_RSQL_INVALID_CURSOR
Except. CX_SY_OPEN_SQL_DB
Date and Time 09.04.2008 12:47:09
Short text
Invalid interruption of a database selection.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLMCEX" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Unable to perform database selection fully.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
in
procedure "MCEX_BW_LO_API" "(FUNCTION)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
One of the database selections included a database Commit.
The selection was then supposed to continue. Before a
database commit, however, all outstanding database selections
must be concluded.
Possible causes in the application program:
While a read process from a database cursor is taking place
(within a loop SELECT/LOOP/EXEC SQL or before a FETCH command),
one of the following statements is used:
- MESSAGE (apart from MESSAGE S...)
- COMMIT WORK
- ROLLBACK WORK
- BREAK-POINT
- WAIT
- CALL FUNCTION ... DESTINATION (synchronous RFC)
- CALL FUNCTION ... STARTING NEW TASK
- RECEIVE RESULTS
- CALL DIALOG
- CALL SELECTION-SCREEN
- CALL TRANSACTION
- CALL SCREEN, or any other statement that results in the display of a
new screen
Whenever a program runs in debugging mode, a "COMMIT WORK" can
possibly be triggered during database selection. This abnormal
termination can also occur in debugging mode even with a correct
program.
A "COMMIT WORK" during debugging may be due to the following reasons:
1. A program or screen was regenerated during debugging
and updated in the database.
2. Each user needs a separate process in debugging mode, but
the number of available processes is restricted. If this
limit is exceeded, each debugging step then requires a
"COMMIT WORK".
The error occurs in a statement in which the table "MC02M_0ITMSETUP " is
accessed.
Missing RAISING Clause in Interface
Program SAPLMCEX
Include LMCEXU06
Row 1
Module type (FUNCTION)
Module Name MCEX_BW_LO_API
Trigger Location of Exception
Program SAPLMCEX
Include LMCEXU06
Row 220
Module type (FUNCTION)
Module Name MCEX_BW_LO_API
Source Code Extract
Line
SourceCde
190
at end of fieldnm. "PI 2000.2 SP_353722
191
if not <fs_field> in cond_select_tab.
192
cond_select = false.
193
refresh cond_select_tab. "PI 2000.2 SP_353722
194
exit.
195
endif.
196
refresh cond_select_tab. "PI 2000.2 SP_353722
197
endat. "PI 2000.2 SP_353722
198
endloop.
199
if cond_select eq true.
200
append &2 to e_t_data.
201
add 1 to counter.
202
endif.
203
endloop.
204
if s_maximum_size le counter.
205
exit.
206
endif.
207
else.
208
close cursor g_cursor.
209
s_flg_no_more_data = true.
210
exit.
211
endif.
212
enddo.
213
END-OF-DEFINITION.
214
end macro *****
215
216
CASE s_estruc.
217
extractstruc internal table setup table
218
*-- MM-PUR
219
sel 'MC02M_0HDR' mc02m_0hdr_tab mc02m_0hdrsetup.
>>>>>
sel 'MC02M_0ITM' mc02m_0itm_tab mc02m_0itmsetup.
221
sel 'MC02M_0SCL' mc02m_0scl_tab mc02m_0sclsetup.
222
sel 'MC02M_0SGR' mc02m_0sgr_tab mc02m_0sgrsetup.
223
sel 'MC02M_0SCN' mc02m_0scn_tab mc02m_0scnsetup.
224
sel 'MC02M_0CGR' mc02m_0cgr_tab mc02m_0cgrsetup.
225
sel 'MC02M_0ACC' mc02m_0acc_tab mc02m_0accsetup.
226
*-- Application '03' (Inventory Management)
227
sel 'MC03BF0' mc03bf0_tab mc03bf0setup.
228
sel 'MC03BX0' mc03bx0_tab mc03bx0setup.
229
sel 'MC03UM0' mc03um0_tab mc03um0setup.
230
*-- Application '04'
231
sel 'MC04P_0MAT' mc04p_0mat_tab mc04p_0matsetup.
232
sel 'MC04P_0ARB' mc04p_0arb_tab mc04p_0arbsetup.
233
sel 'MC04P_0COM' mc04p_0com_tab mc04p_0comsetup.
234
sel 'MC04PE0MAT' mc04pe0mat_tab mc04pe0matsetup.
235
sel 'MC04PE0ARB' mc04pe0arb_tab mc04pe0arbsetup.
236
sel 'MC04PE0COM' mc04pe0com_tab mc04pe0comsetup.
237
*-- Application '05' (Quality Management)
238
sel 'MC05Q1_0INSP' mc05q1_0insp_tab mc05q1_inspsetup.
239
sel 'MC05Q2_0INSP' mc05q2_0insp_tab mc05q2_inspsetup.
Hi Bobby,
Did you already find a solution for this 'issue'?
I encounter the same problem. In my humble opinion this has nothing to do with the difference between structures.
When loading data in normal modus, there is no problem. When loading in debug, there is an error.
I also tested with other data sources and the same issue occurs there while nothing has changed.
If someone knows how to solve this issue, please reply.
Thanks!
Kind regards,
Bart
Similar Messages
-
Different number of records in RSA3 for Full and INIT
Hi All,
I am about to load the data from 0FI_GL_4 and checked it in RSA3 for the number of records. It returned different number of records when I run the extract with options 'F' and 'C'. Why is it so? This is the first time I am loading the data into BW for this datasource. I would expect the number of records to be same if I do either a full extract or an init but surprised by seeing different number of records.
Best Regards,
James.Hi James,
Probably it's because of the time stamps stored in table BWOM2_TIMEST.
If you run a delta init and than a delta update then the number of the records should match with the record of the full update.
You can find some more info about table BWOM2_TIMEST here:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a7f2f294-0501-0010-11bb-80e0d67c3e4a#527,7,Timestamp%20Mechanism:%20New%20documents
Bye,
Zsolt -
Number of Records in RSA3 for 0EC_PCA_1
Dear all,
I have installed data source 0EC_PCA_1 from content. Data for this data source is extracted from table GLPCT. When see at the table there are only 634 and number of records that are extracted from data source in RSA3 is 28203. I want to understand logic behind this or am I making any mistake.
On source system side we are ECC 6.0 and 'New GL' Functionality has been activated.
Request your help as usual.
Regards
SN DubeyYou can try the function module ECPCA_BIW_GET_DATA in order to see what really happens; but it could take some time since it depends a lot on your customizing: if you use special ledgers, the balance carry forward stuff and a lot more...
An you are correct: I thought straight forward about EC_PCA_3 (GLPCA) instead of EC_PCA_1 (GLPCT); my mistake, sorry for that.
In any case I cannot tell how it works in ECC.
regards -
Error extracting the product installer for trial downloads
Hi-- I tried to download the trial version of Creative Suite Design Premium last night. Waited the two+ hours for the process, and at the end I got the message "Error exracting the product installer (Error 101). Check for available disk space on your system and try downloading the product again." Because it was by then late, I left it and came back to it today. I assumed that the CS was too big for my system, so I decided to just install the two products I really want, Photoshop CS Extended, and Illustrator, separately. Unfortunately, I got the same error messages. Tried the troubleshooting advice to no avail. My computer has plenty of disk space available (1.34 TB of free space -- clearly enough!). Any other advice you can offer me?
I found my answer in a previous thread on the Forum -- it worked for me.
Here it is:
41. Nov 8, 2011 6:50 AM (in response to stevedolan)
Re: CS5.5 Download Assistant Error 101
Ok, the problem is solved!
Go to: http://prodesigntools.com/adobe-cs5-5-direct-download-links.html. This is the direct link that downloads any Adobe CS5.5 file without the help of the Adobe Download Assistant software. Read and follow the instructs exactly on this site. Very Important: MAKE SURE TO SIGN IN or CREATE A FREE ADOBE ID IF YOU HAVEN'T ALREADY DONE SO. If not, you will get a message saying "access denied" or "resume your download", and thus, preventing the connection.
Once the files have downloaded (2 files in total), extract the files to your desktop.
Once the extraction process has been completed, click on the "Setup Bootstrapper Application" installer file in the extracted folder and that should manually open the Installation screen. Just follow the installation instructions, and everything should work! Good luck! -
Error while checking in RSA3 for 0CRM_UT_SRV_CONT_I Datasource
Hiii,
I am trying to activate 0CRM_UT_SRV_CONT_I datasource.... but I am getting internal error :
Please find the error details :
Internal error in COM_PR_SET_REL_READ_SINGLE_PR*
Message no. COM_PRODUCT897**
Diagnosis
*An error was detected in program unit COM_PR_SET_REL_READ_SINGLE_PR. The program cannot continue running. The unit may be a function module, subroutine, class method, etc.
An unanticipated situation or error message that would normally not occur was detected in the program.
For example:
The program expects a variable to be filled with a value and this has not occurred.
A function module or method returns an unexpected exception.
You will find information below that can be used to analyze the situation:
Kindly provide me the steps to activate the CRM datasource and also the points which i should keep in mind before activating CRM datasource.
Thanks
MayankHi ,
I Checked in BWA5, datasource is present there with check box ticked active.
Any other Ideas experts.
Thanks
Mayank -
Error in extracting records for Loan Management
Hi
I am trying to extract records for Loan Management(CFM and CML), but I
am getting Error .
During the extraction phase an error occurred for the extractor. An exception, 'error_passed_to_mess_handler' was triggered.
Following are the extractors I am trying
0CFM_INIT_POSITIONS
0CFM_DELTA_POSITIONS
0CML_CASHFLOW
0CML_INIT_BUDAT
0CML_INIT_DFAEL
0CML_DELTA_CAP
We faced similar problem in Development then change the settings like in customization
" Define InfoSources for Position Initialization " inside BW/CML
customizing. changed the date there to 31.12.2006
and activated the change pointers and transported the chages to R/3
Production ,
but in production it is not working
Pl let me know If some additional settings are requiredHi,
if you run the extractors in the cml-system via rsa3, check out the log. What is the exact message? Is it just tho one you already gave or is there some more information? If you run them in cml, don't forget to specify the target system.
regards
Siggi -
Hi,
The data load for 0FI_AR_10 (payment history) delta load is fetching zero records after we did EPH4 (Golden Tax) Upgrade to the ECC 6.0 system.
When we check in RSA3 for Delta it is throwing error as -> Message no. RJ012
There is no other info. The data load looks successful in BW but with zero records.
Please suggest.
We are facing some what similar issue for 0CUSTOMER_ATTR as in the Ticket:
[0CUSTOMER data from Unicode R/3 to Non-Unocode BW Error|0CUSTOMER data from Unicode R/3 to Non-Unocode BW Error]
Thanks,
JoeHi
Go to RSO2 and give the data source name 0FI_AR_10 -- there you ahve extractor BWFI3D_GET_FIAR_CM_PH(functional module) ---> reset the function and module and reactivate it
mostely the problem will be solved.
incase if it is not solved the reason might be as below
These datasources have extraction type as F1 and the function module used is BWFI3D_GET_FIAR_CM_PH( Tcode: RSA2).
When we go through the code of the Function module, there is a Case statement with update mode which is written in such a way that when the update mode is full it throws one type of error and when the extraction mode is others(which includes init, delta etc) it throws another type of error.
This update mode field in the Function module will take the value when we run the Infopackage and we will get an error saying: 'Update mode when others is not supported by extraction API'(this error occurs as the update mode takes the value of c and executes 'when other' case).
In extractor checker(RSA3), the default value taken by the update mode will be F (since we are not executing any infopackage and the update mode value will be F by default).
So ultimately when that function module is executes it will throw an error no matter what type of load(delta or full) we select.The error will occur but it will be handled differently when you run in RSA3 and when you run the Infopackage.
so i would suggest you to raise a note to SAP on the same
and i will post if I find any solution going in future on the same.
Very intresting Question
pleasure answering
Santosh -
Error in RSA3 for 0GL_ACCOUNT_T011_HIER
Dear All,
I have tried to extract the data in RSA3 for the Data Source 0GL_ACCOUNT_T011_HIER. As the hierarchy name is mandatory, I have pressed F4 to get the hierarchy names. System gives following shortdump
Runtime Errors: SAPSQL_ARRAY_INSERT_DUPREC
Except : CX_SY_OPEN_SQL_DB
Any one could you please tell me what could be the cause and the solution.
With Regards,
BalachanderHi Bala,
Try this notes
839094
890680
1158109
852935
949194
Hope this will give you some idea for your problem.
Good Day!!!
Regards
Arun S -
RSA3 for 0BBP_PROD_HIER on EBP gets error msg
Run RSA3 on EBP system (similar to R3) for datasource 0BBP_PROD_HIER, and at the lower part of RSA3, there is a section called "Selections(internal format)", there are two fields listed:
HIENM
LANGU
The 1st field is list with the following two values:
R3MATCLASS Material group
R3PRODSTYP Product Subtype
Pick up 1st one, and run the extraction, but get the following error "Error 6 in function module RSS_PROGRAM_GENERATE
Message no. RJ028".
Check RSA6 for this datasource 0BBP_PROD_HIER, find the datasource only contains one field:
OLTPSOURCE DataSource
The extraction structure for it is ROHIEROS.
What could cause the above problem when running RSA3 for this datasource?
ThanksHi kevin,
Have u checked for SAP notes? Check these notes
705212 and 637303
Regards
Sriram -
2lis_02_scl extract records with wrong posting date for Good Receipts.
Hi Experts,
We are currently having issue of mismatch between BW Schedule Line data with R/3 values for the Goods Receipts posting date updating incorrectly in to BW.
Example.
In table EKBE purchase order history we have following records.
MANDT EBELN EBELP ZEKKN VGABE GJAHR BELNR BUZEI BEWTP BWART BUDAT MENGE
501 5600453404 00010 00 1 2010 5012473031 0001 E 101 23.01.2010 1.250,000
501 5600453404 00010 00 1 2010 5012473031 0002 E 101 23.01.2010 1.250,000
501 5600453404 00010 00 1 2010 5012473031 0003 E 101 23.01.2010 1.250,000
501 5600453404 00010 00 1 2010 5012693310 0001 E 101 26.02.2010 1.250,000
Which means we have on posting date of 23.01.2010 1250*3 i.e. 3750 quantity of Goods Receipts.
However when we check the extractor we get multiple records in internal table C_T_DATA and in psa.
Line BWV ETENR SLFDT MENGE ROCA BEDAT BUDAT EBELN
ORG NCEL
1 001 0001 20100125 3750.000 20100113 ZNB F 00000000 5600453404
2 001 0002 20100226 1250.000 20100113 ZNB F 00000000 5600453404
3 002 0001 20100125 3750.000 X 20100113 ZNB F 20100123 5600453404
4 002 0001 20100125 3750.000 20100113 ZNB F 20100123 5600453404
5 003 0001 20100125 3750.000 X 20100113 ZNB F 20100127 5600453404
6 003 0001 20100125 3750.000 20100113 ZNB F 20100127 5600453404
7 002 0001 20100125 3750.000 X 20100113 ZNB F 20100226 5600453404
8 002 0001 20100125 3750.000 20100113 ZNB F 20100226 5600453404
9 002 0002 20100226 1250.000 X 20100113 ZNB F 20100226 5600453404
As can be seen we have record no 8 for ETENR (Schedule line 1) with posting date 26.02.2010 and another record with posting date 23.01.2010.
Since we are getting 2 records the record with incorrect posting date overwrites the record with correct one.
Any idea if this could be a standard extractor problem or any other way to resolve this issue.
Any help would be appreciated.First of all, are you using a staging DSO? (You should ideally)
If yes, is it a Write Optimized DSO? (Again, this is ideal)
If its a standard DSO, the values maybe over-writing upon activation.
You have 3 records (quantity = 1250 * 3) that have been receipted on 23.01.2010, where Posting Date = 23.01.2010.
You also have a record (quantity = 1250 * 1) that has been receipted on 26.01.2010. Posting date = 26.01.2010.
Now, in RSA3 & in PSA you can see more records than intended.
This is because you have before & after images. (ROCANCEL = X or blank).
ROCANCEL = X --> Before Image (record before change)
ROCANCEL = blank --> After Image (record after change)
This is a standard property of the extractor.
Now, we also have something known as BWVORG (Process Keys). Each process, i.e. creating a PO, Goods Receipt, Invoice etc.. have different Process Keys.
Creation - 001
Goods Rcpt. - 002
Invoice - 003
We can see that record 8, i.e. BWVORG = 002 (GR) has been modified on 26.01.2010.
That is why there is before image and after image.
Which one should be the correct posting date? 23.01.2010?
Normally in a Write optimized DSO, you will have all the records (before and after images & others as well).
I hope this helps.
Please let me know if otherwise. -
Calendar and Adressbook error: Duplicate records found for GUID
Hi all,
i have a Mountaion Lion Server running on a mac mini and everything was working well.
This morning one user of mine is unable to connect to his calendar and adressbook.... i found this error in the log files:
2013-06-30 15:19:50+0200 [-] [caldav-1] [-] [twistedcaldav.directory.appleopendirectory.OpenDirectoryService#error] Duplicate records found for GUID ****USER_GUID****:
2013-06-30 15:19:50+0200 [-] [caldav-1] [-] [twistedcaldav.directory.appleopendirectory.OpenDirectoryService#error] Duplicate: ***USER_Shortname***
Apperetnly there is a duplicate match in the database. how can i fix this issue?
In Server App this user is only listed once.
Mail and other services for this user are working correctly.
Thanks for any advice!Hi Samuel,
You may try:
select code,count(code)
from [dbo\].[@XTSD_XA_CMD\]
group by code having count(code) > 1
What is the result?
Thanks,
Gordon -
"Errors occurred during the extraction" when run RSA3 of EBP datasource 0DO
"Errors occurred during the extraction" when run RSA3 of EBP datasource 0DOC_NUMBER_ATTR.
What would be the reason and how to resolve this problem?
ThanksHi Kevin,
Generally the installed DS also comes under RSA5 nodes, not only in RSA6.
Have you activated it earlier before extraction?
If DS is already active, please try to follow all the steps once more, and check, and let us know if still the same error comes.
Cheers!!!!!!!!!!! -
Error: The sort order specified for distinct count records is incorrect
When processing a measure group with a distinct count measure in it, i get the following error:
"The sort order specified for distinct count records is incorrect."
I have no idea what this means - any ideas?I had the same problem and your fix worked. In more detail, the problematic field was contract_no. I added a named calculation to the table in the Data Source View with the formula CHECKSUM(contract_no). Then I created the distinct count measure on that named calculation. And, lo and behold, the errors disappeared!
Thank you to Frank.
- CindyCindy P Hoskey -
Message 614: Format error by recording for BDC
Hi PP Gurus,
I would be appreciable if anybody face the same problem and resole my issue.
When we are trying to create a program from within the transaction recorder, Transaction SHDB, using the function 'Create program'. Then a
termination occurs with the following message:MS614 Format error by recording: Field PLPOD-CKSELKZ not avaliable on screen.
Thanks & Regards,
Abu ArbabHi R. Brahmankar,
I've a doubt on your comment is once recording is done for some material's Say 'A' Rate Routing with internally generated Group (say 5000005), Counter-1 and all the things relevant to BDC finished. Now suppose we are uploading Rate routings for other materials. Can we upload Rate Routings for a material in the same Group but with many counters say 2,3,4,5.....?
Do we need to do some special settings either in BDC program or that also be recorded in same recording? Or different recording has to be created?
Thanks & Regards,
Abu Arbab
Edited by: abu arbaba on Oct 15, 2008 5:02 PM
Edited by: abu arbaba on Oct 24, 2008 8:18 AM -
Error when extracting data in rsa3
Hi,
we are using BI7.0. While when i am extracting data to PSA i am getting an error that error in source system. when i am extracting data in RSA3 source system side there also it was showing the same error. Data souce is active.
So please let me know if it as anything to do.
regards,
mahesh.Hi,
Which datasource are you using to extract data ? Go rsa5 and try to activate it then retry.
Regards,
®
Maybe you are looking for
-
Dual boot (win 7 / arch) SSD non-UEFI motherboard
I have a few questions about installing arch on my brand new intel 320. (:D) I plugged it in and partitioned 60GB for windows (leaving 50GB for linux). Installed windows fine, then read through the wiki about installing arch. I cannot use GPT as I ha
-
Physical check of asset to see PO number
Dear experts, Can we generate a report in SAP to trace from Fixed asset to the PO number for physical check? Many Thanks, Felix Ang
-
Hello! I am rather new to flash, but I purchased it in a suite just to get the dreamweaver and fireworks some time ago. My question is, if it is possible to create a power-pointlike presentations (I E text-based), and add some audio to it, in flash?
-
The volume is on high on my computer but no sound will come from my computer. I've checked everything and there's stil no sound. Any help would be appreciated. Thanks!
-
I have a file with 9 artboards but when I open it up I can only see one
Help T_T