REPORT WITH MATERIAL NUMBER
Hello Everyone,
I have successfully brought in data from multiple datasources into a multi provider. All 4 datasources have a common field and that is MATERIAL. The data in the multi provider is obviously not cleansed.
What I would like to do is merge all data that corresponds to Material A combined in the query. All data for Material B combined so on and so forth.
In simple words I want data by material number when i execute the query. So it will have to fetch all records for Material A and combine in one line or row. How can I do that?
Thank you much
Dave
Hi Dave,
Create a query on Multiprovider if you are sure that all the necessary data is retrieved into multiprovider and create a variable on Material if it is a characteristic. When you execute the query, Material variable values will be displayed and based on the selection of the material, you can have the necessary data. In the query, you need to take the order of the fields as mentioned below.
Rows:
--> Material
--> Field1
--> Field2...........
Columns:
--> KF1
--> KF2............
Hope this helps u...
Regards,
KK.
Similar Messages
-
Report with material number and planned delivery time
Is there any standard report with material number and planned delivery time ?
Hi,
I do not know any standard report. Please try SE16 + MARC...
BR
Csaba -
Calling Tcode 'CC04' with material number as default value.
Hi
I want to call transaction 'CC04' with material number as default, i used below code but it is not woking i.e even if i pass material number to the field material , the value is not defaulted in the screen.
SET PARAMETER ID 'MAT' FIELD material.
CALL TRANSACTION 'CC04'.
can any one tell me why?Thanks every one,
instead of wasting more time on this.
I wrote the below code to default the value on my screen.
START-OF-SELECTION.
CLEAR JTAB.
JTAB-PROGRAM = 'SAPLCPDMOBJECTBROWSER'.
JTAB-DYNPRO = '0100'.
JTAB-DYNBEGIN = 'X'.
APPEND JTAB.
CLEAR JTAB.
JTAB-FNAM = 'BDC_CURSOR'.
JTAB-FVAL = 'MARA-MATNR'.
APPEND JTAB.
CLEAR JTAB.
JTAB-FNAM = 'MARA-MATNR'.
JTAB-FVAL = '00000099900032'.
APPEND JTAB.
CALL TRANSACTION 'CC04' USING jtab MODE 'A'. -
Asset report with vendor number and vendor desc wise
Hi Gurus
The requirement is to generate asset reports with the below fields:
Asset class, Asset number & desc, vendor number & desc
Suppose say all asset balances should be reported by vendor name and desc.
I couldn't get the right results using an existing or a custom sort version. Do not want to go with a custom report or a SAP query.
Any pointers in this regard would be helpful.
Thanks
SekharHi,
You can use table ANLA.
Populate the asset field then go to settings tab and choose fields.
Check the following fields given below:
BUKRS
ANLN1
ANLKL
LIFNR
TXT50
then execute.
hope it helps.
regards,
otep -
With holding tax report with material and qty fields
Dear All,
Is there any standard report available with with holding tax data with material and qty fields.
Thanks,
Sekhar.dear Friend,
Withholding tax will deduct on services. Hence Material and quantity is not relavent.
There is no report is available also.
reg
Madhu M -
Standard Report with IDOC Number and PR number
Hi
My client need the Standard report with the combination fields of " Purchasing Number , Requirements tracking number in PR,
IDOC number , IDOC Processing status. "
(Our PR will generates through IDOC from other system via XI interface)Hi Nagendra,
for Purchasing Number , Requirements tracking number in PR you can use -ME5A
Purchasing Number-EBAN-BANFN
Tracking number goto- MELB.
table name-EKPO
for IDOC number , IDOC Processing status -we09
For IDOC number -EDID4-DOCNUM
IDOC Processing status-EDIDC-STATUS
Regards,
Krishna.
Edited by: kris_hna on Sep 8, 2011 1:14 PM
Edited by: kris_hna on Sep 8, 2011 1:19 PM -
Run Report with Pass Number and Varchar Lexical Parameter values
Dear Sir/Madam
Due to an urgent change required to a report I would most appreciate it if you can please advise me if it is possible to get this report working by either passing in multiple lexical parameters or one signle lexical parameter when calling the SRW.RUN_REPORT command with the following methods:
Firstly: When calling report with a run_no and spr_cd passed in through one lexical:
cmd_line: REPORT=D:\DEV\REMITTANCE.rdf BACKGROUND=YES BATCH=NO DESFORMAT=PDF DESTYPE=FILE DESNAME=D:\DEV\REMITTANCE.pdf
CP_L_PARAM=RUN_NO=TO_NUMBER(28) AND SPR_CD=SUPP1
Both with a TO_NUMBER and without, whereby I attempt to do a SUBSTR within the query of the called report to derive the RUN_NO Oracle Reports fails to accept the SUBSTR.
Secondly: I am now trying to call the with passing two lexical parameters into the report as follows:
cmd_line: REPORT=D:\DEV\REMITTANCE.rdf BACKGROUND=YES BATCH=NO DESFORMAT=PDF DESTYPE=FILE DESNAME=D:\DEV\REMITTANCE.pdf
CP_L_RUN_NO=||TO_CHAR(lv_run_no)|| CP_L_SPR_CD=||lv_spr_cd;
NOTE: The above is an output of the actual command line and not what is passed into the command line, thus the quotes are missing. Please also note that the report is running fine with the only a hard coded RUN_NO value PASSED without the SPR_CD.
Unfortunately this is also causing issues as the RUN_NO is a number and as you know you can only pass in strings.
Your urgent help is required on this matter please as our client is expecting a solution this afternoon.
Hope to hear form you soon.
Kind regards
Andrew MasonDont Worry I've worked it out...
-
Inventory Audit Report with Batch Number
Hi all.
I am trying to build a query that similar to the inventory audit report but with batch number. I want to know which batch number of each item is being charged out in deliveries or goods issue and which batch of item is being received. I am using SAP B1 2007A. Following is the query that I used to generate the inventory report (warehouse, itemcode, description, price, opening balance, receipt, issue, closing) but I don't know where to get the batch number information for it.
Declare @StrtDate Datetime
Declare @EDate Datetime
Declare @FromDate Datetime
Declare @ToDate Datetime
Declare @Group nvarchar(10)
Declare @Whse nvarchar(10)
Set @FromDate = (Select min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >= @StrtDate)
Set @ToDate = (Select max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <= @EDate)
Set @Whse = (Select Max(s3.Warehouse) from dbo.OINM S3 Where S3.Warehouse = 'QA01')
Select
@Whse as 'Warehouse',
a.Itemcode,
max(a.Dscription) as 'Description',MAX(a.Price) as 'Price',
sum(a.OpeningBalance) as 'OpeningBalance',
sum(a.[IN]) as Receipt,
sum(a.OUT) as Issue,
(sum(a.OpeningBalance) + sum(a.[IN]) - Sum(a.OUT)) as Closing,
MAX(a.Price) * (sum(a.OpeningBalance) + sum(a.[IN]) - Sum(a.OUT)) as ClosingValue
from(
Select
N1.Warehouse,
N1.Itemcode,
N1.Dscription,N1.Price,
(sum(N1.inqty)-sum(n1.outqty)) as 'OpeningBalance',
0 as [IN],
0 as OUT
From dbo.OINM N1
Where
N1.DocDate < @FromDate and N1.Warehouse = @Whse and N1.ItemCode Between '1C2K50NBAC' AND '7S2N40ADAM'
Group By
N1.Warehouse,N1.ItemCode,N1.Dscription,N1.Price
Union All
select
N1.Warehouse,
N1.Itemcode,
N1.Dscription,N1.price,
0 as 'OpeningBalance',
sum(N1.inqty) as [IN],
0 as OUT
From dbo.OINM N1
Where
N1.DocDate >= @FromDate and N1.DocDate <= @ToDate and
N1.Inqty >0
and N1.Warehouse = @Whse
Group By
N1.Warehouse,N1.ItemCode,N1.Dscription,N1.price
Union All
select
N1.Warehouse,
N1.Itemcode,
N1.Dscription,N1.price,
0 as 'OpeningBalance',
0 as [IN],
sum(N1.outqty) as OUT
From dbo.OINM N1
Where
N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and
N1.OutQty > 0
and N1.Warehouse = @Whse
Group By N1.Warehouse,N1.ItemCode,N1.Dscription,N1.price) a, dbo.OITM I1
where a.ItemCode=I1.ItemCode
Group By a.Itemcode
Order By a.Itemcode
I wish to create the report like Inventory audit report merge with the batch number transactions report.
Thanks.Dear Shobah, it can be possible by some custom report. Try some complementary bi solution for better analysis with SAPB1.
-
Master-detail reports with variable number of pages in a big report
I am designing with Reports 6.0.5.32.0 a master-detail report such as a
combination between a customer with his name, address etc, at the top of
the page (always 60% of the first page) and then as details lines with his orders.
For one customer seems relatively OK with the variable number of pages in accordance with the number of his orders.
When the main query finds more customers I present always the customer at the top of
a new page (that's easy), but how can I control the number of the next pages for the orders, variable for every customer.
I can not predict how many pages are necessary for a customer and white pages are
not desirable. When the number of Max. Vertical Body Pages is too low I can get the next pages for every customer, but appears an
uncontrollable shift to the left.
For instance, a customer with 40 orders needs 3 pages, one with 4 orders only 1 page, one with 15 orders 2 pages, etc.
What's the magic property for a secure and precise layout?Hi Andreas,
did you try setting vertical spacing to expand or variable on master repeating frame (and posible other frames surrounding master repeating frame)?
Hope this helps -
Reports with varying number of variables
Hi all
I am new to the Forum. I have already searched the db for answers to my question but was unsucessful so far.
I want to create a report in html which I open in Excel for my colleagues to edit. One report contains a varying number of variables, such as years. I want to be able to order the records by the years in different blocks, i.e. blocks of projects which are carried out in 2006, 2007, etc. Is there a way of generating such a report with a dynamic number of years without using pl/sql?
Thanks for any help!
Cheers.do you mean you want to use plain sql and sqlplus?
you can maybe try something like
set feedb off head off
break on year skip 1
col year nopri
select ename, hiredate, extract(year from hiredate) year from emp order by year;
SMITH 17.12.80
WARD 22.02.81
JONES 02.04.81
MARTIN 28.09.81
BLAKE 01.05.81
ALLEN 20.02.81
CLARK 09.06.81
FORD 03.12.81
JAMES 03.12.81
KING 17.11.81
TURNER 08.09.81
MILLER 23.01.82
ADAMS 23.05.87
SCOTT 19.04.87 -
Stock Report with Batch Number
Hi ,
My Client requires stock report with Batch numbers .required report format is
Item Code,BatchNumber,OpenQty,OpenVal,PurchaseQty,PurchaseVal,SalesQty,SalesVal,ClosQty,CloseVal
I tried using query on wiki for stock report but that query is written in 2007 and Batch tables and OINM table is changes in 8.81.
http://wiki.sdn.sap.com/wiki/display/B1/SAPB1SQLH-INItemInventoryOpeningandClosingStockper+warehouse
can any one help with stock report- batches.
Thanks,
PreetiHI,
use below query as basis and mofiy the fields required. it shows linking in batch and transaction tables:
SELECT distinct T0.ItemCode,T0.ItemName ,T0.DocDate ,T0.DocType ,T0.DocNum,T0.LocCode ,t4.DistNumber as [BatchNumber], T1.Quantity ,T5.CalcPrice as [Price]
FROM [OITL] T0
INNER JOIN [ITL1] T1 ON T1.[LogEntry] = T0.[LogEntry]
INNER JOIN OBTN T4 on T1.MdAbsEntry=T4.AbsEntry
INNER JOIN [OITM] T2 ON T2.[ItemCode] = T0.[ItemCode]
Inner JOin OINM T5 on T0.ItemCode =T5.ItemCode and T0.LocCode = T5.Warehouse and T0.AppDocNum = T5.BASE_REF
Thanks,
Neetu -
Planning in EC-PCA with material number
We have a requirement to enter Revenue plan data in PCA by using Profit Center & Account number & Material number. However, I do not see 'material' as a characteristic that can be added to the plan layout. The only available field is 'Representative Material', which we do not want to use. Does anybody know how to add the characteristic Material to a PCA Plan Layout? Thank you.
We have a similar requirement & found no way to plan utilising the material field MATNR. As you indicated, representative material is offered. We have elected to set up a 1:1 relationship of material to representative material for those materials we intend to plan and set the derivation rules as such. This seems to be the only way to accomplish this in PCA.
-
Line item report with Customer number
Hi all,
I am facing the following issue:
I need a line item report to analyze an accrual account by customer.
Since the customer is not captured on the accrual account itself, but on the recon. account (which is not defined as line item display), I did not find a way to present the customer and the accrual on the same line.
I can always go to BSEG and vlookup and match by document number the accrual account and the customers from the customer recon. account, but I thought maybe someone has a better idea.
Thanks,
Yoel.If the recon account line items have al lthe info needed I'd suggest using a query (SQ01).
1. Create an Infoset in SQ02 with logical database "BRM". Choose the fields from BSEG that you need
2. Create the Query in SQ01 using that Infoset.
If you want to see individual line items, include the fields you want in the "basic list" of the query. If you want totals by customer, don't include anything in the basic list, but make a "statistics" with customer and amount.
Selections would habe to be made for account no and period. -
For report with material and workcenter
my client reqd a report for the materials plan order and production generate for the period with respective week in specific workcenter.
Hence for the plan order order and production order i am useing PLAF and AFPO but i am expecting a excelent tips to get a workcenter wise report .As for the materials defined with production version i am getting by production line but for non production version material how do i fetch.
Input will be plant and workcenter on the basis of that generated count of plan orders and count of production orders need to appear.
expecting a help from SAP PP gurus.............Hi,
Before developing customized report please check with std. report COOIS.
First give input as List = order Header , profile, select Production order check box alone & workcenter/plant/date & excute .
Then try with planned order check Box ,
This will give sepearte list for Both production & plant order.
u can use change layout option to design report output as u need
Please check & come back
Regards
pradeep -
Stock Report with batch number and its Charactristc values
Our material are batch managed and Char values are entered at the time of GR. We need to prepare stock report showing batches for the material, their stock and characteristics values.
Like to know what tables we should use to find the char values. I could not find value in table CAWNHi,
For characteristcis link and values use below tables:
Characteristics :
CABN Characteristics ( o.a. batch/vendor)
CABNT Characteristics description
CAWN Characteristics ( o.a. material)
CAWNT Characteristics description
AUSP Characteristic Values
Class types and objects :
TCLAO Several class types for object
TCLA Class types ( vb. lfa1 => v10 en 010)
TCLAT Class type text
TCLT Classifiable objects
TCLC Classification status
Links :
INOB Link between Internal Number and Object
KLAH Class header data
KSSK Allocation Table: Object (vb.matnr) to Class
KSML Characteristics for a class (internal number)
for batch stock 0 use tables ilken MCHB, MCHA etc,
hope this helps
Reg
Dheeraj
Maybe you are looking for
-
Crystal Report 10 Export Excel (with gridlines)
Post Author: Angel Tam CA Forum: JAVA Hi,I am now using Crystal Report 10 with Java to export the report to excel format. I can do it successfully but all the gridlines (border) are lost. Is anybody know how to set this feature. My source code is
-
External Display No Longer Working (Air & Thunderbolt)
My MacBook Air just decided it no longer wants to work with my external Dell U2711 display via Thunderbolt to DisplayPort cable. Frustrating as this has been working for the past 3 years. Currently running OS X 10.10.2. Have tried PRAM and SMC resets
-
Hello, We have RFC --> HTTPS scenario. The RFC Destination of type G is created in XI and the connection test is working fine. When I run this scenario, sometimes I get following error: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapter:ATTRIBUTE_
-
HTTP receiver adapter: dynamic configuration
I was told that if I have a URL and some parameters, I can use a sync HTTP receiver adapter to call a site. I know this can be done using some kind of dynamic configuration, but I am not familiar with this adapter. The most important question here is
-
Have multiple external pages embedded in my site without iframes?
Hi guys, I would like to have page on my site which has booking availability for 10 different hotels. I have tried using this code: <object data=http://www.thebookingbutton.com.au/properties/arrowfieldaptdirect width="650″ height="500″> <embed src=ht