OUTSTANDING PO QTY AND OUTSTANDING PO VALUE

Hi
    I am in need of report to print outstanding po qty and outstanding po value.
could any one please give me the source code..
Its very urgent.....
               Thanks in advance

Please find this report for Outstanding PO's
report zaprropo message-id zm no standard page heading line-size 212
                                                       line-count 65.
**** TABLES------------------------------------------------------------*
tables:
      ekko,                            " Purchasing Document Header
      ekpo,                            " Purchasing Document Item
      ekbe,                            " History of PurchasingDocument
      essr.                            " Service Entry Sheet HeaderData
**** DATA--------------------------------------------------------------*
data  : begin of it_ekko occurs 0,
         ebeln like ekko-ebeln,
         ernam like ekko-ernam,
         ekgrp like ekko-ekgrp,
         bedat like ekko-bedat,
       end of it_ekko.
data  : begin of it_ekbe_gr occurs 0,
          ebeln like ekbe-ebeln,
          ebelp like ekbe-ebelp,
          bewtp like ekbe-bewtp,
          dmbtr like ekbe-dmbtr,
        end of it_ekbe_gr.
data  : begin of it_ekbe_ir occurs 0,
          ebeln like ekbe-ebeln,
          ebelp like ekbe-ebelp,
*          bewtp LIKE ekbe-bewtp,
          dmbtr like ekbe-dmbtr,
        end of it_ekbe_ir.
data  : begin of it_output occurs 0,
          ekgrp like ekko-ekgrp,
          ebeln like ekko-ebeln,
          ebelp like ekpo-ebelp,
          ernam like ekko-ernam,
          afnam like ekpo-afnam,
          bedat like ekko-bedat,
          txz01 like ekpo-txz01,
*          bewtp LIKE ekbe-bewtp,
          netwr like ekpo-netwr,
          dmbtr like ekbe-dmbtr,
          iramt like ekbe-dmbtr,
          outst like ekpo-netwr,
          eindt like eket-eindt,
*          effwr LIKE ekpo-effwr,
        end of it_output.
data  :  begin of it_title occurs 0,
           h11(5),
           h0(5),
           h1(13),
           h2(7),
           h3(15),
           h4(15),
           h5(10),
           h6(40),
           h7(20),
           h8(20),
           h9(20),
           h10(20),
           h12(10),
         end of it_title.
data : flength.
data : s_no type i value 1.
* ---- Added by Gopi
* Internal table for PO / WO Delivery Date
data : begin of it_eket occurs 0,
         ebeln like eket-ebeln,
         ebelp like eket-ebelp,
         eindt like eket-eindt,
       end of it_eket.
***** selections
selection-screen : skip.
selection-screen : begin of block block1 with frame title text-001.
parameters : s_bukrs like ekko-bukrs.
select-options :  s_ebeln for ekko-ebeln,
                  s_bedat for ekko-bedat,
                  s_ekgrp for ekko-ekgrp.
*                  s_hdg   for ekko-ekgrp.
selection-screen : end of block block1.
selection-screen begin of block btch with frame title text-003.
parameters: excel as checkbox,
            file(128) type c.
selection-screen end of block btch.
selection-screen begin of block block2 with frame title text-002.
parameters: asat as checkbox,
            p_date like sy-datum.
selection-screen end of block block2.
*---------AT SELECTION-SCREEN------------------------------------------*
at selection-screen.
at selection-screen on value-request for file.
  perform get_file_name using file.
**** main program code**************************************************
start-of-selection.
  it_title-h11 = 'S.No'.
  it_title-h0  = 'Group'.
  it_title-h1  = 'PO Number'.
  it_title-h2  = 'PO Item'.
  it_title-h3  = 'PO Creator'.
  it_title-h4  = 'Requisitor'.
  it_title-h5  = 'PO Date'.
  it_title-h6  = 'PO Short Text'.
  it_title-h7  = 'PO Amount'.
  it_title-h8  = 'GR/SE Amount'.
  it_title-h9  = 'IR Amount'.
  it_title-h10 = 'Outstanding'.
  it_title-h12 = 'Del. Date'.
  append it_title.
  perform extract_po_details_new.                           "20070814
  perform extract_po_history_new.                           "20070814
  perform calculate_outstanding_new.                        "20070814
