Customer Analysis Dump - DBIF_RSQL_INVALID_RSQL
Hi all,
when I try to comparison previous period with tcode MCTA (Customer Analysis) the system generate the following dump.
It occurs when I select 2092 Sold-to-party for 1 Sales Office and for 1 month. Since last week it has been working.
The SAP release is ECC 5.0 on SQL 2005.
Runtime Error DBIF_RSQL_INVALID_RSQL
Except. CX_SY_OPEN_SQL_DB
ShrtText
Error in RSQL module of database interface.
What happened?
Error in ABAP application program.
The current ABAP program "RMCV0100" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
Any idea?
Thanks
M.
Hi Shahid,
Please refer OSS note:
Note 48230 - Parameters for the SELECT ... FOR ALL ENTRIES statement
which explains the various option to solve your problem.
The dump is occuring because of too many inputs(20000 material number) in the select option.
Please let me know if this helpful, by rating.
Regards
Prashanth
Similar Messages
-
GL Account Report with Customer Analysis
Hi..
Is there a straight forward way of producing a list by GL Account, which provides the Customer No posted to in the same Document?
For example
Doc No 1234567890
01 Customer 999 £500
50 GL 12345
Executing a search on GL 12345 would therefore output with Customer analysis and the Customer 999 will be inlcluded.
Thanks......Hi,
Go to Customer line item display fbl5n and execute the report
once executed select change lay out from that select G.L account. it will display
If it is not sufficient
same report take document no
Fb03 enter document number it will display dr and cr with posting keys
If it is usefull please assign points
Thanks
Shiva -
Hi Experts,
I am facing the problem in the select statement where it giving the short dump
DBIF_RSQL_INVALID_RSQL CX_SY_OPEN_S.
i have searched many forms, but i found that the select option s_matnr have the limitaion 2000 entreis, but i am passing same s_matnr to other select statement with more than 2000 entries but it is not giving me any short dump.
but i am facing problem with only one select statement where if i pass select option s_matnr more than 1500 entris also giving short dump.
my select statement is
SELECT * FROM bsim
INTO CORRESPONDING FIELDS OF TABLE g_t_bsim_lean
FOR ALL ENTRIES IN t_bwkey WHERE bwkey = t_bwkey-bwkey
AND matnr IN matnr
AND bwtar IN bwtar
AND budat >= datum-low.
in the internal table g_t_bsim_lean internal table contain all the fields of the table bsim with 2 fields from other table.
Please let me know whether i need to change the select statement or any other solution for this.
Regards,
udupimy select query is like this:
DATA: BEGIN OF t_bwkey OCCURS 0, "184465
bwkey LIKE bsim-bwkey, "184465
END OF t_bwkey. "184465
LOOP AT g_t_organ WHERE keytype = c_bwkey.
MOVE g_t_organ-bwkey TO t_bwkey-bwkey.
COLLECT t_bwkey. "184465
ENDLOOP. "184465
READ TABLE t_bwkey INDEX 1. "184465
CHECK sy-subrc = 0. "184465
SELECT * FROM bsim "n443935
INTO CORRESPONDING FIELDS OF TABLE g_t_bsim_lean "n443935
FOR ALL ENTRIES IN t_bwkey WHERE bwkey = t_bwkey-bwkey
AND matnr IN matnr
AND bwtar IN bwtar
AND budat >= datum-low. -
Hi guru,
Thanks for all the effort in answering my question on customer analysis, after doing the required config as given by victor it worked, pls the only thing left is that the management wants the report for the period before the config was done, mc+e is not getting this, it give error "no data generated" how can i pull out this data?
Thanks
MaureenHi Maureen,
The infotable behind MC+E is infostructure S001.
You should recalculate its content using standard programs from LIS customizing.
Check OSS notes beforehand, the trick is to calculate first the sales orders, then the deliveries and only afterwards the billing documents. Also check the update groups is correctly updated in the old sales documents, on the contrary, the statistical setup of the infotable will not work correctly.
Regards,
Franck -
Hi guys,
I tried generating customer analysis report for a new customer using mcta and mc+e, it says "no data exists for chosen selection" but sales has been made for same customer. What do i do? pls help
tnx
maureenHello,
Part u2013 1
Need to Activate Statistics Groups
IMG u2013 Logistics general u2013 Logistics Information System (LIS) u2013 Logistics Data Warehouse u2013 Updating u2013 Updating Control u2013 Settings: Sales u2013 Statistics Groups
1. Maintain Statistics Groups for Customers u2013 Assign the group to the respective customer master data in the sales view of Sales area data.
2. Maintain Statistics Groups for Material - Assign ales org2 for the respective material master
3. Maintain Statistics Groups for Sales documents
4. Assign Statistics groups for each sales document type
5. Assign Statistics groups for each sales document type
6. Assign Statistics groups for each Delivery type
7. Assign Statistics groups for each Delivery item type
8. Determine billing document type relevant to statistics
Part u2013 2
Need to Assign Update Groups
IMG u2013 Logistics general u2013 Logistics Information System (LIS) u2013 Logistics Data Warehouse u2013 Updating u2013 Updating Control u2013 Settings: Sales u2013 Update Groups
1. Assign update group at item level
2. Assign update group at header level
Part-3 (just check)
IMG u2013 Sales & Distribution u2013 Sales Support (CAS) u2013 Sales Summary
You need to the require settings for the below four steps.
1. Define reporting views
2. Assign information block to view
3. Assign default view to user
4. Set document display.
Then run a sales process starting from sales order to invoice. Then execute the transactions MCTA and MC+E you will get the desired results. You will not get the past information prior to the activation of these settings.
I set the above settings in my system and its working.
Let me know if you any questions.
Thanks -
Dump DBIF_RSQL_INVALID_RSQL
Dear all
I am facing a problem related to abap program, when I run the program like zmatlist
When I give Material Number in selection option ( for example 20000 Material Number )
In one go then abap report give me the following DUMP
DBIF_RSQL_INVALID_RSQL
CX_SY_OPEN_SQL_DB
And when in give selection option in chunk the that report run fine
After the dump I check dev_w0 file it shows like that
*C *** ERROR => max. statement length (65536) exceeded*
http://dbsloci.c 5759
C Dumping statement ...
C 0 | TEXT | 6 | SELECT
C 1 | TEXT | 4 | T_00
C 2 | TEXT | 1 | .
C 3 | IDENTIFIER | 5 | BISMT
So on
C 17481 | TEXT | 3 | AND
C 17482 | TEXT | 4 | T_02
C 17483 | TEXT | 1 | .
C 17484 | IDENTIFIER | 5 | WERKS
C 17485 | TEXT | 1 | =
C 17486 | MARKER(8588)| 0 | NULL
C token_cnt=17487, input_cnt=8589, marker_cnt=8589, stmt_length=86128
B ***LOG BYK=> current SQL statement exceeds a database limit dbtran#5 @ 7261 dbtran 7261
B dbtran ERROR LOG (hdl_dbsl_error): DbSl 'PRE'
thankx
RayyanHi Shahid,
Please refer OSS note:
Note 48230 - Parameters for the SELECT ... FOR ALL ENTRIES statement
which explains the various option to solve your problem.
The dump is occuring because of too many inputs(20000 material number) in the select option.
Please let me know if this helpful, by rating.
Regards
Prashanth -
Dump DBIF_RSQL_INVALID_RSQL inserting the entry in bbp_pdisc
Hi Experts,
In our SRM senario, we are haing differnt backend system which are connected to SRM portal. Each system send the PO to SRM. I am currently facing a ssue with SRM system. When i create the PO in some backend system i am able to see the PO in SRM box. but for other systems PO it is giving the short dump as DBIF_RSQL_INVALID_RSQL.
On analysis of the dump i found that the error is occuring in the inesrt statemnt while iinserting the data in table bbp_pdisc. in standard program.
I am not sure while this is happing only for few system , Can any one let me know why this is happening ,any inputs on this are really helpful.hi ,
Please check table bbp_pdisc format and pass data according
if there is data type mismatch then it will give dump .
regards
Deepak. -
Customer analysis - INVOICED SALES report
Hi all,
Please can someone advice how to run the ollowing report, I am not getting any data. for report MCE and other MC reports.....?Hi ,
These are Sales infomation structure , which a kind of report generation in a SD module.
Sap have given some report like MCTA , MCSI -
etc.
you see in this menu path
Easy access > logistic> sales and distribution -- > sales information system -- > standard analysis.
Standard analysis is the SAP given reports.
if we want to create , we have to configure in flexible analysis.
A link is maintain like in customer relevant of info struction. so when ever we do the transaction the same will get updated to the information structure.
thanks
Kuntla -
Abap custom class dump flight tables
Helo experts,
I created a class to select data from scustom, spfli, sflight and sbook into txt files for each table. But mt code only works with the scustom table. I tried to execute for all tables, for each table, but always occurs the same dump - except for scustom.
Please, help me.
*& Report ZCL01 *
REPORT zcl01 .
*----- Class itab definition
CLASS itab DEFINITION.
PUBLIC SECTION.
*----- Methods
METHODS: read_tab IMPORTING itab TYPE table,
write_tab,
txt_data IMPORTING patch TYPE string.
PRIVATE SECTION.
TYPES: BEGIN OF st,
field TYPE string,
END OF st.
DATA: struct TYPE TABLE OF st,
linha LIKE LINE OF struct.
ENDCLASS. "itab DEFINITION
*----- Class itab implementation
CLASS itab IMPLEMENTATION.
*----- method txt data
METHOD txt_data.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = patch
TABLES
data_tab = struct.
ENDMETHOD. "itab
*----- method read itab
METHOD read_tab.
FIELD-SYMBOLS: <it> TYPE table,
<wa> TYPE ANY.
ASSIGN itab TO <it>.
REFRESH struct.
LOOP AT <it> ASSIGNING <wa>.
CLEAR linha.
linha-field = <wa>.
APPEND linha TO struct.
ENDLOOP.
ENDMETHOD. "itab
*----- method write itab
METHOD write_tab.
ULINE.
LOOP AT struct INTO linha.
WRITE: / linha-field.
ENDLOOP.
ULINE.
ENDMETHOD. "itab
ENDCLASS. "itab IMPLEMENTATION
START-OF-SELECTION.
DATA: it TYPE REF TO itab,
ti_scustom TYPE STANDARD TABLE OF scustom,
ti_spfli TYPE STANDARD TABLE OF spfli,
ti_sflight TYPE STANDARD TABLE OF sflight,
ti_sbook TYPE STANDARD TABLE OF sbook.
SELECT * FROM scustom INTO TABLE ti_scustom.
PERFORM gera_txt USING 'c:\sap\ti_scustom.txt' ti_scustom.
SELECT * FROM spfli INTO TABLE ti_spfli.
PERFORM gera_txt USING 'c:\sap\ti_spfli.txt' ti_spfli.
SELECT * FROM sflight INTO TABLE ti_sflight.
PERFORM gera_txt USING 'c:\sap\ti_sflight.txt' ti_sflight.
SELECT * FROM sbook INTO TABLE ti_sbook.
PERFORM gera_txt USING 'c:\sap\ti_sbook.txt' ti_sbook.
END-OF-SELECTION.
FORM gera_txt
--> P_ARQUIVO
--> P_TABLE
FORM gera_txt USING p_arquivo
p_table.
IF sy-subrc EQ 0.
IF it IS INITIAL.
CREATE OBJECT it.
ENDIF.
CALL METHOD it->read_tab( p_table ).
CALL METHOD it->write_tab.
CALL METHOD it->txt_data( p_arquivo ).
ENDIF.
FREE it.
ENDFORM. "gera_txtThanks to the answers, the dum msg is:
Runtime errors UC_OBJECTS_NOT_CONVERTIBLE
Occurred on 25.06.2007 at 16:06:50
Data objects in a Unicode program are not convertible.
What happened?
Error in ABAP application program.
The current ABAP program "!CL01 " had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Transaction ST22 allows you to display and manage short dumps. It
is especially useful if you want to keep a particular message.
Error analysis
The statement
"MOVE src TO dst"
requires the operands "dst" and "src" to be comvertible.
Since this statement occurs in a Unicode program, the special
convertibility rules for Unicode programs apply. In this case, the
following rules have been broken:
How to correct the error
Make sure the operands "dst" and "src" are comparable in the statement
"MOVE src TO dst".
Probably the only way to eliminate the error is to correct the program.
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"UC_OBJECTS_NOT_CONVERTIBLE" C
"!CL01 " or "!CL01 "
"READ_TAB"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "610"
Application server....... "GTCDES13"
Network address.......... "169.254.25.129"
Operating system......... "Windows NT"
Release.................. "5.1"
Hardware type............ "2x Intel 801586"
Database server.......... "GTCDES13"
Database type............ "ADABAS D"
Database name............ "WA1"
Database owner........... "SAPR3"
Thanks Rich, your code works so fine!
Message was edited by:
Rodrigo Paisante -
Short dump (DBIF_RSQL_INVALID_RSQL) during activating ODS
Hello Experts,
I found short dump during activating ODS.
The error message in short dump:
Runtime Error: DBIF_RSQL_INVALID_RSQL
Except.: CX_SY_OPEN_SQL_DB
The termination occurred in the ABAP program "GP7WIVS2MDWGSTMN3ICFDKNAH65" in "ACTIVATE_SIDS".
The main program was "RSODSACT1 ".
I add one InfoObject in the ODS. After activating related objects, I loaded data into the data target.
Data seemed to be loaded correctly, but couldn't be activated.
Any suggestion on this?
-WJ-Hi,
Please chekc the following SAP Notes you will find solution
Note 908599 - Runtime error SAPSQL_INVALID_FIELDNAME during activation
Note 612995 - P13:ODS:Data activation in bckgrnd always ends 'successfully
Note 1175860 - P19: DSO: SDL: Automatic update after activation
Note 1113603 - P17:DSO:Postprocessing ODS - activating and updating
Note 378447 - Correction: hierarchies do not become green
Note 1272738 - P21:DSO: Activation and automatic updating
Note 794584 - P26:Timestamp field empty in RS2NDPROCPROT after ODSACTIVATE
Note 800086 - P26: ODS activation: Status field in table RS2NDPROCPROT
Note 856292 - P28: Automatic functions: No lock obtained for ERSICENQ
Thanks
Reddy -
Dump DBIF_RSQL_INVALID_RSQL using pnp
Hi guys, i have a report which use the logical data base pnp but when it runs on productive enviroment with all personnel numbers it send me this dump: Run-time error "DBIF_RSQL_INVALID_RSQL" occurred, a tried to use a TRY ENDTRY befor the get event but does not accept it before the event....
What can i do to avoid this dump???
Thnks a lot.Thx a lot for reply, i checked the note but it is for release 30 and we are in release higher so basis said that this note is not available any more.... we find this one 1298550 do u think it could solved the problem????
Or do u know another solution???
Edited by: Sandra Torres on Dec 22, 2009 7:56 PM -
GRC 10.1 SP06 - Role sync fails with dump DBIF_RSQL_INVALID_RSQL
Hi!
We're experiencing an issue with the repository sync job for one connector. When selecting the full option, the sync for users and profiles report success but for the role sync we get the error "Error in RFC; 'Error in module RSQL of the database interface'" and a dump is generated in the back-end ( DBIF_RSQL_INVALID_RSQL) with the program /GRCPI/CL_GRIA_ROLE===========CP
The problem occurs in the sentence:
>>>>>
SELECT agr_name parent_agr FROM agr_define
"#EC CI_SGLSELECT
84
INTO TABLE lt_derived
85 *
WHERE agr_name IN it_incl_role
86
WHERE agr_name IN lt_incl_role
87
AND ( change_dat GE iv_update_date OR
88
( create_dat GE iv_update_date AND change_dat = '00000000' ) ).
We've tried working with the parameter 1122 (Batch size for Role sync) switching it to different values like 500, 100, 50, 10 and even 1 but the error still persists.
Synch for another connector with the same GRC System works fine.
any idea?
Thanks,
Diego.Sounds like an old foe from 10.0
http://service.sap.com/sap/support/notes/1632421
You may have to ask SAP to make a 10.1 version of this fix for you to apply to the plug-in system.
There is a specific note for this issue in both 10.0 and 10.1, but it is part of 10.1 SP01 (you are on SP06)
http://service.sap.com/sap/support/notes/1803121 -
Customer wants DUMP (EXPDP) dump in COMPRESSED format in 10 G
Customer wants to dump using datapump in compressed format on UNIX.
Customer says it is possible as per Note 463336.1 in 11G.
Customer wants to have that to be in 10 G ?
Can we have OOB or something like that ?Customer wants to dump using datapump in compressed format on UNIX.Here is an example
expdp scott/tiger DIRECTORY=dppump DUMPFILE=scott.dmp COMPRESSION=METADATA_ONLY
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#sthref87
A simple comparsion with 11g (11.1)
http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/dp_export.htm#SUTIL203
Having enhanced options ALL and DATA_ONLY. Another important point since the version has not been mentioned COMPRESSION has been available in Oracle Database 10g (10.2)
http://download.oracle.com/docs/cd/B14117_01/server.101/b10825/dp_export.htm#i1006293
Message was edited by:
user63(alt id) -
I have defined a BADI through Tcode SE18. And also implemented it.
In my custom program, at the start-of-selection event, I have used CALL METHOD cl_exithandler=>get_instance to create a instance of the BADI.
But its not creating a instance of the custom badi. Its dumping while calling the method exit->calculate.
I came to know the reason for dumping that table V_EXT_ACT is not populated with records.
Can anyone suggest regarding on this how to solve.
Thanks in advanceHi Anitha,
Can you please mention the BADI name.
Regards
- Senthil Bala -
MCTA: Customer Analysis Report
Dear All,
1. While using this report I want to use the functionality of comparison with planned and actual value. Any body let me know where Can i set the planned value? From where system brings the planned value to compare with Actual value.
Thanks & regardsHi,
The relevant documentation you may get at SAP-HELP.The area is known as sales & operation planning under logistics general.
Being a extensive subject you first understand the releavant configuration and and analyis how it can be implemnetated in your case.
Do ask if any other help is required.
Regards
Sanjay
Maybe you are looking for
-
Video Card Question. Crossfire 7950s vs One GTX780
Which is the better option for video editing on Adobe Premiere CC? I have the crossfire 7950's now but only one is installed since i would have to buy a new power supply. With the price drop on the NVIDIA GTX 780 I might pick up one of those and sell
-
Problem about BIEE Integration with LDAP
Hello, I have a problem in OBIEE11.1.1.6 I do BI EE 11g Security Integration with OPENLDAP follow below link, http://www.rittmanmead.com/2010/11/oracle-bi-ee-11g-security-integration-with-microsoft-active-directory/ It works well using user that stor
-
Flash Player NOT working for months
I've intstalled/uninstalled countless times, have not been able to watch a youtube/news vid in months. Have read thru all these questions here and not 1 solution to these have worked with me. there must be something to get this going again?!?!?!?!
-
Why is my user id/pw not accepted by ICloud on my iPad but it is accepted by iCloud on my computer? I am using the same password for both.
-
SMS Keyboard not working correctly.
I just bought my 3G yesterday and have yet to have any problems with it, save for a single burned out pixel, but I can't get that fixed for many more weeks, considering supply and demand. Anyway, I am having a strange problem with my SMS Keyboard. Ye