cancel
Showing results for 
Search instead for 
Did you mean: 

sales order default crystal report...

Former Member
0 Kudos

hi..

have a look on below image..

i creae a crystal  report from sales order rdr1 and ordr 

and i put on parameter like docentry  crystal report will come..

i put under sales order electronic report.. working fine...

but

The same report i had put at the  layout management i had imported  under order(items)

and then i put default  report for sales order.

in sales order ok mode i click the  print button..

plz have a look on below image..

it is asking the parameters.... nothing but docentry...

without giving the parameter  is it possible to display the record 

in pld it is not asking anything....

i cystal report it is asking..

is it behave currectly....

with out giving any parameter how to pass parameter .......in crystal report.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Srinivas,

Did you check my solution??

Still is there any issue??

Former Member
0 Kudos

Give me some time i will check it again...

Former Member
0 Kudos

Thank u very much  it's working good..

Thank u very much  for updating the issue and remembering to me..

keep posting..

i will close the thread no problem...

but what we have done msitake previously.. i would like to know

Only Dockey and DocEntry   this one..

Dockey it will take automatically  docentry  can u plz explain littlite bit for closing the thread...

Former Member
0 Kudos

Hi Srinivas,

For More details Please refer this link given below...

http://www.pioneerb1.com/wp-content/uploads/2012/04/How-to-work-with-Crystal-Reports-8.8.pdf

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi SriNivas,

Again i am giving you step by step snapshot you have to use as it is. I have used your same query and finally problem solved.

Step1. I have used your given query in CR. Please follow it properly...

Step 2:

Evertime we doing same mistake we r using DocEntry@ Parameter but here we have to use DocKey@ parameter as given in Snapshot.. Please follow it...

Step3 : Please check the properties of Parameter with given screenshot..

Step 4: Once Your Parameter Added you have select it and right click on it and you have to choose "Find in formula"option.

Step 5: When you click on "Find in formula" option then new screen will open "Report Selectionformula editor" follow the steps given Below...

First Select Record Selection then After that Double click on "Command.DocEntry" then Put "=" Sign then Click on "DocKey@". For Your Refernce please follow the screen shot...

Save Your CR and Open Sales Order.

0 Kudos

Hi Srinivas,

Create the parameter as Dockey@

In filter use docentry and select the parameter.

Find the screen shot for your reference

regards,

Anand

Former Member
0 Kudos

hi.

Anandh ..Good Morning..

I all ready  created  parameter DocEntry..

i put the crystal report  for sales order default report...

my problem is when ever i click on the  print  it is asking parameter nothing but....

doc entry  if i give parameter  it is sshowing currectly...

...

my requirement is ...

if i click preview doc entry  will be take automatically..

consider pld it is not asking any parameter like doc entry.....

----

any body  tell me...

crystal report is behaving the same or  have done any thing wrong....

former_member205766
Active Contributor
0 Kudos

Hi

Can you show snap shot how to set parameter

Regards

Balaji

Former Member
0 Kudos

hi..

is this enough

Former Member
0 Kudos

one more screen shot...

Former Member
0 Kudos

Hi Srinivas,

Please refer this thread...

Do Not Create Paramenter For This screenShot. If you have created it then remove it.

And Create Parameter from Field Explorer in Crystal report...

Please refer screen shot...

Then After that refer thread which i mentioned you above....

former_member205766
Active Contributor
0 Kudos

Hi

Set new Parameter and Give the name as @dockey then check.

or

Share Ammy or Teamviewer.

Regards

Balaji

Former Member
0 Kudos

hi

Not working...

i have done like... below

but after pressing the print button at sales order...

it is asking again parameter....

Any info...

Former Member
0 Kudos

hi. parameter i have not given at command  ok...

Former Member
0 Kudos

hi balaji sampath i share my screen shots plz check it..

Former Member
0 Kudos

Hi Srinivas,

Could you share your screen thorugh ammy or TV.

If Yes then Please share your User id & passcode

Former Member
0 Kudos

Sorry  i can not give u..

Restricted by Admin...

Sorry..

Tell me  plz  Anything u need ..

or

Any thing should i do...

former_member205766
Active Contributor
0 Kudos

Hi

Insert Command.docentry into report and use that field for parameter selection.

Regards

Balaji Sampath

Former Member
0 Kudos

ok First share your command which is available in this screen shot..

Then show me this screen which you got at the time print out in SAP.

Former Member
0 Kudos

select t0.CardCode ,t0.CardName,t0.DocEntry ,t0.DocDueDate,t1.ItemCode,t1.Dscription,t1.Quantity,t1.LineTotal     

from ordr t0 inner join rdr1 t1

on

t0.docentry=t1.DocEntry where  t1.U_BomSno like 'P%'

This is the query i put in the command...

Former Member
0 Kudos

Hi

In Query Mention DoEntry Field :

select T0.DocEntry,t0.CardCode ,t0.CardName,t0.DocEntry ,t0.DocDueDate,t1.ItemCode,t1.Dscription,t1.Quantity,t1.LineTotal     

from ordr t0 inner join rdr1 t1

on

t0.docentry=t1.DocEntry where  t1.U_BomSno like 'P%'

former_member205766
Active Contributor
0 Kudos

Hi


In Query add DocEntry Field  in Ordr Table and add the field in crystal report then suppress it.

After apply parameter condition to that field

Regards

Balaji



Former Member
0 Kudos

hi i all ready mention T0.DocEntry

Former Member
0 Kudos

Hi

Please do the step one by one as given snapshot..

Step1: First add command as per your requirement..

Step2:

In Field Explorer (CR)

Select Parameter Field and right click on it choose new. After that Follow the steps as given in Screen Shot.

Step3: Once DocEntry@ Field entered then select it and right click on it and choose "Find in Formula Option". After that Follow the screen shot.

Here in Above screen First Select Recored Selection in "Slection Formulas" left hand side. then Open Report fileds and  Command Field. Now first you have to double click on DocEntry in Command then"{Command.DOcentry}" value will display in lower side then put "=" Sign and double click on DocEntry@ in Report Field it'll show you "{?DocEntry@}" value in Lower side.

Save CR First Don't see preview in SAP b1 by Clicking on AddIns_SAPb1_Preview. Try to save this CR in Sap b1 in "Report And Layout Manager". Now Open Sales Order with Existing Data and Click on Preview By making your layout defualt for Sales Order..

Former Member
0 Kudos

Hi Srinivas ...

Please Note that when you create Parameter in Field Explorer then it name should be DocKey@

then Click on Right Click and Chooase Find in Formula.

After That Link it with with {Command.DocEntry}={?DOCKEY@}

It'll not ask you parameter when you open it Sales Order and click on preview...

Former Member
0 Kudos

hi Balaji Sampath

No it's not working....

what i have done...

plz have a look on last image  in sales order  i click  print but it's asking still parameter..

i need without parameter  how can open .. like pld...

Former Member
0 Kudos

Hi,

Do You have TV or Ammy ?

I'll show you in my System...

If Yes then give me confirmation so that i can share my Screen with you...

Former Member
0 Kudos

Hi,

I have checked your issue in my system. Now it is not asking about paramter when i open sales order screen and click on preview button.I'll suggest you to use DocKey@ Parameter instded using DocEntry@. Once you added it. Goto it's "Find in Formula Option" and link DocEntry with DocKey@ i.e (Command.DocEntry={?DocKey}. It'll solve you problem.