end-of-selection.
  perform display_report.
  if excel = 'X'.
    perform download.
  endif.
* ---- Added by Gopi
top-of-page.
  perform page_heading.
*************************** display_report ****************************
form display_report.
*  it_title-h11 = 'S.No'.
*  it_title-h0  = 'Group'.
*  it_title-h1  = 'PO Number'.
*  it_title-h2  = 'PO Item'.
*  it_title-h3  = 'PO Creator'.
*  it_title-h4  = 'Requisitor'.
*  it_title-h5  = 'PO Date'.
*  it_title-h6  = 'PO Short Text'.
*  it_title-h7  = 'PO Amount'.
*  it_title-h8  = 'GR/SE Amount'.
*  it_title-h9  = 'IR Amount'.
*  it_title-h10 = 'Outstanding'.
*  it_title-h12 = 'Del Date'.
*  APPEND it_title.
*  WRITE : / 'Outstanding PO Listing Report'.
*  ULINE.
*  FORMAT COLOR COL_HEADING.
*  WRITE : /1   it_title-h11,
*           7   it_title-h0,
*           14  it_title-h1,
*           29  it_title-h2,
*           38  it_title-h3,
*           53  it_title-h4,
*           68  it_title-h5,
*           79  it_title-h6,
*           122 it_title-h7,
*           142 it_title-h8,
*           162 it_title-h9,
*           182 it_title-h10,
*           202 it_title-h12.
*  FORMAT COLOR OFF.
*  ULINE.
* If Output table is not empty
  if not it_output[] is initial.
    loop at it_output.
      on change of it_output-ebeln.
        uline.
        write : /1(5)  s_no, 6 sy-vline,
                 7  it_output-ekgrp,
                14  it_output-ebeln,
                29  it_output-ebelp,
                38  it_output-ernam,
                53  it_output-afnam,
                68  it_output-bedat,
                79  it_output-txz01,
                122 it_output-netwr,
                142 it_output-dmbtr,
                162 it_output-iramt,
                182 it_output-outst,
                202 it_output-eindt.
        s_no = s_no + 1.
      else.
        write :/6 sy-vline,
                29  it_output-ebelp,
                38  it_output-ernam,
                53  it_output-afnam,
                68  it_output-bedat,
                79  it_output-txz01,
                122 it_output-netwr,
                142 it_output-dmbtr,
                162 it_output-iramt,
                182 it_output-outst,
                202 it_output-eindt.
      endon.
*      WRITE :/6 sy-vline.
      clear : it_output.
    endloop.
  else.
* If Output table is empty
    format color 5 intensified on.
   write : / 'No outstanding report generated for the purchasing group'
              ,s_ekgrp-low, 'to', s_ekgrp-high,'for the period'
              ,s_bedat-low, 'to', s_bedat-high.
    format color off.
  endif.
endform.
**************************** download*********************************
form download.
  data: begin of it_download_header occurs 1,
           h0(5),
           h1(13),
           h2(7),
           h3(15),
           h4(15),
           h5(10),
           h6(40),
           h7(20),
           h8(20),
           h9(20),
           h10(20),
           h12(10).
  data: end of it_download_header.
  it_download_header-h0  = 'Group'.
  it_download_header-h1  = 'PO Number'.
  it_download_header-h2  = 'PO Item'.
  it_download_header-h3  = 'PO Creator'.
  it_download_header-h4  = 'Requisitor'.
  it_download_header-h5  = 'PO Date'.
  it_download_header-h6  = 'PO Short Text'.
  it_download_header-h7  = 'PO Amount'.
  it_download_header-h8  = 'GR/SE Amount'.
  it_download_header-h9  = 'IR Amount'.
  it_download_header-h10 = 'Outstanding'.
  it_download_header-h12 = 'Del. Date'.
  append it_download_header.
  call function 'WS_DOWNLOAD'
       exporting
            codepage            = 'IBM'
            filename            = file
            filetype            = 'DAT'
       importing
            filelength          = flength
       tables
            data_tab            = it_download_header
       exceptions
            file_open_error     = 1
            file_write_error    = 2
            invalid_filesize    = 3
            invalid_table_width = 4
            invalid_type        = 5.
  call function 'WS_DOWNLOAD'
       exporting
            codepage            = 'IBM'
            filename            = file
            filetype            = 'DAT'
            mode                = 'A'
       importing
            filelength          = flength
       tables
            data_tab            = it_output
       exceptions
            file_open_error     = 1
            file_write_error    = 2
            invalid_filesize    = 3
            invalid_table_width = 4
            invalid_type        = 5.
  if sy-subrc ne 0.
    message e999 with 'error downloading file :' file.
  endif.
