Probelem

Hello BW Gurus,
We have a base cube from which the data is getting pulled to a ZTABLE using ABAP program. From that ZTABLE we are using a function module and feeding the Virtual Cube.
Now our issue is- our clients are running a report on base cube and they are getting the values in standard unit conversion factor. This base cube consists of a virtual calculated key figure and as it’s a virtual calculated key field, we don’t see any data for that particular field in the base cube. But somehow when they execute the Bex report they are able to convert the values in standard unit of measure. Is there any temporary buffer storage in background? If so……….how can I find it?? 
Now they want to see the same report on Virtual Cube as well but I am unable to populate the data in Bex and its just showing zero values. I tried all the means and ways like I added a field to ZTABLE and modified the ABAP program but still the field is not getting populated. I went into CMOD to check whether there is any user exit that is used for base cube to manipulate the data so that I can apply the same thing for virtual cube as well. But unfortunately I did not fine any sort of code. I played with the Bex but still no luck.
Please note that the standard unit conversion factor filed is in units. If anybody has done anything like this before or any documentation on this would be highly appreciated. It’s a urgent requirement for us and I need you help.
Thanks so much,

Hi,
These How tos may help your:
“How to…Report Data in Alternate Units of Measure”:
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how to report data in alternate units of measure
“How to…Reporting from External Data via VirtualInfoProviders”:
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how to report from external data via virtualinfoproviders.pdf
“How To… Implement a virtual InfoProvider with Services”:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how to implement a virtual infocube with services
Best regards,
Eugene

