Parameters to pass in SO_DLI_EXPAND

Hi all,
I would like to know the parameters I have to pass in the FM <b>SO_DLI_EXPAND</b>.
The requirement is to send e-mail with an attachment. The mail IDs will be got from the distribution list mentioned on the selection screen. I have prepared the distribution list. Now, I need to use the FM SO_DLI_EXPAND to expand the list and then use the FM SO_OBJECT_SEND to send the mail to the distribution list with the attachment.
Thanks and regards,
Anishur

Check below code....
  SELECT carrid carrname
                FROM scarr
                INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
       EXPORTING
            retfield        = 'CARRID'
            value_org       = 'S'
       TABLES
            value_tab       = itab_carrid
       EXCEPTIONS
            parameter_error = 1
            no_values_found = 2
            OTHERS          = 3.
  IF sy-subrc <> 0.
  ENDIF.

Similar Messages

  • BAPI_SHIPMENT_COST_ESTIMATE  What are the min. required parameters to pass

    Hi All,
       I would like to know what are the minimum required  parameters to pass in BAPI BAPI_SHIPMENT_COST_ESTIMATE. And from which tables I can pull out that information to pass to this BAPI.
    Does this BAPI creates a shipment cost document in the system or just shows the estimate of the shipment cost.
    If it creates a shipment cost document then its good for me. but if it shows us just the estimate does it shows estimate for each delivery (total Qty, Unit Price & Total Price). 
    What will be the item category it will pick. I like to see it picks  basic price related item category.
    Does any body has used this bapi ?
    Appreciate your fast reply.
    Regards,
    Leona

    Hello, I´ll try to answer your question:
    1. is it possible to run the bapi without actual shipment number and the shipment ( & cost ) will be created in simulation mode ?
    I think that the bapi only run with external shipment number and only run in simulation mode, that´s mean the bapi can not create any shipment and cost document, if you want to create a shipment use BAPI_SHIPMENT_CREATE, to create a cost document I don´t know if there is a bapi but you can create easily with transaction VI01 (batch-input)
    The shipment number that you use to call the bapi is a ficticious number always between external range indicated in field V_TVTK-NUMKE with the shipment type that you use.
    2. is it possible to perform estimation to inbound shipments ?
    Yes it´s depend on the shipment type. In standard system 0010 is used
    In the example that I have I use an inbound delivery
    3. does the bapi creates shipment and scd in simulate mode like transaction VICI ( from sales order ) ?
    I think that the bapi only run in simulation mode and it can not create any document
    4. is there any problem if i customized my scd item categories to open manualy ?
    I think that the bapi needs to work properly automatic iten categories
    can you please post sample code ( or any other doc's ) for this bapi ?
    I send you a document with an example if you give me an e-mail because I don´t know how to attach a word document
    Best regards,

  • Wt parameters to pass in  function module for particular kunnr fld

    wt parameters to pass in  function module f4if_int_table_value_request which is mostly preferred in reports instead of search help
    for eg i use select-options s_kunnr for kna1-kunnr & prepare i internal table it_kna1.
    den how 2 pass s_kunnr fld & it_kna1 in dat above FM for creating f4 functionality for particular s_kunnr fld on selection-screen.
    plz send me d code urgently

    Check below code....
      SELECT carrid carrname
                    FROM scarr
                    INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'CARRID'
                value_org       = 'S'
           TABLES
                value_tab       = itab_carrid
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc <> 0.
      ENDIF.

  • BPEL to JDE 811, parameters are passed as zero

    Hi,
    We have finished all configuration from Adapter Installation guide as well as from User's guide.
    When we are making a call from our BPEL to JDE 811 functions,
    1) For the functions that are not having any parameters (e.g. GetAuditInfo), are returning correct outputs or say valid response. but
    2) When we make a call to function that are having parameters (e.g. GetYearDescription, GetEffectiveAddress), the values of the parameters are being passed as zero. Or JDE is sending responses like the parameters we passed were absolute zero.
    like for GetYearDescription, i'm giving following XML as input,
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/JDE_SERVICE2">
    <ns1:jdeRequest type="callmethod">
    <callMethod name="GetYearDescription" runOnError="no">
    <params>
    <param name="mnCalendarYear">95</param>
    </params>
    <onError abort="yes"/>
    </callMethod>
    </ns1:jdeRequest>
    </soap:Body>
    </soap:Envelope>
    But instead of 1995, we are getting response as 2000 as parameter values is somehow passed as zero.
    We have checked on JDE side and tested above functions are working OK.
    Can anybody help us and say why the values are being treated as zero.
    Thanks,
    Nirav

    Hi,
    Thanks for the response, but I'm still facing the issue.
    As you suggested, I configured my Application Explorer for Attribute Style and get connected. I generated the WSDL and Schema for GetYearDescription. I created the BPEL process and again gave the input as I mentioned above, but it is still giving me 2000 as output. Am'I following the correct process ?
    Invoke Audit Trail from BPELConsole for after running the process is as below :
    <messages><Invoke_1_GetYearDescription_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="input_GetYearDescription"><jdeRequest type="callmethod" session="" xmlns="urn:iwaysoftware:jde/services/JDEJAVA_CMFGBASE/B3000260/GetYearDescription">
    <callMethod name="GetYearDescription" runOnError="no" xmlns="">
    <params>
    <param name="mnCalendarYear">95</param>
    </params>
    <onError abort="yes"/>
    </callMethod>
    </jdeRequest>
    </part></Invoke_1_GetYearDescription_InputVariable><Invoke_1_GetYearDescription_OutputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="response-headers">[]</part><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="output_GetYearDescription"><jdeResponse xmlns="urn:iwaysoftware:jde/services/JDEJAVA_CMFGBASE/B3000260/GetYearDescription" user="PSFT" type="callmethod" session="6656.1211956064.15" environment="DV811" role="*ALL">
    <callMethod name="GetYearDescription" runOnError="no">
    <returnCode code="0"/>
    <params>
    <szYearDescription>2000</szYearDescription>
    </params>
    </callMethod>
    </jdeResponse>
    </part></Invoke_1_GetYearDescription_OutputVariable></messages>
    And here is my WSDL which I generated with Attribute_Style JDE Connection from Application Explorer :
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="GetYearDescription"
    targetNamespace="http://xmlns.oracle.com/pcbpel/iWay/wsdl/JDEdwards/JDEOne/GetYearDescription"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:iWay="http://xmlns.oracle.com/pcbpel/adapter/iWay/"
    xmlns:GetYearDescription="http://xmlns.oracle.com/pcbpel/iWay/wsdl/JDEdwards/JDEOne/GetYearDescription"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:iWayRequest="urn:iwaysoftware:jde/services/JDEJAVA_CMFGBASE/B3000260/GetYearDescription" xmlns="http://schemas.xmlsoap.org/wsdl/">
    <types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="urn:iwaysoftware:jde/services/JDEJAVA_CMFGBASE/B3000260/GetYearDescription"
    xmlns:ns="urn:iwaysoftware:jde/services/JDEJAVA_CMFGBASE/B3000260/GetYearDescription" elementFormDefault="qualified">
    <xsd:element name="jdeRequest">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="callMethod">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="params">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="param" minOccurs="0" maxOccurs="2">
    <xsd:complexType>
    <xsd:simpleContent>
    <xsd:extension base="xsd:string">
    <xsd:attribute name="name" use="required">
    <xsd:simpleType>
    <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="mnCalendarYear"/>
    <xsd:enumeration value="szYearDescription"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:attribute>
    </xsd:extension>
    </xsd:simpleContent>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="onError" minOccurs="0">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:any minOccurs="0"/>
    </xsd:sequence>
    <xsd:attribute name="abort" use="required">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="yes"/>
    <xsd:enumeration value="no"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:attribute>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="name" use="required">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="GetYearDescription"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="app" type="xsd:string" use="optional"/>
    <xsd:attribute name="runOnError" use="optional">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="yes"/>
    <xsd:enumeration value="no"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="returnNullData" use="optional">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="yes"/>
    <xsd:enumeration value="no"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="trans" type="xsd:string" use="optional"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="type" use="required">
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="callmethod"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="session" type="xsd:string" use="optional"/>
    <xsd:attribute name="sessionidle" type="xsd:string" use="optional"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    ...Response Schema ...
    Can you tell me that what exactly should be my input XML. soap:Envelope and soap:Body are required right ?
    Thanks,
    Nirav

  • Problem with empty report parameters when passed to PL/SQL function

    Hi,
    We have come across what appears to be a bug in the JRC. When passing a report parameter to a PL/SQL function as a parameter, empty parameters are changed before being sent to the function. More specifically, an empty string "" ends up as the value "(')" in the PL/SQL function parameter. In our report we print the report parameters on the first page so we know that the parameters are OK before being passed to the database.
    The problem exists for version 12.2.203, 12.2.204 and 12.2.205 of the JRC.
    We have identified a workaround, but it is not exactly elegant: Before executing the report we modify all empty  parameters ("") to " " . In the PL/SQL function, we trim all parameters before using them.
    We call the function using a command object with a sql syntax like this example:
    select * from table (qa_batch_release.get_qa_br('{?p_report_id}','{?p_reg_set_number}','{?p_cr_number}','{?p_change_id_decode}','{?p_country_id}','{?p_mfg_item_no}','{?p_4_no}','{?p_5_no}','{?p_7_no}'))
    The PL/SQL function is a table returning function.
    Best regards, Thor

    Hi Kishore,
    using #COLUMN_VALUE# would probably not make much sense, because normally a report has multiple columns and not just the numeric column which you want to verify if it's negative. But APEX will fire the template condition for each column, because the report template is a column cell template.
    What you can do to make it more generic is to use for example
    #CHECK_AMOUNT#
    in the template and provide a not displayed column in your SQL statement which contains your value which is named CHECK_AMOUNT. For example:
    SELECT NAME
         , BALANCE
         , BALANCE AS CHECK_AMOUNT
    FROM XXX;Because this CHECK_AMOUNT column would be a generic name, you can use this template in all your reports as long as you provide this column.
    Thope that helps
    Patrick

  • Non-english (cyrillic) characters in parameters values passed thru GO URL

    Hi
    Is it possible somehow to pass non-english (cyrillic) parameters and parameters values from one report to another using GO URL? Straightforward approach doesn't work since internal web-server (browser?) encoding of these cyrillic values on the stage of URL passing.

    Hi Srini,
    Thanks for all your help.
    Now I am able to navigate to the requested report/Dashboard Page. The issue was there were some spaces in between the url and parameters.
    But Now,I am stuck at passing the filters. Actually only the first filter among the 6 filters is getting passed. Even If swap the order of the filters, I first one in the order is only getting passed.
    So I have hardcoded the filters with actual values instead of Column names and then I am able to pass all the filters.
    Here is the updated URL:
    '<a href=http://servername/analytics/
    saw.dll?GO&path=/shared/xxx/aa%20bb/report%20one
    &Action=Navigate&P0=6&P1=eq&P2="Fact%20-%20xxx".ID1&P3='||CAST("Dim - Abc"."One ID" AS CHAR)||'&P4=eq&P5="Fact%20-%20xxx".ID2='||CAST("Dim - Abc"."Two ID" AS CHAR)||'&P6=&P7=lt&P8="Fact%20-%20xxx".DATE&P9='||CAST(TIMESTAMPADD(SQL_TSI_DAY,1,"Time"."Day") AS CHAR)||'&P10=eq&P11="Fact%20-%20xxx"."Three%20ID"&P12='||CAST("Dim - Abc"."Three ID" AS CHAR)||'&P13=ge&P14="Fact%20-%20xxx".DATE1&P15='||CAST(TIMESTAMPADD(SQL_TSI_DAY,1,"Time"."Day") AS CHAR)||'&P16=eq&P17="Time".Day&P18='||CAST("Time"."Day" AS CHAR)||'style="text-decoration:none;">'||"Dim - Abc.Name"||'<--/a>'
    Just after removing the spaces, It started navigating.
    Also tried out removing the Cast and || operators then I was getting the error " Id1 was expecting a numeric value but recieved ("Dim - Abc"."One ID").
    Regards,
    Pavan Gupta
    Edited by: Pavan Popi on Mar 13, 2013 7:01 AM

  • How to Identify the count , If multiple parameters are passed using Pipe Delimited string

    Hi,
    We are passing Pipe delimited string to the parameter and I want to know how many values we are passing to the parameter.
    Here is the example
    Parameter.Grant: 24|34|54|67
    I am using below expression, but it is not giving the right values. Please let me know if  I am missing anything or is it possible.
    =iif(parameters!Grant.Count>1,"Multiple value selected",parameters!Grant.Value)

    Hi NaveenCR,
    According to your description, you used pipe delimited multi-value parameter in the report, you want to know how many values passed to the parameter. If that is the case, please refer to the following steps:
    In Design view, click Text Box in the Toolbox.
    On the design surface, click and then drag a box to the desired size of the text box.
    Right-click inside of the text box, then click Expression.
    In Expression text box, type the expression like below:
    =iif(split(Parameters! Grant.Value,"|").Length>1," Multiple value selected",Parameters!Grant.Value)
    The following screenshots are for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • How BAPI Tables parameters are passed by reference

    Hi Gurus,
                     I have a genuine doubt regarding BAPI parameters. I would like to point out the genreal rules of bapi like,
    1. BAPI parameters should be passed by value. (Because they are rfc fm's. So both systems will be in different servers. This is the normal scenario.)
    2. But the tables parameters in BAPI can't be passed by value. Instead they are passed by reference.
    3. I know they use some kind of delta mechanism to transfer tables parameters to remote servers.
    So gurus I would like to know what exactly happens when a tables parameter is passed. And also I didn't understand the delta mechanism. Kindly guide me.
    Thanks in advance,
    Jerry Jerome

    You'll see in [SAP Library - RFC - Parameter Handling in Remote Calls|http://help.sap.com/saphelp_nw04s/helpdata/en/22/042551488911d189490000e829fbbd/frameset.htm] that tables are not passed by reference when you use RFC. It also explains the delta.
    When you make a remote function call, the system handles parameter transfer differently than it does with local calls.
    TABLES parameters
    The actual table is transferred, but not the table header. If a table parameter is not specified, an empty table is used in the called function.
    The RFC uses a delta managing mechanism to minimize network load during parameter and result passing. Internal ABAP tables can be used as parameters for function module calls. When a function module is called locally, a parameter tables is transferred u201Cby reference". This means that you do not have to create a new local copy. RFC does not support transfer u201Cby referenceu201D. Therefore, the entire table must be transferred back and forth between the RFC client and the RFC server. When the RFC server receives the table entries, it creates a local copy of the internal table. Then only delta information is returned to the RFC client. This information is not returned to the RFC client every time a table operation occurs, however; instead, all collected delta information is passed on at once when the function returns to the client.
    The first time a table is passed, it is given an object-ID and registered as a "virtual global table" in the calling system. This registration is kept alive as long as call-backs are possible between calling and called systems. Thus, if multiple call-backs occur, the change-log can be passed back and forth to update the local copy, but the table itself need only be copied once (the first time).

  • One parameters should pass two Infotypes at different times

    I have two Infotype 0014 & 0015 which needs to be passed to the Class Z_CUSTOM_CLASS method CHECK_EGLIBILITY, Can any body help me in passing these Infotypes at different times but only through One Parameter ( IMPORTING or changing ) .
    I need to know the TYPE or LIKE or Type Ref to for that Par1 ?
    I dont want to specify two parameters each defined based on the structure of P0014 or P0015.
    Z_CUSTOM_CLASS => CHeck_ELIGIBILITY
    importing
    par 1  = 0014
    or 
    Z_CUSTOM_CLASS => CHeck_ELIGIBILITY
    importing
    par 1  = 0015
    the class should be able to process both infotypes, the developer who uses this method would be given Privilege whether to pass 14 infotype or infotype 15 depending on situation.
    it would be of great help if you can show some sample code.

    You can use PRELP structure to type this parameter. This would work similary to customer exits ZXPADU01/02
    data p0014 type p0014.
    data innnn type prelp.
    "before passing to method cast it to PRELP structure
    CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PNNNN_TO_PRELP
    EXPORTING
    PNNNN = p0014
    IMPORTING
    PRELP = INNNN.
    "then pass it to method
    Z_CUSTOM_CLASS => CHeck_ELIGIBILITY
    importing
    par 1 = innnn.  "type PRELP
    "in method cast it back to either p0014 or p0015
    data: p0015 type p0015,
             p0014 type p0014.
    case innnn-infty.
    when '0014'.
       CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
         EXPORTING
           PRELP = INNNN
        IMPORTING
          PNNNN = p0014.
       "your coding here
      when '0015'.
       CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
         EXPORTING
           PRELP = INNNN
        IMPORTING
          PNNNN = p0015.
       "your coding here
    endcase.
    Regards
    Marcin

  • What parameters to pass to server

    Hi
    I am using this drawing tutorial to select a shape on my
    image.
    http://www.actionscript.org/resources/articles/97/1/Draw-a-line/Page1.html
    I want to let server side script know what shape I have
    selected. Can someone guide me what parameters I should pass to the
    server side script.
    Thanks

    actually php script will only receive values from the flash
    and write them to a text file , than matlab application will access
    those files and write back to the text file and php will read the
    file and send it to flash back.
    So, I was wondering how I can send the X and Y coordinates by
    putting them into an array from the original flah movie( instead of
    using bitmapexporter class.
    I just can't figure out how to put those x and y continous
    values into the array, than the job will only to pass this array
    using loadvar.

  • Report parameters being passed in URL - invalid identifier error

    Hi
    Id anyone aware of any format in which we should be passing values in the url to the report deployed on the server?
    A parameter that takes in the format 'e123','e234' - example for emp_id parameter.
    If we pass in this form, even a single value as 'e123' in the url to run the report -
    The value e123 is taken in single quotes and it displays the error
    REP-300: "e123": invalid identifier
    That is, it displays the error as if the string was entered in double quotes.

    Hi, Aaron.
    I tried what you said, and my code wouldn't parse correctly. Let me show you the whole module of PL/SQL that I'm dealing with here. I did not write this. This is something I'm maintaining and updating. The part that chokes is near the bottom.
    declare
    l_sql varchar2(4000) := 'select user_name,total from (select user_name,count(*) total from eba_ver2_cust_activity ' ;
    begin
    if :P23_START_DATE is not null and :P23_END_DATE is not null then
    l_sql := l_sql || ' where ACTIVITY_DATE between ''' || to_char(to_date(:P23_START_DATE,'dd-mon-yyyy'),'dd-mon-yyyy')
    || ''' and ' || '''' || to_char(to_date(:P23_END_DATE,'dd-mon-yyyy') ,'dd-mon-yyyy') || '''' ;
    elsif :P23_START_DATE is not null then
    l_sql := l_sql || ' where ACTIVITY_DATE >= ''' || to_char(to_date(:P23_START_DATE,'dd-mon-yyyy'),'dd-mon-yyyy') ||
    elsif :P23_END_DATE is not null then
    l_sql := l_sql || ' where ACTIVITY_DATE <= ''' || to_char(to_date(:P23_END_DATE,'dd-mon-yyyy'),'dd-mon-yyyy') || ''''
    end if;
    if :P23_ACTIVITY_TYPE != '%null%' and :P23_ACTIVITY_TYPE is not null then
    if :P23_START_DATE is not null or :P23_END_DATE is not null then
    l_sql := l_sql || ' and activity_type_id = ' || :P23_ACTIVITY_TYPE ;
    else
    l_sql := l_sql || ' where activity_type_id = ' || :P23_ACTIVITY_TYPE ;
    end if;
    end if;
    l_sql := l_sql || ' group by user_name )' ;
    return l_sql ;
    end ;
    I appreciate all the help. As for the job market for Apex programmers around here, I wouldn't know. I was a COBOL programmer for many years. I'm approaching retirement, and this will probably be my last IT job.
    Steve "the n00b" in Raleigh NC

  • HTTP url parameters to pass the target side how handle using udf and source is not mapped to target

    HI Gur's.
    I have a requirement HTTP -post -Proxy.
    Post will send the data in URL. we have written the udf for handling the to receive the  data  we are not mapping with source structure to target structure .Url data  display in SOAP header only.how to store the soap header  data ECC using in proxy receiver.

    thank you shahcsanjay for your reply
    but I think that web.showDocument can not be used by ordinary java web application ..
    I think it can be used only with with "oracle forms" Am I right ?
    If no can you please tell me where can I find a useful document about how to use web.showDocument ...
    thanks again
    Saleem

  • Issues passing drillthrough parameters from a multi-level tablix in SSRS 2008 R2

    Hello,
    I am really struggling with trying creating a drillthrough report that starts with a matrix (tablix)  and passing those  parameters. I am using SSRS 2008 R2.
    Here's my scenario:
    I have a matrix that has mulitple levels where you can drill down. Here an example with all the levels open:  
    Active
    Term
    Leave
    Total
    128
    88
    121
    United States
    110
    80
    85
    New York
    65
    30
    57
    Manhattan
    10
    6
    9
    Buffalo
    20
    23
    4
    Albany
    35
    1
    44
    Texas
    45
    50
    28
    Dallas
    40
    30
    22
    Houston
    5
    20
    6
    France
    18
    8
    36
    Centre
    18
    8
    36
    Blois
    7
    2
    8
    Druex
    6
    1
    15
    Tours
    5
    5
    13
    I want to drillthrough to another report - Detail Report. As I understand it, I would click the 65 for New York and I would see the detail for the 65 Active people. If I click the 2 under Blois, I would see the 2 terminated people in Blois. My understanding
    for this to work, the Detail Report would need a a parameter for each of the level possibilities in the matrix that I could click: Country, State, City as well as the Status (Active, Term, Leave).
    While I understand about passing parameters, what I don't understand is how to pass the parameters if they are blank. Let's say I clicked 65 for New York, I would need to pass State = New York  Status = Active. But the remaining parameters (Country
    and City  would be null). I know Country doesn't need to be Null in this case.
    My Detail Report has the parameters defaulted to Null, but whether I put the parameters in a Filter for the dataset or in the query itself, I cannot get it to ignore the Nulls.
    As a crazy work-around (I think) I can put in the Where of the query  something along the lines of: this:
            and (a.Country in (@paramCountryCode) or NULL  in (@paramCountryCode) )
    and I would need to do that for each parameter. Usually I have to use 'ALL' instead of NULL, I'm note sure why.
    Additionally, in the Report Action of the Main Report, I need to pass those parameters for each level and their Status. I am also not clear whether or not I need to put in all the parameters on each of the levels (Country, State, City) of the matrix. And if
    I do, do I need to make the expressions an IIF statement stating whether or not they are In Scope?
    All the examples I was able to find, only showed one or maybe two parameters being passed. Doing the way I am trying, seems convoluted, error-prone and tedious. I really hope that I am wrong.
    Is there a better way to approach drilltrough reports from a matrix when there are multiple levels?
    Thank you for the help.
    ~J

    Hi Jenna_Fire,
    According to your description, you have a matrix contains total for each group on each level. Now your requirement is, when you click on any number (data field or total), it will go to the detail report which returns all the detail information of the people
    within the group scope. For example, if you click on the total of Active users in United States, it will return the detail information of Active users in New York and Texas. Right?
    In this scenario, we should set the parameter (@Country, @State, @City) allow multiple values in both main and detail report. And in Default Value (@Country, @State, @City), query out all distinct values. In the textbox which contains
    those total values, when set use these parameters to run the report, we only need to pass the parameters of parent groups. For example, if we click on the total of Active users in New York, we only need to pass Country, State, Status to detail report, and
    in the detail report, the City parameter will use all distinct values (Default Values) because we don't pass the City parameter. We have tested this case with sample data in our local environment. Here are steps and screenshots for your reference:
    1. Create parameter Country, State, City and Status in both main report and detail report. Set both Available Value and Default Value get values from query (Create a dataset for each parameter, use "select distinct [column] from [table]" as query). Set allow
    multiple values for parameter Country, State and City in both reports.
    2. In corresponding textbox, pass appropriate parameters in go to report Action.
    4. Filter data in detail report (in where clause or using filters).
    5. Save and preview. It looks like below:
    Reference:
    Using Parameters to Connect to Other Reports
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Passing URL parameters to PL/SQL Pages

    Hi,
    I want to pass parameters from url to the PL/SQL page . How is this possible?
    http://myserver/pls/portal/url/PAGE/page_group/page/testplsqlpage?course_ref=##COURSE_ID##&staff_ref=##STAFF_ID##
    I will to received course_ref and staff_ref in the PL/SQL page and pass the values to SQL query so that its filtered.
    Can pls anyone guide me? If there is any alternate way or there is sample code pls let me know
    Many Thanks
    Ganesh

    Hi Mick,
    Thanks for your reply. However my problem is still not resolved.
    I have created a Omniportlet with lists the staff details. When I click on the staff link I am passing to parameters as follows
    http://servername/pls/portal/url/PAGE/CCM_MIS_PORTAL/TUTOR_HOME/Course_Info?Param1=10017031/M2523&Param2=001434
    on the receving page I have a omni portlet which must receive these 2 parameters and pass it on to the query and filter the results.
    On the received page I have created 2 page parameters (Param1 and Param2)
    I have assigned these 2 paramaters to the portlet paramers through page parameters' section
    on the omni portlet in the query I have created 2 bind variables (p1, p2) and the default value of the bind variable is set using ##Param1## and ##Param2## so the received values from page is passed to to bind variable and hence to the query.
    However the omni portlet is not received the parameters and I can not figure out whats wrong?
    Is there any problem with my URL (guide says I should use relative URL)
    Please help

  • Passing 'ALL' value into Two Parameters in SAP Crystal Reports

    Hi,
    I have one report made it from sql command in that there is 2 parameters one is C_Type and other is C_Type_HV both shows the records like 01,02,03,05 both the parameters are used in command where clause and also that report contain one sub report for showing summary made it from sql command in that command both the parameters are passing through where clause of command now i want to add 'ALL' as a value in both the parameters how i can do this in sap crystal report.
    for referance I give u both the query of report
    With Regards,
    Ganesh

    Hi Ganesh,
    Please have a look at this thread on how to add 'ALL' as a value for the prompt.
    All values in parameter
    -Abhilash

Maybe you are looking for

  • Open GR/IR items

    Hi SAP GURU's, I had an issue in GR/IR open items clearing. The scenario is we had a policy to wirteoff the GR/IR open items which are more than 18months with regard to PO. Can any advice the procedure for this so that open GR/IR tiems and PO should

  • How to enable GOS at sales order item

    Hi Experts, I have a requirement where I have to provide the customer an option to see the workflow overview at sales order item level (using Generic Object Services). I have developed a class based custom workflow for sales order approval and wish t

  • Mavericks wont install

    As many others, i get following message: The thing is, I've already tried what people said in here. I have a backup on an external drive. I found the backups.backupdb folder on that and deleted it, but that obviously didn't help. Now i've created a n

  • Pages keep freezing every 10 seconds until cursor is moved.

    This has been going on for a few days now. Every 10 seconds or so the pages freeze, either loading a page or watching videos. I've tried: - Turn off hardware acceleration - Reinstalled flash - Reset Firefox - Clear cookies and cache - Restart in safe

  • Can I join two tables from two different dbs by using transparent gateway?

    E.g.: select * from t1@rdb1, t1@rdb2 Can this work?