endform.
*&      Form  get_file_name
*       text
*      -->P_P_FNAME  text
form get_file_name using    p_fname.
  call function 'WS_FILENAME_GET'
       exporting
            def_filename     = p_fname
            mask             = ',*.*,*.*.'
            mode             = 'S'
       importing
            filename         = p_fname
       exceptions
            inv_winsys       = 1
            no_batch         = 2
            selection_cancel = 3
            selection_error  = 4
            others           = 5.
endform.                    " get_file_name
*&      Form  page_heading
*       text
*  -->  p1        text
*  <--  p2        text
form page_heading.
*  it_title-h11 = 'S.No'.
*  it_title-h0  = 'Group'.
*  it_title-h1  = 'PO Number'.
*  it_title-h2  = 'PO Item'.
*  it_title-h3  = 'PO Creator'.
*  it_title-h4  = 'Requisitor'.
*  it_title-h5  = 'PO Date'.
*  it_title-h6  = 'PO Short Text'.
*  it_title-h7  = 'PO Amount'.
*  it_title-h8  = 'GR/SE Amount'.
*  it_title-h9  = 'IR Amount'.
*  it_title-h10 = 'Outstanding'.
*  it_title-h12 = 'Del. Date'.
*  APPEND it_title.
  write : / 'Outstanding PO Listing Report'.
  uline.
  format color col_heading.
  write : /1   it_title-h11,
       7   it_title-h0,
       14  it_title-h1,
       29  it_title-h2,
       38  it_title-h3,
       53  it_title-h4,
       68  it_title-h5,
       79  it_title-h6,
       122 it_title-h7,
       142 it_title-h8,
       162 it_title-h9,
       182 it_title-h10,
       202 it_title-h12.
  format color off.
  uline.
endform.                    " page_heading
*&      Form  EXTRACT_PO_DETAILS_NEW
*       text
*  -->  p1        text
*  <--  p2        text
form extract_po_details_new.
  data: begin of it_po occurs 0,
    ebeln like ekko-ebeln,
    ebelp like ekpo-ebelp,
    ernam like ekko-ernam,
    ekgrp like ekko-ekgrp,
    bedat like ekko-bedat,
    txz01 like ekpo-txz01,
    netwr like ekpo-netwr,
    afnam like ekpo-afnam,
    effwr like ekpo-effwr.
  data: end of it_po.
  refresh it_output.
  if not p_date is initial.
    select a~ebeln b~ebelp a~ernam a~ekgrp a~bedat b~txz01 b~netwr
       b~afnam b~effwr
    into corresponding fields of table it_po
    from ekpo as b inner join ekko as a
    on b~ebeln = a~ebeln
    where a~bukrs = s_bukrs  and
        a~aedat le p_date  and
        a~ebeln in s_ebeln and
        a~bedat in s_bedat and
        a~ekgrp in s_ekgrp and
        a~frgke ne 'E'     and
        b~loekz not in ('L', 'S', 'X').
  else.
    select a~ebeln b~ebelp a~ernam a~ekgrp a~bedat b~txz01 b~netwr
       b~afnam b~effwr
    into corresponding fields of table it_po
    from ekpo as b inner join ekko as a
    on b~ebeln = a~ebeln
    where a~bukrs = s_bukrs  and
        a~ebeln in s_ebeln and
        a~bedat in s_bedat and
        a~ekgrp in s_ekgrp and
        a~frgke ne 'E'     and
        b~loekz not in ('L', 'S', 'X').
  endif.
  sort it_po by ebeln ebelp.
  delete adjacent duplicates from it_po.
  delete it_po where ekgrp eq 'HDB' and ebelp eq 10.    "20070814
  delete it_po where ebeln+0(1) eq '6'.
  loop at it_po.
    move-corresponding it_po to it_output.
    append it_output.
    clear it_output.
  endloop.
  refresh it_po.
  free it_po.
