on 09-21-2010 11:38 AM
Hi All,
I am using Crystal Report Basic 2008 and was able to create a rpt file and connect to the SAP B1 (through import option in Admin-> Setup -> General -> Report and Layout Manager) Purchase order screen,But i am not getting a series wise records.
i.e. i have 2 series in PO screen as Primary and PO and both starts from DocNum 1 (have diff period indicator) but when i use it in CR as Parameter is ask series as input every time. So pls guide me with proper method.
hope u all will do the needful
Thank u,
In the report you have to insert a parameter that allow to display the correct document.
You have to create a paremeter named
DocKey@
and then you have to create the follow filter
{[table name].DocEntry} = {DocKey@}
example for a/r invoice
{OINV.DocEntry} = {DocKey@}
Regards
Paolo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi..
I Think you can not go with DocEntry as user dont knows DocEntry so try to Go with Three Parameters on Crystal Report.
1. Posting Period
2. Document Series
3. Document Num
Regards,
Bhavank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Paolo Orlando and @Bhavank ,
thank u for your time. As u all have suggested i have created 3 parameters as DocKey@,Series@ and Date@ and it works fine in CR Preview mode. But when i import it in SAP B1 and try to preview the report then it ask for series and posting date as input parameter but where as DocKey is automatically picked from PO Form.
So pls can u all correct me where i m wrong.
Thank u,
@Bhavank,
I have created parameter as static. y dynamic is required here? (as it is mentioned in help doc as dynamic is required when we want to fetch data from db). but i am assigning my CR as layout it so it should take docnum, posting date from current instance which is open and show the respective CR.but in my case docnum will take from screen but posting date and series is asking as input!!!
correct me if i m wrong somewhere.
thank u,
Hi,
i have a data as below (OPOR table)
DocKey DocNum Series and other details.........
1 1 Primary(i.e any numeric value)
2 2 Primary(i.e any numeric value)
so on..................
3 1 User Defined(i.e any numeric value)
4 2 User Defined(i.e any numeric value)
so on.................
Now both the series have different period indicator (i.e primary is of default(sap one) and User defined is of 2010-11).
and now whenever i want to show the report for PO No 1 from any of the series it takes both the records!!!
i hope its clear for u all!
Thanks and Regards,
Edited by: Shraddha P on Sep 24, 2010 3:42 PM
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.