Similar Messages

  • Probelem in Report Printing(urgent)

    Hello Everybody,
    This is Paritosh Sharma from India(Noida).I am facing a Probelem and the Probelem is when I am printing
    a Report output through an Espon(Dot Matrix) Printer after printing every page it skips another page.
    For Example : the output on Ist page is printed on Ist page and the output of 2nd page is printed on 3rd page and then again
    output on 3rd page get printed on 5th page.
    If anybody is having the solution for it den plz help me out
    I am using Report builder (D2k).
    Thanx & Regards
    Paritosh

    Maybe your layout is (a little bit) larger than the printable space on your printer.

  • Performance probelem any idea?????

    REPORT ztest .
    include ZOPEN_RTRN_data.
    include ZOPEN_RTRN_scr.
    SELECT   DISTINCT
              kdauf
              kdpos
              kunnr
              matnr
              prctr
    FROM mseg
    *UP TO lv_rows ROWS
    INTO CORRESPONDING FIELDS OF TABLE imseg
    WHERE matnr IN matnr
    AND   prctr IN prctr
    AND   kunnr IN kunnr
    AND   kdauf IN kdauf
    AND  ( bwart = '651'
    OR     bwart = '652'
    OR     bwart = '901'
    OR     bwart = '902' ).
    LOOP AT imseg ASSIGNING <f1>.
      CLEAR z651.
      CLEAR z652.
      CLEAR z901.
      CLEAR z902.
      SELECT  menge bwart
      FROM    mseg
      INTO    (mseg-menge , mseg-bwart )
    where   matnr = <f1>-matnr
    and     kunnr = <f1>-kunnr.
      WHERE  kdauf = <f1>-kdauf
      AND    kdpos = <f1>-kdpos.
        IF sy-subrc = '0'.
          CASE mseg-bwart.
            WHEN '651'.
              z651 = mseg-menge.
            WHEN '652'.
              z652 = mseg-menge.
            WHEN '901'.
              z901 = mseg-menge.
            WHEN '902'.
              z902 = mseg-menge.
            WHEN OTHERS.
              CONTINUE.
          ENDCASE.
      <f1>-recqty = z651 - z652.
      <f1>-retqty = z901 - z902.
      <f1>-diff = <f1>-recqty - <f1>-retqty.
        ENDIF.
      ENDSELECT.
    ENDLOOP.
    IF p_minus = 'X'.
      LOOP AT imseg.
        IF imseg-diff >= '0.00'.
          DELETE imseg.
        ENDIF.
      ENDLOOP.
    ENDIF.
    IF p_plus = 'X'.
      LOOP AT imseg.
        IF imseg-diff <= '0.00'.
          DELETE imseg.
        ENDIF.
      ENDLOOP.
    ENDIF.
    PERFORM alv_rep.
    *& ALV_REPORT                                          *
    FORM alv_rep.
      CLEAR i_fieldcat.
      REFRESH i_fieldcat .
      PERFORM e04_comment_build  USING gt_list_top_of_page[].
      PERFORM aufbauen_fieldcat USING 'KUNNR'     'MSEG' ' '
      PERFORM aufbauen_fieldcat USING 'KDAUF'     'MSEG' '' ''
      PERFORM aufbauen_fieldcat USING 'KDPOS'     'MSEG' '' ''
      PERFORM aufbauen_fieldcat USING 'MATNR'     'MSEG' ' '
      PERFORM aufbauen_fieldcat USING 'PRCTR' 'MSEG' ' '
    PERFORM aufbauen_fieldcat USING 'BWART' 'MSEG' ' '
    PERFORM aufbauen_fieldcat USING 'MENGE' 'MSEG' ' '
      PERFORM aufbauen_fieldcat USING 'RECQTY' ' ' 'Recieved Qnt'
      PERFORM aufbauen_fieldcat USING 'RETQTY'   ' ' 'Return Qnt'
      PERFORM aufbauen_fieldcat USING 'DIFF'   ' ' 'Diffrence'
       PERFORM aufbauen_fieldcat USING 'NAME1' 'LFA1' ' '
      PERFORM aufbauen_fieldcat USING 'DMBTR'  'EKBE' ' '
    PERFORM aufbauen_fieldcat USING 'CALC' 'T_OBJECTS' 'PO Value'
    PERFORM aufbauen_fieldcat USING 'WAERS' 'EKBE' ' '
    PERFORM aufbauen_fieldcat USING 'WAERS' 'EKBE' ' '
    **L_LAYOUT-info_fieldname = 'color_line'.
      l_layout-colwidth_optimize = 'X'.
      l_layout-info_fieldname = 'X'.
    l_layout-cell_merge = 'X'.
      l_layout-numc_sum = 'X'.
    l_layout-totals_only = 'X'.
    l_layout-totals_text = 'X'.
    l_layout-detail_initial_lines = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program       = sy-cprog
                i_callback_pf_status_set = 'STANDARD'
                i_callback_user_command  = 'ALV_USER_COMMAND'
                is_layout                = l_layout
               i_callback_top_of_page   = 'TOP-OF-PAGE'
                it_fieldcat              = i_fieldcat[]
                i_save                   = 'A'
                is_variant               = is_variant
                it_events                = gt_events[]
           TABLES
                t_outtab                 = imseg  "
           EXCEPTIONS
                program_error            = 1
                OTHERS                   = 2.
    ENDFORM.                    "alv_rep
    *&      Form  AUFBAUEN_FIELDCAT
    FORM aufbauen_fieldcat USING  p_fieldname
                                  p_ref_tabname
                                  p_name
                                  p_sum
                                  p_emp
                                  p_out.
      i_fieldcat-fieldname = p_fieldname .
      i_fieldcat-ref_tabname = p_ref_tabname .
      i_fieldcat-reptext_ddic = p_name .
      i_fieldcat-seltext_l = p_name .
      i_fieldcat-seltext_m = p_name .
      i_fieldcat-seltext_s = p_name .
      i_fieldcat-do_sum    = p_sum .
      i_fieldcat-emphasize = p_emp .
      i_fieldcat-no_out    = p_out .
      APPEND i_fieldcat .
    ENDFORM.                    " AUFBAUEN_FIELDCAT
          FORM E04_COMMENT_BUILD                                        *
    FORM e04_comment_build USING e04_lt_top_of_page TYPE
    slis_t_listheader.
      DATA: ls_line TYPE slis_listheader.
      CLEAR e04_lt_top_of_page .
      REFRESH e04_lt_top_of_page .
      ls_line-typ  = 'H'.
      ls_line-info = 'XXXXX'.
      APPEND ls_line TO e04_lt_top_of_page.
      CLEAR ls_line.
      ls_line-typ  = 'S'.
      ls_line-key  = text-002 .
      ls_line-info = sy-uname .
      APPEND ls_line TO e04_lt_top_of_page.
      "e04_comment_build
      CLEAR e04_lt_top_of_page .
      REFRESH e04_lt_top_of_page .
    ****end
      CLEAR ls_line.
      ls_line-typ  = 'H'.
    ls_line-key  = ''.  "not used for this type
      ls_line-info = 'Vendor Report'(001).
      APPEND ls_line TO e04_lt_top_of_page.
      CLEAR ls_line.
      ls_line-typ = 'S'.
      ls_line-key = text-011.
    WRITE sy-datum TO ls_line-info.
      CONCATENATE sy-datum6(2) '/' sy-datum4(2) '/' sy-datum(4)
        '&&' sy-uzeit(2) ':' sy-uzeit+2(2)
        INTO ls_line-info.
      REPLACE '&&' WITH '  ' INTO ls_line-info.
      APPEND ls_line TO e04_lt_top_of_page.
    ENDFORM.
    FORM alv_user_command USING r_comm TYPE sy-ucomm
                            rs_selfield TYPE slis_selfield.
      IF r_comm = '&IC1' .
        IF rs_selfield-fieldname EQ 'KDAUF'.
          READ TABLE imseg INDEX rs_selfield-tabindex.
          SET PARAMETER ID 'AUN' FIELD imseg-kdauf.
          CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN .
        ENDIF.
      ENDIF.
    ENDFORM.
    FORM standard USING rt_extab TYPE slis_t_extab .
      SET PF-STATUS 'STANDARD' ."excluding rt_extab.
    ENDFORM.                    "STANDARD
    FORM top_of_page.
      DATA: header TYPE slis_t_listheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = header
                i_logo             = 'ENJOY'.
    ENDFORM.

    Hi Liat,
    1) Check whther you are passing the keyfields in order and also check whether are you picking fields in the same order as in the table
    2) Try  to avoid Corresponding fields.
    3) Dont use select statement in a loop
    4) Use loop at itab where instaed of checking with if in the loop
    Reward points if it is helpful
    reagrds,
    kiran i

  • Re-installing drivers Probelem *he

    Ok, I have a creative x-fi extreme gamer sound card and it was previously installed on my system. Something was wrong with the sound for some reason so I un-installed the driver and tried to re-install the new driver.
    The driver version I am trying to install is the new SBXF_PCDVT_LB_2_5_0004 driver for Vista 64-bit. For some reason now, every time I click the installer to install it starts up and then I get the error "You have previously installed drivers without rebooting. Please reboot and try again."
    I tried to reboot and have uninstalled every piece of software with the name creative on it, also went to the device manager to uninstall the card to and it still doesn't work. I also tried removing the card, booting up my system, turned it off, put the card back in, and started it again to try and install the drivers and I get he same thing.
    Can anyone help me please, what do I need to do to get my sound back?
    Thanks
    -Cody

    Ok, I have a creative x-fi extreme gamer sound card and it was previously installed on my system. Something was wrong with the sound for some reason so I un-installed the driver and tried to re-install the new driver.
    The driver version I am trying to install is the new SBXF_PCDVT_LB_2_5_0004 driver for Vista 64-bit. For some reason now, every time I click the installer to install it starts up and then I get the error "You have previously installed drivers without rebooting. Please reboot and try again."
    I tried to reboot and have uninstalled every piece of software with the name creative on it, also went to the device manager to uninstall the card to and it still doesn't work. I also tried removing the card, booting up my system, turned it off, put the card back in, and started it again to try and install the drivers and I get he same thing.
    Can anyone help me please, what do I need to do to get my sound back?
    Thanks
    -Cody

  • I am having a probelem with one website saying it is unsecure and untrusted.Other people are not getting same message.I have tried everything.

    Hi there.
    I am having constant problems when trying to connect to www.pretty green.com.When going to check out it is telling me that the site is unsognes,unsecure and doesn't use encryption.Other people are not seeing this message.
    I have tried everything from reinstalling firefox to disabling ad ons etc.
    The website also say it is secure.
    Why will firefox not let me connect to it and why could it be showing as unsecure?
    Than you.

    Thank you for the updates. Since the server seems to be set up correctly, the '''sec_error_unknown_issuer''' could indicate that your connection to the server is being intercepted.
    One common reason for this is that you use software like avast! 2015, Kaspersky, ESET, or BitDefender that has a feature of scanning your web traffic for threats. Firefox might not be set up to work with that software. If this is the case, when you view the site's certificate in the Add Exception dialog or in another browser, it usually will say it was issued by your security software provider.
    Another possible reason is a hijacked connection or malware.
    To try to sort this out, on the error page, do you see a section at the bottom which says "I understand the risks" with an Add Exception button? If so, click Add Exception and then click "View" to view the certificate. You don't need to actually add an exception, it's better that you don't, but this is a way to see the certificate.
    If you check the "Issued by" section, what do you see there? I have attached what I see in Firefox 37 for comparison. Also, does the certificate path (chain of trust) on the Details tab look like the attached?
    If you can't use Add Exception for this, you can click the padlock in the address bar in a different browser and use its certificate viewer.

  • Probelems with the page properties in Dreamweaver cs4

    Hello,
    I have a problem with dreamweaver cs4. My dreamweaver is installed on windows 7. I did not had this problem before in windows xp.
    It is on the lowest screen (page) propperties (dreamweaver is in clasic mode)
    When ik point at HTML then I can not see all the items. This is also the same for CSS.
    -HTML - FORMAT - CLASS by the title I can only see 3mm. The rest is not shown.
    On the next line by CSS - ID - LINK its the same. I can only see 3 mm of Target.
    The wierd thing is that when I click with my mouse at a image the page propperties are shown good. Then their is nothing wrong with it. I can see everything. I hope someone can help me. I have posted a picture of the problem so you see inmeadiatly what I mean.
    Thanks in advanced.

    See the FAQ:
    "CS4 Property inspector fields truncated (Windows)"
    http://forums.adobe.com/thread/446724

  • Re: Probelems running queries in SQL Developer

    I used to be able to run queries in SQL developer without any problems but now I get the followin message whenever I try to run a query
    "Could not initialize class oracle.sql.CHAR"
    p.s. I also get this: "oracle.i18n.text.converter.CharacterConverterOGS.getInstance(I)Loracle/i18n/text/converter/CharacterConverter;"
    Edited by: user564155 on Jul 26, 2010 1:49 PM

    Might be corrupt settings; backup/delete the SQL Developer/systemXXX directory in the hidden Application Data under your Windows profile to reset your installation to defaults.
    Else, if you run from \sqldeveloper\bin\sqldeveloper.exe, what output do you get in the opened console when starting up and querying? This could help diagnosing the problem.
    Hope that helps,
    K.

  • Probelem with passing parameters to function module

    hey i am facing a problem to pass the parameters to function module.let me explain.. we cant pass the parameters which we are using in the select option statements directly to a function module called...i just wanna know if there is any way so that i can pass those values to a fnc module while passing it from select options

    Hi,
    You have to create a table type in SE11..
    Check this sample table type PDSMAINT_MATNR_RNG_T...
    Then use that table type in the importing parameter of FM..
    PT_MATNR TYPE PDSMAINT_MATNR_RNG_T..
    For which field you have created select-options..I will check if there is any existing table type in se11..
    Thanks,
    Naren

  • Webdynpro application errors with SLD,J2EE Engine - JCOs probelem

    Hi,
    I have developed a small webdynpro application
    1. Passing 2 values to RFC
    2. Getting result contents from RFC and displayed in a table.
    I am getting following errors:
    u2022     SLD is not accessible. Check SLD Data Supplier service settings.
    u2022     Insufficient permissions for getting SLD access information. You can add permissions for your application via the SLD service in the 'Visual Administrator'.
    u2022     ACCESS.ERROR: Authorization check for caller assignment to J2EE security role [SAP-J2EE-Engine : administrators].
    u2022     application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: An attempt to write after the stream had been closed.
    Exception id: [0002559A6FCB0077000000A0000CF0E8000460EC9406F721]
    u2022     application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error. The error is: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: An attempt to write after the stream had been closed.
    at
    Please suggest me.

    Hi Kiran,
    You need configure SLD and JCo destinations in your j2ee engine..
    Check this [article |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f56b5] to create the SLD and JCo destinations.
    regards,
    Siva

  • Probelems with MDB listening to MQ (Startup class issue )

    Hello ,
              I am supposed to write a Message driven bean that would reside on
              Weblogic7.0 and listen to a particular queue of IBM MQ.
              I understand that we need to write a Start-up class for this. I have
              written the start-up class but I am getting the following error:
              <Apr 16, 2003 3:17:14 PM EDT> <Warning> <EJB> <010061> <The
              Message-Driven EJB: SimpleMDB is unable
              to connect to the JMS destination: ivtQ. The EJB container will
              automatically attempt to re-establis
              h the connection with the JMS server. This warning may occur during
              WebLogic Cluster start-up if the
              JMS destination is located on another server. When the JMS server
              connection is re-established, the
              Message-Driven EJB will again receive JMS messages.
              The Error was:
              The JMS destination with the JNDI name: ivtQ could not be found.
              Please ensure that the JNDI name in
              the weblogic-ejb-jar.xml is correct, and the JMS destination has been
              deployed.>
              I understand that there are some configuration issues:
              Can you please guide where am I going wrong:
              1.     What should be the value of the <destination-jndi-name> in the
              Weblogic-ejb-jar. I have not passed any Queue name through the
              start-up class &#8230;Is it ok?
              2.     Then what queue name should I specify. (ofcousrse it should be the
              MQ queue name but do I need to add that in the JNDI or in the
              weblogic console&#8230;?
              3.     Please confirm that the <connection-factory-jndi-name> mentioned in
              the weblogic-ejb-jar.xml should be the same as what I am passing as
              JNDIName (through weblogic console).
              4.     Kindly advice if I am missing anything (especially in my start-ip
              class)
              Here are my Deployemnt descriptors:
              weblogic-ejb-jar
              <?xml version="1.0"?>
              <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic
              7.0.0 EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
              <weblogic-ejb-jar>
                   <weblogic-enterprise-bean>
                        <ejb-name>SimpleMDB</ejb-name>
                        <message-driven-descriptor>
                             <pool>
                                  <max-beans-in-free-pool>8</max-beans-in-free-pool>
                                  <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
                             </pool>
                             <destination-jndi-name>ivtQ</destination-jndi-name>               
                             <initial-context-factory>
              com.sun.jndi.fscontext.RefFSContextFactory
              </initial-context-factory>
                             <provider-url>
              file:/D:/JNDI/
              </provider-url>
                             <connection-factory-jndi-name>
              MyQCF
              </connection-factory-jndi-name>
                        </message-driven-descriptor>
                   </weblogic-enterprise-bean>
              </weblogic-ejb-jar>
              ejb-jar.xml
              <?xml version="1.0"?>
              <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
              JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
              <ejb-jar>
                   <enterprise-beans>
                        <message-driven>
                             <ejb-name>SimpleMDB</ejb-name>
                             <ejb-class>weblogic.jms.whitepaper.SimpleMDB</ejb-class>
                             <transaction-type>Container</transaction-type>
                             <message-driven-destination>
                                  <!-- In WebLogic Server 6.0, this next parameter is named
              "jms-destination-type" -->
                                  <destination-type>javax.jms.Queue</destination-type>
                             </message-driven-destination>
                        </message-driven>
                   </enterprise-beans>
                   <assembly-descriptor>
                        <container-transaction>
                             <method>
                                  <ejb-name>SimpleMDB</ejb-name>
                                  <method-name>*</method-name>
                             </method>
                             <trans-attribute>Required</trans-attribute>
                        </container-transaction>
                   </assembly-descriptor>
              </ejb-jar>
              My Start-up class is as follows:
              import com.ibm.mq.jms.*;
              import java.util.*;
              import javax.jms.*;
              import javax.naming.*;
              import weblogic.common.*;
              public class MQJMSStartup implements T3StartupDef
                   /** * The name of the queue manager to connect to. The startup class
              * will throw an exception if this parameter is not set. */
                   public final static String QM_NAME_PROPERTY = "QManager";
                   /** * The host name where the queue manager runs. If not set, the *
              startup class will create a "bindings mode" connection to a * queue
              manager on the local host. */
                   public final static String QM_HOST_PROPERTY = "QManagerHost";
                   /** * The port number where the queue manager listens. If not set,
              this * defaults to 1414, the default MQSeries port */
                   public final static String QM_PORT_PROPERTY = "QManagerPort";
                   /** * The name in JNDI to store this queue manager object under. * If
              not set, the startup class will throw an exception. */
                   public static final String JNDI_NAME_PROPERTY = "JNDIName";
                   // Required
                   public MQJMSStartup()
                   // Required, but not needed
                   public void setServices(T3ServicesDef services)
                        public String startup(String name, Hashtable args) throws Exception
                        String qmName = (String)args.get(QM_NAME_PROPERTY);
                        System.out.println("*****The qmName is "+qmName);
                        if (qmName == null)
                             throw new Exception("Startup parameter " + QM_NAME_PROPERTY + "
              must be set");
                        String jndiName = (String)args.get(JNDI_NAME_PROPERTY);
                        System.out.println("***The JNDI Nname is "+jndiName);
                        if (jndiName == null)
                             throw new Exception("Startup parameter " + JNDI_NAME_PROPERTY + "
              must be set");
                        String qmHost = (String)args.get(QM_HOST_PROPERTY);
                        System.out.println("*****The qmHost is "+qmHost);
                        String qmPort = (String)args.get(QM_PORT_PROPERTY);
                        System.out.println("*****The qmPort is "+qmPort);
                        MQQueueConnectionFactory factory = new MQQueueConnectionFactory();
                        factory.setQueueManager(qmName);
                        if (qmHost == null)
                             factory.setTransportType(JMSC.MQJMS_TP_BINDINGS_MQ);
                             factory.setHostName(qmHost);
                             if (qmPort != null)
                                  try
                                       int portNum = Integer.parseInt(qmPort);
                                       factory.setPort(portNum);
                                  catch (NumberFormatException ignore)
                        else
                             factory.setTransportType(JMSC.MQJMS_TP_CLIENT_MQ_TCPIP);
                        InitialContext context = new InitialContext();
                        context.bind(jndiName, factory);
                        context.close();
                        StringBuffer buf = new StringBuffer();
                        buf.append( "A connection factory was created for the MQ Queue
              Manager ");
                        buf.append(qmName);
                        buf.append(" and stored in JNDI at ");
                        buf.append(jndiName);
                        System.out.println("*****The mqstartup is executed
              succesfully"+buf.toString());
                        return buf.toString();
              The args that I pass through the weblogic console is as follows:
              QManager=QM_mphasis_eight, JNDIName=MyQCF
              Please advice,
              regards,
              Milan Doshi
              

    Thanks for the response.
              I have written the startUp class but I am getting the following error:
              The Error was:
              The JMS destination with the JNDI name: MySenderQueue could not be
              found. Please ensure that the
              JNDI name in the weblogic-ejb-jar.xml is correct, and the JMS
              destination has been deployed.>
              =====
              My startup class is as follows:
              String qmPort = (String)args.get(QM_PORT_PROPERTY);
              String qmHost = (String)args.get(QM_HOST_PROPERTY);
              String qmName = (String)args.get(QM_NAME_PROPERTY);
              MQQueueConnectionFactory factory = new MQQueueConnectionFactory();
              factory.setQueueManager(qmName);
              factory.setHostName(qmHost);
              if (qmPort != null)
              try
              int portNum = Integer.parseInt(qmPort);
              factory.setPort(portNum);
              catch (NumberFormatException ignore)
              if (qmHost == null)
              factory.setTransportType(JMSC.MQJMS_TP_BINDINGS_MQ);
              else
              factory.setTransportType(JMSC.MQJMS_TP_CLIENT_MQ_TCPIP);
              InitialContext context = new InitialContext();
              context.bind(jndiName, factory);
              QueueConnection connection = factory.createQueueConnection();
              boolean transacted = false;
              QueueSession session = connection.createQueueSession( transacted,
              Session.AUTO_ACKNOWLEDGE);
              Queue ioQueue = session.createQueue("MySenderQueue");
              context.bind("MySenderQueue",ioQueue);
              context.close();
              ===================================================
              My Weblogic-ejb-jar.xml is like this:
              <weblogic-ejb-jar>
              <weblogic-enterprise-bean>
              <ejb-name>SimpleMDB</ejb-name>
              <message-driven-descriptor>
              <pool>
              <max-beans-in-free-pool>8</max-beans-in-free-pool>
              <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
              </pool>
              <destination-jndi-name>MySenderQueue</destination-jndi-name>
              <connection-factory-jndi-name>
              MyQCF
              </connection-factory-jndi-name>
              </message-driven-descriptor>
              </weblogic-enterprise-bean>
              </weblogic-ejb-jar>
              ======================================================
              Can you please guide me what is wrong in registering the Queue?
              Thanks once again for the response,
              Milan Doshi
              "sudhir" <[email protected]> wrote in message news:<[email protected]>...
              > Mian,
              >
              > You should pass the Queue Name in the startup class arguments. This would be
              > the same name as the MQ Queue you have defined. There is no need to specify to
              > provider URL to the file ... If you do, then ensure that the the queue name should
              > refer to the MQ Administered Queue object defined by jmsadmin.
              >
              > -Sudhir
              >
              >
              >
              > [email protected] (Milan Doshi) wrote:
              > >Hello ,
              > >
              > >I am supposed to write a Message driven bean that would reside on
              > >Weblogic7.0 and listen to a particular queue of IBM MQ.
              > >
              > >I understand that we need to write a Start-up class for this. I have
              > >written the start-up class but I am getting the following error:
              > >
              > ><Apr 16, 2003 3:17:14 PM EDT> <Warning> <EJB> <010061> <The
              > >Message-Driven EJB: SimpleMDB is unable
              > >to connect to the JMS destination: ivtQ. The EJB container will
              > >automatically attempt to re-establis
              > >h the connection with the JMS server. This warning may occur during
              > >WebLogic Cluster start-up if the
              > > JMS destination is located on another server. When the JMS server
              > >connection is re-established, the
              > > Message-Driven EJB will again receive JMS messages.
              > >The Error was:
              > >The JMS destination with the JNDI name: ivtQ could not be found.
              > >Please ensure that the JNDI name in
              > > the weblogic-ejb-jar.xml is correct, and the JMS destination has been
              > >deployed.>
              > >
              > >I understand that there are some configuration issues:
              > >
              > >Can you please guide where am I going wrong:
              > >1.     What should be the value of the <destination-jndi-name> in the
              > >Weblogic-ejb-jar. I have not passed any Queue name through the
              > >start-up class ?Is it ok?
              > >2.     Then what queue name should I specify. (ofcousrse it should be the
              > >weblogic console??
              > >3.     Please confirm that the <connection-factory-jndi-name> mentioned in
              > >the weblogic-ejb-jar.xml should be the same as what I am passing as
              > >JNDIName (through weblogic console).
              > >4.     Kindly advice if I am missing anything (especially in my start-ip
              > >class)
              > >
              > >Here are my Deployemnt descriptors:
              > >
              > >weblogic-ejb-jar
              > >
              > ><?xml version="1.0"?>
              > ><!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic
              > >7.0.0 EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
              > ><weblogic-ejb-jar>
              > >     <weblogic-enterprise-bean>
              > >          <ejb-name>SimpleMDB</ejb-name>
              > >          <message-driven-descriptor>
              > >               <pool>
              > >                    <max-beans-in-free-pool>8</max-beans-in-free-pool>
              > >                    <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
              > >               </pool>
              > >               <destination-jndi-name>ivtQ</destination-jndi-name>               
              > >               <initial-context-factory>
              > > com.sun.jndi.fscontext.RefFSContextFactory
              > > </initial-context-factory>
              > >               <provider-url>
              > > file:/D:/JNDI/
              > > </provider-url>
              > >               <connection-factory-jndi-name>
              > > MyQCF
              > > </connection-factory-jndi-name>
              > >          </message-driven-descriptor>
              > >     </weblogic-enterprise-bean>
              > ></weblogic-ejb-jar>
              > >
              > >
              > >
              > >
              > >
              > >
              > >
              > >ejb-jar.xml
              > >
              > ><?xml version="1.0"?>
              > ><!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
              > >JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
              > ><ejb-jar>
              > >     <enterprise-beans>
              > >          <message-driven>
              > >               <ejb-name>SimpleMDB</ejb-name>
              > >               <ejb-class>weblogic.jms.whitepaper.SimpleMDB</ejb-class>
              > >               <transaction-type>Container</transaction-type>
              > >               <message-driven-destination>
              > >                    <!-- In WebLogic Server 6.0, this next parameter is named
              > >"jms-destination-type" -->
              > >                    <destination-type>javax.jms.Queue</destination-type>
              > >               </message-driven-destination>
              > >          </message-driven>
              > >     </enterprise-beans>
              > >     <assembly-descriptor>
              > >          <container-transaction>
              > >               <method>
              > >                    <ejb-name>SimpleMDB</ejb-name>
              > >                    <method-name>*</method-name>
              > >               </method>
              > >               <trans-attribute>Required</trans-attribute>
              > >          </container-transaction>
              > >     </assembly-descriptor>
              > ></ejb-jar>
              > >
              > >
              > >My Start-up class is as follows:
              > >
              > >import com.ibm.mq.jms.*;
              > >import java.util.*;
              > >import javax.jms.*;
              > >import javax.naming.*;
              > >import weblogic.common.*;
              > >
              > >
              > >public class MQJMSStartup implements T3StartupDef
              > >{
              > >     /** * The name of the queue manager to connect to. The startup class
              > >* will throw an exception if this parameter is not set. */
              > >     public final static String QM_NAME_PROPERTY = "QManager";
              > >     
              > >     /** * The host name where the queue manager runs. If not set, the *
              > >startup class will create a "bindings mode" connection to a * queue
              > >manager on the local host. */
              > >     public final static String QM_HOST_PROPERTY = "QManagerHost";
              > >     
              > >     /** * The port number where the queue manager listens. If not set,
              > >this * defaults to 1414, the default MQSeries port */
              > >     public final static String QM_PORT_PROPERTY = "QManagerPort";
              > >          
              > >     /** * The name in JNDI to store this queue manager object under. * If
              > >not set, the startup class will throw an exception. */
              > >     public static final String JNDI_NAME_PROPERTY = "JNDIName";
              > >
              > >     // Required
              > >     public MQJMSStartup()
              > >     {
              > >     }
              > >
              > >     // Required, but not needed
              > >     public void setServices(T3ServicesDef services)
              > >     {
              > >     }
              > >
              > >          public String startup(String name, Hashtable args) throws Exception
              > >     {
              > >          String qmName = (String)args.get(QM_NAME_PROPERTY);
              > >          System.out.println("*****The qmName is "+qmName);
              > >          if (qmName == null)
              > >          {
              > >               throw new Exception("Startup parameter " + QM_NAME_PROPERTY + "
              > >must be set");
              > >          }
              > >          String jndiName = (String)args.get(JNDI_NAME_PROPERTY);
              > >          System.out.println("***The JNDI Nname is "+jndiName);
              > >          if (jndiName == null)
              > >          {
              > >               throw new Exception("Startup parameter " + JNDI_NAME_PROPERTY + "
              > >must be set");
              > >          }
              > >          String qmHost = (String)args.get(QM_HOST_PROPERTY);
              > >          System.out.println("*****The qmHost is "+qmHost);
              > >          String qmPort = (String)args.get(QM_PORT_PROPERTY);
              > >          System.out.println("*****The qmPort is "+qmPort);
              > >          MQQueueConnectionFactory factory = new MQQueueConnectionFactory();
              > >          factory.setQueueManager(qmName);
              > >          if (qmHost == null)
              > >          {
              > >               factory.setTransportType(JMSC.MQJMS_TP_BINDINGS_MQ);
              > >               factory.setHostName(qmHost);
              > >               if (qmPort != null)
              > >               {
              > >                    try
              > >                    {
              > >                         int portNum = Integer.parseInt(qmPort);
              > >                         factory.setPort(portNum);
              > >                    }
              > >                    catch (NumberFormatException ignore)
              > >                    {
              > >
              > >                    }
              > >               }
              > >          }
              > >          else
              > >          {
              > >               factory.setTransportType(JMSC.MQJMS_TP_CLIENT_MQ_TCPIP);
              > >          }
              > >
              > >          InitialContext context = new InitialContext();
              > >          context.bind(jndiName, factory);
              > >          context.close();
              > >          StringBuffer buf = new StringBuffer();
              > >          buf.append( "A connection factory was created for the MQ Queue
              > >Manager ");
              > >          buf.append(qmName);
              > >          buf.append(" and stored in JNDI at ");
              > >          buf.append(jndiName);
              > >          System.out.println("*****The mqstartup is executed
              > >succesfully"+buf.toString());
              > >          return buf.toString();
              > >     }
              > >}
              > >
              > >
              > >
              > >
              > >The args that I pass through the weblogic console is as follows:
              > >
              > >QManager=QM_mphasis_eight, JNDIName=MyQCF
              > >
              > >
              > >
              > >
              > >
              > >Please advice,
              > >
              > >regards,
              > >
              > >Milan Doshi
              

  • Language Probelem

    My system language is English and my local App Store is in the Netherlands.
    Probably because of this last setting part of the text in the App Store app is in Dutch. This is really annoying.

    The MAS language is not determined by the language preference setting on your Mac. The MAS is a website accessed by the MAS app. So much of the language of the store for different countries is determined by the language of the website. That language is usually the predominant language of the country, however, many MAS are in English, perhaps because the MAS is still a work in progress and not all of the languge resources are in place for native language websites.

  • Downloading probelem on my samsung galaxy tab 3

    I going to play youtube video but says download adobe flash player and   I tryto download aadobe flash player but wont download.
    Please help me. Mydevice is samsung galaxy tab 3 7 inch sm t210

    Samsung tablets use Android OS. There IS NO Flash Player for Android anymore, and there won't be again. Andorid is no longer comaptible with Flash.
    Google (Android) recommends using either "Dolphin" or "Puffin" as your browser if you need to view Flash content. They're free in the GooglePlay store and they use "server side rendering" for Flash to reduce the load on your tablet, which prevents draining of your battery and reduction in battery life.

  • Probelem with SAVE_TEXT

    Hi all ,
    My requirement is to copy the partner function address to the text tab in the VA01 transaction .I am using SAVE_TEXT and COMMIT_TEXT function modules.
    I am getting the values in the STXH table But i am getting the text in the text tab.
    I writing the text to Object VBBP id Z005 .
    According to some threads i need to set the flag for the field LTXSP( Long text exist in the language)
    Can u please help in in setting the flag for the long text for VA01 transaction.?
    regards
    pavee

    Hi,
    this is my code. i am executing this code in the user exit USEREXIT_SAVE_DOCUMENT _PREPARE .
    Pl solve the problem.advace thanks
    li_ithead-tdobject = 'VBBP'.
    li_ithead-tdid = 'Z005'.
    li_ithead-tdspras = sy-langu.
    CONCATENATE lw_adrc-name1 lw_adrc-street INTO li_tline-tdline SEPARATED BY space.
    li_tline-tdformat = '*'.
    APPEND li_tline .
    CONCATENATE lw_adrc-str_supply1 lw_adrc-city1 INTO li_tline-tdline
    SEPARATED BY space.
    APPEND li_tline .
    CONCATENATE lw_adrc-post_code1 lw_adrc-tel_number INTO li_tline-tdline
    SEPARATED BY space.
    APPEND li_tline .
    describe table li_tline lines lv_lines.
    li_ithead-tdtxtlines = lv_lines.
    /* here i am geeting lv_lines =3.
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
    client = sy-mandt
    header = li_ithead
    insert = 'X'
    savemode_direct = 'X'
    TABLES
    lines = li_tline
    EXCEPTIONS
    OTHERS = 1.
    if sy-subrc ne 0.
    exit. */ program is exiting here......
    endif.
    CALL FUNCTION 'COMMIT_TEXT'
    EXPORTING
    object = 'VBBP'
    id = 'Z005'
    language = sy-langu.
    if sy-subrc ne 0.
    exit.
    endif.

  • Probelem mit Zugriffsrechten auf Windowsserver mit Adobe-Dateien

    Hallo ihr Lieben, 
    ich bzw. wir haben in der Frima an 2 Standorten vollgendes Problem: auf unserem Server sind Daten die sich nicht mehr, umbennen oder verschieben lassen. Alle betreffenden Daten hängen irgendwie mit Adobe zusammen. Der gemeinsame Nenner bei uns ist, dass wir alle dauerhaft mit Bridge arbeiten, allerdings lassen sich die Daten auch nicht verschieben wenn Bridge aus ist. Ich habe jetzt noch folgende Ansatzpunkte, warum es nicht funktioniert:
    1. Wir sind keine Admins auf dem Windowsserver
    2. Bridge muss irgendwie anders eingestellt werden
    Kennt irgendjemand die beschriebenen Probleme und kennt eine Lösung oder einen Workaround?
    LG
    Willi

    1. Wir sind keine Admins auf dem Windowsserver
    2. Bridge muss irgendwie anders eingestellt werden
    Try in English for better responding and more answers.
    In general, Bridge is not designed nor official supported for use over a network. It is based on a stand alone configuration and uses cache files stored on the user account. If you store them on a server and don't have correct privileges then problems start to build up.
    Your own IT specialist should be able to deal with this problem.

  • Probelem When Deleting Files

    v 2.3; Windows XP
    I have been using LR since original beta and this is the first time this is occurring.  When I delete, the file deletes but still appears in LR with ? indicating lost file, but most disturbingly, LR stops responding.  I know how to use LR.  I have studied preferences but cannot find answers there.  Any thoughts?

    For those who've been using LR since the beginning, sometimes a new Prefs. file can help. It takes just a couple of minutes to delete and reset. Have you also run the Relaunch and Optimize catalog in Preferences-> Catalog?
    The question marks, though, may mean LR can't find the file to delete, although I just deleted an image in Finder, then deleted it from LR, got the Remove? dialog, and it kept running.

Maybe you are looking for

  • Need help with  HTML and Swing Components

    Dear All, I am using HTML text for Jbutton and Jlabel and MenuItem. But when i am trying to disable any of these, its foreground color is not being grayed out. For that, I have overrided the setEnable() method as mentioned below: import java.awt.*; i

  • Satellite Pro P100: Where can I find the preinstalled software?

    Hi all, i recieved my satellite pro p100-327 today. From what i've read in the manual the recovery cd included is just a copy of windows? If i want to reinstall windows where can all the programs preinstalled on the laptop be reinstalled from? Is the

  • Do you want to save changes after execute query by example

    Hi, I kinda hope this is simple to solve. I have a block with some database fields and some non-database fields. The none database fields i populate in post-query trigger. However, if I execute the query, it seems that the form thinks that the form i

  • What Flash Player for Flex builder 3?

    I am just getting started with Flex & hitting a lot of roadblocks. Getting files for Day 1 helped. When I try to "run" a project I get asked for Flash Player 9. I uninstalled Player 10, found Player 9 for developers, installed, but Flex still does no

  • User Management for e-Commerce ERP

    Hello Experts, I am working on e-Commerce ECC6.0 version. Had some questions in the area of user management: A) The scenario is that the e-commerce application needs to be integrated to Poral, now my doubt is which userType option is the best to be c