endform.                    " EXTRACT_PO_DETAILS_NEW
*&      Form  EXTRACT_PO_HISTORY_NEW
*       text
*  -->  p1        text
*  <--  p2        text
form extract_po_history_new.
  data: begin of it_ekbe occurs 2000,
          ebeln like ekbe-ebeln,
          ebelp like ekbe-ebelp,
          bewtp like ekbe-bewtp,
          shkzg like ekbe-shkzg,
          dmbtr like ekbe-dmbtr.
  data: end of it_ekbe.
  check not it_output[] is initial.
  select * into corresponding fields of table it_ekbe
    from ekbe for all entries in it_output
    where ebeln = it_output-ebeln and
          ebelp = it_output-ebelp and
          bewtp in ('E', 'N', 'Q', 'R', 'X').
  loop at it_ekbe.
    if it_ekbe-bewtp = 'E'.          "GET GR AMT
      move it_ekbe-ebeln to it_ekbe_gr-ebeln.
      move it_ekbe-ebelp to it_ekbe_gr-ebelp.
      move it_ekbe-bewtp to it_ekbe_gr-bewtp.
      if it_ekbe-shkzg = 'H'.
        it_ekbe_gr-dmbtr = it_ekbe-dmbtr * ( -1 ).
      else.
        it_ekbe_gr-dmbtr = it_ekbe-dmbtr.
      endif.
      collect it_ekbe_gr.
    else.                              "GET IR AMT
*    ELSEIF IT_EKBE-BEWTP = 'N' OR     "GET IR AMT
*           IT_EKBE-BEWTP = 'Q' OR
*           IT_EKBE-BEWTP = 'R' OR
*           IT_EKBE-BEWTP = 'X'.
      move it_ekbe-ebeln to it_ekbe_ir-ebeln.
      move it_ekbe-ebelp to it_ekbe_ir-ebelp.
      if it_ekbe-shkzg = 'H'.
        it_ekbe_ir-dmbtr = it_ekbe-dmbtr * ( -1 ).
      else.
        it_ekbe_ir-dmbtr = it_ekbe-dmbtr.
      endif.
      collect it_ekbe_ir.
    endif.
  endloop.
  refresh it_ekbe.
  free it_ekbe.
