Skip to Content

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

Passing Parameter to SubReport

Hi

Im trying to pass a parameter to a subreport however it hasnt got a field to link directly link to


I thought about creating a StringVar for it as -

whileprintingrecords;

stringvar SortBy;

SortBy := {?SortBy};

However as the value could contain multiple values Im getting an error -

This array must be subscripted. For example: Array [i].

Any ideas how to get round my problem ?

replied

Sorted it!

Didnt need the parameter as you suggested and I needed to add the schema location to the subreport to solve my 409 error.

Thanks for you help as always Abhilash

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