Dsatsource /ODS/Cube for Open PR and Open PO"

Dear Experts
I want to build a report in which I need to show "Open PR and Open PO" but I could not locate these fields in the BW CUBE / ODS / DATASOURCES. Can anybody tell me where I can find these fields..........
Dinesh Sharma

Dear,
There is no specific standard data source is not available to fetch us "Open PO" or "Open PR". first vll talk about PO.
For open PO,
case - 1
         Need to report count of all PO's which are in open status.
Case-2
        Need to report TBQ ( to be delivered Qty ) against each over due PO.
Basically we have - EKKO - HEADER , EKPO - ITEM AND EKET - SCHEDULE LINE ( GRC -  GOODS RECEIVED ) is available,
so create a view, take all these three tables EKKO, EKPO and EKET.
EKPO     
1     DELIVERY COMPLETED INDICATOR     ELIKZ
1     DELETION INDICATOR IN PD     LOEKZ
1     ARTICLE NUM     MATNR
1     SITE     WERKS
X     PO DOCUMENT NUM     EBELN
     PURCHASING ORDER QUANTITY     MENGE
     PURCHASING ORDER UOM     MEINS
     NET ORDER VAL IN PUR ORDER CURRENCY     NETWR
     NET PRICE IN PURCHASING DOC IN DOC CURRENCY     NETPR
no     PRICE UNIT     PEINH
X     ITEM NUMBER OF PURCHASING DOCUMENT     EBELP
EKKO
     DATE ON WHICH RECORD WAS CREATED      AEDAT
     PURCHASING DOCUMENT DATE     BEDAT
     DELIVERY DATE     EQ_EINDT
     RELEASE INDICATOR PURCHASING DOC     FRGKE
     RELEASE STATUS     FRGZU
0PO_UNIT     PURCHASING DOCUMENT NUM     EBELN
     CURR KEY     WAERS
EKET
     QUANTITY OF GOODS RECEIVED     WEMNG
     PURCHASING DOC NUM     EBELN
     ITEM NUM OF PURCHASING DOC     EBELP
Logic - create a generic DS, by view, FIRST send the data to DSO, there mention a field like TDQ ( to be deliver qty ), TDQ = po qty - goods received qty. -
create  a cube above DSO, set a filter, allow only those records who has TDQ <>0, so your cube contains only pending PO.
hope it helped u.
Thanks,

