Passing mapped value to SAP

Hi,
I am trying to work on a SAP Role change workflow. Here a manager would pick rules to assign a user. Selected rule(s) should be added to a user's profile in SAP. I have multiselect field in my form to do this. There is a static list of roles (allowed) from which a manager can choose roles.
I need to display the roles is simple english. I need to map these rule names to real SAP role names in the backend. So when the manager choose Basic User Access, and click on submit on the form the SAP rule name (ZRD_BASIC_10)should be passed to SAP.
How do I accomplish this?
Here is my form
<!--  MemberObjectGroups="#ID#Top" id="#ID#USERFORM:FMGRROLECHANGE" lastMod="372" lastModifier="Configurator" name=" Manager Role Change Form"-->
<Configuration id='#ID#USERFORM:FMGRROLECHANGE' name=' Manager Role Change Form' lock='Configurator#1167857818671' creator='Configurator' createDate='1165336838033' lastModifier='Configurator' lastModDate='1167857518611' lastMod='372' wstype='UserForm'>
  <Extension>
    <Form name=' Manager Role Change Form' baseContext='variables' noDefaultButtons='true' objectLocationID='isBegin=true&objectID=%23ID%23USERFORM%3AFMGRROLECHANGE&objectPath=0&objectType=UserForm'>
      <Display class='EditForm'>
        <Property name='title' value='Assign New SAP Role'/>
      </Display>
      <Field>
        <Display class='SectionHead'>
          <Property name='title' value='On this page select one or more SAP roles under 'Available SAP Roles' list. Then click on '>' to assign role(s) to this user. The role assignment will automatically expire in 7 days. '/>
          <Property name='width'>
            <Integer>550</Integer>
          </Property>
        </Display>
      </Field>
      <Field>
        <Display class='Label'>
          <Property name='title' value='Lastname:'/>
          <Property name='value'>
            <block trace='true'>
              <ref>review[Lighthouse].lastname</ref>
            </block>
          </Property>
        </Display>
      </Field>
      <Field name='accounts[Lighthouse].firstname'>
        <Display class='Label'>
          <Property name='title' value='Firstname:'/>
          <Property name='value'>
            <ref>retView.accounts[Lighthouse].firstname</ref>
          </Property>
        </Display>
      </Field>
      <Field>
        <Display class='Label'>
          <Property name='value'>
            <ref>retView.accounts[Lighthouse].position</ref>
          </Property>
          <Property name='title' value='Position:'/>
        </Display>
      </Field>
      <Field name='accounts[Lighthouse].email'>
        <Display class='Label'>
          <Property name='title' value='Email:'/>
          <Property name='help'>
            <ref>user.waveset.email</ref>
          </Property>
        </Display>
      </Field>
      <Field name='waveset.organization'>
        <Display class='Label'>
          <Property name='title' value='Organization:'/>
          <Property name='value'>
            <ref>retView.waveset.organization</ref>
          </Property>
        </Display>
      </Field>
      <Field name='retView.accounts[SAP].profiles'>
        <Display class='MultiSelect'>
          <Property name='title'>
            <concat>
              <ref>name</ref>
              <s> Profiles</s>
            </concat>
          </Property>
          <Property name='availableTitle' value='Available Profiles'/>
          <Property name='selectedTitle' value='Selected Profiles'/>
          <Property name='allowedValues'>
            <block name='PROFILES' trace='true'>
              <invoke name='listResourceObjects' class='com.waveset.ui.FormUtil'>
                <ref>display.session</ref>
                <s>profiles</s>
                <ref>name</ref>
                <map>
                  <s>templateParameters</s>
                  <ref>retView.accounts[$(name)].templateParameters</ref>
                </map>
                <s>true</s>
              </invoke>
            </block>
          </Property>
        </Display>
      </Field>
      <Field name='accounts[SAP].profilesShadow'>
        <Expansion>
          <ref>accounts[$(name)].profiles</ref>
        </Expansion>
      </Field>
      <Field name='retView.accounts[SAP].saprole'>
        <Display class='MultiSelect'>
          <Property name='title'>
            <concat>
              <ref>name</ref>
              <s> Roles</s>
            </concat>
          </Property>
          <Property name='availableTitle' value='Available Roles'/>
          <Property name='selectedTitle' value='Selected Roles'/>
          <Property name='allowedValues'>
