-ve values in the inventory report
Hi gurus,
we r facing a typical problem in Inventory.
we have the data from 2002 in R/3 and loaded to the resp to infocubes successfully with all the procedures like first BX then BF and UM. Did the compression with marker and w/o marker.
Then we created a report based on the cube. And we r getting a scary result.
In report it is showing the data from 2001. In R/3 the first movement occured in 2002 and there are no records
in 2001. checked the tables and MB5B,MB51,MMBE all and it shows the records starting from 2002 and in the cube also same we have the data from 2002. But we r getting the data from 2001 in the report with -ve total quantity stock values for all the records.
why does BW show -ve stock quantity and where the 2001 data is coming.
We really scared after checking the report.
Appreciate ur help in this regard.
Thanks
- BK
Hi
Did you checked the Noncumulative Keyfigure like it is Exception aggregation or nsomething else?
and also u can check in the validity table aginst that Palnt combination what was the timecharecterstic entry done in the validity table.
And then we can check in the front end part
also If you want to do cross check u can do Plant level analysis in R/3 Tr Code is: MCBA
Also check how the Time charecterstic is behaving in the Front end Query Design??????
Similar Messages
-
Passing selection screen values to the next report using CALL TRANSACTION
Hi experts,
I have 2 reports. In the first report i have the 3 input fields in the first report, how do i pass the values to the next report which is transaction: ZKKBC_PKO_2.
I want to display in the next report the selections that the user previously selected.
First report:
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: COMP LIKE AFRU-WERKS OBLIGATORY MODIF ID s1.
PARAMETERS: PERIOD LIKE COEP-PERIO OBLIGATORY MODIF ID s1.
PARAMETERS: YEAR LIKE COEP-GJAHR OBLIGATORY MODIF ID s1.
SELECTION-SCREEN END OF BLOCK b1.
CALL TRANSACTION 'ZKKBC_PKO_2'.
Anyone can help me?
Thanks,
LawrenceHi experts,
What i did is this:
Using SET PARAMETER
in the first report
SET PARAMETER ID 'WRK' FIELD COMP.
SET PARAMETER ID 'VPE' FIELD PERIOD.
SET PARAMETER ID 'GJR' FIELD YEAR.
CALL TRANSACTION 'ZKKBC_PKO_2'.
Second Report
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
PARAMETERS: WRK LIKE AFRU-WERKS.
PARAMETERS: VPE LIKE COEP-PERIO.
PARAMETERS: GJR LIKE COEP-GJAHR.
SELECTION-SCREEN END OF BLOCK blk1.
Using SUBMIT
First Report
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: COMP LIKE AFRU-WERKS OBLIGATORY MODIF ID s1.
PARAMETERS: PERIOD LIKE COEP-PERIO OBLIGATORY MODIF ID s1.
PARAMETERS: YEAR LIKE COEP-GJAHR OBLIGATORY MODIF ID s1.
SELECTION-SCREEN END OF BLOCK b1.
SUBMIT ZCO_PRDCOST_ACTUAL_2 VIA SELECTION-SCREEN USING SELECTION-SETS OF PROGRAM 'ZCO_PRDCOST_ACTUAL_1' AND RETURN.
Second Report:
GET PARAMETER ID 'WRK' FIELD comp.
GET PARAMETER ID 'VPE' FIELD COEP-PERIO.
GET PARAMETER ID 'GJR' FIELD YEAR.
Either this 2 ways i still cannot get the first report selection values on the 2nd report. Can someone help me see if my codes is correcT? -
Can a subreport select records based on values in the main report record?
Post Author: calvin
CA Forum: General
Perhaps my understanding of a subreport is incorrect as this is the first time I've used one, but it seems to me that the subreport should be able to use the values from the main report record in its (the subreport's) operations-but my subreport doesn't seem to be working that way.In my main report, I select a set of records from a 'request' table. I have a subreport in the detail section so the subreport is processed for each of the request records. That works, but I'm simply getting the same data reported multiple times. It's as if the subreport only uses the last request record rather than the current one. Stating it this way I can see that the problem might be evaluation time-it's processing the request records first, then processing the subreport, and only then printing everything. If this is correct then putting WhilePrintingRecords on the subreport should work-but the only way I know of to do that is in a formula. Can I call the subreport from a formula? Or am I totally off-track?Thanks.Post Author: foghat
CA Forum: General
Have you established a link(s) between your main report and subreport?When viewing the main report, click edit --> subreport links and link the 2 based on whatever values from the main report you want. -
How can i transfer a field value in the main report to its sub-report?
<p><font face="Arial" size="2">How can i transfer a field value in the main report to its sub-report?</font></p><p><font face="Arial" size="2">Please eloberate with example if possible!</font></p><p><font face="Arial" size="2">Thanks...</font></p><p> </p>
<p>You can do a couple of things - one would be to pass the information using the data linking expert. Right click on the subreport, choose 'Change Subreport Links' and select the field(s) you are wanting to pass to the subreport. CRW will build parameters and a record selection formula for you in the subreport, and if that's what you want, then great. But you can also remove the selection formula from the subreport and work with the parameter fields in the subreport however you would like.</p><p>Alternatively, you can look to passing Shared variables back and forth from the main and subreport. this link talks about the method to do this: http://diamond.businessobjects.com/node/251</p><p> </p>
-
Selection Criteria page printing in the inventory reports
Hi,
Selection Criteria page printing in the inventory reports only. How to avoid that?
For example: batch number transaction report.
Thanks,
OlgaHi Olga,
Do you mean you do not want those Selection Criteria to be printed out? I am afraid that can not be disabled out of box. The work around could be printing to PDF file first and print the file to printer later.
Thanks,
Gordon -
Dear all,
I created a report based on the Multi Provider that is build on 2 Cubes.
The vales in the report looks like this.
Eg:
State Revenue
CA 1000
NA 2000
7000
Total 10000
Here , the maximum Revenue is holding by the # .I would like to know what is the # value represents.
we reloaded the master data also.
Please help us,,
ThanksThere might be two reasons for this.
1. Your cube might be having few transaction data with blank states but having revenue against them. If you sum up the revenue for these Blank state it will sum up to 7000. This is exactly what is displayed in your report as #. In this case you need to replace the # value with the valid State names.
2. Your cube might be having few transaction data with the State values whose masterdata is not properly maintained. In this case you need to maintain the masterdata with valid state names. Or in the query designer -> Right Click on State object and goto properties -> For display select Key instead of Text. -
How to pass value from the Z Report to the selection screen of the std rep
Dear Experts,
i have developed a report and the values are maintained only in internal table based on some condition. When I execute the report, for example MM60, there is a material number field for multiple selection.
the report should call the standard transaction and pass the values from the internal table to the multiple selection- material number of the standard transaction.
the standard transaction should never get executed automatically. Only the value should get passed from internal table to the standard t code. Please help.
regards,
ShankarHai
Go through the following Documents
SUBMIT rep.
Additions
1. ... LINE-SIZE col
2. ... LINE-COUNT lin
3. ... TO SAP-SPOOL
4. ... VIA SELECTION-SCREEN
5. ... AND RETURN
6. ... EXPORTING LIST TO MEMORY
7. ... USER user VIA JOB job NUMBER n
8. ... Various additions for parameter transfer to rep
9. ... USING SELECTION-SETS OF PROGRAM prog
Effect
Calls the report rep . Leaves the active program and starts the new report rep .
Addition 1
... LINE-SIZE col
Effect
Prints the report with the line width col .
Addition 2
... LINE-COUNT lin
Effect
Prints the report with lin lines (per page).
Addition 4
... VIA SELECTION-SCREEN
Effect
Displays the selection screen for the user. In this case, the selection screen is redisplayed after return from the report list display - the user's entries are retained.
Addition 5
... AND RETURN
Effect
Returns to the calling transaction or program after the called program has been executed. SUBMIT ... AND RETURN creates a new internal mode .
Addition 6
... EXPORTING LIST TO MEMORY
Effect
Does not display the output list of the called report, but saves it in SAP memory and leaves the called report immediately. Since the calling program can read the list from memory and process it further, you need to use the addition ... AND RETURN . Also, since the called report cannot be requested for printing, the addition ... TO SAP-SPOOL is not allowed here. You can read the saved list from SAP memory with the function module 'LIST_FROM_MEMORY' and then (for example) store it in the database with EXPORT . You can process this list further with the function modules 'WRITE_LIST' , 'DISPLAY_LIST' ... of the function group "SLST" .
Addition 7
... USER user VIA JOB job NUMBER n
Effect
Schedules the specified report in the job specified by the job name job and the job number n . The job runs under the user name user and you can omit the addition USER user . The assignment of the job number occurs via the function module JOB_OPEN (see also the documentation for the function modules JOB_CLOSE and JOB_SUBMIT . This addition can only be used with the addition ...AND RETURN .
Note
When scheduling a report with the SUBMIT ... VIA JOB job NUMBER n statement, you should always use the addition ...TO SAP-SPOOL to pass print and/or archive parameters. Otherwise, default values are used to generate the list and this disturbs operations in a production environment.
Addition 9
... USING SELECTION-SETS OF PROGRAM prog
Effect
Uses variants of the program prog when executing the program rep .
Note
Important
The programs prog and rep must have the same SELECT-OPTIONS and PARAMETER s. Otherwise, variants of the program prog may be destroyed.
Note
When using this addition, the specified variant vari of the program prog is taken in USING SELECTION-SET vari . On the other hand, all variant-related actions on the selection screen of rep (Get , Save as variant , Display , Delete ) refer to the variants of prog .
Example
SUBMIT REPORT01
VIA SELECTION-SCREEN
USING SELECTION-SET 'VARIANT1'
USING SELECTION-SETS OF PROGRAM 'REPORT00'
AND RETURN.
Effect
Executes the program REPORT01 with the variant VARIANT1 of the program REPORT00 .
Note
Runtime errors
LOAD_PROGRAM_NOT_FOUND : The specified program was not found.
SUBMIT_WRONG_TYPE : The specified program is not a report.
SUBMIT_IMPORT_ONLY_PARAMETER : Only one value passed to a report parameter.
SUBMIT_WRONG_SIGN : Invalid value passed to a selection with the addition SIGN .
SUBMIT_IN_ITAB_ILL_STRUCTURE : Table passed to a selection with WITH sel IN itab had an unexpected structure.
Try with this Example
Data: listobject like abaplist occurs 1 with header line.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = listobject
EXCEPTIONS
OTHERS = 1 .
IF sy-subrc <> 0.
message ID '61' TYPE 'E' NUMBER '731'
with 'LIST_FROM_MEMORY'.
ENDIF.
Thanks & regards
Sreenivasulu P -
Clear the values in the ALV report after calculating Subtotals
Hi All,
In my ALV report, I am displaying subtotals by passing DO_SUM in the Field Catalog.
Now my problem is in the display I do not want the individual values to be displayed, I want to hide the values in the column(Not the whole column) but I want to display the subtotal of these values in the Subtotal Row.
Example:
Item1 10 20
Item2 20 30
Item3 10 50
40 100
As per our requirements, the output should be
Item1
Item2
Item3
40 100
How can this be done? Please suggest.Populate i_sort table for the fields for which u want subtotal as shown below:
*& Form sub_populate_sort
Populate ALV sort table
No Parameter
FORM sub_populate_sort .
Sort on material
wa_sort-spos = '01' .
wa_sort-fieldname = 'MATNR'.
wa_sort-tabname = 'I_EKPO'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO i_sort .
CLEAR wa_sort.
Sort on plant
wa_sort-spos = '02'.
wa_sort-fieldname = 'WERKS'.
wa_sort-tabname = 'I_EKPO'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO i_sort .
CLEAR wa_sort.
ENDFORM. " sub_populate_sort
Then when populating the field catalog tables use:
wa_lfl_fcat-no_out = 'X'. "No output
Then display ur data:
This function module for displaying the ALV report
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = l_repid
i_callback_top_of_page = 'SUB_ALV_TOP_OF_PAGE'
is_layout = wa_layout
it_fieldcat = i_fieldcat
it_sort = i_sort
it_events = i_event
i_default = 'X'
i_save = 'A'
TABLES
t_outtab = i_ekpo
EXCEPTIONS
program_error = 1
OTHERS = 2.
Regards,
Joy. -
How to restrict some values in the final report output.
Hi Experts,
I have scenario where I dont want to include the values in the output of report.
If you observe above there are some un assigned cost elements and its the report output. I dont want these to be in the report.
Please suggest me.
Thanks,
RaviHi Friends,
Thank you for the reply.
I tried to exclude the values, but i dont find any chance to exclude them
If i try the same from characteristic restriction, its allowing me to exclude.
Is there any other possibility to restrict these? Please suggest -
Showing Selection screen Varible values on the workbook report
Hi,
I want to show values of selection screen variables on the workbook report.
Please help me on this.
Thanks,
Isiri.Hey All,
I'm also face the same problem.
IF i use the TEXT related with filter,the workbook become bigger.
In BEx analyzer 3.5 you had the possibility to remove query results from your workbook before saving it.
Any idea's how you can do this in the BI 7.0 Analyzer? -
Changing values in the web report
Hi All,
For ex. I have the following scenario.
I have a web report in which I have a table item which is displaying the query result. The user wants to have a facility to change the Key Figs, if they want, directly on the report, it means when the user runs the web report and if he says something to be changed, he will directly change the value on the report and will click something like a button to save the changed value back in the infoprovider.
Is this something possible?I came to know that we can do this sort of things using BSP but I am not sure how to make the table item to accept some changes and how to link to a BSP Program.
Could some one please help me in this..
Best Regards,
Nene.Nene,
If you want to know if it is possible , here's how...
1. Use a BPS layout ...
2. Create a BSP layout for the same
option 2 :
Create a BSP page which has a textbox for accepting the value and a submit button.
On clicking the submit button , based on the parameters selected by the user , update the ODS. Remember you cannot update the cube because it does not have overwrite capability. However , declare the cube as an export datasource and then call the function module for the data source and push in the data for the same inside the BSP page.
Hope this helps..
Arun
Assign points if useful
Message was edited by: Arun Varadarajan -
Key Figure values in the Bex Report are different from the cube
Hi all,
When I tried to pull data of the cube, the values of the Key Figure 0Lotsize_cm was showing 100 EA. But when I try to run the query of the cube, then the key figure is LotSize is showing up as 500 EA. I don't understand why this is happening.
When I checked for Aggregation in the Key Figure. It shows up as "Sum" under aggregation and "Last Value" under Exception aggregation.
Could some one help me find a solution to this issue.
I look forward to hearing from the experts.
Regards,
S.PHi Arun and Zegion,
Thank you for your responses.
Arun, I do not have any aggregates on the cube. I changed the aggregate properties of the Key Figure from SUM to Minimum. this has solved my problem temporarily.
the reason I am saying temporarily because this is a SAP delivered InfoObject. This is for the datasource 0CO_PC_PCP_01. When I read through the documents, it said, SUMMation for Aggregation and Last value for "Exception Aggregation" will display the value of KF as the last value and does not add them up.
Since this wasn't the happening in my query, I changed the Aggregation from SUM to Minimum.
Regards,
S.P -
Passing all values to the child report in OpenDoc - XIR3.1
Hi all
in XIR3.1
iam able to write the open document syntax and also able pass some prompts i wanted like month, year, ID,... etc
am able to pass and open a child report based on parameters when i select one value of those fields from dropdown in drill mode
my requirement is if i select All Months or All Years from the dropdown it should generate a child report based on All Years Parameter can we do this
Any ideas please
Thanks in advanceYou may refer to the article:
http://wiki.sdn.sap.com/wiki/display/BOBJ/WebItrick-drillamongmultiplereports
And you will find out the way to transfer the all value. -
How can I display Group By-Value in the Bex Report
I have a report values looks like below,
Month BALANCE
04/2005 $ 188.00
11/2005 $ 188.00
11/2005 $ 180.00
12/2005 $ 194.00
12/2005 $ 196.00
01/2006 $ 182.00
01/2006 $ 376.00
02/2006 $ 184.00
02/2006 $ 192.00
I am expecting the results
Month BALANCE
04/2005 $ 188.00
11/2005 $ 368.00
12/2005 $ 390.00
01/2006 $ 558.00
02/2006 $ 376.00
Group by Month .(not a result value)
Please advise on this.
Advance ThanksRows - Calendar Year/Month
Keyfigure Structure in the Column
The below fields are in the column
BALANCE
No.Of .Days
0-30 days
31-60 days
Still I am getting the value
04/2005 $ 94.00
11/2005 $ 94.00
$ 90.00
12/2005 $ 97.00
$ 98.00
01/2006 $ 91.00
$ 188.00
02/2006 $ 92.00
$ 96.00
Balance needs to Sum /group according to the date value.
01/2006 has value 91 and 188.I am expecting 279 .
Please provide some tips.Thanks for help. -
Change of values in the webi report
Hi
webi report in QA is working fine .
but after moving to production the values have changed.
but bex report in production has got correct values.
these reports have graphs attached to them.
evn there is a change in a graph
what can be the reason for change of values?
Regards,
Swetha.That sounds quite bizarre. Please provide lots of details. What version, SP and FP of BusinessObjects are you using, what about NW?
Does this occur for all KF/measures? The numbers that are showing incorrectly, what are these objects in the BEx query? Characteristics, KFs, CKFs, RKFs?
If measures, what is the aggregation type in the universe?
What about, in the universe, if you create a calulated measure that is "measure + 10". What result do you get in webi?
E.g., if the value should be 234 and you're seeing 2234, what does adding 10 to the value do? Do you get 4488? Or 2244?
Maybe you are looking for
-
Hi all, I am getting the following error while running the servlet. Error: java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver, The above error arise while I try to access a data from the database table using servlet throug
-
How to automate "do not authorize" for scripted install?
I am a consultant for a library and they want to install Digital Editions on all patron and staff pc's. I've created a script (accor ding to the documentation) which works well (silent install, no CRC check, etc). But the first time Digital Editions
-
How to enter different apple I'd on my iPhone
Wrong email address is already entered and i cannot change it
-
New TED video podcasts not compatible with 80GB classic?
Up until recently, I've been loading TED podcasts (video) on my 80GB Classic with no problems. For the last 3-4, however, I'm being told that these most recent ones can't sync because they are not compatible with my ipod. For some reason they can't b
-
Error : invalid number error
Hi, I am using quary in to insert value but show me invalid number. SELECT 'C/' || :P2_MARKET_CODE|| '/' || TO_CHAR (:P2_START_DATE, 'YYMM')|| '/' INTO v_new_costing_code FROM DUAL;show me invalid number error. how to resolve this error. Thanks Edite