Similar Messages

  • Open sales orders and open deliveries and open billing doc to sap from legesy

    Dear all
    i have some open sales orders and open deliveries and open billing doc are there in the legesy system
    so i want to know how to transfer the doc to sap by using lsmw plz tell me

    Hi Amith,
    it is always good to search in Google before posting .LSMW is very old topic and i am sure you will get lots of Documents on this .Please go through the below link .you will get some idea on this.
    http://scn.sap.com/thread/1012472
    there are 14 steps in LSMW and it is same for all (master data and Transaction Data)
    Pls practice this in your sand box or quality system before working it in the client requirement.
    Hope this helps to you
    Regards
    Sundar

  • Open Quotations and Open Items

    Hello Experts,
    Can you tell me what are open quotations and open items? And in what scenario they are used?
    Arathi

    Open quotations are those on which no orders or reference documents have been created so far.
    Open quotations can be seen in VA15 tcode
    Open quotations is a term which is applicable for the whoel document.
    On the otherhand, there will be some documents where reference documents are created for some items, while for other items no reference documents are created
    For example lets say a quotation has  ItemA and Item B, both having 5quantities,
    On this an order is created for ItemA only for 5quantities.
    Now the quotation is in Partly completed status
    Item A willbe in Complete status
    Item B will be in Open status.
    Hope thsi helps you to undersatnd things.
    Reward if this helps.

  • Open order and Open delivery in Credit Exposure FD32

    Hello Guys,
    I am now trying to include Open order and Open delivery values in Credit Exposure FD32. I have configured the following settings, but the Open order and Open delivery values still cannot show in Sales value under Credit Exposure FD32. Can anyone here advise me what i missed?
    1) In OVA8 --> 01 Credit Group for Sales Order, I have selected Static Checks and includes Open Orders and Open deliveries.
    2) In V/08 --> Pricing Procedure --> Control , I also put "A" in PR00 Sub Total field.
    3) In OB45 --> Credit Control Area, I put Update = 000012.
    4) In OMO1 --> S066 , Period Split = Day and Updating = "Synchronous update (1)".
    Thank you,
    Benny

    Hello Mrunal and GSL, 
    Thanks for your paticipation. I found my configurations are correct. I just haven't trigger the update program to update the S066 (Sales value in FD32). To trigger the update program I need to try to create delivery. If I just create a Sales Order and press Save, the PR00 value will not go to S066.
    Hope that can help someone else .
    Benny

  • Open PO and open stock

    what is Open Po and Open stock . and how they are managed pls explain with example

    open PO
    1) Ordered PO quantity is 100. among 100 supplier delivered 80 quantity. till need to supply 20, mean that PO is not still closed. that PO will be closed after he supplied the pending quantity. hence still the PO is open
    2) open stock.
    Open stock is the material inward
    Regards
    Karan
    Edited by: hi on Jan 18, 2012 6:06 AM

  • TC to Know  Open PO and Open PO Contract List

    Hi Every body.
    What is the Transaction Code to Know  Open PO and Open PO Contract List???
    Thanks in Adv.

    Hi Murthy,
    1.Open PO -ME2L-Based on vendor selection Selection parameter-WE101-Document type NB---you can find the same with ME2M -based on material selection.
    2.Open Contract-ME3L-Based on vendor selection Selection parameter-WE101-Document type WK & MK-you can find the same with ME3M -based on material selection

  • Open order  and open delivary should include in credit exposure

    hi expert,
    1-hi expert my client requirment is if there is open sales order or open delivery credit exposure should be updated.please help me on issue and  guide me to configure.for static .
    EX:if i create sales order and save it the net value of sales
    order should be added to credit exposure.
    2- if i have done all setting for credit management if suppose i
    have not maintainA in pricing procedure as subtotal.so please
    tell me which document system will not consider.or who system will behave just explain in detail.
    Regards
    Nisha A

    just goto automatic credit chek
    n ticked on open order n open delivery
    nw see what effect comes up?
    [email protected]

  • Opening  Balance by open AR and open AP

    HI Expert ,
    Can you provide me step by Step for this type of transfer .
    What I did :
    1. Create a service invoice for all AR
    - Account receivables Dr -   3000
                        Opening Balnce   Cr                 3000
    2. Create  service invoice for all AP
        Account payables Cr  --1500
                       Opening balance    Dr               1500
    3.All Open SO and PO is entered already
    4. Inventory  balance is transferred
    Now what is my next step : I am trying to explain these procedures to ..can you give me detail step by step in Journal entry
    I really want to give me step by step instruction
    Thank you
    Bishal

    Hi Gordon ,
    As you know this is process of go live . I have done all the step as mentioned .
    I am stuck after this process , what needs to be done as well as to make sure everythign is correct with legacy system and opening balance account becomes zero afterwards ......
    Hope you got the point
    Thank you
    Bishal

  • Cubes for Billing, BAcklog and Sales forecast

    HI
    I want to know the cubes for the following. Billing, BAcklog and Sales forecast
    Regards
    sam

    Hi,
    You can use 0SD_C03 cube for billing and all related to sales or using 2lis_13_vditm and 2lis_13_vdhdr youcan create your own ODS for billing.
    http://help.sap.com/saphelp_nw70/helpdata/EN/38/0c853c01c89d7ce10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/71/1769372b2b7d20e10000009b38f842/frameset.htm
    Regards.

  • Retrive open order and open delivery value x custome

    Hi,
    how can i obtain a list of open order value and open delivery value per customer?
    10x
    bye

    Check the following code which give details of pending orders & values and it can be modified as per ur requirement.
    REPORT  ZPEND_ORDER no standard page heading line-size 255.
    *& Purpose : Details of Sale order having pending deliveries           *
    *&           ( For Rake order handling )                               *
    tables : vbak, vbap, likp, lips, kna1, vbuk, vbpa, vepvg, vbfa, vbup.
    data : pend_qty like  vbap-kwmeng,
           dlv_qty like  vbap-kwmeng,
           ord_qty like vbap-kwmeng.
    data: begin of itab_vbak occurs 0,
          vbeln like vbak-vbeln,           "sales order no
          audat like vbak-audat,           " created date
          auart like vbak-auart,           " Sales Document Type
          vkorg like vbak-vkorg,           "Sales Organization
          vtweg like vbak-vtweg,           " distribution channel
          spart like vbak-spart,           " Division
          vkgrp like vbak-vkgrp,           " Sales group
          vkbur like vbak-vkbur,           " Sales office
          kunnr like vbak-kunnr,           " sold to party
          kunag like vbak-kunnr,           " ship to party
          cust like vbak-kunnr,            " sold to party
          ship like kna1-name1,            " ship to party
          city like kna1-ort01,            " ship to party location
          deliv like likp-vbeln,           " delivery
          matnr like vbap-matnr,
          arktx like vbap-arktx,           " mat description
          kwmeng like vbap-kwmeng,
          kbmeng like vbap-kbmeng,
          fkrel like vbap-matnr,
          vstel like vbap-vstel,
          route like vbap-route,
          chln_no like likp-xabln,
          grn_no like likp-bolnr,
          truck_no like likp-traid,
          dlv_dt like vbfa-erdat,           "dlvy date
          ord_qty like vbap-kwmeng,
          dlvd_qty like vbap-kwmeng,
          pend_qty like vbap-kwmeng,
          kzwi5 like vbap-kzwi5,
          posnr like vbap-posnr,
    end of itab_vbak.
    data  posnr like vbap-posnr.
    *FOR ALV DISPLAY
    type-pools: slis.
    constants: formname_top_of_page type slis_formname value 'TOP_OF_PAGE'.
    *Data Decelararion for alv display
    data: i_fieldtab type slis_t_fieldcat_alv,
          i_heading  type slis_t_listheader,
          i_layout   type slis_layout_alv,
          i_sort     type slis_t_sortinfo_alv,
          i_print    type slis_print_alv,
          i_events   type slis_t_event,
          i_repname  like sy-repid,
          f2code   like sy-ucomm value  '&ETA',
          i_save(1) type c,
          i_exit(1) type c,
          i_variant like disvariant,
          h_text(50).
    start-of-selection.
      selection-screen skip 1.
      selection-screen begin of block v1 with frame title text-001.
      selection-screen skip 1.
      select-options:
                     ord_no for vepvg-vbeln,
                     audat for vbak-audat obligatory,
                     matnr for vbap-matnr,
                     spart for vbap-spart obligatory,
                     vstel for vepvg-vstel obligatory,
                     sale_org for vbak-vkorg obligatory,
                     sale_off for vbak-vkbur.
      selection-screen skip 1.
    check box for ALV display
      parameters p_alv as checkbox.
      selection-screen end of block v1.
      selection-screen skip 1.
      data:   ftab(72) occurs 5 with header line.
      refresh ftab.
      ftab = 'VBELN'. append ftab.
      refresh itab_vbak.
    initialization.
      i_repname = sy-repid.
    start-of-selection.
      select vbeln audat vkorg vtweg spart vkbur kunnr from vbak
           into
           (itab_vbak-vbeln, itab_vbak-audat,
            vbak-vkorg, vbak-vtweg, vbak-spart,
            itab_vbak-vkbur, itab_vbak-kunnr)
           where vbeln in ord_no
           and audat in audat
           and vbtyp = 'C'
           and vkorg in sale_org
           and spart in spart
           and vkbur in sale_off.
        if sy-subrc = 0.
          select posnr kwmeng kbmeng matnr arktx  "added for mat description
                   fkrel vstel route kzwi5 spart
                   from vbap into corresponding fields of itab_vbak
                   where vbeln = itab_vbak-vbeln .
            check ( itab_vbak-fkrel = 'A' or  "Delivery-related billing document
                    itab_vbak-fkrel = 'D' )   "Relevant for pro forma
              and itab_vbak-vstel in vstel
              and itab_vbak-matnr in matnr
              and itab_vbak-spart in spart.
            select single * from vbup where vbeln = itab_vbak-vbeln
                                        and posnr = itab_vbak-posnr.
            check vbup-gbsta ne 'C'.
            dlv_qty = 0.
            select single kunnr from vbpa into itab_vbak-kunnr
                   where vbeln = itab_vbak-vbeln
                   and parvw = 'WE'.
            select single name1 ort01 from kna1 into
                   (itab_vbak-cust, itab_vbak-city)
                    where kunnr = itab_vbak-kunnr.
          in case of partially processed sale order get delivery details
            clear : dlv_qty, itab_vbak-dlv_dt, itab_vbak-dlvd_qty, itab_vbak-chln_no,
                    itab_vbak-grn_no, itab_vbak-truck_no.
            if vbup-gbsta eq 'B'. "partially processed
              dlv_qty = 0.
            get details from delivery
              select vbfavbeln vbfarfmng vbfavbtyp_n vbfaerdat
                 into (vbfa-vbeln, vbfa-rfmng, vbfa-vbtyp_n, vbfa-erdat)
                 from vbfa
                 where vbelv = itab_vbak-vbeln
                   and posnv = itab_vbak-posnr.
                check vbfa-vbtyp_n = 'J'.
                clear : dlv_qty, itab_vbak-dlv_dt, itab_vbak-dlvd_qty, itab_vbak-chln_no,
                        itab_vbak-grn_no, itab_vbak-truck_no.
                select single erdat xabln bolnr traid kunag
                   into (itab_vbak-dlv_dt, itab_vbak-chln_no, itab_vbak-grn_no,
                         itab_vbak-truck_no, itab_vbak-kunag)
                   from likp
                   where vbeln = vbfa-vbeln.
                if sy-subrc = 0.
                  dlv_qty = dlv_qty + vbfa-rfmng.
                  itab_vbak-dlv_dt = vbfa-erdat.
                  itab_vbak-dlvd_qty = dlv_qty.
                  itab_vbak-deliv = vbfa-vbeln.
                endif.
                append itab_vbak.
              endselect.
            elseif vbup-gbsta eq 'A'.
            for unprocessed sale order
            ship to party details
              itab_vbak-kunag = itab_vbak-kunnr.
              itab_vbak-ship = itab_vbak-cust.
              append itab_vbak.
            endif.
          endselect.
        endif.
        clear itab_vbak.
      endselect.
      loop at itab_vbak.
      clear with change in document / item no
        on change of itab_vbak-vbeln or itab_vbak-posnr.
          clear: dlv_qty,ord_qty,pend_qty.
        endon.
        at new posnr.
        In case full qty not delivered
          if itab_vbak-kwmeng > itab_vbak-dlvd_qty.
            select single vbpa~kunnr into vbpa-kunnr
               from vbpa
               where vbeln = itab_vbak-vbeln
                and  posnr = itab_vbak-posnr
                and  parvw = 'WE'.
            if sy-subrc eq 0.
              itab_vbak-kunag = vbpa-kunnr.
              select single name1 ort01 from kna1 into
                    (itab_vbak-ship, itab_vbak-city)
                     where kunnr = itab_vbak-kunag.
              if sy-subrc ne 0.
                select single vbpa~kunnr into vbpa-kunnr
                   from vbpa
                   where vbeln = itab_vbak-vbeln
                   and parvw = 'WE'.
                itab_vbak-kunag = vbpa-kunnr.
                if sy-subrc ne 0 and p_alv ne 'X'.
                  write :/ 'vbpadetls' , itab_vbak-vbeln, itab_vbak-posnr, itab_vbak-vbeln.
                endif.
              endif.
            endif.
          endif.
          itab_vbak-ord_qty = itab_vbak-kwmeng.
        Delivered Qty & Pending qty
          dlv_qty = dlv_qty + itab_vbak-dlvd_qty.
          itab_vbak-pend_qty = itab_vbak-kwmeng - dlv_qty.
          modify itab_vbak transporting kunag ship city dlvd_qty ord_qty pend_qty .
        endat.
      endloop.
    end-of-selection.
      sort itab_vbak by vbeln posnr audat kunnr matnr.
      if p_alv ne 'X'.
        loop at itab_vbak.
          select single kna1name1 kna1ort01
                 into
                 (kna1-name1, kna1-ort01)
                 from kna1
                 where kunnr = itab_vbak-kunnr.
          pend_qty = itab_vbak-ord_qty - itab_vbak-dlvd_qty.
          format color col_normal.
          write : /01(10) itab_vbak-vbeln,
                  12(10)  itab_vbak-audat,
                  24(8)  itab_vbak-kunag no-zero,
                  34(6)  itab_vbak-posnr no-zero,
                  42(10) itab_vbak-matnr no-zero,
                  54(15) itab_vbak-arktx,
                  72(25) itab_vbak-ship,
                  100(15) itab_vbak-city,
                  118(8)  itab_vbak-ord_qty,
                  128(10) itab_vbak-route,
                  140(10) itab_vbak-dlv_dt,
                  152(10) itab_vbak-dlvd_qty,
                  164(10)  itab_vbak-chln_no,
                  176(10)  itab_vbak-grn_no,
                  188(10)  itab_vbak-truck_no,
                  200(10) itab_vbak-pend_qty,
                  218(15) itab_vbak-kzwi5 left-justified.
          format reset.
          at end of audat.
            sum.
            pend_qty = itab_vbak-ord_qty - itab_vbak-dlvd_qty.
            format color col_background.
            write: /118(8) itab_vbak-ord_qty,
                   152(10) itab_vbak-dlvd_qty,
                   200(10) pend_qty,
                   218 itab_vbak-kzwi5 left-justified.
            format reset.
          endat.
          at last.
            sum.
            pend_qty = itab_vbak-ord_qty - itab_vbak-dlvd_qty.
            format color col_total.
            write : /5 'Grand Total : '.
            write: /118(8) itab_vbak-ord_qty,
                  152(10) itab_vbak-dlvd_qty,
                  200(10) pend_qty,
                  218 itab_vbak-kzwi5 left-justified.
            format reset.
          endat.
        endloop.
      else.
      for ALV Display
        i_repname = sy-repid.
        perform fieldcat using i_fieldtab[].
        perform eventtab using i_events[].
        perform comment using i_heading[].
        perform call_alv.
        perform build_layout using i_layout.
      endif.
    top-of-page.
      if p_alv ne 'X'.
        format color col_heading.
        write: /01 'Ord No',
                12 'Ord Date',
                24 'Sold to Party',
                34 'Item No',
                42 'Mat No',
                54 'Mat Descp',
                72 'Ship to Party',
                100 'City',
                118 'Qty',
                128 'Route',
                140 'Dlv Date',
                152 'Dlv Qty',
                164 'Challan No',
                176 'GRN No',
                188 'Truck No',
                200 'Pend Qty',
                218 'Total Value'.
        format reset.
      endif.
    *&      Form  fieldcat
          text
         -->P_I_FIELDTAB[]  text
    form fieldcat using p_fieldtab type slis_t_fieldcat_alv.
      data: l_fieldcat type slis_fieldcat_alv.
      clear l_fieldcat.
      l_fieldcat-tabname    = 'ITAB_VBAK'.
      l_fieldcat-fix_column = 'X'.
      l_fieldcat-no_out     = ' '.
      l_fieldcat-fieldname  = 'VKBUR'.
      l_fieldcat-outputlen  = 6.
      l_fieldcat-seltext_l  = 'Sales Office'.
      l_fieldcat-no_zero = 'X'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'VSTEL'.
      l_fieldcat-outputlen  = 5.
      l_fieldcat-seltext_l  = 'Shipping Point'.
      l_fieldcat-no_zero = ' '.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'VBELN'.
      l_fieldcat-outputlen  = 10.
      l_fieldcat-seltext_l  = 'Order No.'.
      l_fieldcat-no_zero = 'X'.
      l_fieldcat-hotspot = 'X'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'AUDAT'.
      l_fieldcat-outputlen  = 10.
      l_fieldcat-seltext_l  = 'Doc Date'.
      l_fieldcat-hotspot = ''.
      l_fieldcat-no_zero = ' '.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'POSNR'.
      l_fieldcat-outputlen  = 5.
      l_fieldcat-seltext_l  = 'Item'.
      l_fieldcat-no_zero = 'X'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'MATNR'.
      l_fieldcat-outputlen  = 10.
      l_fieldcat-seltext_l  = 'Material No'.
      l_fieldcat-no_zero = 'X'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'ARKTX'.
      l_fieldcat-outputlen  = 15.
      l_fieldcat-seltext_l  = 'Mat. Description'.
      l_fieldcat-no_zero = 'X'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'KUNNR'.
      l_fieldcat-outputlen  = 8.
      l_fieldcat-seltext_l  = 'Sold to Party'.
      l_fieldcat-no_zero = 'X'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'CUST'.
      l_fieldcat-outputlen  = 15.
      l_fieldcat-seltext_l  = 'Sold to Party Descp.'.
      l_fieldcat-no_zero = 'X'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'KUNAG'.
      l_fieldcat-outputlen  = 8.
      l_fieldcat-seltext_l  = 'Ship to Party'.
      l_fieldcat-no_zero = 'X'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'SHIP'.
      l_fieldcat-outputlen  = 15.
      l_fieldcat-seltext_l  = 'Ship to Party Descp'.
      l_fieldcat-no_zero = 'X'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'CITY'.
      l_fieldcat-outputlen  = 13.
      l_fieldcat-seltext_l  = 'City'.
      l_fieldcat-no_zero = ' '.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'DELIV'.
      l_fieldcat-outputlen  = 10.
      l_fieldcat-seltext_l  = 'Delivery No.'.
      l_fieldcat-no_zero = 'X'.
      l_fieldcat-hotspot = 'X'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'ORD_QTY'.
      l_fieldcat-outputlen  = 10.
      l_fieldcat-seltext_l  = 'Qty'.
      l_fieldcat-no_zero = ' '.
      l_fieldcat-hotspot = ' '.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'ROUTE'.
      l_fieldcat-outputlen  = 10.
      l_fieldcat-seltext_l  = 'Route'.
      l_fieldcat-no_zero = 'X'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'DLV_DT'.
      l_fieldcat-outputlen  = 10.
      l_fieldcat-seltext_l  = 'Delivered date'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'DLVD_QTY'.
      l_fieldcat-outputlen  = 10.
      l_fieldcat-seltext_l  = 'Delivered Qty'.
      l_fieldcat-no_zero = ' '.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'CHLN_NO'.
      l_fieldcat-outputlen  = 15.
      l_fieldcat-seltext_l  = 'Challan No'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'GRN_NO'.
      l_fieldcat-outputlen  = 15.
      l_fieldcat-seltext_l  = 'GR Number'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'TRUCK_NO'.
      l_fieldcat-outputlen  = 10.
      l_fieldcat-seltext_l  = 'Truck No'.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'PEND_QTY'.
      l_fieldcat-outputlen  = 10.
      l_fieldcat-seltext_l  = 'Pending Qty'.
      l_fieldcat-no_zero = ' '.
      append l_fieldcat to p_fieldtab.
      l_fieldcat-fieldname  = 'KZWI5'.
      l_fieldcat-outputlen  = 13.
      l_fieldcat-seltext_l  = 'Value'.
      append l_fieldcat to p_fieldtab.
      clear l_fieldcat.
    endform.                    " FIELDCAT
    *&      Form  EVENTTAB
          text
         -->P_I_EVENTS[]  text
    form eventtab using p_events type slis_t_event.
      data: ls_event type slis_alv_event.
      call function 'REUSE_ALV_EVENTS_GET'
        exporting
          i_list_type = 0
        importing
          et_events   = p_events.
      read table p_events with key name = slis_ev_top_of_page
                               into ls_event.
      if sy-subrc = 0.
        move formname_top_of_page to ls_event-form.
        append ls_event to p_events.
      endif.
    endform.                    " EVENTTAB
    *&      Form  BUILD_LAYOUT
          text
         -->P_LAYOUT   text
    form build_layout using p_layout type slis_layout_alv.
      p_layout-f2code       = f2code.
      p_layout-zebra        = 'X'.
      p_layout-detail_popup = 'X'.
    endform.                    " BUILD_LAYOUT
    *&      Form  COMMENT
          text
         -->P_I_HEADING[]  text
    form comment  using    p_i_heading type slis_t_listheader.
      data: hline type slis_listheader,
            text(60) type c,
            sep(20) type c.
      clear: hline, text.
      hline-typ  = 'H'.
      write : 'Pending Sale Order Details' to hline-info.
      append hline to i_heading.
    endform.                    " COMMENT
    *&      Form  TOP_OF_PAGE
          text
    form top_of_page.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          it_list_commentary = i_heading
          i_logo             = 'ALV_REPORT'.
    endform.                    " TOP_OF_PAGE
    *&      Form  call_alv
          text
    -->  p1        text
    <--  p2        text
    form call_alv .
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_interface_check        = ' '
          i_buffer_active          = ' '
          i_callback_program       = i_repname
          i_callback_pf_status_set = ' '
          i_callback_user_command  = 'FRM_ALV_USER_COMMAND'
          i_structure_name         = 'ITAB_VBAK'
          i_background_id          = ' '
          is_layout                = i_layout
          it_fieldcat              = i_fieldtab
          it_sort                  = i_sort[]
          i_default                = 'X'
          i_save                   = 'A'
          is_variant               = i_variant
          it_events                = i_events[]
          is_print                 = i_print
        tables
          t_outtab                 = itab_vbak.
      if sy-subrc <> 0.
        write: 'SY-SUBRC: ', sy-subrc, 'REUSE_ALV_LIST_DISPLAY'.
      endif.
    endform.                    " call_alv
    *&      Form  frm_alv_user_command
          text
         -->UCOMM      text
         -->SELFIELD   text
    form frm_alv_user_command using ucomm like sy-ucomm
                  selfield type slis_selfield.
      case ucomm.
        when '&IC1'.
          if selfield-tabname = 'ITAB_VBAK'.
            if selfield-fieldname = 'VBELN'.
              read table itab_vbak index selfield-tabindex.
              if sy-subrc = 0.
                set parameter id 'AUN' field itab_vbak-vbeln.
                call transaction 'VA03' and skip first screen.
              endif.
            elseif selfield-fieldname = 'DELIV'.
              read table itab_vbak index selfield-tabindex.
              if sy-subrc = 0.
                set parameter id 'VL' field itab_vbak-deliv.
                call transaction 'VL03N' and skip first screen.
              endif.
            endif.
          endif.
      endcase.
    endform.                    "frm_alv_user_command

  • How to check open deliveries and open sales order using means of transport

    Hi,
    I want to check open sales order and open delivries which is having "ABXP" means of transport type .Can anybody suggest me to check in which table or any transa

    means of transport type
    Please reconfirm whether the above statement is correct.  Moreover, you yourself can check at your end by opening any sale order, go to that field, press F1 and press the "Technical Information" icon so that you can see the corresponding table name and field name over there.
    G. Lakshmipathi

  • How the data is fetched from the cube for reporting - with and without BIA

    hi all,
    I need to understand the below scenario:(as to how the data is fetched from the cube for reporting)
    I have a query, on a multiprovider connected to cubes say A and B. A is on BIA index, B is not. There are no aggregates created on both the cubes.
    CASE 1: I have taken RSRT stats with BIA on, in aggregation layer it says
    Basic InfoProvider     *****Table type      ***** Viewed at      ***** Records, Selected     *****Records, Transported
    Cube A     ***** blank ***** 0.624305      ***** 8,087,502      ***** 2,011
    Cube B     ***** E ***** 42.002653 ***** 1,669,126      ***** 6
    Cube B     ***** F ***** 98.696442 ***** 2,426,006 ***** 6
    CASE 2:I have taken the RSRT stats, disabling the BIA index, in aggregation layer it says:
    Basic InfoProvider     *****Table Type     *****Viewed at     *****Records, Selected     *****Records, Transported
    Cube B     *****E     *****46.620825     ****1,669,126****     6
    Cube B     *****F     ****106.148337****     2,426,030*****     6
    Cube A     *****E     *****61.939073     *****3,794,113     *****3,499
    Cube A     *****F     ****90.721171****     4,293,420     *****5,584
    now my question is why is here a huge difference in the number of records transported for cube A when compared to case 1. The input criteria for both the cases are the same and the result output is matching. There is no change in the number of records selected for cube A in both cases.It is 8,087,502 in both cases.
    Can someone pls clarify on this difference in records being selected.

    Hi,
    yes, Vitaliy could be guess right. Please check if FEMS compression is enabled (note 1308274).
    What you can do to get more details about the selection is to activate the execurtion plan SQL/BWA queries in data manager. You can also activate the trace functions for BWA in RSRT. So you need to know how both queries select its data.
    Regards,
    Jens

  • Open PO and open PR

    hi frd. help me in this reply.
    parameter : plant,material no,company code,storage location.
    display: material no, material desc, UOM, ROL, warehouse, open po, open po qty, open pr no, open pr qty.
    how to do this guide me in this report.
    urgent..

    Duplicate post.
    Rob

  • BAPI Object Reference for Customer Accounts and Open Items

    I am building an application for a client for Purchase Card Processing using Visual Studio 2005.   I am able to use VS 2003 to create the necessary object to get the Customer List, Customer Details,  and the list of Customer Open Items.
    I am totally new to SAP,  and need some help to figure out my next steps.
    1.  What call(s) will return an Open Item (Document) given the Document Number, along with the individual line items.  With that info I can post a Level 3 transaction and get an authorization code.
    2.  What is the process to post the purchase card authorization,  essentially a payment,  back to SAP for the open item.
    3.  What is the best source for reference details on BAPI?
    Thanks in advance for any assistance.

    Hi Scott,
    the questions are quite context specific to your application, the answers for which i am not aware at this point
    to pick up the 3rd one :
    >>3. What is the best source for reference details on BAPI?
    transaction 'bapi' in a SAP system, or se37 and a search with keywords like 'docnum' or 'openitem' or similar variations might yield some results
    also when you connect to a SAP system using vs2003, you will get a hierarchial view in the server explorer, that is also a simple way of finding bapi's that could be useful to your cause
    with respect,
    amit

  • Managed Attachments - creating a customCO for 'Managed Attachments' and opening a new browser/window  as ActionEvent through processFormRequest()

    Hi All,
    I am working on 'Managed Attachments' integration of Oracle E-Business Suite with Oracle WebCenter Content and I am very new to EBS.
    As per the customer requirement, we needed to enable the Managed Attachments on an SIT page (Employee Self Service --> Special Information-> and click on 'Add' for any of the 'Special Information' section) and the values they fill on these pages need to be passed to webcenter content.  As you know these segment data will not be inserted into the database until the user clicks on 'Submit' button from the review page,
    But the customer wants to save it on the 'Special Information' add page itself.
    Managed Attachments is an out of the box feature offered by Oracle WebCenter Content to replace FND Attachments functionality. Instead of storing the attachments in EBS, it will store to WebCenter Content.
    My requirements are as follows
    1) Enable the managed attachments on he special information 'add' page (e.g Company Property, Disabilities etc),- I am able to do this
    2) The data user fills in these fields , when user clicks on 'Managed Attachments' button , these values should be passed to the URL for managed attachments(which is already set on the button through processRequest() method when the page gets loaded) and thus pass to webcenter content
    With these requirements, the challenges i am facing are
    1) Since the user clicks on 'Managed Attachments' before even he/she clicks on 'Apply' button, how do I capture these values? can pageContext.getParameter('id') can get these?
    (i have already tried to do this in processFormRequest() method and i found that it is working for LOV fields but not for text fields)
    2) if i can get the values in processFormRequest(), how can i open a browser/window for the new URL()
    e.g, i wanted to write something like this and the finalURL is what i wanted to open in a new browser or window as the actionEvent
        public void processFormRequest(OAPageContext pageContext,   OAWebBean webBean) {
    super.processFormRequest(pageContext, webBean);
       String param1 = pageContext.getParameter(“Param1”);
    String param2 = pageContext.getParameter(“param2”);
    String redirectURL = “http://rstnssiovm0072.us.oracle.com:8000/OA_HTML/OA.jsp?page=/oracle/apps/ak/ucm/axf/webui/RedirectToAxfPG&bypassPageCounterIncr=Y&retainAM=Y”;
    String paramURL = “&Parameter1=”+ param1+”&Parameter2=”+ param2;
    String finalURL = redirectURL+paramURL;
    Code part to open the url in a new browser/window
    If anybody can help me with these part, it will be a great help
    thanks a lot in advance
    Regards
    Poornima

    Hi Poornima ,
    Has your prob resolved ? Have you made Managed attachment working via standard adapter as per UCM Admin guide ?
    Configuring the Managed Attachments Solution - 11g Release 1 (11.1.1)
    1. You have first store in some VO if you want to pass this metadata to UCM page , other wise it will not work .Take temp table /VO to store first then same can passed to UCM page as input parameters
    2.What needs to be passed , please refer webcenter guide with key examples given
    Once it is configured properly automatically params will be associated with URL which actually will open UCM page with metadata ( params) being passed.
    Thanks,
    Ashish

Maybe you are looking for