endform.                    " EXTRACT_PO_HISTORY_NEW
*&      Form  CALCULATE_OUTSTANDING_NEW
*       text
*  -->  p1        text
*  <--  p2        text
form calculate_outstanding_new.
*  DATA: BEGIN OF IT_EKET OCCURS 10000,
*          EBELN LIKE EKET-EBELN,
*          EBELP LIKE EKET-EBELP,
*          EINDT LIKE EKET-EINDT.
*  DATA: END OF IT_EKET.
  sort: it_ekbe_gr, it_ekbe_ir.
  sort it_output by ebeln ebelp.
  loop at it_output.
    read table it_ekbe_gr with key ebeln = it_output-ebeln
                                   ebelp = it_output-ebelp.
    if sy-subrc = 0.
      move it_ekbe_gr-dmbtr to it_output-dmbtr.
    endif.
    read table it_ekbe_ir with key ebeln = it_output-ebeln
                                   ebelp = it_output-ebelp.
    if sy-subrc = 0.
      move it_ekbe_ir-dmbtr to it_output-iramt.
    endif.
    if it_output-iramt gt it_output-netwr.
      delete it_output. " where iramt gt it_output-netwr.
      clear : it_output.
      continue.
    endif.
    if it_output-ekgrp eq 'HDB'.
      if it_output-netwr = it_output-iramt.
        delete it_output.
        clear it_output.
      else.
        it_output-outst = it_output-netwr - it_output-iramt.
        modify it_output.
      endif.
    else.
      if it_output-netwr = it_output-dmbtr.
        if it_output-dmbtr = it_output-iramt.
          delete it_output.
          clear it_output.
        else.
          it_output-outst = it_output-netwr - it_output-iramt.
          modify it_output.
        endif.
      else.
        if it_output-netwr = it_output-iramt.
          delete it_output.
          clear it_output.
        else.
          it_output-outst = it_output-netwr - it_output-iramt.
          modify it_output.
        endif.
      endif.
    endif.
  endloop.
  sort it_output by ebeln ebelp.
  check not it_output[] is initial.
  select * into corresponding fields of table it_eket
    from eket for all entries in it_output
    where ebeln = it_output-ebeln and
          ebelp = it_output-ebelp.
  sort it_eket by ebeln ebelp.
  loop at it_output.
    read table it_eket with key ebeln = it_output-ebeln
                                ebelp = it_output-ebelp.
    if sy-subrc = 0.
      it_output-eindt = it_eket-eindt.
    else.
      clear it_output-eindt.
    endif.
    modify it_output.
  endloop.
  sort it_output by ekgrp ebeln ebelp.
endform.                    " CALCULATE_OUTSTANDING_NEW
Regards
Gopi

