Skip to Content
author's profile photo Former Member
Former Member

How to add a parameter which is a formula

We have a formula to get the sales rep (called the corrections rep) and would like to offer this a param if the user only want to see and process their own

records. how to make this as a param?

this is the formula

(

SELECT

{fn REPLACE(MYDTA.REFER1.RFDTA,'0000000' ,'' )}

FROM

MYDTA.REFER1

WHERE

MYDTA.REFER1.RFCAT = '0025'

AND MYDTA.REFER1.RFSQ2 = '1'

AND MYDTA.REFER1.RFSLC = "OEORH41CD"."OHSLR#"

)

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on May 30, 2013 at 04:23 AM

    Hi Paul,

    You cannot create parameters on formula fields or SQL Expression fields.

    You would need to get the RFDTA field (with the where clause) as part of the Command Object or View.

    -Abhilash

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 30, 2013 at 07:39 AM

    Hi Paul,

    If you have installed BOE or CRS then you can use the BVM client tool to create a LOV. This LOV can be used across reports to get 'Sales rep' prompt.

    The Data Foundation of the Business View can be based off a Command Object SQL that you have given.

    Please look at the Business View Manager(BVM) user guide here:

    https://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_bv_admin_en.pdf?xyzallow

    -Prathamesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Another option would be to use a main report to get the RFDTA via Command object SQL as Abhilash suggested and create a parameter inside the main report.

      Now, the report which requires this prompt can be embedded into the main report as a sub report and linked on the parameter from the main report.

      -Prathamesh

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.