Taking the value of char g/l account in report
Hi experts,
How to CHECK THE G/L ACCOUNT VALUE IN QUERY DESIGNER THAT IF THE G/L VLAUE ENDS WITH 1 OR NOT , AND IF THE VALUE ENDS WITH 1 THEN I HAVE TO MARK IN REPORT COLUMN 'INTER COMAPNY' AS X OR LEAVE BLANK .
PLEASE HELP ME IT REALLY URGENT,
FULL POINTS AWARDED.
REGARDS,
AXEL
Hi Axel,
You can try 11 and then 1 for offsetting settings.
If this does not work then another idea is to populate a navigational attribute (like InterCo Flag) for the Account InfoObject and fill the value during master data load. Add this navi attr to the cube too. Then in the query you create a formula variable for the attr and check its value.
Hope this helps...
Similar Messages
-
How to store the value of sum of group in Crystal Report at the runtime!
Hello all,
I creates a Formula Field that hold the value of Sum of Group in Crystal Report. I would like to know how to store it in a variable and pass it to store procedure. Is it an option in Crystal report to do it. I knew that Crystal Report can cache the report for sharing. My detailed issue as following:
- Created a Formula Field named TOTAL AMOUNT that calculated the complex expression. This TOTAL AMOUNT is dynamic based on group and variables.
- I would like to store that value from TOTAL AMOUNT and pass it to the stored procedure parameter IN.
Any helps are much appreciated. Thanks.I doubt that this is possible since it would only calculate this value once the report has data. This sounds more like a report design question that should be asked over [here|SAP Crystal Reports;
-
BW 7.3 Error in DTP if the values are char for the char field
Hi,
I have created a field with
Eg: Field1 CHAR 7 -> i have removed the ALPHA conversion
I am loading the data from ECC if the values are
AA0-992 or AA1-AT1 there is no issue it is getting loaded
but when i am getting the values as AAA-BBB it throws an error.
In RSKC "-" is allowed CHAR.
Can someone help becuase as this is the CHAR field it should accept
ThanksHi,
I resolved in between we had the lower case characteris so that thrown and error.
Thanks -
Passing the values from one selection screen to another report
Hi all,
This is my requirement...
I need to hav a selection screen with various input parameter along with 3 radio buttons...
If i enter the values and select say first radiobutton the corresponding called program needs to be executed .
NOTE :
1)The called program selection screen needs to be skipped
2) the values entered in the calling program needs to be passed to the called program and the output of the called program needs to be displayed.
3)the selection screen is the same for both calling and called program
Can anyone plz help in this regard?
Regards,
Gowri ShankarHi...
Use the statement
<b>SUBMIT zps_called_report WITH SELECTION-TABLE seltab.</b>
see the following link....
<b>http://help.sap.com/saphelp_nw04s/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/frameset.htm</b>
Hope it helps you...
Let me know if u have any more doubt...
Reward points if useful......
Suresh....... -
How to pass the value of an Excel cell to XL Reporter
Hi guys,
I'm posting this here because no one could help at yahoo's XLR group.
My problem is I need to passa the value of an Excel cell to ixGetData.
Searching I found there where 3 possible ways,
1) =ixGetData("manager"; "RLH6J"; "[Pelissari].[dbo].[RelContas_a_Receber]"; " CardCode, CardName"; " CardCode ="&B6)
2) =ixGetData("manager"; "RLH6J"; "[Pelissari].[dbo].[RelContas_a_Receber]"; " CardCode, CardName "; " CardCode =Cell("Contents", B6))
3) =ixGetData("manager"; "RLH6J"; "[Pelissari].[dbo].[RelContas_a_Receber]"; " CardCode, CardName "; " CardCode = Cell(B6))
The problem is none of them are working!
Can anyone help me, please?
Thanks!
Edited by: Darius Heydarian on Mar 27, 2008 11:44 AMI'm sorry, I dont have the perfect solution.
I ceated a UDT [@Params] or UDF where the user has to insert the values for XL Reports (for exampel CardCode). After the User inserted the value he can start the XL-Report which are reading from this UDT or UDF the value into the GetData function. You must only insert a query into the condition of GetData :
=ixGetData("manager"; "RLH6J"; "Pelissari.dbo.RelContas_a_Receber"; " CardCode, CardName"; " CardCode = (SELECT Name FROM [@Params] WHERE ID='XL-CardCode')")
If you will find some other possibilty please let me know.
Hannes -
How to initialized a variable in java file by taking the value from web.xml
suppose i declare parameter in web.xml file
i want to access if from a java file .
how can i do this . plz help me its urgent...............In your Servlet class you can use the getInitParameter("configfile") method.
-
In LSMW converting the value from char to numeric
Hi All
I have a file in which NTGEW is stored as "2,5"
system does not accept probably the this and when I go to the Step 11
of convert data I am getting the dump
I guess I need to set up the conversion rules in Step 5.
Can you tell me how to do thatHi Amolsonaikar
GO TO Step 5
Place the cursor on the source field name
click on the Rule button on Function bar...
Then selection abap code
and write a code.
Assuming NTGEW is system field
and source field is zNTGEW
and structure is zcmm
if not ZCMM-zNTGEW is initial.
REPLACE ALL OCCURRENCES OF REGEX ',' IN ZCMM-ZCUT_CODE WITH '.'.
Zxxx-NTGEW = ZCMM-zNTGEW.
ENDIF.
try with above code...
it will solve your issue
Thanks
RAMESH -
How to get the values of bdcmsgcoll to be printed in report
hi experts,
I am updating Va02 using BDc .. this is done however i m struck at this point..
I want to display the log i.e messages like data was updated ,, or any error ...
As far as i know these logs are stored in BDcmsgcoll but how to get these value to be
displayed in report once the update is done ..
please help..if any body has any code .. then do send it to me.
Thanks in Advance
SrinivasSrinivas,
data: messtab type table of BDCMSGCOLL with header line.
Call transaction 'SM50' using bdcdata
mode 'N'
<b>messages in messtab</b>.
Loop at messtab .
write : messtab
endloop.
Pls. reward if useful -
Do not show the # values should be replaced with blank at report
Dear All,
There is a requirement do not show the null (#) values at report level for characterstics fro example for onedocument there is no notification type in report for that document it is coming with null value but i do not want that null value in report it should be blank
any suggestions please,mostly provide the information at report level,but at cube level any options at the time loading( through start routine)
Thanks & Regards
sathishHi Satish,
There is one tcode where u can keep ur symbol defined say blank to show in report when null values occur... i didnt rememeber tcode i will tell you as soon i get it....
but it will effect not only this query but all the queries so it is upto u....
and at cube level u can write a routine to check ...
if this field value is initial .
change it with blank
else
leave it.
hope it helps...
regards
vamsi
Edited by: vamsi talluri on Mar 15, 2009 10:33 PM -
Dump when changing the value for a field (of 13 decimals) in alv grid.
Hi Group,
Its giving a dump when user is trying to change the value.
dump description: Unable to interpret "70,000 " as a number.
what is happening here is, the original value is 50,000 and he is deleting 5 and replacing it with 7, here its throwing the dump.
If he removes the complete number 50,000 and then gives 70000 its taking the value.
I tried to use, the decimals options in alv field catalog but to no joy.
Please can you give me an advice on this.
Many Thanks.the problem is the comma in the 70,000....that's an alpha character.... Normally, we expect SAP to display numeric fields in a appropriate format, based upon their numeric type, but trying to forcibly insert '70,000' into a true numeric-type field can generate an 'unable to interpret xxx,xxxx as number' error.
You could experiment with changing your ALV column to a char17 (or appropriate width) and putting your numeric value into that to display, then converting back to type P, or other field type in the table, in a column that is not displayed, when the user changes the value.... essentially two columns, one not displayed with a routine to copy/convert the numeric field into the alpha field and the reverse when the field is changed.
But, the better solution is probably for the user to understand that they're seeing a formatted numeric field, and that they need to replace the entire value with the only possible punctuation being a decimal and (if necessary) a negative sign. -
MIGO- Goods Issue- Order, the value is not written into Table COSP
Hi,
We make a substitution of wbs element of line item( BSEG-PROJK ). The wbs filed will be filled automatically when the user input a cost center or a order number.
But we found some inconsistency in standard report S_ALR_87013558 OR CJI3.
The following is what we have done:
In Tcode F-02, we enter a order(e.g. A), then the WBS Element is filled automatically. when we post the document, and go to Standard report: S_ALR_87013558,
we can see the amount in the report.
In MIGO, we make a goods issue by order(e.g. A. Movement type is 261) , when we post, Material Document and Accounting document and Controlling document , but in report S_ALR_87013558 or CJI3. the amount is wrong, we can not see the amount we have done in MIGO.
The movement type 201 is also wrong, the value is also not written into tabl cosp.
But GI for project-movement type 221, the value is written into table cosp.
Can you tell me this is wrong or right? if right, why? if wrong, how can i correct it, i need some customizing or others? or my substitution affect the result?
Best Regards
qingdaSorry, not reply these days.
And very thanks for all your replies.
I am a abaper, not familiar with the business.
The business consultant want to control budget, control cost.
At first, he let me do a substibution in FI line item of besg-projk(WBS Element), when we he test the substitution in TCode F-02, the WBS field is filled automatically as per G/L account and Cost Center or as per G/L Account and Order, and then in Standard Report 'S_ALR_87013558', we can see the changes of the cost.
But when biz consultant do a MIGO->Goods Issue by order, we can not see the changes of the cost,but the value of WBS in FI Accounting Document is substituted correctly.
And if we enter the WBS manually when we do a MIGO->Goods Issue by order, we can see the changes of the report 'S_ALR_87013558'.
In the original post, i was wrong, when we do a goods issue with movement type 201, the result is the same as 261, also we cant see the changes. but if we enter the wbs manually(movement type 201),the changes is write to COSP table.
The solution about the original requirement is right or wrong?
Thank You All.
Best Regards
qingda -
Problem in setting vector or string[] as the "value object" in hashmap
Hey I am new to this forum.
I am doing a project in which i need to store a array of strings as "value object" for a unique key in hashmap.
as I populate the hashmap from external file according to key and setting the string[]. The hashmap is taking the value field same for each entry i.e the last field as i keep updating the same variable and then putting it into hashmap.
Please give solution to my problem???
if question not clear,please tell me- i will add more information
Edited by: AnkitNahar on Apr 4, 2009 8:06 AMI tried using the method suggested by you...but it is of same case as using the string[].
I need to loop the statements in which the hashmap is populating so cant change the variable names in the dd.put() statements. When the below code executes it shows the same set of string for both the keys, that was the problem i was facing with string[].
here is the example with two entries....same thing in looping.
HashMap<String,Set<String>> dd=new HashMap<String,Set<String>>();
String word = "Hello";
Set<String> alternativeWords = new HashSet<String>();
alternativeWords.add("Hi");
alternativeWords.add("Yo");
dd.put(word, alternativeWords);
alternativeWords.clear();
alternativeWords.add("hey");
word="yep";
dd.put(word,alternativeWords);
System.out.println(dd.get("Hello").toString());
System.out.println(dd.get("yep").toString()); -
Get the value from dropdown list (selectedIndex) and text field -- not working
Hi All,
I am trying to find and change by the values selected by user using dropdown and text field. Here is the code.
ChangeRevDetails();
function ChangeRevDetails(){
var myDialog = app.dialogs.add({name:"Enter copyright information"});
// var monthlist = col1.dropdowns.add('myList', undefined, myList);
var col1 = myDialog.dialogColumns.add();
var col2 = myDialog.dialogColumns.add();
col1.staticTexts.add({staticLabel:"Month:"});
col1.staticTexts.add({staticLabel:"Year:"});
col1.staticTexts.add({staticLabel:"Rev. no.:"});
var myList = [ "January", "February", "March", "April", "March", "April", "May", "June", "July", "August", "Sepetember", "October", "November", "December" ];
var myMonth = col2.dropdowns.add({stringList:myList, selectedIndex:0, minWidth:100});//{minWidth:100});
var myYear = col2.textEditboxes.add({editContents:"2013", minWidth:100});
var MyRev = col2.textEditboxes.add({minWidth:100});
var RevMonth = (myList [myMonth.selectedIndex]);
var RevYear = myYear.editContents;
var RevNumber = MyRev.editContents;
var RevToReplace1 = RevMonth +", "+ RevYear;
var RevToReplace2 = RevMonth +", "+ RevYear + " Rev. " + RevNumber;
var myResult = myDialog.show();
if(myYear.editContents == "") //entry is ""
alert("Please enter some text into the contents field.");
ChangeRevDetails();
else if(myResult == true) //user entered datas
alert (RevMonth);
alert (RevYear);
alert (RevNumber);
alert (RevToReplace1);
alert (RevToReplace2);
app.findGrepPreferences = NothingEnum.nothing;
app.changeGrepPreferences = NothingEnum.nothing;
// grep find/change
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "[\\l\\u]+?\\s?\\d{4},?\\s+[\\l\\u]+\\.*\\s+\\d+";
app.findGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.item("Back page"). paragraphStyles.item("Legal_7/9");
app.changeGrepPreferences.changeTo = RevToReplace1;
app.changeGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.item("Back page"). paragraphStyles.item("Legal_7/9");
app.activeDocument.changeGrep();
app.findGrepPreferences = NothingEnum.nothing;
app.changeGrepPreferences = NothingEnum.nothing;
else //implies user clicked cancel
myDialog.destroy();
The problem is, it is not taking the value which the user selects from the dropdown and the text field. It takes the default value as "January" and the year is "2013" as both of these values are given as selectedIndex:0 and editContents:"2013". I have compared the coding with some other working scripts as well, but it is not working. I have added several alert boxes to check the value we get.
Also, the find and change is also not working. Please help me on this. Thanks.
Regards,
Muthuraj. DChange the order for dialogresults:
var myYear = col2.textEditboxes.add({editContents:"2013", minWidth:100});
var MyRev = col2.textEditboxes.add({minWidth:100});
var myResult = myDialog.show();
if(myYear.editContents == "") //entry is ""
alert("Please enter some text into the contents field.");
ChangeRevDetails();
else if(myResult == true) //user entered datas
var RevMonth = (myList [myMonth.selectedIndex]);
var RevYear = myYear.editContents;
var RevNumber = MyRev.editContents;
var RevToReplace1 = RevMonth +", "+ RevYear;
var RevToReplace2 = RevMonth +", "+ RevYear + " Rev. " + RevNumber;
didn't have a look for the find change problem -
Pivot table not displaying the values correctly
Hi,
I have created a pivot table in which i am using 2 tables. I pulled columns from table A and one column from table B in the measures section to get the grand total. All the rows are comming fine but, its not returning any values for tableB's column(if i pull it into measures).
If the column stays under rows section, the report is comming out fine.
I need the total to be displayed in the report.
Can some body help me with this.
ThanksHi David,
i have set the column's aggregation to sum, and it is comming out correctly in the grand total, how ever, i have some of the coulmns which i am taking the %
col3= (col2/col1)*100
col1- aggregation set as Sum, col2 and col3 is set as default
The values for col3 are comming finr in report , where as it is not returning correct value for garnd total row.
ex: row w--- col1 col2 col3
row1-----6630 1130 17.04
row2 6114 994 16.26
total 23317 3739 56.40(should be 16.2..)
For col3 it is calculating like this(3739-total of col2/ 6630 -first row of col1 *100)
Instead of taking total , it is taking the first row.
I tried different aggregations, but was still unable to get the correct value. Can you please let me know if i am missing anything.
Can we define custom aggregations.
Thanks
Gayatri
Edited by: user12589255 on Aug 3, 2011 2:55 PM -
Parameters passed in smartforms are not taking any value
hi everyone
Ive passed parameters in my print program and these parameters are defined in the Forms Interface Section of the smartforms, but when I am executing the program, the smartforms is not taking the value of the parameters,
Can anybody help me plz?how to check if I have correctly imported the data?
The data in the print program is correct, but I dnt know why the values are not taken to the form.
This is part of the code
call function func_mod_name
exporting
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = control_parameters
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = options
USER_SETTINGS = 'X'
SCHKZ = wa_print-schkz
STARTDATE = wa_print-startdate
DURATION = wa_print-duration
COUNTRY = 'BE'
importing
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
job_output_options = options
exceptions
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
others = 5
and the variables SCHKZ STARTDATE DURATION and COUNTRY
are defined in the Form Interface level of the form
is it ok? or i am missing something else?
Maybe you are looking for
-
Error While executing a broadcast setting in BW 7.4
hi dear BEx Gurus, I am using BEx Broadcaster to a great extent, many of our critical reports are being sent to the users though BEx Broadcaster. Everyday around 700 triggers are executed automatically. These were working perfectly before we upgraded
-
How do I move addresses from one computer to another
Hi, i have a large address book on my Palm desktop which is version 4.1.4 running on Windows XP home O/S. I am trying to port these addresses on to my new laptop which is running Windows 7 Professional O/S which has version 6.2.2 palm desktop by Acce
-
Can't import XML schema with ref to external namespace
In TopLink 10.1.3 Dev Preview 3 (build 041116), I have 2 simple schema files. One defines an element as a ref to an element in the other schema, so the ref points to an element in an external namespace. TopLink won't import this schema. First schema,
-
From english evaluation to dutch full licensed? (Windows Server 2012 R2 Essentials)
Hello, I've installed and evaluated Windows Server 2012 R2 Essentials English. This server edition works like a charm for my smaller projects. I've been testing this version and I'm at 'Windows License valid for 159 days'. Now I would like te use thi
-
Online Streaming Authentica​tion issues with Chrome
I get caught in a never ending login loop when I try to authenticate with my Verizon ID for online streaming services such as stream.nbcsports.com/liveextra, stream.golfchannel.com, nflonline.nfl.com, etc. Others have reported the same issue with sh