Where do you create a Selection Criteria TOKEN? (Crystal Reports, SAP B1)
I have downloaded "How to Work with Crystal Reports in SAP Business One" and read where it mentions "tokens" (starting on page 19). I followed the directions and created a New Parameter in a Crystal Report with the name of
BPCode@Select distinct CardCode from OCRD where CardType = "C"
as directed on page 21 as an example of a token. OK, so now I have a parameter with a very long name that doesn't do anything when I run the report in standalone Crystal Reports connected to our SAP B1 application.
At what place in the "Create New Parameter" dialog box in Crystal Reports do you actually enter this information? Nothing in that dialog box seems appropriate for SQL expressions. Reading through SCN threads, I could not find anything that addressed this simple question. What am I missing?
NOTE: I do NOT have the CR Add-In available to me in SAP B1. I cannot get it to install. All of my work is done in standalone Crystal Reports and all reports are then imported from there. I am a CR developer with less than 1 month experience with SAP B1.
Thanks.
OK, so I imported an .rpt file as a "report" instead of as a layout and placed it in a known module location (though the options were extremely limited). I had no idea where to go to run the report, but under "Modules", "Reports", and the location I just imported to, I found and chose the report.
The next step was a dialog box with two blank prompts and a third blank prompt asking for a particular field value from a table in the report. The actual Crystal report has only two parameters (good ol' DocKey@ and ObjectID@). I have to actually look at a known document in B1 and enter the values for the parameters before I get an actual result.
Now, more questions...
If there is a token in this report process, where is it?
Why would I run a report this way when it's going to ask me the DocEntry and ObjectId numbers which are not known to me unless I do research (Actually, what you don't know is that all of the reports I've created are revisions to marketing documents, so I haven't created anything new or unique to B1 that would involve complex analysis).
I spend almost two hours a day scouring the SCN to figure this stuff out and am still lost. I haven't read anything anywhere that describes this process in an adequate fashion. If SAP makes BOTH B1 and Crystal Reports, why not make the connection between them seamless and user-friendly?
Gordon, if you're listening, you'd probably do well writing another book on this subject!!
Similar Messages
-
Print Selection Criteria-Token in report prepared with CR
Hi,
How to print the Selection Criteria---Specially 'From Date' and 'To Date' for a report prepared with Crystal Report tool to be viewed within SAP Business One 8.8 (The report uses Token Parameters for SBO 8.8 Viewing)
Thanks,
SaikatHi Bala,
Ok...So can help me on this.......
The token in my Report is :
Date : Static-Type: Date-Allows Range Values
Within SBO 8.8 displays as Date : From <Date Selection Field> To <Date Selection Field>
Please note its a single token allowing range values.
Formula I am using: {OPOR.DocDate}>={?Date} AND {OPOR.DocDate} <={?Date}
Now I need to print the selected 'From Date' and 'To Date' in the Report.
If there is any other process to do the same then please let me know the same.
Thanks,
Saikat -
Limited drop down list in selection criteria in Crystal Report
I have designed a Crystal Report to produce Item Labels using Crystal Reports for SAP Business One.
The design has a Dynamic parameter for the selection of Item Code, linked to the OITM table in the database
The customer database has 5000+ items.
When I run the report, either in the designer or in the viewer, I get 5 pages of item codes to select from, but they stop at 1000 items.
Is this a bug with Crystal, or is there some configuration I can change to correct this issue?Closed
-
How do I create a selection criteria that allows the user to look at the values in one field in a table, highlight the value then look at the date related to that value.
I need to look at all the customer id's in the customer table, select one customer, then select an invoice from another table based on the customer selected.Hi Allen
In order to select an invoice from another table based on the customer selected, you will have to create a static parameter with multiple values.
To create a parameter follow the below given steps:
- Right click on Parameter fields and select New.
- Give the name to the parameter and select the Type to be "Number".
- In the List of Values select "Static" option.
- In Value field select " Customer ID". Description field is optional.
- After selecting the Customer ID, click on the drop down which is next to the Actions and select "Append all database values". You can also insert the values manually.
- In the value Options for the "Allow multiple values" option modify the settings to "true".
- Click on "OK".
-In the select expert, select the Customer ID and make it equal to the parameter which in listed in the other drop down menu.
After creating the static parameter and using it in the select expert, whenever you refresh the report it will ask for the Customer ID and will display the invoice # based on the customer selected.
Thanks
Poonam Thorat -
" STEPS TO CREATE SELECTION CRITERIA IN WEBI-REPORTS ! "
Hai friends ,
Let me know the procedure to create a Selection Criteria on the webi-reports . Based on the Selection criteria, I should execute the report.aNSWERED
-
Where do you assign field selection key?
Dear SAP experts,
Where do you assign field selection key in MM config? Your help will be highly appreciated. Thanks!
AbiHi,
Is it field selction key or Field Selection Group?... if its Field Selection Group the assignment is done in OMSR transaction
Regards
Merwyn -
Using custom fields of Infoset as Selection Criteria in Query Reporting
Hi Experts,
I have created one Infoset based on LDB PNPCE and added some custom fields to it. Coding has been done for the custom fields.
But these additional custom fields are not available as selection criteria while creating the query.
Can you please tell me how to use the custom fields as selection criteria?
Reply soon
Thanks in Advance.
RaveeshHello Guys,
I just noticed that it is possible to select custom fields as selection criteria in case of SAP Query,
but NOT is case of Infoset(Adhoc) query.
Can anyone tell me the whether it is possible to select the custom fields as Selection Criteria in case of Infoset Query?
Thanks in Advance,
Raveesh -
How to add a new selection criteria in a report painter
Hi
I would like to know how to add a selection criteria in a report painter. I believe in Gen data we can add our selection criteria but my there is no option to select company code in that. Can anyone help me in this
Thanks in advance
Sankarhi sankar,
When u click on the Gen. Data Selection on the right side of the screen you can see the Available Characteristics.
On the same side u can see with the 3 colors blue, yellow and white....
Click on the that , in that screen click on the Administrator option.
There in that screen UNCHECK the company code.
Click on the ACTIVATE and CLOSE it.....
Again SAVE the table settings.... then you can find the Company code..
Hope this will helps u out...
Ranjit Kumar -
Selection criteria in GR55 Reports
Hello,
Where do I customize the selection criteria in the GR55 reports? It's bringing a Controlling Area default that is 0001 and I want to change it to bring the controlling area from the company code defaut.
I changed it in SU3 and worked for myself, but I wonder where can I change for all the users.
Thanks
BarbaraHi,
Are u refering to The serial number and batch management report if so that can be disable by print prefernces....
Try it.
Regards
Chidambaram -
Selection Screen for crystal report ?
Hi to all,
Is it possible to create selection screen using Crystal report designer alone ?
I came to know that we can give selection parameteres using SELECT EXPERT option in desginer.
Can we create selection screen for user input like we have in abab (selection screen) ?.
Is it possible to check authorization using Crystal report designer ?
If anyone knows anything .... remotely connected with the question I asked please reply.
Waiting for reply.
Regards,
Surya.Surya,
To do what you are wanting, you will want to do the following:
1) Create parameters. Open the Field Explorer > right click Parameter Fields > fill in the necessary fields o create the desired parameter.
2) Add the parameter to the Select Expert.
2a) If you are using a SQL Command to generate your data set you will need to add the parameter name to the Parameter List of the Command and add it the selection criteria of the SQL statement.
Something like this:
WHERE f.FieldName = {?ParameterName}
HTH,
Jason -
Where is the parameter panel on the embedded Crystal Report preview in Visu
Where is the parameter panel on the embedded Crystal Report preview in Visual Studio?
I found a tweet on google about this.. but the link is invalid.. and I could not find the article on SDN.
KB #1486469 - Where is the parameter panel on the embedded Crystal Report preview in Visual Studio? http://tinyurl.com/22thlcg
How do I the show parameter dialog in either WPF or Winforms viewer of Visual Studio 2010.
Parameters are not even visible in the Parameters Side panel. It is empty too..
I see two classes ParameterPrompting and ParameterPrompt both, on initialization throws exception.. even to manually invoke them...
Is it permanently removed?Hello,
Seems like a reported Bug.
Please check:
Re: CRVS2010 - Hide Group Tree and Parameter Panel
A possible woraround but you need to change as per your need:
CRVS 2010 BETA - WPF Viewer - How to hide SidePanel?
Hope it helps.
Thanks. -
How do we create a jndi connection in crystal reports XI
how do we create a jndi connection in crystal reports XI when the data soiurce is configured on websphere 6.1
You need to use WLST online. I am not sure what your exact requirements are but one good way of working this is to have a WLST script that deletes all your WL customisations, like connection pools, JMS Servers etc and then creates it. That way you can run the same script repeatedly and it will get everything up to date for you. However you have to remember that everytime you add something new you need to update your delete section. Also your deleting should not fail if the item does not exist. I hope that makes sense!
As to the specifics of WLST examples to do this then check out the WLST examples in CodeShare.
If you are still having issues then post another message.
Geoff -
Creating new selection criteria when searching for PR
Hi,
Need help. i want to add selection criteria when searching for a Purchase Requisition (PR).
Currently, when u go to ME52N/ME53N, and you click on 'Other Purchase Request' then you click on F4 the following option are only available when searching for some criteria of PR.
Purchase Requisition per Asset
Purchase Requisition per Requirement Tracking Number
Purchase Requisition per Services
Purchase Requisition per Purchasing Group
Purchase Requisition per Order
Purchase Requisition per Cost Center
Purchase Requisition per Material
Purchase Requisition per Network
Purchase Requisition per Project
Purchase Requisition per Sales Document
my intention to add option perhaps like :
Purchase Requisition per Requestor (the one who created the PR)
Purchase Requition per Short Text
How can i achieve this? Thanks in advance.
SheHi ,
Goto OS52. Press F4.
Enter thedevelopment class as ME.
Select MBAN, then Enter .
Click on Included Search Helps.
You need add your search.
Explain your requirement to ABAP team . They will help u in updating the search help.
Regards
Ramesh Ch -
Change Selection criteria for existing report in Report painter
Hi Experts,
We are on 4.7, using report painter for getting reports for Cost center & Profit Center. For one of the report we have selection criteria as Cost center and cost center group, but now user want us to add new selection field as Cost element and cost element Group to same report. We have tried all the options from GR32 ->Edit-> General Selection, but we don't find cost element in Key figure listed there.
Please let us know how can we add the new field to selection criteria. We also would like to know is this is possible with existing report to add new fields or not? Is that we need to create new report for this?
Thanks in advance..
ShilpaShilpa-
In my opinion the best way to troubleshoot issues like this is to go to SAP delivered standard reports and see how they are setup. For example, in your case you want to add cost element and cost element group to your report. There is one standard report from SAP - Transaction :S_ALR_87013611 which has both cost center, cost center group and cost element, cost element group in the selection criteria. You can look how this report is set up, and maintain your report in a similar fashion. Atleast this way, it will give you an idea.
Go to transaction code GRR3 and under library look for report "1SIP-001". By double clicking on the row, you will see how it is maintained.
Hope this helps.
Shail -
Navigational Attrribute of 0plant in Selection criteria of the Report
Dear ALl,
We are facing an issue where we ares entering the inputs for Report Selection Criteria
plant
fiscal year period
currency type &
company code ( company code is the navigation attribute of the plant )
When we enter plant, fiscal year period & currency with out company code we get the output. But when we enter the value for company code it doesnt shwo the data it shows no applicable data found.
hence i would like to understand whetther we can use the company code which is the navigation attribute of the plant in the selection screen of the report via a variable?
If yes why is my report showing no applicable data found. Request your suggestion on this.
Thanks & Regards
K janardhan KumarHi Janardhan,
Please check if your Plant Master data is loaded as well.
Another check you can do is, when you run the report only on Plant, Fiscper and currency, drill down on Company Code (which is attribute of Plant) and see the values you get there. That might give you a hint.
Also, you can check if for the company codes you enter while selection, is there transactional data present for the corresponding Plant.
Other than this, its perfectly alright to use a navigational attribute as selection filter in the report.
Thanks,
Abhishek.
Maybe you are looking for
-
HR Benefits: Dependents & Beneficiaries
IT0167 allows Dependents, IT0168 & IT0169 allow Beneficiaries, and <b>IT0377 Misc</b>. allows <u>one or the other</u>, <b>but not both</b>! That's my problem... we have an Insurance Plan where they have additional $1500 coverage per Dependent for one
-
i didnt have issues with itunes before...but pc asked to download new version. i did. when i click itunes i get my original music, but when i click store...i get nothing. i watched tutorial....but still cant open itunes store. im looking for music to
-
am new to iphone so am a bit clueless; how do i get the clock to read out in 24 hour mode/military mode?
-
How to programmatically populate af:selectonechoice
hi all. I have one selectonechoice which need to populate data programmatically by using view object binding. should i use list, attributevalues for my binding ? how to use them back in my jsp? eg. i add new row as in the following. viewObject.insert
-
Update Macto Yosemite before downloading Lightroom and Photoshop?
I Have a desktop Mac with Lion version 10.7 on which I currently run Elements 10 and the Google Nik plug-ins. I am considering upgrading my editing to the photography CC package of Lightroom and Photoshop CC. In order to get the best out of these sho