Thes are SAP roles which need to be displayed in simple english (Retail 10) and passed as real values(ZRD_RETAIL_10)
            <list>
              <s>ZRD_RETAIL_10</s>
               <s>ZRD_RETAIL_30</s>
               <s>ZRD_RETAIL_50</s>
            </list>
          </Property>
        </Display>
      </Field>
      <Field name='retView.accounts[SAP].saproleShadow'>
        <Expansion>
          <ref>accounts[$(name)].saprole</ref>
        </Expansion>
      </Field>
      <Field name='accounts[SAP].cuaSystems'>
        <Display class='MultiSelect'>
          <Property name='title'>
            <concat>
              <ref>name</ref>
              <s> CUA Systems</s>
            </concat>
          </Property>
          <Property name='availableTitle' value='Available Systems'/>
          <Property name='selectedTitle' value='Selected Systems'/>
          <Property name='allowedValues'>
            <invoke name='listResourceObjects' class='com.waveset.ui.FormUtil'>
              <ref>display.session</ref>
              <s>cuaSystems</s>
              <ref>name</ref>
              <map>
                <s>templateParameters</s>
                <ref>accounts[SAP].templateParameters</ref>
              </map>
              <s>true</s>
            </invoke>
          </Property>
        </Display>
      </Field>
      <Field name='accounts[SAP].cuaSystemsShadow'>
        <Expansion>
          <ref>accounts[$(name)].cuaSystems</ref>
        </Expansion>
      </Field>
      <Field>
        <Display class='SectionHead'>
          <Property name='title' value='The role assignment will automatically expire in 7 days. Select option 'Yes' below to make this change permanent.'/>
          <Property name='width'>
            <Integer>550</Integer>
          </Property>
        </Display>
      </Field>
      <Field name='rolechangetemp'>
        <Display class='Radio'>
          <Property name='values'>
            <List>
            </List>
          </Property>
          <Property name='labels'>
            <List>
              <String>Yes</String>
              <String>No</String>
            </List>
          </Property>
          <Property name='title' value='Is this change is a permanent role change?'/>
        </Display>
      </Field>
      <Field>
        <Display class='Text'>
          <Property name='title' value='Role expires on'/>
          <Property name='disabled' value='true'/>
        </Display>
      </Field>
      <Field name='global.temproleexpire'>
        <Display class='Title'/>
        <Expansion>
          <concat>
            <s>This role change will expire on </s>
            <rule name='RuleLibrary  Date Manipulation:setRoleExpiration'/>
          </concat>
        </Expansion>
        <Disable>
          <block>
            <eq>
              <ref>rolechangetemp</ref>
              <s>true</s>
            </eq>
          </block>
        </Disable>
      </Field>
      <Field name='continueCancelBackButtons'>
        <Field name=':complete'>
          <Default>
            <s>true</s>
          </Default>
        </Field>
        <Field name=':variables.formButton' button='true'>
          <Display class='Button'>
            <Property name='value' value='Back'/>
            <Property name='command' value='SaveNoValidate'/>
            <Property name='label' value='Back'/>
          </Display>
        </Field>
        <Field name=':variables.formButton' button='true'>
          <Display class='Button'>
            <Property name='value' value='Continue'/>
            <Property name='label' value='Continue'/>
            <Property name='command' value='Save'/>
          </Display>
        </Field>
        <Field name=':variables.formButton' button='true'>
          <Display class='Button'>
            <Property name='value' value='Cancel'/>
            <Property name='label' value='Cancel'/>
            <Property name='command' value='SaveNoValidate'/>
            <Property name='noNewRow' value='true'/>
          </Display>
        </Field>
      </Field>
    </Form>
  </Extension>
  <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
  </MemberObjectGroups>
  <Properties>
    <Property name='editorOriginalName' value=' Manager Role Change Form'/>
  </Properties>
</Configuration>

Got it. Used ValueMap property.

