Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to create auto passing of parameter in a layout

Dear All

How it can be possible that a crystal layout pick a parameter from open document automatically, and there is no need to enter parameters manually.

Scenario: I have created a layout for AR Invoice, having parameter of OINV.DocNum , every time while previewing or printing the layout it need to enter the DocNum manually, i need not to enter the DocNum manually and the layout automatically pick the data from the open document i.e AR Invoice

Remember: I have tried the layout without parameters, only 1st entry in the data-base is loading every time.

Looking forwards your valuable guidance



Former Member
Former Member replied

Dear Rafaee

Tnx a lot but i find the solution from this way

create just one parameter named "DocKey@" (type number). DocKey@ parameter is equal to Oinv.DocEntry,and it's the valid parameter used by SAP for layouts. The value for ObjectType is implicit when we run layout from Invoice form, and it is not necessary add it in Crystal Reports design.

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question