How to get Material details based on 0material in 0figl_o02 DSO
Hi
In Financial Accounting we have DSO for General Ledger: Line items (0FIGL_o02) It contains Material no. for each transaction record but other material details like Qty used and price for that material and other related details are not present and also not in the Datasource 0fi_gl_4. Pls let me know the logic so that using the Material no. I can get the related details of material from any other infoprovider in BI.
Thanks
Hi Puneetb,
If you want data directly from the 0material infoObject in BW you can do 2 things:
1. Edit the updaterule to your destination cube and determine the values in an ABAP routine
2. Change the attributes to navigational in both infoObject and cube so you can use them in queries (in this scenario you allways display the current attribute values instead of the values when loading the data.
Is this what you were looking for?
Kind regard,
Alex
Similar Messages
-
How to get MRP Details based on OPEN PO's
Hi Experts,
Could you please help me in getting details related to open purchase orders based on MRP Exceptions and MRP line items.
I need develop a report based on plant, I have found one function module "MD_MRP_LIST_API" to get these details, but this works only with the combination of material and plant.
kindly tell me whether we have any tables other than FM's, so that I can pull out the report based on plants.
BR/Sathya.Hi Puneetb,
If you want data directly from the 0material infoObject in BW you can do 2 things:
1. Edit the updaterule to your destination cube and determine the values in an ABAP routine
2. Change the attributes to navigational in both infoObject and cube so you can use them in queries (in this scenario you allways display the current attribute values instead of the values when loading the data.
Is this what you were looking for?
Kind regard,
Alex -
Function Module to get PO details based on Plant and PO date
Hi
1. Is there any Function Module to get PO details based on Plant and PO date?
2. Is there any Function Module to get Material document details based on PO number?
Thanks
Narendrahi,
check these standard reports.
ME2L - By vendor
ME2M - By material
MSRV3 - By service
ME2K - By account assignment
ME2C - By material group
ME2B - By tracking number
ME2N - By PO number
ME2W - By supplying plant
also chck this func module.
REPL_LIST_PURCHASE_ORDER_READ
reward if hlpful. -
Fm to display material details based on material description
Hi,
Is there any bapi or fm to display material details based on material description
Regards,Hi,
Get the material number from material description from MAKT table and then use the FM BAPI_MATERIAL_GET_DETAIL.
Regards,
Nagaraj -
SAP Cloud Application Studio How to retrieve the details based on OVS in Product ID
Hi Experts,
I have small requirements in AdvanceListPanel. I have custom BO as mention below,
businessObject Demo {
element ID : ID;
node Sporoduct [0,n] {
element P_ID : ProductID;
element P_DES : SHORT_Description;
element P_QTY : Quantity;
element P_NET : Amount;
I have attached the OVS on Product ID (P_ID) element.
I want to auto-fill the details under the AdvanceListPanel ( Product Desc , Product Net value ( Price) )
1) How to get the details of Product ( Prod Descr, Product Price etc ).
Please anyone have idea about this share your thoughts.
Many Thanks,
MithunHi, Mithun
What you want is to auto-fill the related details when you select a product from your OVS.
That means you have to write your codes in Event After Modify.
We normally use QueryByElements or some other query options given for a particular standard BO.
It would be like that.
var query=Product.QueryByElements;
var selParams=query.CreateSelectionParams();
selParams.Add(query.ProductID ,"I","EQ",this.P_ID );
var result=query.Execute(selParams);
for(var product in result){
this.P_DES =product.Description;
What I have just written is just a sample code. You have to find the exact name of the attributes of a standard BO in Repository Explorer.
Hope this helps,
Fred. -
How to get material number in smart form driver prog attached to MM01:NACE?
Hi,
I have attached driver program of smart form to MM01 usinfg nace.
On save smart form should get generated.
Can anybody guide me how to get material number from MM01 in driver program on saving MM01.
as of now am not getting values in smart form.
What additional lines to be coaded in driver program to get material number.
Thanks.hi,
use nast table in your import paramaters of smart forms.
In the Nast table you can find a field with object key which holds the Material Number.
Hope this helps.
Thanks,
subash -
BAPI to get Invoice Details based on PO Number
HI,
Is there any BAPI to get Invoice Details based on PO number. If so could you pls let me know that.
Regards,
RameshHi Ramesh ,
there is no Direct BAPI to get the List of Invoices ,But based on the Vendor list u can get the List .
pass Vendor list , Document Dates.
<b>BAPI_INCOMINGINVOICE_GETLIST</b> for more info check the Documentation of this FM.
Regards
Prabhu -
How to get Material Master Moving average price into Purchase Order
Hi,
How to get Material master moving average price into purchase order instead of Purchase Info record.
Thanks,
SridharHi,
I cannot understand whether it is necessary .
How about as following step?
1. create Purcahse requisition
Price come form moving average price in material master.
2. Create Purchase order reference Purchase requisition
There is a setting from the unit price of P/R onto the unit price of P/O.
Regards,
Gaito -
How to get fiscal period based on date and Fiscal year?
Hi Guys,
Can anybody tell me how to get Fiscal period based on date and Fiscal Year or fiscal year variant?
Thanks,
Gopi.Hi,
Please refer the code below:
*: Report: ZFISCALYR :
*: Date : 2004 :
*: Description: Demonstrates how to return the corresponding fiscal :
*: year and posting period for a company code and posting :
*: date or posting date and fiscal year variant. :
REPORT zfiscalyr NO STANDARD PAGE HEADING.
TABLES: ekko.
PARAMETERS: p_bukrs TYPE ekko-bukrs,
p_bedat TYPE ekko-bedat.
DATA: gd_fiscalyr TYPE bapi0002_4-fiscal_year,
gd_fiscalp TYPE bapi0002_4-fiscal_period.
DATA: gd_fiscalyr2 TYPE T009B-BDATJ,
gd_fiscalp2 TYPE bapi0002_4-fiscal_period.
DATA: gd_periv TYPE t009-periv.
*START-OF-SELECTION.
START-OF-SELECTION.
* get fiscal year and period - (requires date and company code)
CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
EXPORTING
companycodeid = p_bukrs
posting_date = p_bedat
IMPORTING
fiscal_year = gd_fiscalyr
fiscal_period = gd_fiscalp.
* Alternative fiscal year function module
* - (requires date and fiscal year variant code from T009 table)
* gets first entry in fiscal year variant table (will need to choose
* correct one from table rather than just using first entry)
SELECT SINGLE periv
FROM t009
INTO gd_periv.
* get fiscal year and period
CALL FUNCTION 'DETERMINE_PERIOD'
EXPORTING
date = p_bedat
* PERIOD_IN = '000'
version = gd_periv
IMPORTING
period = gd_fiscalp2
year = gd_fiscalyr2
EXCEPTIONS
period_in_not_valid = 1
period_not_assigned = 2
version_undefined = 3
OTHERS = 4.
*END-OF-SELECTION.
END-OF-SELECTION.
WRITE:/ 'From function module: BAPI_COMPANYCODE_GET_PERIOD',
/ 'Fiscal year is:', gd_fiscalyr,
/ 'Fiscal period is:', gd_fiscalp.
SKIP.
WRITE:/ 'From function module: DETERMINE_PERIOD',
/ 'Fiscal year is:', gd_fiscalyr2,
/ 'Fiscal period is:', gd_fiscalp2.
Thanks,
Sriram Ponna.
Edited by: Sriram Ponna on Apr 17, 2008 8:59 PM -
How to get BP kind based on user name?
Hi,
How to get BP kind based on user name?
Is there any table other than BUT000 which gives the Business partner no. and BP KIND?
What is BLUEPRINT table?Hi John,
do you mean Type:
1 Person
2 Organisation
3 Group
or Role like
000000 Business Partner (General)
BBP000 Vendor
BBP001 Bidder
BBP002 Portal Provider
BBP003 Plant
BBP004 Purchasing Company
BEA001 Billing Unit
BUP001 Contact Person
BUP002 Prospect
BUP003 Employee
BUP004 Organizational Unit
BUP005 Internet User
The Role can be found in BUT100.
Regards
Gregor -
How to get material and plant by providing control key as input ?
How to get the material and plant info based on control key values using a function module?
kindly help..Hi,
Check the FM
K_VALID_PLANTS_OF_MATERIAL.
Sandeep Kaushik -
SSAS : How to get the details of a mesure by script
Hi,
I have 5 cubes in my DB. I have regulare mesures (count, min, max, ...) on the fact (see the botton ones in the print screen below)... but also some other calculations (see the top 3 ones in the print screen below).
When i use this MDX script....
SELECT [CATALOG_NAME] as [DATABASE],
CUBE_NAME AS [CUBE],[MEASUREGROUP_NAME] AS [FOLDER],[MEASURE_CAPTION] AS [MEASURE],
[EXPRESSION], [MEASURE_IS_VISIBLE]
FROM $SYSTEM.MDSCHEMA_MEASURES
WHERE CUBE_NAME ='EPE'
ORDER BY [MEASUREGROUP_NAME]
I get as a result this :
I need to get the details (expression) of 8 botton mesures ... as with the 3 top ones ...
example : the last one is 'Somme Montant' (in english is : SUM Amount). It is a sum on the musure 'Montant' (Amount).... as : SUM(Montant)
i want to show the real calculation behind it with the real name (as is on the fact) of the column on with the mesure is based.
Thank you for your help.
Nacer CREPUQ BI DeveloperThank you Dareen and Jerry,
I wasn't able to make it work ...
1. my case here do not work.
2. i don't see how to get the column name of the mesure as it is on the fact table. with MEASURE_NAME_SQL_COLUMN_NAME it shows its name as is displayed for the use.
ie: please show me how i can do what you sayed : you can overwrite the expressions of regular measures and list them out by script.
Please advice.
Thank you.
SELECT MEASURE_AGGREGATOR, MEASURE_NAME_SQL_COLUMN_NAME, MEASURE_AGGREGATOR
, CASE [MEASURE_AGGREGATOR]
WHEN 1 THEN 'Sum'
WHEN 2 THEN 'Count'
WHEN 3 THEN 'Min'
WHEN 4 THEN 'Max'
WHEN 8 THEN 'Distinct Count'
WHEN 9 THEN 'None'
WHEN 10 THEN 'AverageOfChildren'
WHEN 11 THEN 'FirstChild'
WHEN 12 THEN 'LastChild'
WHEN 13 THEN 'FirstNonEmpty'
WHEN 14 THEN 'LastNonEmpty'
WHEN 15 THEN 'ByAccount'
WHEN 127 THEN 'Calculated measure'
ELSE 'N/A'
END AS AggregateFunction
FROM $SYSTEM.MDSCHEMA_MEASURES
WHERE CUBE_NAME ='EPE'
Nacer CREPUQ BI Developer -
How to get stock details as on date
Dear All
How to get opening stock and closing stock details as on date .
Tell me any function module is there to get as on date.
Moderator Message: FAQ. Please search in the forums before posting your question.
Edited by: Suhas Saha on Nov 4, 2011 3:13 PMHi
By using transaction MB5B-Stock on posting date,you can arrive stock statement as on given date for Itemwise,plant,receipts,issues and balance availabel with value.
Regards
M P D Kamath -
How to create materialized view based on a synonym
Hi all,
I am trying to create simple materialized view based on a synonym and that synonym is pointing a view in other database (using dblink). I am getting table or view not found error . I am able to select synonym if i use select but not in materialized view. Please help me.
Thanks,The best way to do this is to create a materialzed view based on the underlying code of the original view. If you don't have this handy, issue the following in sqlplus:
select text
from user_views
where view_name = 'NAME_OF_VIEW'
You can then cut and paste the sql statement into your create materialized view statement.
Please note, you will probable have to set the long parameter to a higher value to reveal the complete statement for example:
SQL> set long 2048 -
How to get Material long text / Sales Text
Hi,
when I have created a service order I have enter Long text in Tab Item Details , i.e in sales Text I have entered some text , So can any one tell me how to get this text as I have to show this text in invoice printing
Thanks
Bobby600101202274700000001
For a Particular Text name Of Item Level operations
1st 3 character denotes client id in this case 600 +
2nd 10 character denotes AFKO-AUFPL with respect to the production order in this case
1012022747 +
last 8 character denotes the operation line item numebr
Maybe you are looking for
-
I have a dropdown box for calendar year Intitally when I run my webtemplate it should show me the values for all the years in the below format Industry - Value2006 - Value2005 When I select from the dropdown value of the calendar year = 2006 then
-
How do I apply a transition to a group of clips?
Hi, I want to apply a transition to a group of clips. I know how to select a group of clips, but I have not found how to apply the same transition on all of them. Can this be done in FCE?
-
Pls need your help badly. I tried everything that internet community suggested but still I don't have any sounds... I tried contacting tech personnel where I bought it but even they can't resolve my problem.. Sometimes I here sounds for 5 mins then p
-
Can't upload an app using either Xcode 4.2 or Application Loader JSON Error
Hi, I am struggling with a problem for the past few days. I can't upload my archived application for an update of an existing app. The app name is (عرض القبلة). So it is in Arabic, though I changed the bundle name in the project to have only ASCII ch
-
Time machine won't see my airdisk for i can't mount it
hi, i can't use my lacie hard dirve that is hooked up to my airport extreme base station with the time machine. looking around the forums i understood that time machine only works with the drives that are mounted on the desktop. some apparently do th