Similar Messages

  • Passing multiple values for a single field in URL to call sap Transaction

    Hi All,
    I need to pass multiple values for a single field to SAP transaction .
    means if i have say a field "Date" which can contain more than one value, <b>but its not a range which has two fields</b> . How is it possible.
    Let me know pls.
    Regards,
    Sirisha.R.S.

    Hi Satyajit,
    I need to call a transaction with multiple values which gives me the report based on those values.
    So I need to pass multiple values for a single parameter.
    I hope u got it.
    Regards,
    Sirisha.R.S.

  • Pass value in SAP Script

    How can u pass value in SAP Script?& where?

    Hi,
    PASSING TABLE VALUES AS AN ARGUMENT TO SAPSCRIPT:
    In the line editor, specify the table field arguments enclosed by '&' symbol as follows:
    /E  ELEMENT
         &KNA1-KUNNR& ,, &KNA1-NAME1& ,, &KNA1-LAND1&
    Save -> Activate.
    In the Print Program, specify following code:
    TABLES KNA1.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
       FORM                              = 'ZSHABFORM1'
       LANGUAGE                          = SY-LANGU.
    SELECT * FROM KNA1.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'ELEMENT'
       WINDOW                         = 'MAIN'.
    ENDSELECT.
    CALL FUNCTION 'CLOSE_FORM'.
    Save -> Activate -> Execute.
    Regards,
    Priya.

  • How to pass the values from the Wb Dynpro Application to the SAP Backend ?

    Hi All,
    Good morning..,
    I have scenario like:
    I want to pass the values from the web dynpro appication to the SAP Back end R/3 Table. IN backend the RFC is writtn to accept the structure input from the Webdynpro.
    Upto know I imported the corresponding RFC and maaped to the View.
    How to proceed with the coding to save the data...
    PLease suggest...
    Regards and Thanks in Advance,
    CSP

    Hi  Pradeep
    Steps:
    1. First create an instance for bapi and bind the instance to the bapi node.
      Z<bapi name> zb=new Z<bapi name>();
      wdContext.nodeZ<bapi name>. bind(zb);
    2. Then if u have the import parameter u have to set them by using
        The instance of the above bapi.
        Zb.set<import parameters>;
    3. If the bapi has a table parameters then the structure for the table parameters will also be imported
       In the model class.
    4. Set the table parameters by creating the instance for that structure and using this instance set it.
       Z<Struct>itm tab=new Z<Struct>();
       Tab.set<table parameters>
    5. Then add the structure instance to the bapi instance.
        Zb.add(Tab);
    6. Then Execute the bapi after setting the import parameters.
    7.  If there is any export parameters, then get the values after execution.
    Look at this thread for codes
    Re: RFC call on click of button
    Regards,
    Arun

  • I have SSRS parametarized report in that one data set have repeated values with query parameter . but while am mapping that query parameter to report parameter i need to pass distinct values. How can i resolve this

    I have SSRS parametarized report in that one data set have repeated values with query parameter . but while am mapping that query
    parameter to report parameter i need to pass distinct values. How can i resolve this

    Hi nancharaiah,
    If I understand correctly, you want to pass distinct values to report parameter. In Reporting Service, there are only three methods for parameter's Available Values:
    None
    Specify values
    Get values from a query
    If we utilize the third option that get values from a dataset query, then the all available values are from the returns of the dataset. So if we want to pass distinct values from a dataset, we need to make the dataset returns distinct values. The following
    sample is for your reference:
    Select distinct field_name  from table_name
    If you have any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to pass variable value to field of standard sap transaction.

    Hi Experts,
       i want to pass the value of variable to field of standard sap transaction. but that field is not having the parameter ID. so please tell me how i pass the value to field.
    thanks in advance.

    You might like to provide a few more details of which field and transaction you are trying to interact with... typical solutions involve user exits / BAdIs / Enhancements, or transaction variants, or building a BDC to part fill the screens of the Tcode you are calling.
    Jonathan

  • How to pass multi value selection parameter to SAP Function Module?

    Hi ,
    Anyone know how to pass CR multi value parameter - array to SAP Function module ?
    eg  multi selection of customer in CR
    and then pass to Function module
    in SAP FM,  the SQL select these customer only
    How should the import parameter / table of SAP Function module designed?
    and how should CR pass the data to SAP FM
    thx
    John

    Moved to Integration Kit forum

  • Value Mapping replication from SAP

    Hi
    I have gone thru the Blogs and threads related to value mapping replication from SAP.
    Inmy observervation  http://sap.com/xi/XI/System of SAP BASIS 7.00
    still I have some doubts...
    1)what is the differnce between ValueMappingReplication(Asynchronous) and ValueMappingReplicationSynchronous .
    when we will use them.
    2) Message type ValueMappingReplication contains Operation ,GroupId,Context,scheme,agency.
    what is the meaning of Operation??
    what is the use of group ID??
    is this necessary to maintain all these values in Ztable and also source and target values ?? and use them in Abap aproxy logic??
    3) is there any Message Mapping Needed.?? and Interface Mapping Needed to implement value Mapping replication??
    but in this blog
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1301i [original link is broken] [original link is broken] [original link is broken] didnt find any interface mapping .
    4)what is the Sender Adapter type ??
    5) if I did replication from SAP..can I see the details in ID
    please guide me
    regards
    munna

    hi
    1)what is the differnce between ValueMappingReplication(Asynchronous) and ValueMappingReplicationSynchronous .
    In sync you will get the value mapping replication status back and in async you won't. In sync based on the response u can update again in case of any failure. If data size is large use async.
    2) Message type ValueMappingReplication contains Operation ,GroupId,Context,scheme,agency.
    what is the meaning of Operation??
    The operation that you are going to perform. Below is the operations list and the contents to be set in the message for the same
    Insert = all fields must be set;
    Delete =all fields must be set;
    DeleteGroup = fields GroupID and context must be set;
    DeleteContext = field Context must be set;
    DeleteContextGeneric = Context contains the starting part for the context to be deleted
    what is the use of group ID??
    Displays the different representations of an object.
    A value mapping group is identified uniquely by a GUID.
    You can also assign a name to a value mapping group.
    is this necessary to maintain all these values in Ztable and also source and target values ?? and use them in Abap aproxy logic??
    no. system creates the value mapping table. you can take it frm there. no need of any ztables.
    3) is there any Message Mapping Needed.?? and Interface Mapping Needed to implement value Mapping replication??
    You will be sending the value mapping data from a sender system. If it can sent in the same format not required, otherwise you will have to.
    4)what is the Sender Adapter type ??
    Any adapter...depends on the sender system.
    5) if I did replication from SAP..can I see the details in ID
    You can see it in Cache monitoring in RWB.
    for more details refer
    http://help.sap.com/saphelp_nw70/helpdata/EN/13/ba20dd7beb14438bc7b04b5b6ca300/content.htm
    rgds
    Arun

  • Passing Record Values to Obiee Maps

    Hi Users,
    I'm using Obiee10g.
    My Report has following columns: EMPLOYEEID, EMPLOYEE NAME, DEPARTMENT NUMBER, MANAGER, LOCATION, LATITUDE, LONGITUDE
    I Need to pass this values to ESRI Team who will be responisble to Generate maps and design for it.
    They Requested me to send the data.
    Edited by: GRK on Sep 26, 2012 12:45 PM
    Edited by: GRK on Oct 10, 2012 8:24 AM

    Hi Veeravalli,
    I tried to check the links and check the results:
    I created a report with 2 columns.
    went to static - text view (enabled html)
    And, copied the following script:
    <div id="print"></div>
    <div id="obiee_anchor_map"></div>
    <script language="javascript">
    function GetSid(nodeId) {
    var container = document.getElementById(nodeId);
         var sid = null;
         // Code to capture SID
         var x = container;
         do {
              if (x.nodeName == 'TD' || x.nodeName == 'DIV') {
                   sid = x.getAttribute('sid');
                   if (sid != null && sid != '')
                        break;
              x = x.parentNode;
         } while (x != null);
    return sid;
    function GetNqid() {
         var nameEQ = 'nQuireID=';
         var ca = document.cookie.split(';');
              var c = ca;
              while (c.charAt(0)==' ') c = c.substring(1,c.length);
              if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
    function PrintInElement(VarToPrint) {
    var myElementField = document.getElementById('print');
    myElementField.innerHTML = myElementField.innerHTML + '<BR>' + VarToPrint;
    var UrlObiee = 'http://' + document.location.host+'/analytics/saw.dll?Go&searchid='+GetSid('obiee_anchor_map')+
    '&format=text&nqid=' + GetNqid();
    PrintInElement(UrlObiee);
    </script>
    It produces: 2 Links (Which are same which indeed has session and nquid) i.e. printing twice:
    http://myname:9704/analytics/saw.dll?Go&searchid=eshv2mmn7sjjko4stfukgrsrv6&format=text&nqid=e41nlbcph6omqbae8cla3mq22hbbsrtsc7df9qizOr07UFe9W00
    Now, when i copy this link to browser:
    I could see, the results and even the java script .
    Actually, i need to send this link to the ESRI team without java script such that it produces the results.
    And, i should not show the link to the users on d/b.
    And, using iframe i need to call the map from them and show on d/b.
    Please, guide me.
    Experts, Guide me.... Thank you.

  • How to pass multiple values from workbook to planning function ?

    Hi,
    I have created Planning function in Modeler and it has one parameter(Variable represents = Multiple single values).
    When executing the planning function by create planning seq. in the web template : I see value of variable store data like ...
        A.) input one value -> V1
        B.) input three values -> V1;V2;V3
    This function execute completely in web.
    However, I want to use the planning function in workbook(Excel).
    The value of variable can't input V1;V2;V3... I don't know how to pass multiple values from workbook to parameter(Multiple single values type) in planning function ?
    thank you.

    Hi,
    Please see the attached how to document (page no 16).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be">how to</a>
    Hope this was helpful
    thanks

  • Passing multiple values to a single input parameter

    Hi folks,
    I have a Microstrategy query successfully passing input parameter to a calculation view.  For example I can pass a movement type to a material movements calculation view input parameter.  However if I try to pick more than one movement type the query then fails; 
    Generated SQL that works looks like this;
    select
    sum(a11.TOTALQUANTITY)  WJXBFS1
    from
    "_SYS_BIC"."MyPackage/CA_TEST_PASS_PARAMETER"
    ('PLACEHOLDER' = ('$$MoveType$$', '101')
    a11
    When choosing more than one value in Microstrategy the SQL now fails and looks like this;
    select
    sum(a11.TOTALQUANTITY)  WJXBFS1
    from
    "_SYS_BIC"."MyPackage/CA_TEST_PASS_PARAMETER"
    ('PLACEHOLDER' = ('$$MoveType$$', '101'),
    'PLACEHOLDER' = ('$$MoveType$$', '103'))
    a11
    If I cut and paste the SQL and run directly in HANA studio the error is;
    Could not execute 'select sum(a11.TOTALQUANTITY) WJXBFS1 from "_SYS_BIC"."MyPackage/CA_TEST_PASS_PARAMETER" ...' in 66 ms 361 µs .
    SAP DBTech JDBC: [2048]: column store error: search parameter error:  [2018] A received argument has an invalid value;TABLE/VIEW parameter: ( 'PLACEHOLDER'='$$MoveType$$, 103') not supported
    Is it possible to pass multiple values in a single parameter?  I'm using SP67 for this test.
    Thanks,
    -Patrick

    Ravi, also to answer one of your questions about how this will work in Microstrategy; I just heard back from my Microstrategy developer and he is trying MSTR Freeform SQL query with syntax like this;
    select (sumPAR_TEST.TOTALQUANTITY TOTALQUANTITY
    from "_SYS_BIC"."MyPackage/CA_TEST_PASS_PARAMETER"
    ('PLACEHOLDER' =('$$MoveType$$', '[Movement Type]')) PAR_TEST
    In this example [Movement Type] is the microstrategy prompt.  Unfortunately though it translates like this which is missing extra single quotes around each value;
    select     sum(PAR_TEST.TOTALQUANTITY)  TOTALQUANTITY
    from     "_SYS_BIC"."development.pr1959/CA_TEST_PASS_PARAMETER"
    ('PLACEHOLDER' = ('$$MoveType$$', ''101', '102''))   PAR_TEST
    instead of what we need which is;
    ('PLACEHOLDER' = ('$$MoveType$$', '''101'', ''102'''))   PAR_TEST
    So at this point we are not sure if this will be possible or not.
    -Patrick

  • Passing multiple values to a parmeters in Discoverer 4i

    Hi Friends,
    I have a requirement of passing multiple values (Operating Unit Names) to the parameter(P_Opr_Unit) in Discoverer.
    I am using PL/SQL function to get the data in Discoverer.Function is working fine for multiple values from Database(SQL Developer).
    When i am trying to pass multiple values from discoverer ...it is accepting only the first parameter value of Operating Unit.
    Need your Expertise on this issue.
    Thanks In Advance.
    Thanks & Regards
    Ramya Nomula

    Hi,
    You can only pass one parameter value into a function. When you have a multi-valued parameter it enables you to create the condition: item IN (:param) which Discoverer expands to the condition: item IN ('val1', 'val2', 'val3') where these are the values the user has picked from the list of values.
    Now if you have a calculation containing a function and a parameter: my_func(:param) then Discoverer has to map the parameter in the function an item in the worksheet. So if the param is from a multi-valued list it can only pass one value and so expands the calculation to my_func('val1') where val1 is the first item picked from the list.
    Rod West

  • Passing Char Values to Key figure

    Hi All,
    I have one issue for Inventory cube.
    Every thing is fine with the cube, every thing is fine. since i wanted Last usage date i have enhanced the data source and the date is coming to cube well.
    Since i dont want to put the Date as charecter , i wanted to pass the values of dats(char) to dats(kfg).
    For example : 0APO_DAT this is char date since i need to pass the values to 0GIDATE(kfg). i mapped directly in the transformation level.
    Now the problem is i am getting some dates very well, where ever some cancelled documents(dont know exactly) There the dates are coming as 05/17/4017 instead of 03/09/2009.
    can any one Help me out
    Regards
    Ram
    Edited by: Ram on Mar 10, 2009 10:34 PM

    Ram,
    Could you please check key figure to check what aggregation level it has. It should have Max and make sure that same aggregation level exist in your transformations.
    Regards,
    Pravin

  • PASSING EMPTY VALUES TO THE REPORT

    Hello,
    I am having an issue with generating reports published on Crystal XI Server.
    When I do not pass any value for a parameter and try generating the report, an error is occurred which says "REPORT LINKING ERROR - There was an error in launching the viewer: empty String".
    Crystal Version 9 reports are fine even if I do not pass any value to a parameter.
    Can anyone help me out in resolving this issue?
    Thanks,
    BK.

    You may refer to the article:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/WebItrick-drillamongmultiplereports
    And you will find out the way to transfer the all value.

  • Passing multiple values to the QUERY BDOC parameter?

    hi All,
    Below is my Query BDOC Anchor Before Query Execute even handler... I'm trying to pass multiple values to the         bq.Z_PartnerFunction query parameter... i.e. 
    PARTNER_FCT in( '00000012','ZDIVMGR','ZAREADR')
    is it possible without creating new Query Bdoc ?
    ====================================
    Private Sub aempchoicewinTCWSearchTAnchor_beforeQueryExecute(ByRef bq As BusinessQuery, ByRef cancel As Boolean)
    If Not bq Is Nothing Then
            If sWcDummy = "Yes" Then
                    bq.WcDummy = sWcDummy
            End If
            bq.Z_PartnerFunction = "00000012"
            If ctrlZ_Territory.Value <> "" Then
                 bq.PRNB_TerrID = "*" & ctrlZ_Territory.Value
            End If
    End If
    End Sub
    ================================
    Thanks in advance
    Hetal

    Hi,
    it looks that you already enhanced the query BDoc because you have a new query parameter bq.Z_PartnerFunction, right?
    To which BDoc parameter is this BQ parameter mapped? And how looks the related where clause?
    For a single filter normally a "=" operator is used. Therefore your example with "in" won't work.
    If these three partner functions are fixed then you might hardcoded them directly in the where clause (supposed the BDoc is not used somewhere else where you don't want to have this filter).
    Or you might add 3 new BDoc parameters, add 3 new where clauses using a disjunction for them (and using an embracing bracket). In this case always all these 3 BQ parameters need to be filled (or all stay empty) to avoid a SQL syntax error.
    Regards,
    Wolfhard

Maybe you are looking for