How to.....Report data in Alt UoM - Antonio Oliveira
PS: Sorry for writing this more as a personal message. All you guys can pitch in if you have any info.
Antonio,
I am implementing How to....Report data in alternate Unit of Measure (SAP Paper Nov 2004). I understand that You have already implemented this at your client site. If so, can you please give me a feedback on whether the solution provided in that paper is working fine and no further configuration needed. Also I understand that for that solution to work we need to have 0MATERIAL as drill down or across in the query...true?.... meaning that query cannot to run on a more summarized level for example Product Hierarchy ? Any help on this will be appreciated.
Thanks
Ashwin
well my reporting issue is to compare sales history Vs forcast generated from SCM, So the users want to report on Prod Hier level than Material, but they also want to be able to report data on alternate unit so their expectaion is when they run the report, they need a popup for Alt UOM selection but they want data to be summarized on prod hier level ..... and here I am trying to give them that. Anyways...I will go ahead and implement it, but I have already told them that their requirement is not achievable and they will see a lot of rows in the report
Thanks
Ashwin
Similar Messages
-
BW Gurus,
I am pretty new to BW, everything I am doing is for the first time!!!. Well I am implementing the 'How to Report data in alt UOM' the link is below
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b7b2aa90-0201-0010-a480-a755eeb82b6f
Has anyone implemented this already? Well I have a question regarding one of the characteristic variable which the paper asks me to implement. It specifies that I have to create a variable on 0UNIT. But the quantities in my cube are in 0BASE_UOM. Well please help me understand the difference between 0BASE_UOM and OUNIT.
Well to be more precise, In my query designer, under the dim Unit, I have just 0BASE_UOM. But when i try to create a variable on 0BASE_UOM, I have an option to create it on '0UNIT'....how does this work. Please help...
Thanks
Vishalhi Vishal,
0unit is the 'parent' off all master data unit of measurements, all unit characteristics actually has reference to 0unit.
i think you can try on 0BASE_UOM, if not work then 0unit.
hope this helps. -
Reporting Data in Alternate Units of Measure
We have a requirement to report data in base unit of measure and also in pounds and kilograms. I have read the paper "How to Report Data in Alternate Units of Measure". My problem is that in our R/3 system the conversion from base unit of measure to pounds is maintained, but no conversion from base unit of measure to kilograms is maintained. In BW, I have 0MAT_UNIT for conversion to pounds but not to kilograms. For the solution to work, am I correct in thinking that the conversion to kilograms must exist in 0MAT_UNIT?
Also, the paper states that it is applicable to BW releases 2.0A to 3.1C. Those of you on BW 3.5 - is there new functionality or a different way of handling reporting in alternate units of measure?
Thanks for your help,
Gail BodnerGail,
Nothing new in 3.5 for UoM conversion. It will still have to be the way described in the How To paper.
Maintin the conversion in R/3. Also, Pounds to KG is a standard coversion - you can hard code it too. Issue in UoM conversion comes in where you cut across type of uints, i.e. from vol. to weight. Then additional information like density is needed but within the same area, it shouldn't be a problem.
Cheers
Aneesh -
Reporting data in alternate unit of measure
hi
I was going through the document " How to report data in alternate unit of meaure" .
There they have talked about modification in program LRRSVF20.
Can anyone tell me what does this include "LRRSVF20" does?
Regards,
MoniikaHi,
Please tell me when i create a program "YBW_AUNIT_ENHANCEMENT" UNDER se38 and type: include...
what code i should write under this program?
i am pasting the program LRRSVF20 AND please tell me what should i write in program ""YBW_AUNIT_ENHANCEMENT"?
***INCLUDE LRRSVF20 .
*& Form varchavl_atr_get
form varchavl_atr_get using i_t_sid type rrsi_t_sid
i_chanm type rsd_iobjnm
i_th_var_atr type rro01_th_var_lrech
i_srdate type sy-datum
i_mostrecent type rsr_mostrecent
changing c_th_varchavl type rrsv_th_varchavl.
call method l_r_reader->sid_read_master
exporting
i_readatr = rsdm_c_readatr-specified
i_t_req_atr = l_t_req_atr
i_date = i_srdate
i_mostrecent = i_mostrecent
importing
e_tx_atr = l_tx_atr
changing
c_t_chavlinfo = l_t_chavlinfo
exceptions
others = 1.
if sy-subrc <> 0.
raise inherited_error.
endif.
*{ INSERT
Enhancement Alternate U.o.M.
INCLUDE ybw_aunit_enhancement.
*} INSERT
PERFORM varchavl_atr_fill USING i_th_var_atr
l_tx_atr
CHANGING c_th_varchavl.
endform. " varchavl_atr_get
***INCLUDE YBW_AUNIT_ENHANCEMENT.
TYPE-POOLS: rrs0.
DATA:
l_vnam LIKE rszglobv-vnam,
l_s_cob_pro TYPE rsd_s_cob_pro,
l_s_rkb1d TYPE rsr_s_rkb1d,
l_periv TYPE rro01_s_rkb1f-periv,
l_t_var_range TYPE rrs0_t_var_range,
l_s_var_range TYPE rrs0_s_var_range,
l_t_range TYPE rsr_t_rangesid,
l_s_range TYPE rsr_s_rangesid,
l_unit LIKE rszglobv-meeht,
l_currency LIKE rszglobv-waers.
FIELD-SYMBOLS:
<l_sx_atr> TYPE rsdm_sx_atr,
<l_s_var> TYPE rro01_s_var_lrech,
<l_s_atr> TYPE rsdm_s_atr,
<l_s_atr_cu> TYPE rsdm_s_atr.
Loop over all characteristic values
LOOP AT l_tx_atr ASSIGNING <l_sx_atr>.
Loop over all variables to be replaced by attributes
LOOP AT i_th_var_atr ASSIGNING <l_s_var>.
Fill additional information into pseudo variables
REFRESH l_t_var_range.
InfoObject (i.e. characteristic)
CLEAR l_s_var_range.
l_s_var_range-sign = 'I'.
l_s_var_range-opt = 'EQ'.
l_s_var_range-vnam = '1CHANM'.
l_s_var_range-iobjnm = i_chanm.
l_s_var_range-low = <l_sx_atr>-chavl.
APPEND l_s_var_range TO l_t_var_range.
Attribute
READ TABLE <l_sx_atr>-t_atr ASSIGNING <l_s_atr>
WITH KEY attrinm = <l_s_var>-attrinm.
IF sy-subrc <> 0.
RAISE x_message.
ENDIF.
CLEAR l_s_var_range.
l_s_var_range-sign = 'I'.
l_s_var_range-opt = 'EQ'.
l_s_var_range-vnam = '1ATTRINM'.
l_s_var_range-iobjnm = <l_s_atr>-attrinm.
l_s_var_range-low = <l_s_atr>-attrivl.
APPEND l_s_var_range TO l_t_var_range.
Unit of measure (only for amounts and quantities)
IF ( <l_s_var>-mwkz = 'M' OR <l_s_var>-mwkz = 'Q' ) AND
( <l_s_var>-fixcudim IS INITIAL ).
CLEAR l_s_var_range.
l_s_var_range-sign = 'I'.
l_s_var_range-opt = 'EQ'.
l_s_var_range-vnam = '1CUNM'.
READ TABLE <l_sx_atr>-t_atr ASSIGNING <l_s_atr_cu>
WITH KEY attrinm = <l_s_var>-cunm.
IF sy-subrc = 0.
l_s_var_range-iobjnm = <l_s_atr_cu>-attrinm.
l_s_var_range-low = <l_s_atr_cu>-attrivl.
APPEND l_s_var_range TO l_t_var_range.
ENDIF.
ENDIF.
Key date of query
CLEAR l_s_var_range.
l_s_var_range-sign = 'I'.
l_s_var_range-opt = 'EQ'.
l_s_var_range-vnam = '1DATE'.
l_s_var_range-iobjnm = '0DATE'.
l_s_var_range-low = i_srdate.
APPEND l_s_var_range TO l_t_var_range.
InfoObject properties
CALL FUNCTION 'RSD_COB_PRO_GET_ALWAYS'
EXPORTING
i_iobjnm = i_chanm
IMPORTING
e_s_cob_pro = l_s_cob_pro
EXCEPTIONS
infocube_not_found = 1
error_reading_infocatalog = 2
iobjnm_not_found = 3
illegal_input = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
l_vnam = <l_s_atr>-attrinm.
Call variable exit to get virtual attribute
CALL FUNCTION 'EXIT_SAPLRRS0_001'
EXPORTING
i_vnam = l_vnam
i_vartyp = rrkg_c_vartyp-formula
i_iobjnm = i_chanm
i_s_cob_pro = l_s_cob_pro
i_s_rkb1d = l_s_rkb1d
i_periv = l_periv
i_t_var_range = l_t_var_range
IMPORTING
e_t_range = l_t_range
e_meeht = l_unit
e_waers = l_currency
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
READ TABLE l_t_range INTO l_s_range INDEX 1.
IF sy-subrc = 0.
Attribute value
<l_s_atr>-attrivl = l_s_range-low.
Attribute unit of measure (only for amounts and quantities)
IF <l_s_var>-mwkz = 'M' AND <l_s_var>-fixcudim IS INITIAL.
<l_s_atr_cu>-attrivl = l_unit.
ELSEIF <l_s_var>-mwkz = 'W' AND <l_s_var>-fixcudim IS INITIAL.
<l_s_atr_cu>-attrivl = l_currency.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP. " variables for attributes
ENDLOOP. " characteristic values
Thanks,
Vijaya. -
Report Data in Alternate Unit of Measure
Hi
We are working on Unit of measure Conversion for this we are following How To .Report Data in Alternate Units of Measure document. We did all the steps as mentioned in the document still this is not working. All results are showing zeros with same units of key figure qty like EA, ROl, Boxes and so on. We want to convert this into Cartons and Pallets. My question is is there any thing we need to do which is not mentioned in this white paper.
For example maintaining Conversion Factor in R/3 side?
Do we need to add Conversion factor Key figure to Transfer Structure and Info cubes?
(Which is not mentioned in the white paper) if so which field we need to map this in Transfer Structure?
We are in Version 3.5
Thanks
NagaNaga,
For your first question.....you can "maintain" different units of measure in 0MAT_UNIT, but at one time you can report on only one alternate unit.
For your second question, I have a feeling that it is the problem with your enhancement to the std SAP code which is mentioned in the How to Paper. After you have done the enhancements did you activate the programs again? If there is somebody with you who is good in ABAP just run this enhancement through him.
Also just make sure you have followed everystep in that how to document, including the query designer part of it.
According to the logic of that paper, if the alternate unit is not available, then it is supposed bring back data in base unit, it is not supposed to error out. Check your ehancement piece again.
Thanks
Yashu Raj -
Report Data in to two alternate Unit of Measures
Hi
We Implemented "How to Report Data in to two alternate Unit of Measure". I have a question
1 Could we maintain Two alternate Unit of Measures for one Base Unit of Measure?
For example if Base unit is EA ( Each) we need to maintain this as CAR( Carton) and PAL ( Pallet).
Thanks
NagaHi Naga,
Are you talking about Qty Unit conversion. We can surely maintain CAR,EA,PAL and all. The Numerator and Denoms are maintained in T006. And accordingly the conversion happens.
Apart from that you can have your own customized Qty conversion using Transaction 'RSUOM'.
Lemme me know if this helps.
-Bikas -
How to save data in ztable after editing in alv report
how to save data in ztable after editing in alv report?
Hi,
Please find the attachment below.This may be usefull to you.
[http://wiki.sdn.sap.com/wiki/display/Snippets/ALV-Editingandsavingtheeditedvaluesin+Database%28OOPS%29]
Regards,
Ramakrishna Yella. -
How to print Data Model in Report??
Do anyone know how to print Data Model??
Thanks your help.
- FrankHi Venkat,
Thanks alot.... i am checking the appendix k.
I want to know that if i want to customize the report as per the client requirement,
can you please let me know which template i will use if i required remittence advice as well as check print data on the layout.
The following is the list of field i required:
Vendor ID
Check Date
Check number
invoice date
invoice/ CR memo number
invoice description
invoice gross amount
invoice discount amount
invoice net amount
total gross amount
total discount amount
total net amount
logo
company name and info
bank name and info
check number
check amount spelled out
check date
check amount numeric
payee name
CEO signature
MICR check number
MICR routing number
MICR bank account number
mailing return address
mailing address
Venkat it would be great help if you please let me know the exact process to be follow for check printing report.
I worked on bi publisher report in 11i, but in 12i the process is bit different.
also if you have any template ready can you please send me on my mail id ... i forwarded you the test mail from my official id or on [email protected]
Looking forward to your kind response.
Regards
Ratnesh -
How to embedded oracle report data in email body from forms?
Hi,
I am working on oracle forms and report 10g and i am new to this. I want to knw How to embedded oracle report data in email body ?
Regards
ShrutiI have uploaded a sample . This might help
http://www.alexyscorp.com/send_report_email.zip -
How to print date/time in report page footer?
Hi
I have a report which users can print as PDF.
However, I like to display current date/time in report footer.
I can see the Page Footer in section but can't figure out how to print date/time there.
Thanks for help.hi movilogo
Please try this.
Create hidden item P1_DATE
Create On load process in page 1 and put this code
begin
:P1_DATE:=TO_CHAR(SYSDATE,'DD-MON-YYYY HH:MM:SS');
end;
Open your region in Page 1 put this code in Footer area
*&P1_DATE.*
Refresh your page.
you will get the output like this.
16-SEP-2009 11:09:17
thanks
Mark Wyatt -
How to exctract data from a report to use it in a process
Hi! I would like to know how to exctract data from a report to use it in a process. Let's say that I have a report which have following fields: id_person, name_person. And then, I want to make a process which introduce the id_person (from report) into an associative tabel. How can I reffer to the fields from my report?
I was thinking about something like that( this should be the code from my process)
insert into associative_table(id_person)
values(id_person) or
insert into associative_table(id_person)
values(Report_name.id_person) but it doesn't work....
Thank you very much.Another option, use collections.
Create an on load process that loads all the rows you would have in your report into a collection:
begin
HTMLDB_COLLECTION.CREATE_OR_TRUNCATE_COLLECTION(
p_collection_name => 'ASSIGNED_CALENDAR_CONTACTS' );
for x in (SELECT CONTACT_ID, CONTACT_FNAME, CONTACT_LNAME
FROM CONTACT
WHERE InStr( pkg_CalendarMgr.f_FetchContactIDsForDay( TO_DATE( :P3_CALENDAR_DT, 'YYYYMMDD' ), 'OF' ), CONTACT_ID ) > 0 )
loop
htmldb_collection.add_member(p_collection_name => 'ASSIGNED_CALENDAR_CONTACTS',
p_c001 => x.CONTACT_ID,
p_c002 => x.CONTACT_FNAME,
p_c003 => x.CONTACT_LNAME);
end loop;
end;
Then, instead of your report selecting from the table, have it select from the collection, this way your display will match what's in the collection:
SELECT c001, c002 || Chr(32) || c003 CONTACT_NAME, 'Remove' remove
FROM htmldb_collections
WHERE collection_name = 'ASSIGNED_CALENDAR_CONTACTS'
ORDER BY c003, c002
Then you can have a button on the form that steps through the collection, one element at a time and does whatever you want it to. -
How to find out where R/3 report data are stored
Hy,
I am new in BW.
I have SAP R/3 report, I need to transfer that report data (all table data) to BW.
Could You explain me step by step how i can do it?
How to find out where data are stored?
Thank you very much!
Regards,
ArunasHi Arunas,
This topic has been discusssed here earlier. Check these links:
BW solution for ABAP Reports
BW reports
Bye
Dinesh -
How to load the data from informatica into bw & how to report the data
Hi friends,
how to load the data from informatica into bw & how to report the data
using cognos.(i.e how to access the data in sap bw using cognos 8 BI suite).
Thanks,
madhu.Inorder to report BW data into Cognos you can extract data from using Open Hub to the DB table from which Cognos reads.
For BW informatic integration refer following docs:
http://www.aman.co.il/aman/pfd/DataInteg_BR.q103cd.pdf.pdf
http://h71028.www7.hp.com/enterprise/cache/3889-0-0-225-121.html
http://devnet.informatica.com/learning/ePresentations.asp
http://72.14.203.104/search?q=cache:C741L86Q19oJ:devnet.informatica.com/showcase/resources/Essbase_DataSheet.pdfinformaticapowerconnect(BI)&hl=en&gl=in&ct=clnk&cd=3
http://www.informatica.com/customers/utilities_energy/fpl_group.htm
http://www.informatica.com/solutions/resource_center/technote_sapbw_65241004.pdf#search=%22Informatica%20to%20Bw%22 -
How to bring KSB1 report data from R/3 to BW
Hi All,
I need to bring the KSB1 report data from R/3 side to BW. Is there any standard extractor available for this ? How can I achieve this ?
Will 0CO_OM_CCA_9 work in this situation or is it entirely different ?
Actually business wants to see the actuals of Cost controlling with some of the fields which are existing in KSB1.
regards
AmitHi,
Check with the following DS's
0CO_OM_WBS_1 WBS elements: Costs
0CO_OM_WBS_2 WBS elements: Budget
0CO_OM_WBS_3 WBS elements: Overall plan
0CO_OM_WBS_4 WBS elements: Statistical key
0CO_OM_WBS_5 WBS Elements: Selections
0CO_OM_WBS_6 WBS Elements: Actual Costs Usi
0CO_OM_WBS_7 WBS Elements: Commitment Line
0CO_OM_WBS_8 WBS Elements: Budget Line Item
Thanks
Reddy -
How to fetch data in report related to fb03 , bkpf, bset table ?
how to fetch data in report related to fbo3, table bkpf, bset etc.
if any body is having any report related to these tables then please share.Moderator message - Welcome to SCN.
But please ask a specific questio - thread locked.
Also, Please read Please read "The Forum Rules of Engagement" before posting! HOT NEWS!! and How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
Rob
Maybe you are looking for
-
The payment information i put was none but won't allow me to access the iTunes gift cards money
-
WE-19 Inbound Idoc Process - Status Code 51
Hi, I generated Outbound idoc COND_A successfully to send it out to XI. I used same Idoc again in WE19 and changed partner details and tried Inbound Processing. Its giving me error code 51 ("ISO Currency USD can not be converted unambiguously to SAP
-
Audio Sync Issues During Final Render
I am working with school students to produce short film projects using iMovie HD 6.0.3 and I view their work before they render it and it looks and sounds fine. While the computers they work on are slower than mine (iMac G4 1.33ghz 500mb Ram) they ma
-
If I have an application that hooks into an Oracle 8.1.7 database running in noarchive mode, would it be transparent to that application if I were to switch oracle to archive log mode? I can't think of anything that would require configuration change
-
Error: 404 SC_NOT_FOUND
Environment ============ IAS6.0 SP3 iPlanet webserver 6.0 Problem ======== While trying to access the JSP page, i get the following error on the console "[29/Oct/2001 17:53:51:9] error: SERVLET-filetype_not_mapped: Mime mapping not found for file, wh