Abend on CHAR assigned to NUMC to Query
Hi all,
An existing pgm is in such a way that CHAR type variable (data element) retrieved from a table is assigned to another variable type NUMC (in a transparent table).
This NUMC variable is used for a join in another query with a table of same field but type CHAR.
Eg :
x1(char) = x2 (NUMC)
Door no. is CHAR in table , NUMC in transparent table in a query join.
This causes dump.
probably error in assignment statement itself or when query is executed..
there's a space( or dot - not sure) in x1 which is not accepted by x2.
Any help on this?
Thanks.
hi ,
there is one thing to remember when we filling the value with a number it will take like this. .. 24 as 24 only but when it is numeric it is like 0024 like ...so when on the assignment there may be some proble...or if u pass the same no of zeros to the character it will work i think..
regards,
venkat.
Similar Messages
-
CHAR's value in the query but not in the report??
Hi all,
I loaded master data and crm transaction data from ODS to Cube. The data is in the cube but there is no value in my report when running it. EX: there are some CHARs in my report, I checked those CHARs have value in the query but it shows 'not assign' in my report when I run it. What happen?
Thanks.
J.Please see below text and also the sent link..
If a navigation attribute is used in an aggregate, this aggregate has to be adjusted using a change run as soon as new values are loaded for the navigation attribute (when master data for the characteristic belonging to the navigation attribute is loaded.) This change run is usually one of the processes that are critical to the system performance of a production BW system. This is why, by avoiding using navigation attributes or not using navigation attributes in aggregates, you can improve the performance of this process. On the other hand, not using navigation attributes in aggregates can lead to poor query response times. The data modeler needs to find the right balance.
http://help.sap.com/saphelp_nw04/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
cheers,
Vishvesh -
How to use OFFSET for CHAR type value in Bex query
infoobject A value = 1102007
Type = CHAR
I want to have an offset for this infoobject created in query say 1 to 12 months
in month of 10/2007 value = 1102007
remember above 1 is always CONSTANT
then
in month of 11/2007 value = 1112007
in month of 12/2007 value = 1122007
how to do this since the infoobject is of TYPE- CHAR ,its gives we cannot do the OFFFSET in the query ,for doing OFFSET the infoobject must be of type numeric or NUMC.
is it possible achieve this in to update rules?? since i cannot change the type of this infoobject now in the middle of production support
please help
thanksHi,
You will have to add a characteristic to your cube.
The format should be NUMC
In the update-routine you will have to convert the char value to numc
Success
udo -
Not Assigned values in BW query
Hi experts,
In our BW reports "Not Assigned" ( # ) values are getting displayed with keyfigure values 0.
Is there any way to avoid this??
Can anyone help me on this?
Thanks alot
ShobinHi,
If you are using the web analyzer, you can include the following javascript code in the web template. As for key figures, in the query properties select "Show Zero As" value for "Zero Value Display" field and leave "Show Zero As" field blank.
<!-- script to replace blank data in BW with space -->
<SCRIPT>
window.onload=Init
function Init()
var Elements=document.getElementsByTagName('TD');
for(var i=0;i<Elements.length;i++)
var str=Elements<i>.innerText;
var found=str.search(/Not assigned/)
if ((found >=0 || str=='#') && str.length<50)
Elements<i>.innerHTML =' '
Elements=null
</SCRIPT>
Hope this helps...
Cheers,
Lashan -
GETTING NOT ASSIGNED WHILE EXECUTING THE QUERY
Hi Experts,
i have one query on 0sd_c03, while i am executing this query i am getting 'notassingned' in some keyfigures like "width,length,grade,grade series,quality". but i have the data in datatarget.
what is the problem,what is the solution for this.
pl help me,
thanks & regards
venkathi,
is the report is on cube/ over multiprovider. if the report is multiprovider then chk all the fields in the identifcation is properly assigned to the infoproviders(cubes).
if u have more than one cube then this issue might happen.
any way, chk for the codntions/filters/restrcition for key figures at the report level.
Ramesh -
DUMP ERROR FOR REPORT TO ASSIGN TCODE TO ABAP QUERY
hi friends ..
i did this smallreport by difernet type but its the
error says dump_--report not found or status errror says
maximum session reached ..i think there something wrong in my submit stmt .pls let me know ...
also assign tcode to the report.
DATA:QUERYREPORT LIKE AQADEF-PGNAME,
QUERY LIKE AQADEF-QUNAME,
USERGROUP LIKE AQADEF-BGNAME,
WORKSPACE LIKE AQADEF-WSID.
query = 'zskview'.
usergroup = 'zskgrp'.
workspace = ''.
get name of queryreport
CALL FUNCTION 'RSAQ_REPORT_NAME'
EXPORTING
WORKSPACE = workspace
USERGROUP = usergroup
QUERY = query
IMPORTING
REPORTNAME = QUERYREPORT
EXCEPTIONS
OTHERS = 0.
SUBMIT (QUERYREPORT)
VIA SELECTION-SCREEN
USING SELECTION-SETS OF PROGRAM QUERYREPORT
AND RETURN.HI farukh,
1. The program u have written
is for running DYNAMIC query,
(given the query name)
2. In debugging,
chck the value of the variable
queryreport
after the FM is executed.
3. It will contain the program name (of the corersponding query)
in the following format (eg)
AQFKzskgrp======ZAMQ01========
4. Open another se38,
and CHECK whether this program exists or not!
5. If it does not,
a)either the QUERY NAME is not correct,
b) either the user group is not correct,
c) either the query is deleted / not generated .
regards,
amit m. -
Hi there. I made a copy of 01 Query from /SAPQUERY/AM usergroup.
But now I've got a problem because there is still a /SAPQUERY/AM01 InfoSet seen as source of new query.
Where can I change that source InfoSet to my own InfoSet? I'd be thankful for help. Greetings. P.Hi,
Sorry to say that its not possible. You can change your query after copying from the standard one. But the the infoset assigned to the query cannot be changed.
Regards,
Soumya. -
Field "Not Assigned" in the Bex Query
Hi All,
I've build a query which target is a multi-provider ( 1 Cube + 1 ODS ).
My 2 InfoProvider are joined by 0material.
In my Query fields(from the ODS) are "Not Assigned" when displaying the result ?
Someone has an idea, plz ?
Thanks a lot,
Erwan.Hello ErWaN,
How r u ?
Check this thread.... seems to be the same issue....
# and Unassigned - in BW Report
Best Regards....
Sankar Kumar -
Consolidation Group get assigned to unassigned in Query
Hi,
when i check the list cube i get the consolidation group assigned correctly based on cons unit,but when i execute the query the consolidation group fields shows as unassigned.
Can anyone help me out,this is critical.
Regards,
Subhacould resolev it on my own
-
0ORGUNIT hierarchy version assignment problem using BI7 Query Designer
Dear All,
I have a problem with Hierarchy Version for 0orgunit using BI7.0 Query Designer.
for activating heirarchy i have selected the hierarchy in the query designer but version it is not showing , instead of 01 it is showing as #.
what may be the problem with BI7.0 Query designer.
If I use BW3.5 query desingner there version in showing and I can able to show the heirarchy.
We are using BI7.0 and SP level is 13.
Best Regards,
SGKDear SGK,
did you get this problem solved ?
I have the same problem.
Regards,
Gerhard -
Assigning System variables in query designer
Hi all,
My requirement is that For a field CALENDAR DAY, i Want to set the default values so that it displays the data for last seven days from the current system date by using sy-datum. This should be done without using customer exit logic.Can anyone tel me how can this be done in Bex query designer.Hi Imanik,
I think using custom exit to arrive to a solution of your issue is the most efficient way as of now.
Alternatively you can write a routine in ETL Where in you can check if Sy-Datum - 7 <= Calday, then you can have a field Flag in Infoprovider which would be populated by X in this case. Later on in Bex you can have a filter on Calday = X. But this scenario works only when you are doing:
1. A full load.
2. You are running the query on the same day you are doing this full load.
Regards
Raj -
Transaction Code assignment for Query created in SQVI
Dear All,
Good morning I hope you are doing great...
Can any body help me out to assign transaction code for Query which was created through SQVI transaction.
Regards,
Murali.Hi Murali Mohan
1>go to SQVI t code and enter your query name and press enter
2>In the menu path select Quick view--> additional functions-->Generate Program
3>After Generating the program In the menu path select Quick view--> additional functions-->Display report Name
4>Now in se38 enter the report name in Program field and execute
5>You will get the Initial Selection screen of the report . Go to Menu of System -->Status
6> Note down the Program name and Screen number
7>Go to SE93 and Create a Z tcode for the query, Enter the description and importantly you have to select the 2nd Option radio Button Program and Selection Screen (Report Transaction) and Press enter
8>In the next screen enter the Report name In Program field and enter the screen number
9>In the classification Section select Professional user Transaction
10>In GUI support section select all the options i.e SAPGUI for HTML,Java,Windows
and save
the system will ask for Package select your package if not there then select local object
now execute the Z tcode your report will run sucessfully
Regards
Vijay hebbal -
Still some 'Not Assigned' in query result
Hi,
In fact, I've built a query on a multiprovider ( 1 Cube + 1 ODS )
The ODS and the Cube are joined by the material (0material).
The Cube and the ODS are well filled. Queries on each Infoprovider correctly display the results.
When I launch my query on the Multiprovider, it seems the "joined" between the 2 infoproviders doesn't work as
I've still some '#' / 'Not Assigned' value in the query result, and it should give me a result.
In fact the data from the ODS aren't retrieved, they are replaced by '#'. And I don't why ?
Please help.
Thx a lot,
ErwanYes you are right.
I made a mistake in my explanation.
But the problem is that the characteristics from the ODS aren't displayed though the characteristic from the cube are correctly displayed.
eg.
In the ODS I've :
( Material, ZCHAR )
'ART01' '315'
'ART02' '412'
'ART03' '999'
In my Cube I've :
'ART01' '12,36' '59,00' '30 ST'
'ART02' '12,96' '89,00' '40 ST'
In the query(on the multiprovider) result I've :
( Material, ZCHAR, other values...)
'ART01' '#' 'Not assigned' '12,36' '59,00' '30 ST' -
To display detals of not assigned Costelements in Query
Dear All,
I need to create a query on not assigned costelement hierarchy and broadcast the output through E-mail.
The query I created, displays the not assigned costelements under a separate node (filtered in query as #) but the problem is that the not assigned cost elements appear as u201C#u201D.
I want to get the details of these not assigned cost elements i.e. the query should display which cost elements are not assigned in the hierarchy. I couldnu2019t find the node REST_H (which I believe is created automatically for not assigned elements) in my hierarchy. How do I display the not assigned costelements in my query ?
One way I could think of is to compare the master data table and the hierarchy table of the InfoObject 0Costelement. The entries which are present in the master data table but not in the hierarchy tables are the unassigned costelements I am looking for.
Any standard way or a much simpler way of achieving this ?
Regards
Shalabh JainHi Stefan,
Thanks for the efforts.
But the option "Suppress 'Unassigned' Node" is used to either display not-assigned node or not.
But my requirement is to mandatorily display not-assigned node with the "DETAILS" of not-assigned costelements. I believe that by default the not-assigned costelement appears as # in the query. I want the details...i.e. which costelements are not-assigned.
Regards
Shalabh -
How to find T-Code assigned to ABAP Query...
Hi All,
I have ABAP query, Infoset and user grp with me.
Can anybody let me know, how to find the T-code assigned to this ABAp Query.
Regards,
SanjayHi.
In SQ01 tcode .. Check the Program attached to the SAP Query .
Then Goto Tcode SE93 and Open this Program.
There you can find the (Transactions)Tcodes created for this program.
Note: You can also check in TSTC table using the Program name. It a Tcode is already created for ur Query then it will be in TSTC.
REWARD IF HELPFUL,
Maybe you are looking for
-
Get the values from Day 1 of the Month
Hi Friends, I have a requirement in which I have to Get the values from Day 1 of the Month. Ex : If I enter 19 - 07 - 2007.......the report should display Values from 01 - 07 - 2007. How to Code ? Please provide the Code. Thank you.
-
Compiling Error Method body missing
Ok so i have a program that reads in 6 grades for 10 different students takes the avg and prints outs the Name 6 scores avg and the letter grade they would recieve in a nice chart using printf in my main method i get the error MIssing method body or
-
Newbie: standalone java AQ client
Hello. I need to write content from the java program to the Oracle 10g queue. I can get acquire the datasource in multiple ways (via DriverManager, Spring's dataSource support classes or from running local OCJ4 via jndi) and than do the following : Q
-
Distribution of MC with CHRMAS and CLSMAS in Retail scenario
Hi guys, I know that I can use WGSE or BD91/BD92. for distributing Merchandise Categories (MC). But is is possible to trigger CHRMAS and CLASMAS with change pointers scenario in case of Retail system. I have set change pointers in BD50. But they ar
-
Regarding Crystal Report and infoview
Hi All, In My project I have the following requirements. I have published a crystal report in infoview which contains three parameters field. Report is running fine . At the parameter selection screen three options is coming "Execute" "Collapsed All"