Good document for creating cube using AWM wih oracle 10.1.0.2 version

Can anyone provide some good guide for implementing the OLAP cubes using ORACLE ver 10.1.0.2.0 with AWM Release 1.
Also, please let me know whether I need to apply any patches.
The demo provided under this link has some differences when trying to implement.
http://www.oracle.com/technology/products/bi/olap/viewlet/awm10g_viewlet_swf.html
Your help is appreciated.

Well, if some of the required componets were missing, I would imagine you getting an error when trying to connect?
Where is this ASP application actually running?
Is it running on your localhost IIS web server?
If not, any setup on your computer will be irrelevent.
If it is, you need to install MDAC components, and 2.8 is the latest.
If running on your local IIS, did you try to create a very basic ASP page which just creates a connection to the database in question? Does that work?
Do you have ON ERROR statements in your code to bypass any/all SQL errors?
If you create a simple UDL file on your desktop and specify the server/user/password (ater selecting Oracle OLEDB driver), does the connect button work?

Similar Messages

  • Problem Maintaining CUBE using AWM

    when i am trying to maintain cube using AWM. Primarily there was no problem the maintain task is running well. But now after 3 or 4 days when i am trying to maintain my Cube. I am getting an error massage "ORA-00933: SQL command not properly ended". this error massage is generated for new cube and previously maintained cube too. I don't understand why this error has been generated? Please . help me if anyone recover this error.

    Hi,
    You are probably hitting a bug 5757454. Please do the following to solve the problem:
    1. delete * from olapsys.xml_load_log;
    2. drop SEQUENCE "OLAPSYS"."XML_LOADID_SEQUENCE" ;
    -- This is how the sequence was defined in OH/olap/admin/cmwinst.sql originally
    --create sequence XML_LOADID_SEQUENCE;
    -- In testing, we used the following explicit statement instead of the above one:
    create SEQUENCE "OLAPSYS"."XML_LOADID_SEQUENCE" MINVALUE 1 MAXVALUE
    999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE ;
    3. The following line is VERY important:
    grant select on olapsys.XML_LOADID_SEQUENCE to public;
    4. Now try to maintain a dimension, cube or AW.
    It worked for me :)
    Regards,
    Jarek Przybyszewski

  • Need the good documents for AlV

    Hi,
    I am new to Alvs. Plz send me good documents for same. In this AlV pgm how to activate filter button?
    type-pools: slis.
    DATA: it_spfli TYPE TABLE OF spfli ,
          it_cat TYPE SLIS_T_FIELDCAT_ALV,
          wa_cat TYPE slis_fieldcat_alv,
          checkbox(1)    type c.
    data: itab1 type  SLIS_T_SORTINFO_ALV ,
          WA TYPE SLIS_SORTINFO_ALV.
    *data: itab2 type  SLIS_T_SORTINFO_ALV ,
         WA1 TYPE SLIS_SORTINFO_ALV.
          START-OF-SELECTION.
    SELECT * FROM spfli  INTO TABLE it_spfli.
    IF it_cat is initial.
      clear wa_cat.
    wa_cat-col_pos   = 1.
    wa_cat-fieldname = 'CARRID'.
    wa_cat-datatype  = 'CHAR'.
    wa_cat-inttype   = 'C'.
    wa_cat-intlen    = 3.
    wa_cat-seltext_l   = 'Airline Code'.
    append wa_cat to it_cat.
    clear wa_cat.
    wa_cat-col_pos   = 2.
    wa_cat-fieldname = 'CONNID'.
    wa_cat-datatype  = 'NUMC'.
    wa_cat-inttype   = 'N'.
    wa_cat-intlen    = 4.
    wa_cat-seltext_l   = 'Flight conn no'.
    append wa_cat to it_cat.
    WA-FIELDNAME = 'CARRID'.
    WA-UP = 'X'.
    APPEND WA TO ITAB1.
    *ENDIF.
    CLEAR WA.
    CLEAR ITAB1.
    WA-FIELDNAME = 'CONNID'.
    WA-UP = 'X'.
    APPEND WA TO ITAB1.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
      EXPORTING
       I_INTERFACE_CHECK              = ' '
       I_BYPASSING_BUFFER             =
       I_BUFFER_ACTIVE                = ' '
       I_CALLBACK_PROGRAM             = ' '
       I_CALLBACK_PF_STATUS_SET       = ' '
       I_CALLBACK_USER_COMMAND        = ' '
       I_STRUCTURE_NAME               =
       IS_LAYOUT                      =
        IT_FIELDCAT                    = it_cat
       IT_EXCLUDING                   =
       IT_SPECIAL_GROUPS              =
        IT_SORT                        = ITAB1
       IT_FILTER                      =
       IS_SEL_HIDE                    =
       I_DEFAULT                      = 'X'
       I_SAVE                         = ' '
       IS_VARIANT                     =
       IT_EVENTS                      =
       IT_EVENT_EXIT                  =
       IS_PRINT                       =
       IS_REPREP_ID                   =
       I_SCREEN_START_COLUMN          = 0
       I_SCREEN_START_LINE            = 0
       I_SCREEN_END_COLUMN            = 0
       I_SCREEN_END_LINE              = 0
       IR_SALV_LIST_ADAPTER           =
       IT_EXCEPT_QINFO                =
       I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
    IMPORTING
       E_EXIT_CAUSED_BY_CALLER        =
       ES_EXIT_CAUSED_BY_USER         =
       TABLES
         T_OUTTAB                       = it_spfli.
    EXCEPTIONS
       PROGRAM_ERROR                  = 1
       OTHERS                         = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    REPORT zazualvgrid .
    DATA: grid1 TYPE REF TO cl_gui_alv_grid,
    ok_code LIKE sy-ucomm,
    mycontainer TYPE scrfname VALUE 'CUST',
    container TYPE REF TO cl_gui_custom_container.
    DATA : t_ekpo TYPE TABLE OF zekpo.
    DATA : v_save,
    v_repid LIKE sy-repid,
    v_variant TYPE disvariant.
    INCLUDE zsta.
    INCLUDE zpbo.
    START-OF-SELECTION.
    PERFORM set_data.
    END-OF-SELECTION.
    CLEAR v_variant.
    v_repid = sy-repid .
    v_variant-report = v_repid.
    v_save = 'A'.
    CALL SCREEN 786.
    FORM CREATE_CON *
    FORM create_con.
    IF container IS INITIAL.
    CREATE OBJECT container EXPORTING
    container_name = mycontainer
    EXCEPTIONS
    cntl_error = 1
    cntl_system_error = 2
    create_error = 3
    lifetime_error = 4
    lifetime_dynpro_dynpro_link = 5.
    IF sy-subrc NE 0.
    CALL FUNCTION 'POPUP_TO_INFORM'
    EXPORTING
    titel = sy-repid
    txt2 = sy-subrc
    txt1 = 'The control could not be created'(510).
    TXT3 = ' '
    TXT4 = ' '
    ENDIF.
    CREATE OBJECT grid1 EXPORTING
    i_parent = container.
    CALL METHOD grid1->set_table_for_first_display
    EXPORTING i_structure_name = 'ZEKPO'
    is_variant = v_variant
    i_save = v_save
    i_default = 'X'
    CHANGING it_outtab = T_EKPO.
    ENDIF.
    ENDFORM. "
    FORM SET_DATA *
    FORM set_data.
    SELECT EBELN EBELP MATNR BUKRS STATU
    FROM EKPO INTO TABLE t_EKPO UP TO 20 ROWS.
    ENDFORM. " GET_DATA
    module USER_COMMAND_0786 input.
    CASE OK_CODE.
    WHEN 'EXIT' or 'BACK'.
    CALL METHOD container->free.
    LEAVE TO SCREEN 0.
    ENDCASE.
    CLEAR OK_CODE.
    endmodule. " USER_COMMAND_0786 INPUT
    module STATUS_0786 output.
    SET PF-STATUS 'ZAZUALVGRID'.
    SET TITLEBAR 'GRID_DISPLAY'.
    PERFORM CREATE_CON.
    endmodule. " STATUS_0786 OUTPut
    Regards,
    Azhar

  • Steps For Goods Receipt For Work Order Using Handling Units

    Hello MM gurus,
    I'm new to HU Management.  Can you please share with me the steps for executing a "Goods Receipt For Work Order" using Handling Units?
    I created a HU (1000000026), and then using transaction COWBHUWE I tried using that HU to create a goods receipt, but I keep getting the message below:
    Handling unit 1000000026 is not provided for goods receipt
    Message no. VHURM046
    Do you have to assign/plan HUs to Process Orders first? I think the problem is that I'm not understanding the process or the requirements for a goods receipt for work order using HU.

    Hello Manish Kumar,
    I've been doing Handling Units testing in our sandbox environment and I've been trying to Pack a Finished Product for a Process Order using
    1-Transaction code HU02 to create the Handling Unit
    2-Transaction COWBHUE after creating the HU to enter the production order number and the HU number and propose it, but the it doesn't work. When I propose it, nothing happens.
    3.-I also tried COWBPACK, but for some reason, when I go into COWBPACK, key in the Process Order, and then press enter, I get the following message:
    You do not have authorization to create handling units for plant BP08
    Message no. VHUPD500
    Do you know how to solve this issue?

  • Any good site for learning struts using weblogic

    Hi all,
    Please tell me any good website for learning struts using weblogic. I mean how to creat page and deploy , run it .....
    Thanks in advance

    Hi,
    here is the link for RMI tutorial.
    http://java.sun.com/docs/books/tutorial/rmi/index.html

  • Creation of material Documents for RMPM adjustments using BAPI

    Hi
    can any one help me Creation of material Documents for RMPM adjustments using BAPI...
    i should be grateful to you...
    advance thank you
    with regards
    venkat

    You can check MB_CREATE_GOODS_MOVEMENT which has mkpf as inporting parameter.

  • Where can i get good documents for XML

    Hai,
    I am new to XML..I like to know where can i get good documents for XML that can be downloaded.
    regards,
    Mathan
    null

    You can order online from here and here.
    Regards,
    -rh

  • Steps for Creating Report  using LDB

    hellow sirs
    can u please tell Step by Step method for creating Reports using LDB method...
    if possible with screen Shots..
    thanking You
    Rahul

    Hi,
    Please refer the code below:
    Use the PNP LDB for this program,
    *: Report:  ZP_POSTCODE                                                :
    *: Date  :  2004                                                       :
    *: Description: Displays report of employees by postcode area,         :
    *:              includes current travelling allowances (i.e. parking   :
    *:              permit or transport card etc..)                        :
    *: Use:         Help encourage the use of car sharing and public       :
    *:              transport where appropriate.                           :
    REPORT  zp_postcode.
    type-pools: slis.                                      "ALV Declarations
    NODES: pernr.
    INFOTYPES: 0000, 0001, 0002, 0006, 0008, 0014, 0105, 0121.
    SELECTION-SCREEN BEGIN OF BLOCK pcode WITH FRAME TITLE text-s01.
    SELECT-OPTIONS: so_pcode FOR p0006-pstlz.
    SELECTION-SCREEN END OF BLOCK pcode.
    TYPES: BEGIN OF t_output,
      pernr       TYPE p0001-pernr,   "personnel name
      anredtxt    TYPE t522t-atext,   "title (based on p0002-anred)
      fname       TYPE p0002-vorna,   "first name
      lname       TYPE p0002-nachn,   "last name
      orgtx       TYPE t527x-orgtx,   "dept
      fte         TYPE p0008-bsgrd,   "fte
      parking(20) TYPE c,
      payslip     TYPE t526-sachn,        "payslip address
      telno       TYPE p0105-usrid_long,  "tel number(p0105-usrty = 0020)
      email       TYPE p0105-usrid_long,  "email (p0105-usrty = MAIL)
      postcode    type p0006-pstlz,
    END OF t_output.
    DATA: it_output TYPE STANDARD TABLE OF t_output INITIAL SIZE 0,
          wa_output TYPE t_output.
    *ALV data declarations
    data: fieldcatalog   type slis_t_fieldcat_alv with header line,
          gd_tab_group   type slis_t_sp_group_alv,
          gd_layout      type slis_layout_alv,
          gd_repid       like sy-repid,
          gt_events      type slis_t_event,
          gd_prntparams  type slis_print_alv,
          gd_count(6)    type n,
          gd_outtext(70) type c,
          gd_lines       type i.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    clear: gd_count.
    GET pernr.
    * Infotype 0121 is used to store multiple contracts for personnel.
    * Field p0121-hpern contains the personnel number for the main contract.
      PROVIDE * from p0121 between pn-begda and pn-endda.
    *   Check if main contract
        if p0121-pernr ne p0121-hpern.
          reject.
        endif.
      ENDPROVIDE.
      add 1 to gd_count.
      concatenate 'Processing personnel data'(m10) gd_count into gd_outtext
                separated by ' '.
    * Display indicator for employee count
      perform progress_indicator using gd_outtext.
    * Retrieve datd from infotypes
      rp_provide_from_last p0000 space pn-begda pn-endda.
      rp_provide_from_last p0001 space pn-begda pn-endda.
      rp_provide_from_last p0002 space pn-begda pn-endda.
      rp_provide_from_last p0006 space pn-begda pn-endda.
      rp_provide_from_last p0008 space pn-begda pn-endda.
      rp_provide_from_last p0014 space pn-begda pn-endda.
    * Check post code
      CHECK p0006-pstlz IN so_pcode.  "cp
    * Post code
      wa_output-postcode = p0006-pstlz.
    * Personnel number
      wa_output-pernr = pernr-pernr.
    * Personnel title
      SELECT SINGLE atext
        FROM t522t
        INTO wa_output-anredtxt
       WHERE sprsl EQ sy-langu AND
             anred EQ p0002-anred.
    * First name
      wa_output-fname = p0002-vorna.
    * Last name
      wa_output-lname = p0002-nachn.
    * Organizational Unit text (dept)
      SELECT SINGLE orgtx
        FROM t527x
        INTO wa_output-orgtx
       WHERE sprsl EQ sy-langu AND
             orgeh EQ p0001-orgeh AND
             endda GE sy-datum.
    * FTE
      wa_output-fte = p0008-bsgrd.
    * Parking / travel deducted?
      CASE p0014-lgart.
        WHEN '7180' OR '7181' OR '7182'.
          wa_output-parking = text-002.
        WHEN '7183'.
          wa_output-parking = text-001.
        WHEN '7171' OR '7172' or '7173' or '7174' or
             '7175' or '7176' or '7177' or '7178'.
          wa_output-parking = text-003.
      ENDCASE.
    * Payslip Address
      SELECT SINGLE sachn
        FROM t526
        INTO wa_output-payslip
       WHERE werks EQ p0001-werks AND
             sachx EQ p0001-sacha.
      PROVIDE * from p0105 between pn-begda and pn-endda.
    *   Telephone numbers
        if p0105-usrty = '0020'.
           wa_output-telno = p0105-usrid_long.
        endif.
    *   Email address
        if p0105-usrty = 'MAIL'.
           wa_output-email = p0105-usrid_long.
        endif.
      ENDPROVIDE.
      append wa_output to it_output.
      clear: wa_output.
    *END-OF-SELECTION.
    END-OF-SELECTION.
    describe table it_output lines gd_lines.
    if gd_lines gt 0.
      perform build_fieldcatalog.
      perform build_layout.
      perform display_alv_report.
    else.
      message i003(zp) with 'No records found'.
    endif.
    *&      Form  PROGRESS_INDICATOR
    *       Displays progress indicator on SAP screen
    form progress_indicator using p_text.
      call function 'SAPGUI_PROGRESS_INDICATOR'
          exporting
    *         PERCENTAGE = 0
               text       = p_text.
    endform.                    " PROGRESS_INDICATOR
    *&      Form  BUILD_FIELDCATALOG
    *       Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
      fieldcatalog-fieldname   = 'PERNR'.
      fieldcatalog-seltext_m   = 'Personnel No.'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
    *  fieldcatalog-emphasize   = 'X'.
    *  fieldcatalog-key         = 'X'.
    *  fieldcatalog-do_sum      = 'X'.
    *  fieldcatalog-no_zero     = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'ANREDTXT'.
      fieldcatalog-seltext_m   = 'Title'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'FNAME'.
      fieldcatalog-seltext_m   = 'First Name'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'LNAME'.
      fieldcatalog-seltext_m   = 'Last Name'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'ORGTX'.
      fieldcatalog-seltext_m   = 'Department'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'FTE'.
      fieldcatalog-seltext_m   = 'FTE'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PARKING'.
      fieldcatalog-seltext_m   = 'Parking/Metrocard'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PAYSLIP'.
      fieldcatalog-seltext_m   = 'Payslip Add.'.
      fieldcatalog-col_pos     = 7.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'TELNO'.
      fieldcatalog-seltext_m   = 'Telephone'.
      fieldcatalog-col_pos     = 8.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'EMAIL'.
      fieldcatalog-seltext_m   = 'E-mail'.
      fieldcatalog-col_pos     = 9.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'POSTCODE'.
      fieldcatalog-seltext_m   = 'Post code'.
      fieldcatalog-col_pos     = 10.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
    *       Build layout for ALV grid report
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
      gd_layout-zebra             = 'X'.
    endform.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
    *       Display report using ALV grid
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
                i_save                  = 'X'
           tables
                t_outtab                = it_output
           exceptions
                program_error           = 1
                others                  = 2.
      if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    " DISPLAY_ALV_REPORT

  • Document for HOW TO use RSRT1 or RSRT2  ?

    please advise where can I get document for  HOW TO use RSRT1 or RSRT2  ?

    hi,
    RSRT1 &RSRT2  will take you to report monitor.
    check the link from sap.help:
    http://help.sap.com/saphelp_nw70/helpdata/en/a0/2a183d30805c59e10000000a114084/frameset.htm
    cheers
    Sunil

  • Error while doing Good Issue for Production Order using BAPI

    Hi All,
    I am facing an error like 'u2018Content of order 1011907: MDT218AJ10 transferred to interface (IMSEG): T-86410-71".
    I have written the code as below. Please let me know what is missing when using the BAPI 'BAPI_GOODSMVT_CREATE'. What is the cause of this error ?
    *Action in Transaction (GM_CODE)
    *GM Code for Goods Issue for Production Order is 03
      gs_gmcode-gm_code = '03'.
    *Header Data
    *Posting date
      gs_header-pstng_date = sy-datum.
    *Document date
      gs_header-doc_date   = sy-datum.
    *Item Data
    *Material
      gs_item-material  = zptp_s_rf_migo_261-matnr1.
    *Movement Type
      gs_item-move_type = '261'.
    *Movement Indicator
      gs_item-mvt_ind   = 'F'.
    *Stock Type
      gs_item-stck_type = 'F'.
    *Plant
      gs_item-plant     = gv_plant.
    *Storage Location
      gs_item-stge_loc  = gv_str_loc.
    *Quantity
      gs_item-entry_qnt = zptp_s_rf_migo_261-menge2.
    *Unit
      gs_item-entry_uom = gv_uom.
    *ISO code for unit of measurement
      gs_item-entry_uom_iso = gv_uom.
    *Order Number
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = zptp_s_rf_migo_261-aufnr
        IMPORTING
          output = gs_item-orderid.
    *Reservation Number
      gs_item-reserv_no = gv_resv_num.
    *Reservation Item
      gs_item-res_item = gv_resv_itm.
    *Reservation Type
      gs_item-res_type = gv_resv_type.
      APPEND gs_item TO gt_item.
    Calling BAPI_GOODSMVT_CREATE to create the Material Document Number
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header       = gs_header
          goodsmvt_code         = gs_gmcode
        IMPORTING
          goodsmvt_headret      = gs_headret
        TABLES
          goodsmvt_item         = gt_item
          goodsmvt_serialnumber = gt_serial
          return                = gt_return.
    Thanks in Advance.

    hi,
    did you look at message ?
    System says, there are differences between the interface data and the order data. It can be anything. I think you should check
    data in the interface . 
    this is the long explanation of your message :
    Diagnosis
    When calling the function module MB_CREATE_GOODS_MOVEMENT or the BAPI GoodsMovement.CreateFromData (BAPI_GOODSMVT_CREATE) to post a goods receipt for a production order, there are differences between the interface data and the order data.
    Example: The order was created for plant 0001, but plant 0002 is passed on in the interface.
    The system checks this for the material and the order item.
    System response
    Due to this difference, the system cannot post the goods receipt.
    Procedure
    Check the data in the interface (IMSEG-WERKS, IMSEG-AUFNR). If necessary, correct the plant or the order number in the interface.
    << Moderator message - Point begging removed >>
    Edited by: Rob Burbank on Feb 6, 2012 11:24 AM

  • Error while creating AW using AWM

    I am using AWM version 10.2.0.3.0, Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod.
    Using the user apps when trying to create an AW using AWM. Schema->apps-> Analytic Workspace -> Create Analytic Workspace
    I get an error
    oracle.express.ExpressServerException
    java.sql.SQLException: ORA-33292: insufficient permissions to access analytic workspace SYS.AWXML using the specified access mode.
    ORA-06512: at "SYS.GENCONNECTIONINTERFACE", line 70
    ORA-06512: at line 1
    what permission should I set get this working?

    Not a good idea to grant OLAP_DBA role as this can cause a lot or problems, it is about the same as granting DBA to a user but when you connect an OLAP query tool the schema you may get additional problems.
    In terms of the original system error it does sound as if you do not have sufficient privileges to create an AW. Hence, Ragnar's suggestion to use assign OLAP_USER is a great way to start.
    Also as the SYS user try issuing GRANT SELECT TO PUBLIC on SYS.AW$XML. It could be your OLAP installation is somehow incorrectly configured?
    I am assuming you have applied the 10.2.0.3 patchset (all the steps - the installation via the Universal Installer and the post installation scripts) and applied the 10.2.0.3A patchset?
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • Post Goods Receipt for Inbound Delivery using WHSCON IDoc

    Dear All
    Currently I am working on a big project dealing with EDI connections to our logistics partner for the Export business. The entire message flow between Lindt and our partner should be via EDI. Our SAP release is (still) 4.6c.
    We will create two kinds of despatch advice messages, one for inbound deliveries and one for outbound deliveries for customers.
    I would appreciate your support in the following problem that I am facing with the inbound delivery scenario:
    We create stock transport orders (purchase orders, POs) for the goods intended to be delivered into the plant at our partner
    We create a delivery (type NL = replenishment delivery) for this POs
    As soon as we post the goods issue we send the despatch advice (as EANCOM D96A DESADV message) to our partner.
    At this point the delivery is basically completed, i.e. packing status (PS) and goods movement status (GM / GS) are equal to 'C' (= completed).
    Our logistics partner uses the same EDI message to send us the goods receipts data, e.g.:
    We dispatched 50 units of a product => QTY:50:12
    The partner received indeed 50 units => QVR:50:66
    Please note that we do not use the QVR segment for the quantity difference (between despatched and received quantity) but it contains the received units. This way we avoid negative values in the QVR segment.
    When the logistics partner sends back the DESADV message containing the received quantities (QVR segment) we want to make
    the goods receipts for the products in the original stock transport order and
    upate the message flow in the delivery
    My idea was to transform the incoming DESADV message into a WHSCON.DELVRY03 IDoc based on the documentation in: [Delivery Interface|http://help.sap.com/saphelp_crm40/helpdata/en/e2/654b15a9f411d184ec0000e81ddea0/content.htm]
    In the delivery header control E1EDL18 I used QUALF = 'PGI' (Post goods issue).
    I prepared an inbound WHSCON IDoc according to the documentation mentioned below. I managed to get some feedback from the Idoc processing implying that the system tried to do the goods receipt in the PO but failed.
    To make a long story short here are my questions:
    Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
    Does anybody have an example on how to fill the WHSCON IDoc?
    Or is my approach a cul-de-sac ?
    Kind Regards
       Uwe
    PS: A related question can be found here: Goods Receipt in PO AND Message Flow Update in Inb. Delivery using WMMBXY

    Hi Uwe,
    Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
    The binary answer would be no. You should use WMMBXY or MBGMCR instead.
    But if we are doing goods receipt against Inbound delivery then answer is YES with additionally E1EDL18-QUALF = 'PIC' populated. But please remember no partial receipt is possible against Inbound Delivery.
    We should populate E1EDL20-VBELN with our Inbound delivery number and line item info should go to E1EDL24.
    I have done a similar interface recently where we are doing receipt against Inbound delivery. But our case was a bit complex because we had to support against Inbound delivery. So we had to go for a custom solution on top of IDOC_INPUT_DELVRY.
    Hope this helps. Let me know if you have more questions.
    Regards,
    Rudra

  • Need Ideas for creating and using Custom Business Object

    Hello Guys,
    I am developing an application which uses a Request->Approve->Create approach for creating Purchase documents.
    Now I am a little puzzled about how to make use of the Business Object BUS2014.
    The application I am developing has its own unique 'Request Number'  (say REQID)  which will point to the Request for Creation of a purchase order.
    Whenever a Request is created (from a Z-Tcode) a workflow needs to be initiated and it has to be sent to the approver.
    The Purchase Document will be created once the approver approves.
    Now my confusion here is, if I use BUS2014, the object will be instantiated only during the final step of the workflow. But I need an instance during the beginning of the Requestor ->Approver negotiations as I am playing with events. These events needs an Object_key.
    How should I proceed here?
    Should I create a new logical Business Object like ZPOREQ where I have the above mentioned REQID as the key?
    And should I have an attribute of type BUS2014 inside the custom BO?
    How will I make use of the methods like BUS2014.Create etc which I may need to create the purchase document?
    Any small direction will be a huge help for me to get used to this wilderness.

    Hi,
    You should continue with the ABAP class idea. The business objects are kind of "obsolete" already, and if there is a need to create a new "object", ABAP classes are the way to go. Business objects are still useful, but I normally use them only when an existing standard business object fulfills the requirements (possibly with slight additions) which is almost never. 
    From my point of view you can use the existing class. Depending on the circumstances I normally have just one class that I use for both workflow and the possible other functionality that is required, but you have to understand that I have this goal in my mind already when starting the development process. As your class most probably has many useful features already (such as you have the header and item data as attributes etc. (if I understood correctly?), these are also useful in in workflow (class attributes will be available in WF container etc.). 
    If you are hesitant to use the same class directly in your workflow, you could also create a new class ZCL_REQUEST_FOR_WF (with the workflow interface), and then simply add your existing class ZCL_WF_REQUEST as an attribute to this new class. Then this new workflow class could include the pure workflow stuff, and your existing class the non-workflow stuff. But this most probably will not make much sense - just implement the if_workflow interface in your existing class (this is just one possibility that you might consider.)
    Regards,
    Karri

  • Change documents for created for Customer Master

    An existing program makes changes to the Customer master table KNA1. The changes are made at the table level using the UPDATE command. Since the changes are being made at table level, the change documents are not created.
    I need to create IDocs for all changes. So the question is, how to create change documents for changes to the particular fields being UPDATEd in the report program.
    I understand that a BDC program on XD01 screen should have been the best way for this, but I'm here to break-fix and trying to identify solutions with least development effort.

    Hi ganadeep,
    When an application makes any changes to an object it wrties change documents which are stored in the table CDHDR and CDPOS for each change made.
    BDCP table holds the change pointers which point to the change documents in the  CDHDR table.
    Regards
    Parag

  • Goods Receipt for Handling Unit using RF

    Hello,
    The customer requirement is to do Goods Receipt for HU in RF. In RF the standard transaction is LM76 for GR for HU.
    The scenario is Multiple handling units are there for each inbound delivery. the client wants to do GR for each HU. where as in
    standard TC: LM76, if one HU is entered GR is done for the entire inbound delivery.
    Can i go for customized transaction (is it possible to develop) in RF where GR is done for each handling unit ( i.e. multiple HU's
    are there in the inbound delivery)
    Regards,
    Neetha

    Hi,
    I've done something similar on RF for a retailer in Holland and used enhancement MWMRFDLV/INCLUDE ZXLHUU31.
    I've added an example of the code that is implemented.
    This enhancement is called by transaction LM61 op to LM66 en LM71 up to LM76.
    Transaction LM76 is initially intended to select the delivery by scanning the HU.
    What I did is reducing the information on the sceen to the HU that has been scanned
    Secondly yo need to assure that when the user is creating a TO or posting the GR it is performed for the HU only.
    For this you need to do additional development mwmrf631 (= Delivery Header / in the PAI define your own logic that post the GR for a single HU) What I used is an outputtype in application V6 (HU) that is triggerred from include ZXLHUU21 and will post the GR with BAPI_GOODSMVT_CREATE'  . See 2nd example include ZXLHuu21
    I hope my comment are usefull for you.
    Kind regards
    Ronald
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    INCLUDE ZXLHUU31
    case sy-tcode.
      WHEN con_lm76.
    inperken OP HU als de levering meerdere Handling Units heeft
    alleen dan inperken op HU informatie
        LOOP AT et_postab WHERE posnr = '000000'.
          SELECT SINGLE anzpk FROM likp INTO et_postab-anzpk
                              WHERE vbeln = et_postab-vbeln.
          MODIFY et_postab.
          IF et_postab-anzpk > 1.
            EXIT.
          ENDIF.
        ENDLOOP.
        CHECK et_postab-anzpk > 1.
        GET PARAMETER ID 'INP_100' FIELD inp_100.
        i_exidv = inp_100.
        IF i_exidv NA sy-abcde.
          et_postab-exidv = i_exidv.
          et_postab-anzpk = 1.
          LOOP AT et_postab WHERE posnr <> '000000'.
            SELECT SINGLE aexidv abrgew b~vemng
                           INTO (et_postab-exidv, et_postab-brgew, et_postab-lfimg)
                                  FROM vekp AS a INNER JOIN vepo AS b
                                  ON avenum = bvenum
                                  WHERE a~exidv    = i_exidv
                                    AND bvenum    = avenum
                                    AND b~vbeln    = et_postab-vbeln
                                    AND b~posnr    = et_postab-posnr.
            MODIFY et_postab.
          ENDLOOP.
          et_postab-anzpk = 1.
          MODIFY et_postab TRANSPORTING exidv brgew anzpk WHERE posnr = '000000'.
          DELETE et_postab WHERE exidv IS INITIAL.
          SORT et_postab BY posnr.
        ENDIF.
    ENDCASE.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    EXIT_SAPLLMOB_084    INCLUDE ZXLHUU21 .
    *&  Include           ZXLHUU21                                         *
    Initial development by Perfect for People - Ronald Westdijk
    o_current_field         = current_field.
    o_verification_errors[] = verification_errors[].
    SET PARAMETER ID 'BYDLVRY' FIELD LIKP-VBELN.
    CASE sy-tcode.
      WHEN con_lm76.
        CASE sy-ucomm.
          WHEN fcode_save.
    melding alleen geven als meerdere Handling Units bestaan
    en als deze nog moeten worden geboekt.
            SELECT SINGLE anzpk FROM likp INTO i_anzpk
                                WHERE vbeln = likp-vbeln.
            CHECK i_anzpk > '1'.
    check output messages in tabel NAST of deze nog moet worden geboekt.
    melding alleen geven als er nog meerdere HU open staan.
    eerst de HU's ophalen
    daarna de nast records inlezen in i_nast (output ZMCR) en checken
            REFRESH i_nast.
            CLEAR vbco3.
            vbco3-vbeln = likp-vbeln.
            CALL FUNCTION 'SD_PACKING_PRINT_VIEW'
              EXPORTING
                comwa                         = vbco3
                auftrag_nicht_lesen           = 'X'
                exportdaten_nicht_lesen       = 'X'
              TABLES
                vbplk_tab                     = xvbplk
                vbplp_tab                     = xvbplp
                vbpls_tab                     = xvbpls.
            LOOP AT xvbplk.
              SELECT SINGLE * FROM nast INTO i_nast
                              WHERE vstat = '0'
                                AND kappl = 'V6'
                                AND objky = xvbplk-venum
                                AND kschl = 'ZMCR'.
              IF sy-subrc = 0.
                APPEND i_nast.
              ENDIF.
            ENDLOOP.
            DESCRIBE TABLE i_nast LINES n.
            CHECK n > 1.
    message lf317 Het systeem zal de boeking uitvoeren, verder?
            sy-msgid = 'LF'.
            sy-msgno = '317'.
            PERFORM warning_message(rlmob001).
            GET PARAMETER ID 'POX' FIELD msg_answ.
            SET PARAMETER ID 'POX' FIELD ''.
            CASE msg_answ.
              WHEN ver_on.
    output ZMCR after HU to post Goods receipt is executed.
                REFRESH bapihukey.
                bapihukey-hu_exid = i_exidv.
                APPEND bapihukey.
                REFRESH bapioutptype.
                bapioutptype-trans_medium = '8'.
                bapioutptype-output_type  = 'ZMCR'.
                APPEND bapioutptype.
                CALL FUNCTION 'BAPI_HU_PROCESS_MSG_DIRECT'
                  TABLES
                    hukey      = bapihukey
                    outputtype = bapioutptype
                    return     = bapiret2.
                LEAVE TO TRANSACTION con_lm01.
            ENDCASE.
        ENDCASE.
    ENDCASE.

Maybe you are looking for

  • How to process Line Selection on ALV Table in ABAP WebDynpro

    Hi there, I have a view with an ALV table whose context node retrieves its data from a Service Call for a method. The method provides certain data of a database table which the ALV displays. Now I would like to be able to select one row of that ALV t

  • Start button is disabled at info package

    I have crreated a background job in SM36 to trigger an infopackage. I have added the event and parameter in the infopackage. But when I tried to execute the background job, the infopackage is not executing and the start button is disabled there. Then

  • Import RFC Model

    All,   I'm using Sneak preview full java version. When I try to call SAP Function module from webdynpro Java via RFC Model, it's asking me to specify the SAP Server detail logon information. Can anyone help me what information i should give becos im

  • How start setup step by step ?

    Hello,  ... I've got a problem with my MSI 925X Neo 54G PE motherboard (electric current short cut down) and I want to know how start setup step by step to find troubleshoots ? Thanks.

  • Datagram test results

    Dear community users, We have run a datagram test between 2 application servers. Result for our first server is Lifetime: Rx from publisher: elapsed: 16992ms packet size: 1468 throughput: 4 MB/sec 2687 packets/sec received: 45659 of 45675 missing: 16