Similar Messages

  • Including "Total Stock Qty" and "Total Stock Value" in Slow movingitm Query

    Dear Guys,
                    Regards.I am using the standard "Slow moving Item's Query" based upon the "Slow moving item Multiprovider".The Query design is as follows:
    Filter:
    0CALDAY(PERIOD FROM/PERIOD TO)
    Rows:
    0MATERIAL(VARIABLE-OPTIONAL)
    0MATERIALGROUP(VARIABLE-OPTIONAL)
    Columns:
    Structure>Number of Records(KF)>Restricted upon Characteristic"Infoprovider(0material)".
    ReceiptTotalValue
    IssueTotalValue.
    But when i include the "TotalStock Qty" in the Query design,the system throws an error..(
    Abort system error:RSDRC/FORM CONVERT_SEL_TO_SELC NO CORRESPONDING SFC ENTRY
    Abort System error in program RSDRC_NCUM_ROUTINES and form READ_REF_POINT-1-).
    The client wants the "Stock value" to be displayed as in MC46 Report(R3) in the BW Report aswell.Would appreciate your timely help on this..
    Manythanks
    Arun

    Any sugestions ??

  • Update Qty and Value in Quantity Contract

    Hi,
    With reference to Quantity Contract when we i create release order the status of quantity Contract should l be changed.
    Example
    Order Qty in Quantity Contract    100 pc             Value 10000
    One Release order is created  with Order qty 20   Value 2000
    Now in the contract where can i see open order qty and open order value.
    in VTAA item category KMN -
    TAN the setting has been checked for "Update Doc Flow"
    Regards
    Jyoti

    Hi,
    Just try this and let me know your expected result.
    1. Go to VA42 to VA43.
    2. Enter your contract number and press document flow button.
    3. See whether the Qty and value is getting displayed or not.
    4. If not getting displayed. Do execute the below steps.
    5. In document flow screen, select your contract document.
    6. In top menu : Documen flow->View-> Items.
    7. Now, the systme will display the Qty and value of delivered/not delivered information.
    Regards,
    Vijay

  • PO qty and Value with Inbound Delivery qty

    Dear all
    i have a report requirement, client wants to have a report on the basis of Inbound delivery qty. for eg.
    If Po qty is 100 @ $10.00 each Total Po value = $1000
    if he makes a inbound delivery of 20 qty Report should display outstanding delivery qty as 80 and with reduced value .of $800
    Pl tell me how to get these details.
    Regards
    Manoj

    Hi Manoj,
    I think you should should copy ME2M and change the output.
    Sanjeev

  • How SAP calculate the outstanding PO quantity and amount.

    how SAP calculate the outstanding PO quantity and amount.

    Hi Arun Raj,
    APO does not calculate the open qty.
    Only the open qty of the PO is ciffed to APO from R/3.
    Regards,
    Ashok

  • Batch wise stock report with qty and value as on date

    is there any report so that we can see the stock qty with value as on date,
    i have tried mb5b but it is showing only qty and batch combination not qty value and batch combination
    plz suggest me, it is very urgent.
    nitin

    MBEWH is the valuation history, this is only updated with the first movement after a period closure. And the period is a month.
    There is no table in SAP that holds the stock information on daily basis.
    You have to develope this yourself. Easiest method by copying a table like MBEW and MARD  daily to a Z-Table.
    A stock situation  at a certain date can be calculated with MB5B.
    Edited by: Jürgen L. on Aug 5, 2008 4:06 PM

  • Qty and value in PO list are not updated (after a Service Entry)

    Hi Experts,
    Qty and value still to be delivered in the ME2L are not updated:
    I have performed a service entry (ML81N) but qty and value are not updated in the list of the PO in the ME2L.
    Could anyone explain?
    Many thanks in advance.
    Regards,
    Cesar

    Thanks for quick reply.
    I do not configure anything in SPRO (Define release strategy for SES) but I got a red light in the top of the screen near the field "No acceptance" so I presume that the SES should be accepted but as I do not configure anything regarding release startegy, I do not know how to accept the SES.
    Besides, I cannot perform MIRO: when I put the PO number, system indicates that there is no (suitable) item found for PO
    I should have miss something. Could you please guide me?
    Thanks,
    Cesar

  • Inventory by qty and value

    Hi all,
    I need to get a list of materials, whch displays :
    <u>Mats which have not moved for a specified period of time (For all mvt types and storage locs)
    Qty of above mats
    Value of above mats
    Last mvt type done</u>
    Is there a single tcode for all this?
    Thanks!
    Sud

    Hi,
      I am not sure about any specfic tcode which meets your requirements, but the following tcod's deals with inventory :
    MMBE,MB52,MB53
    regards,
    a.fahrudeen

  • Material type - maintainance by qty and value

    Dear All Guru,
    Yesterday I had copied the plant from the plant belong to same company and maintained the same val Gr Code.
    But i found that I am not able to make GR posting and the error was Plant and material type is not matching and then over SDN i got the soln to maintain qty and value for matl type and it resolved the problem.
    but can anybody tell me that why this can happen ?
    b'coz  still if the val/qty ticks are not maintained why system is showing the material type and plant combination error...though it can consider this as UNBW material and can still post the GR
    also can you suggest the right method for coping the plant so i won't face problem like this or any check methods after coping new plant
    Regards,
    Vimlesh

    Hi,
    For Preparation of New Plant, following steps to be adopted.
    1. Excute the India Specific Localize Sample Organizational Units using SPRO> Enterprise Structure> Localize Sample Organizational Units.
    In this IMG activity, you localize the sample organizational units by applying the appropriate country template like India to them.
    2. Then, in the next IMG activities (under Enterprise Structure Definition and Assignment), you copy these localized organizational units to create units of your own.
    Caution:
    Only execute this IMG activity if you have not changed any Customizing settings in SAP R/3.
    Do not execute this IMG activity in your production client, as it will overwrite the settings for any organizational units named 0001. Run it only in your production preparation client from where you will transport to Prodution Client.
    Note: Unless you adopt this procedure to create the new plant, till then you will encounter the same Error which you are facing.so these are the guide line for create of new/Additional country specific Organizational Units.
    hope it helps...
    manoj singh

  • Shelf ageing report with qty and value

    hi
    i want shelf ageing report with stock value and stock quantity together.
    or any other way to club together the reports which will having stock qty and stock value

    Hi,
        How about TRC:MB5M( Expiration Date List).   But the function is qty only.
       Maybe you have to make add on program.
    Regards,
       Gaito

  • Consumption and Production qty and value report

    Any one knows t-code for report that can give porduction order wise consumption in qty and value and production order wise production in qty and value.

    Use report KOB1, use the standard layouts that get you this information, normally positive quantities are consumptions and negative quantities are production output.
    Thanks
    Naveen

  • Qty and value update

    hi all sapians,
    Can any one give me a very clear idea or story behind the check boxes of quantity and value update in OMS2 and for some material there boxes are checked and for some materials boxes are not selected.
    Edited by: MANI ROOPA SD/MM on Apr 21, 2008 8:09 AM

    hi
    Quantity Updating Specifies that the material is managed on a quantity basis in the material master record for the relevant valuation area.
    Value Update: Specifies that the material is managed on a value basis in the material master record for the valuation area concerned.
    The values are updated in the respective G/L accounts at the same time.
    as you said at for some material there boxes are checked and for some materials boxes are not selected
    the Qty and Value are updated based on valuation area
    Valuation Area
    Organizational level at which the material is valuated. A valuation area can be one of the following:
    Plant: All plants belonging to a company code, in which case the valuation area is the company code
    1: Based on valuation area and as required some material types are selected and some are not
    2: Based on material Type we select Qty and Value updation: like for NORM for your valuation area (and also might be for plant valuation) all boxes are selected and for material type KMATConfigurable materials it is not selcted
    regards

  • Account Assignment - Qty and Value Update

    Hi,
    I need to have value and qty update for a a/c assignment po's.. ie in po i'm using a/c assignment as A, and in gr i need to have qty and value update . how to do?? is it possible? i knew that that a/c assingment won't generate qty update for a/c assignment catergores... is any way to create qty update for a/c assignmnt cateroires (K-cost center,A-Asset)

    Hi,
    when you are creating a PO with account assignments menas , the costs of this product need to get posted to the account assignment , and the material is being procured for consumption ( not for stock) to this account assignment.
    But however , qty and value updates depends upon the material type of the material.When you use  a stocked material type material is used for the PO, change the account assignment definition as said in above posting.
    Chek the material type of the material you used for the PO to your error message.
    Regards,

  • Purchase order report with basic price and Excise duty values

    Hi All,
    Is there any standard report in SAP to get the Purchase order basic price / qty and its Excise duty values ? Since we are including Excise duties for non - codified items (w/o material master and with cost center 'K') Purchase order and the ed values are added to the cost and the requirement is to see the split up (Basic priceEdEcs+Hcs)for these Purchase orders for the vendors. If there is no std report then please let me know how to link Purchase order table with this Condition value table in query to get the desired report.
    Thanks in advance
    Benny

    Hi,
    there is no standert report to fullfill this requierment
    you have to create this report with the help of abaer
    for that which tax code you are using its importnat thing
    for po table EKPO
    1. A524 (Normal supply point / Material) it will return condition record number for condition type.
    2. KONP (Conditions (Item)) .
    3. J_1IMTCHID (Combination of Material Number and Chapter ID).
    4. J_1IEXCTAX (Tax calc. - Excise tax rates
    5 get the IR no. from RBKP and RSEG, and get the relevant FI doc no. and goto BSET table
    for IR number  to get from table apply logic for doc type RE ,you will get fi number nad in refernce field you will get invoice number + fiscal year
    Map this by refernig on po for which grn and invoice happen
    Regards
    Kailas Ugale

  • Order qty and total confirmed qty in PI sheets

    Dear Experts,
    Kindly suggest the possibility of appearing total order qty and already confirmed qty in the PI sheet, system useually provides the same while performing confirmation through co11n or cor6.
    Thanks in advance for your help..
    Regards,
    Nitish

    Hi Srini,
    The following details are available in the table AFVV,
    Standard value, operation qty & Base qty.
    With this values create a formula Standard value * operation qty/ Base qty , this will equal to the planned hours for that particular activity type. Similarlt planned hours for other activities can be calculated.
    The actual/confirmed hours are available in the table AFRU.
    Regards,
    Senthilkumar

Maybe you are looking for