Total Quantity in Custom Report

Hello!
When we create a report (eg, stock report), How to get the total quantity at the bottom of the report?
For example, if i create a report for all purchase orders for a particular item, how to get the total quantity being displayed at the end of the report at the bottom grey fields?
Prajwal

Press 'CTRL' and click the column name, you'll get the sum of that column in the bottom.

Similar Messages

  • Task Quantity in Custom Reports Data Package

    Task Quantity in Custom Reports Data Package
    Using the Custom Reports Data Package how can you report on task quantity?  Neither the ServiceTaskFact nor the RequisitionTaskFact tables have quantity as a query item. 

    Hi David,
    Thanks for your question. The good news here is that this is a common use case and can be addressed using standard Cognos functionality. Here are some general instructions for you and others who might be reading this post with a similar need. These instructions are for Cognos Query Studio.
    Build your report and drag a column/fact that is unique to the record onto the work area – I used TaskID.
    Highlight the TaskID column.
    From the left side menu, click Edit Data

  • CJI3 report not displaying values correctly in the "Total Quantity" field

    Dear Friends,
    Need your assistance on the issue explained below,
    In our project there is a scenario where the actuals posted on a WBS are split/distributed to various WBS.These actuals that are split can be CATS entries,manual posting (KB21) or postings that come to R3 from a legacy system.The split happens by means of a custom program and is not standard.There is a tab seperated text file that contains the split percentages and the sender as well as the receiver WBS elements.Off late it has been observed that after the split is done the CJI3 report does not show the split quantities correctly and hence there is difference in the values displayed in the currency field.This is not a rounding off difference and is considerable.We have done all possible analysis from our side but i am unable to find how the difference occurs.
    To add to this i have even come across certain notes which describe the issue closely but none of it has helped so far. I have simulated the scenario with the same settings in the Quality server and it seems to work fine there without any glitches. We have even compared the program in both the Quality as well as the Production servers and there is no difference in the program as well.The values for the total quantity field are stored in the table COVP and it has been observed the report is fetching this data to display in CJI3.
    I have run CJEN too but this too does not correct the report. I was just wondering if any of our colleagues can provide me with some suggestions or insight in this issue.
    Regards,
    Gokul

    Hi Praveen,
    Thanks for the response.
    Actually i did debug the program with the help of our technical guys but found nothing wrong in both the quality and the production system. We compared the program in both the systems and it seems to be same. I am exploring this issue. Will update the findings here.
    In case anyone has any suggestion please do suggest.
    Regards,
    Gokul

  • Custom Report currency is missing in Total price

    Dear BC Community.
    When making a Custom Report, the "Total Price" tab doesn't show the currency the order was purchased in.
    How do I fix this? - Or is it a bug in BC?

    Is this the right notes? Is the problem not with ALV functionality?

  • How to convert the customized report sales price list into excel sheet

    hi friends,
    i am faceing the probulem in VK13 report is not conveting into excel sheet, then i developed the one customized report,
    in this report i am using the tables are a506, konp,and makt, result is coming and it converted into excel sheet in my systam. when i was clik on the excel sheet icon it comming  excel format it working fine and save it. But in menubar list>export> localfile and select redio button spredsheet this navigation only it print the three colums not coming the total colums,
    same program test in another system it not converted into excel sheet, when i am click on excel sheet icon  it's given the message is 'VIEW CAN NOT BE SWITCHED, PRODUCT NOT INSTALLED OR INTEGRATION NOT ACTIVE'. but i giving the print privew it giving the three colums only,.
    In program i am using regular using reuse_alv_grid_display FM only.
    sorry this qusition is repeted becuse before that one mising some text.
    any one plz help me.
    thanks
    raj

    nice answer

  • Custom Report taking more time to complete Normat

    Hi All,
    Custom report(Aging Report) in oracle is taking more time to complete Normal.
    In one instance, the same report is taking 5 min and the other instance this is taking 40-50 min to complete.
    We have enabled the trace and checked the trace file, but all the queries are working fine.
    Could you please suggest me regarding this issue.
    Thanks in advance!!

    TKPROF: Release 10.1.0.5.0 - Production on Tue Jun 5 10:49:32 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Sort options: prsela exeela fchela
    count = number of times OCI procedure was executed
    cpu = cpu time in seconds executing
    elapsed = elapsed time in seconds executing
    disk = number of physical reads of buffers from disk
    query = number of buffers gotten for consistent read
    current = number of buffers gotten in current mode (usually for update)
    rows = number of rows processed by the fetch or execute call
    Error in CREATE TABLE of EXPLAIN PLAN table: APPS.prof$plan_table
    ORA-00922: missing or invalid option
    parse error offset: 1049
    EXPLAIN PLAN option disabled.
    SELECT DISTINCT OU.ORGANIZATION_ID , OU.BUSINESS_GROUP_ID
    FROM
    HR_OPERATING_UNITS OU WHERE OU.SET_OF_BOOKS_ID =:B1
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 1 0.00 0.05 11 22 0 3
    total 3 0.00 0.05 11 22 0 3
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    3 HASH UNIQUE (cr=22 pr=11 pw=0 time=52023 us cost=10 size=66 card=1)
    3 NESTED LOOPS (cr=22 pr=11 pw=0 time=61722 us)
    3 NESTED LOOPS (cr=20 pr=11 pw=0 time=61672 us cost=9 size=66 card=1)
    3 NESTED LOOPS (cr=18 pr=11 pw=0 time=61591 us cost=7 size=37 card=1)
    3 NESTED LOOPS (cr=16 pr=11 pw=0 time=61531 us cost=7 size=30 card=1)
    3 TABLE ACCESS BY INDEX ROWID HR_ORGANIZATION_INFORMATION (cr=11 pr=9 pw=0 time=37751 us cost=6 size=22 card=1)
    18 INDEX RANGE SCAN HR_ORGANIZATION_INFORMATIO_FK1 (cr=1 pr=1 pw=0 time=17135 us cost=1 size=0 card=18)(object id 43610)
    3 TABLE ACCESS BY INDEX ROWID HR_ALL_ORGANIZATION_UNITS (cr=5 pr=2 pw=0 time=18820 us cost=1 size=8 card=1)
    3 INDEX UNIQUE SCAN HR_ORGANIZATION_UNITS_PK (cr=2 pr=0 pw=0 time=26 us cost=0 size=0 card=1)(object id 43657)
    3 INDEX UNIQUE SCAN HR_ALL_ORGANIZATION_UNTS_TL_PK (cr=2 pr=0 pw=0 time=32 us cost=0 size=7 card=1)(object id 44020)
    3 INDEX RANGE SCAN HR_ORGANIZATION_INFORMATIO_FK2 (cr=2 pr=0 pw=0 time=52 us cost=1 size=0 card=1)(object id 330960)
    3 TABLE ACCESS BY INDEX ROWID HR_ORGANIZATION_INFORMATION (cr=2 pr=0 pw=0 time=26 us cost=2 size=29 card=1)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 11 0.01 0.05
    asynch descriptor resize 2 0.00 0.00
    INSERT INTO FND_LOG_MESSAGES ( ECID_ID, ECID_SEQ, CALLSTACK, ERRORSTACK,
    MODULE, LOG_LEVEL, MESSAGE_TEXT, SESSION_ID, USER_ID, TIMESTAMP,
    LOG_SEQUENCE, ENCODED, NODE, NODE_IP_ADDRESS, PROCESS_ID, JVM_ID, THREAD_ID,
    AUDSID, DB_INSTANCE, TRANSACTION_CONTEXT_ID )
    VALUES
    ( SYS_CONTEXT('USERENV', 'ECID_ID'), SYS_CONTEXT('USERENV', 'ECID_SEQ'),
    :B16 , :B15 , SUBSTRB(:B14 ,1,255), :B13 , SUBSTRB(:B12 , 1, 4000), :B11 ,
    NVL(:B10 , -1), SYSDATE, FND_LOG_MESSAGES_S.NEXTVAL, :B9 , SUBSTRB(:B8 ,1,
    60), SUBSTRB(:B7 ,1,30), SUBSTRB(:B6 ,1,120), SUBSTRB(:B5 ,1,120),
    SUBSTRB(:B4 ,1,120), :B3 , :B2 , :B1 ) RETURNING LOG_SEQUENCE INTO :O0
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 20 0.00 0.03 4 1 304 20
    Fetch 0 0.00 0.00 0 0 0 0
    total 21 0.00 0.03 4 1 304 20
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    1 LOAD TABLE CONVENTIONAL (cr=1 pr=4 pw=0 time=36498 us)
    1 SEQUENCE FND_LOG_MESSAGES_S (cr=0 pr=0 pw=0 time=24 us)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 4 0.01 0.03
    SELECT MESSAGE_TEXT, MESSAGE_NUMBER, TYPE, FND_LOG_SEVERITY, CATEGORY,
    SEVERITY
    FROM
    FND_NEW_MESSAGES M, FND_APPLICATION A WHERE :B3 = M.MESSAGE_NAME AND :B2 =
    M.LANGUAGE_CODE AND :B1 = A.APPLICATION_SHORT_NAME AND M.APPLICATION_ID =
    A.APPLICATION_ID
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 2 0.00 0.00 0 0 0 0
    Fetch 2 0.00 0.03 4 12 0 2
    total 5 0.00 0.03 4 12 0 2
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    1 NESTED LOOPS (cr=6 pr=2 pw=0 time=15724 us cost=3 size=134 card=1)
    1 TABLE ACCESS BY INDEX ROWID FND_APPLICATION (cr=2 pr=0 pw=0 time=20 us cost=1 size=9 card=1)
    1 INDEX UNIQUE SCAN FND_APPLICATION_U3 (cr=1 pr=0 pw=0 time=9 us cost=0 size=0 card=1)(object id 33993)
    1 TABLE ACCESS BY INDEX ROWID FND_NEW_MESSAGES (cr=4 pr=2 pw=0 time=15693 us cost=2 size=125 card=1)
    1 INDEX UNIQUE SCAN FND_NEW_MESSAGES_PK (cr=3 pr=1 pw=0 time=6386 us cost=1 size=0 card=1)(object id 34367)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 4 0.00 0.03
    DELETE FROM MO_GLOB_ORG_ACCESS_TMP
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.02 3 4 4 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.02 3 4 4 1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    0 DELETE MO_GLOB_ORG_ACCESS_TMP (cr=4 pr=3 pw=0 time=29161 us)
    1 TABLE ACCESS FULL MO_GLOB_ORG_ACCESS_TMP (cr=3 pr=2 pw=0 time=18165 us cost=2 size=13 card=1)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 3 0.01 0.02
    SET TRANSACTION READ ONLY
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.01 0 0 0 0
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.01 0 0 0 0
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    SQL*Net message to client 1 0.00 0.00
    SQL*Net message from client 1 0.00 0.00
    begin Fnd_Concurrent.Init_Request; end;
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 148 0 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.00 0 148 0 1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    log file sync 1 0.01 0.01
    SQL*Net message to client 1 0.00 0.00
    SQL*Net message from client 1 0.00 0.00
    declare X0rv BOOLEAN; begin X0rv := FND_INSTALLATION.GET(:APPL_ID,
    :DEP_APPL_ID, :STATUS, :INDUSTRY); :X0 := sys.diutil.bool_to_int(X0rv);
    end;
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 9 0 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.00 0 9 0 1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    SQL*Net message to client 8 0.00 0.00
    SQL*Net message from client 8 0.00 0.00
    begin fnd_global.bless_next_init('FND_PERMIT_0000');
    fnd_global.initialize(:session_id, :user_id, :resp_id, :resp_appl_id,
    :security_group_id, :site_id, :login_id, :conc_login_id, :prog_appl_id,
    :conc_program_id, :conc_request_id, :conc_priority_request, :form_id,
    :form_application_id, :conc_process_id, :conc_queue_id, :queue_appl_id,
    :server_id); fnd_profile.put('ORG_ID', :org_id);
    fnd_profile.put('MFG_ORGANIZATION_ID', :mfg_org_id);
    fnd_profile.put('MFG_CHART_OF_ACCOUNTS_ID', :coa);
    fnd_profile.put('APPS_MAINTENANCE_MODE', :amm); end;
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 8 0 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.00 0 8 0 1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    SQL*Net message to client 1 0.00 0.00
    SQL*Net message from client 1 0.00 0.00
    SELECT FPI.STATUS, FPI.INDUSTRY, FPI.PRODUCT_VERSION, FOU.ORACLE_USERNAME,
    FPI.TABLESPACE, FPI.INDEX_TABLESPACE, FPI.TEMPORARY_TABLESPACE,
    FPI.SIZING_FACTOR
    FROM
    FND_PRODUCT_INSTALLATIONS FPI, FND_ORACLE_USERID FOU, FND_APPLICATION FA
    WHERE FPI.APPLICATION_ID = FA.APPLICATION_ID AND FPI.ORACLE_ID =
    FOU.ORACLE_ID AND FA.APPLICATION_SHORT_NAME = :B1
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 2 0.00 0.00 0 7 0 1
    total 4 0.00 0.00 0 7 0 1
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    1 NESTED LOOPS (cr=7 pr=0 pw=0 time=89 us)
    1 NESTED LOOPS (cr=6 pr=0 pw=0 time=93 us cost=4 size=76 card=1)
    1 NESTED LOOPS (cr=5 pr=0 pw=0 time=77 us cost=3 size=67 card=1)
    1 TABLE ACCESS BY INDEX ROWID FND_APPLICATION (cr=2 pr=0 pw=0 time=19 us cost=1 size=9 card=1)
    1 INDEX UNIQUE SCAN FND_APPLICATION_U3 (cr=1 pr=0 pw=0 time=9 us cost=0 size=0 card=1)(object id 33993)
    1 TABLE ACCESS BY INDEX ROWID FND_PRODUCT_INSTALLATIONS (cr=3 pr=0 pw=0 time=51 us cost=2 size=58 card=1)
    1 INDEX RANGE SCAN FND_PRODUCT_INSTALLATIONS_PK (cr=2 pr=0 pw=0 time=27 us cost=1 size=0 card=1)(object id 22583)
    1 INDEX UNIQUE SCAN FND_ORACLE_USERID_U1 (cr=1 pr=0 pw=0 time=7 us cost=0 size=0 card=1)(object id 22597)
    1 TABLE ACCESS BY INDEX ROWID FND_ORACLE_USERID (cr=1 pr=0 pw=0 time=7 us cost=1 size=9 card=1)
    SELECT P.PID, P.SPID, AUDSID, PROCESS, SUBSTR(USERENV('LANGUAGE'), INSTR(
    USERENV('LANGUAGE'), '.') + 1)
    FROM
    V$SESSION S, V$PROCESS P WHERE P.ADDR = S.PADDR AND S.AUDSID =
    USERENV('SESSIONID')
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 1 0.00 0.00 0 0 0 1
    total 3 0.00 0.00 0 0 0 1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    1 NESTED LOOPS (cr=0 pr=0 pw=0 time=1883 us cost=1 size=108 card=2)
    1 HASH JOIN (cr=0 pr=0 pw=0 time=1869 us cost=1 size=100 card=2)
    1 NESTED LOOPS (cr=0 pr=0 pw=0 time=1059 us cost=0 size=58 card=2)
    182 FIXED TABLE FULL X$KSLWT (cr=0 pr=0 pw=0 time=285 us cost=0 size=1288 card=161)
    1 FIXED TABLE FIXED INDEX X$KSUSE (ind:1) (cr=0 pr=0 pw=0 time=617 us cost=0 size=21 card=1)
    181 FIXED TABLE FULL X$KSUPR (cr=0 pr=0 pw=0 time=187 us cost=0 size=10500 card=500)
    1 FIXED TABLE FIXED INDEX X$KSLED (ind:2) (cr=0 pr=0 pw=0 time=4 us cost=0 size=4 card=1)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    asynch descriptor resize 2 0.00 0.00
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call count cpu elapsed disk query current rows
    Parse 6 0.00 0.00 0 0 0 0
    Execute 6 0.01 0.02 0 165 0 4
    Fetch 1 0.00 0.00 0 0 0 1
    total 13 0.01 0.02 0 165 0 5
    Misses in library cache during parse: 0
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    SQL*Net message to client 37 0.00 0.00
    SQL*Net message from client 37 1.21 2.19
    log file sync 1 0.01 0.01
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call count cpu elapsed disk query current rows
    Parse 49 0.00 0.00 0 0 0 0
    Execute 89 0.01 0.07 7 38 336 24
    Fetch 29 0.00 0.09 15 168 0 27
    total 167 0.02 0.16 22 206 336 51
    Misses in library cache during parse: 3
    Misses in library cache during execute: 1
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    asynch descriptor resize 6 0.00 0.00
    db file sequential read 22 0.01 0.14
    48 user SQL statements in session.
    1 internal SQL statements in session.
    49 SQL statements in session.
    0 statements EXPLAINed in this session.
    Trace file compatibility: 10.01.00
    Sort options: prsela exeela fchela
    1 session in tracefile.
    48 user SQL statements in trace file.
    1 internal SQL statements in trace file.
    49 SQL statements in trace file.
    48 unique SQL statements in trace file.
    928 lines in trace file.
    1338833753 elapsed seconds in trace file.

  • How to Created custom report for Ship not Billed (SD/FI)?

    Hi all,
    I am anticipating  to write some abap reports..Here is one of them..
    Anyone can help  me with writing a Report , how to do 'Custom Report for shipped not Billed(SD/FI)' ..But since I am new to Abap , if you wish to reply, please use a little more detail and simple explanation, step by step so I can understand what is the idea, how it can be acheived...what kind of report should be used , techniques, tables etc...:)
    Appreciate your help!
    Regards,
    Boby

    Hi Boby,
    You need to create custom transaction to achive these results.
    you will have selection-screen ,it would be :
    Date : Here date would be mandatory  - Ranges Option
    Customer  - Optional field - Ranges
    Order #  Sales Order (Optional) Ranges
    Invoice #  - Invoice # (Optional) Ranges
    You will get the data based on ur selection-screen criteria ...
    First you will have customer order details from diffrent table
    VBAK,
    VBAP,
    LIKP
    LIPS
    VBRK,
    VBRP
    KNA1,
    VBFA Tables ( See the my sample program )
    Output would be :
    Customer #   Custome Name    Order #   Delivery #   Invoice #   Netpr, Netquantity ,
    Check the condition  whether invoice table has VBRK-RFBSK  = ''.
    See the my sample program : This is sales report by monthly..
    REPORT ZFDSALES_REPORT no standard page heading
                           message-id zwave.
    Data Declaration Part
    TYPE-POOLS
    type-pools : slis.
    Tables
    tables : VBAK,
             VBAP.
    Internal table for VBAK Table
    data : begin of i_vbak occurs 0,
           vbeln like vbak-vbeln,
           bstnk like vbak-bstnk,
           vdatu like vbak-vdatu,
           end of i_vbak.
    Internal table for VBAP and MATNR
    data : begin of i_vbap occurs 0,
           vbeln like vbap-vbeln,
           matnr like vbap-matnr,
           kdmat like vbap-kdmat,
           kwmeng like vbap-kwmeng,
           netpr like vbap-netpr,
           maktx like makt-maktx,
           end of i_vbap.
    Internal tables
    data : begin of i_sales occurs 0,
           vdatu like vbak-vdatu,
           bstnk like vbak-bstnk,
           matnr like vbap-matnr,
           maktx like makt-maktx,
           kdmat like vbap-kdmat,
           kwmeng like vbap-kwmeng,
           netpr  like vbap-netpr,
           end of i_sales.
    Variable for ALV
    data : v_repid like sy-repid,
           gt_fieldcat    type slis_t_fieldcat_alv.
    Selection-screen
    selection-screen : begin of block blk with frame title text-001.
    select-options : s_vbeln for vbak-vbeln,
                     s_erdat for vbak-erdat,
                     s_ernam for vbak-ernam,
                     s_vdatu for vbak-vdatu obligatory,
                     s_BSTNK for vbak-BSTNK,
                     s_KUNNR for vbak-kunnr,
                     s_matnr for vbap-matnr,
                     s_KDMAT for vbap-KDMAT.
    selection-screen : end of block blk.
    Initilization
    initialization.
      v_repid = sy-repid.
    S T A R T  -  O F  -  S E L E C T I O N ****************
    start-of-selection.
    Get the data from VBAK and VBAP Tables
      perform get_vbak_vbap.
    E N D  -  O F  -  S E L E C T I O N *****************
    end-of-selection.
    Display the data
      perform dispolay_data.
    *&      Form  get_vbak_vbap
          Get the data from VBAK and VBAP Table
    FORM get_vbak_vbap.
    Get the data from VBAK Table
      select vbeln bstnk vdatu from vbak into table i_vbak
                         where vbeln in s_vbeln
                         and   bstnk in s_bstnk
                         and   vdatu in s_vdatu
                         and   kunnr in s_kunnr
                         and   erdat in s_erdat
                         and   ernam in s_ernam.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given selection'.
      endif.
    Get the data from VBAP Table
      select avbeln amatnr akdmat akwmeng a~netpr
             b~maktx into table i_vbap
             from vbap as a inner join makt as b on bmatnr = amatnr
             for all entries in i_vbak
             where a~vbeln in s_vbeln
             and   a~kdmat in s_kdmat
             and   a~abgru = space
             and   a~matnr in s_matnr
             and   a~matnr ne '000000000000009999'
             and   a~matnr ne '000000000000004444'
             and   a~matnr ne '000000000000008888'
             and   a~matnr ne '000000000000001111'
             and   a~werks = '1000'
             and   b~spras = 'E'
             and   a~vbeln = i_vbak-vbeln.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given selection'.
      endif.
      sort i_vbak by vbeln.
      sort i_vbap by vbeln matnr.
      loop at i_vbap.
        read table i_vbak with key vbeln = i_vbap-vbeln
                                binary search.
        if sy-subrc eq 0.
          i_sales-bstnk = i_vbak-bstnk.
          i_sales-vdatu = i_vbak-vdatu.
          i_sales-matnr = i_vbap-matnr.
          i_sales-kdmat = i_vbap-kdmat.
          i_sales-maktx = i_vbap-maktx.
          i_sales-netpr = i_vbap-netpr.
          i_sales-kwmeng = i_vbap-kwmeng.
          append i_sales.
        else.
          continue.
        endif.
        clear : i_sales,
                i_vbap,
                i_vbak.
      endloop.
      sort i_sales by vdatu bstnk matnr.
      refresh : i_vbap,
                i_vbak.
    ENDFORM.                    " get_vbak_vbap
    *&      Form  dispolay_data
          Display the data
    FORM dispolay_data.
    Fill the Fiedlcat
      PERFORM fieldcat_init  using gt_fieldcat[].
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                =
      I_BUFFER_ACTIVE                   = ' '
          I_CALLBACK_PROGRAM                = v_repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
          IT_FIELDCAT                       = gt_fieldcat[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      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
      IT_ALV_GRAPHICS                   =
      IT_ADD_FIELDCAT                   =
      IT_HYPERLINK                      =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
      IT_EXCEPT_QINFO                   =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          T_OUTTAB                          = i_sales
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
    ENDFORM.                    " dispolay_data
    *&      Form  fieldcat_init
          text
         -->P_GT_FIELDCAT[]  text
    FORM fieldcat_init USING  e01_lt_fieldcat type slis_t_fieldcat_alv.
      DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    Delivery Date
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'VDATU'.
      LS_FIELDCAT-OUTPUTLEN    = 12.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Delivery Date'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Purchase Order #Material Description
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'BSTNK'.
      LS_FIELDCAT-OUTPUTLEN    = 25.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Purchase Order #'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Material
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-REF_FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-REF_TABNAME    = 'MARA'.
      LS_FIELDCAT-FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Material #'.
      ls_fieldcat-seltext_M = 'Material #'.
      ls_fieldcat-seltext_S = 'Material #'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Material Description
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'MAKTX'.
      LS_FIELDCAT-OUTPUTLEN    = 40.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Material Description'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Customer Material #
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'KDMAT'.
      LS_FIELDCAT-OUTPUTLEN    = 35.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Customer material no.'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Quantity
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'KWMENG'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Quantity'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Net Price
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'NETPR'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Net Price'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    ENDFORM.                    " fieldcat_init
    Reward Points if it is helpful
    Thanks
    Seshu

  • Custom Report For Excise On Sales

    hi friends,
    i need custom report for excise on sale like below format, can you please guide me to prapare FS for below requirement.
    Material Code And Discriptiion
    Sales Order No     
    Delivery No     
    Billing No     
    Accounting No     
    Excise Invoice No     
    Sold to Party     
    Billed Qty     
    gross value     
    bed     
    ecess     
    cess     
    she     
    total excise duty     
    invoice value
    Regds
    Ashwini

    dear friend,
    you can try the standard t-code SDO1 and change the layout
    good luck!

  • Material Order Status Report - Custom report error

    Hi,
    It is a Custom report to list Open PO's with the following logic.
    1. If validity date is less than today, PO is considered closed and that PO wont appear in the report.
        If point 1 failed, (means validity date in future) then goes to point 2.
    2. At item level,
       (a) Check if the quantity ordered is delivered (in service PO if planned/unplanned limit got reached)
                                     or
       (b) if Delivery completed indicator is checked
    in point 2 if either a or b is there, the PO is considered closed and should not appear in the report.
    We checked the program logic is fine.
    Problems:
    1.But the list shows few Closed PO's with Delivery comp ind checked.(Material PO's)
    2.In some service PO's the unplanned limit is not reached but so far some thing is delivered and Del   comp is marked. But still it appears in the report.
    In both cases the PO should not appear in the report. How to check?
    Regards
    Ramprakash

    Hi,
    If the logic that you checked proved correct, then you will have to get your ABAPer to debug your program to find out if change shall be made in the program logic coding.
    Cheers,
    HT

  • Printer- custom report not printing

    HI,
    Apps 11.5.10.2
    RDBMS 9i
    Am able to get print from appliaction for stanadard reports.
    If i give custom report.. its printing but content is not same as output..
    OUTPUT is coming in one line..
    %PDF-1.1
    1 0 OBJ
    << 0
    /Creator (Developer 2000)
    etc
    Thanks

    HI,
    Am getting output like follwing
    Please run the test in (Note: 264118.1 - 11i : Pasta Pasta Printing Setup Test) to verify that PASTA is configured properly.------------- Test Result Summary -------------
    Total Tests: 1
    Success Count: 0
    Error count: 1
    Test Names Status
    oracle.apps.izu.fnd.diag.FNDPastaDiag Succeeded with Warnings
    ----------- End Test Result Summary -----------
    ============= Test Result =============
    Test Class Name: oracle.apps.izu.fnd.diag.FNDPastaDiag
    Application Code: FND
    Group Name: Setup
    Status: Succeeded with Warnings
    Time: 2010-07-06 11:57:07.0
    Time Consumed: 8154
    Test Version: 115.8
    Tool Version: 115.131
    Install Version: Base: none Upgrade: none
    Mode: 1
    Index: 1
    Tested Class Name Tested Class Version
    oracle.apps.izu.fnd.diag.FNDRequestIDLov 115.4
    oracle.apps.jtf.regress.qatool.base.DBUtility 115.1
    oracle.apps.jtf.regress.qatool.base.DiagBase 115.2
    oracle.apps.jtf.regress.qatool.base.FileUtility 115.1
    oracle.apps.jtf.regress.qatool.base.HRInfo 115.0
    oracle.apps.jtf.regress.qatool.base.OSUtility 115.5
    oracle.apps.jtf.regress.qatool.base.SessionHelper 115.0
    oracle.apps.jtf.regress.qatool.fnd.FNDUtility 115.10
    Input Names Input Values
    Responsibility ID 50300
    Request Id 320444
    Diagnostic Test Executed By SYSADMIN
    Dependent Class Names
    Report:
    Oracle Diagnostics Information Product Installation Status and Patchset Level Parameters
    Generic Tests Language Information Pasta Driver Settings
    Concurrent Node Environment Variables Pasta Viewer Settings to View Bi-Directional Reports Bi-Directional Specific Settings
    Retrieving Log and Configuration Files for Support References
    Database Information [Top]
    Server = rofdbs5
    Version = Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    Name/SID = STAGE
    Language = AMERICAN
    Character Set = US7ASCII
    Application Information [Top]
    Release = 11.5.10.2
    Application = Projects (275) with status of INSTALLED
    Responsibility = RI_Projects Superuser (50300)
    MultiOrg Flag = Y
    Operating Unit = RI Operating Unit (104)
    Security Group = Standard
    Oracle Diagnostics Information [Top]
    Patch Oracle Diagnostics 2.5 RUP A (5914893) is installed
    Patch Oracle E-Business Suite 11i Diagnostic Tools, Nov 2008 - 8.11 (7530017) is installed
    Metalink Document Id = 264118.1
    Product Installation Status and Patchset Level [Top]
    Application Short Name Id Installation Status Patch Level
    Application Object Library FND 0 Installed 11i.FND.H
    Applications DBA AD 50 Shared 11i.AD.I.6
    System Administration SYSADMIN 1 Installed Not Available
    XML Publisher XDO 603 Not Installed 11i.XDO.H
    4 rows retrieved
    Parameters [Top]
    Username = SYSADMIN
    Responsibility = RI_Projects Superuser (50300)
    Request Id = 320444
    Generic Tests [Top]
    Node Information
    Tiers = Admin, Web, Forms, Concurrent
    Pasta Executable Version
    Version = 3.0.4.0(patch
    Oracle Reports Version
    Detected version 6.0.8.28.0 is >= expected version 6.0.8.18
    Language Information [Top]
    Installed Languages
    Language Code Installed Flag NLS Language
    US Base AMERICAN
    1 row retrieved
    Database Character Set
    Database character set = US7ASCII
    Pasta Driver Settings [Top]
    Printer Name = CD1230
    Printer Style = PORTRAIT
    WARNING - Driver PORTRAITHPLJ3-A4 is not defined for pasta printing
    ACTION - For pasta printing please modify printer driver PORTRAITHPLJ3-A4 to have FNDPSTAX as program.
    Reference: Oracle Applications System Administrator's Guide
    Pasta PrintForms
    The printforms feature is not used. To insert a company logo or background image in a concurrent report please refer to PASTA 3.0 Release Information
    Pasta Configuration File
    The pasta executable chooses the non default configuration file defined as a driver argument '-F' using the following rules (in the following order):
    1. Configuration file associated to the specific printer
    2. Configuration file for all the printers
    Current settings
    The PASTA variable is not set
    The file '/stageAPP/stageappl/fnd/11.5.0/resource/pasta_CD1230.cfg' does not exist
    The file '/stageAPP/stageappl/fnd/11.5.0/resource/pasta.cfg' exists
    Configuration file in use = /stageAPP/stageappl/fnd/11.5.0/resource/pasta.cfg
    Concurrent Node Environment Variables [Top]
    NLS_LANG Variables
    Database = AMERICAN_AMERICA.US7ASCII
    OS environment = AMERICAN_AMERICA.US7ASCII
    Concurrent Request = AMERICAN_AMERICA.US7ASCII
    Pasta Environment Variables
    LANG =
    PASTA =
    IX_PRINTING =
    IX_RENDERING =
    APPLLCSP Environment Variable for Bitmap Report Printing
    APPLLCSP =
    Pasta Viewer Settings to View Bi-Directional Reports [Top]
    Bi-Directional Mime Type
    WARNING - The mime type 'apps/bidi' is missing
    ACTION - Create a new mime type as mentioned in the PASTA Users Guide 3.0. See also PASTA 3.0 Release Information
    Profile Options
    Viewer: Application for Text (FS_MIME_TEXT) = null
    Viewer: Text (EDITOR_CHAR) = Browser
    Bi-Directional Specific Settings [Top]
    The current database character set does not require bi-directional settings
    Retrieving Log and Configuration Files for Support [Top]
    Adding file '/stageAPP/stageappl/fnd/11.5.0/resource/pasta.cfg' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    This test cannot get the IX Library configuration file (ixlib.cfg) because environment variable IX_PRINTING is not set. For more information see note Oracle Reports 6i Setup Guide for Oracle Applications 11i
    This test cannot collect the IX Display configuration file (ixlib.cfg) because environment variable IX_RENDERING is not set. See note Oracle Reports 6i Setup Guide for Oracle Applications 11i
    Adding file '/stageAPP/stageora/8.0.6/guicommon6/tk60/admin/uiprint.txt' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stageora/8.0.6/guicommon6/tk60/admin/Tk2Motif.rgb' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stageora/8.0.6/guicommon6/tk60/admin/uifont.ali' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stageappl/fnd/11.5.0/reports/HPP.prt' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stagecomn/admin/log/STAGE_rofdbs5/l320444.req' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stagecomn/admin/out/STAGE_rofdbs5/o320444.out' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Please upload the generated output file (/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip) when creating the service request
    References [Top]
    Note 239196.1 PASTA 3.0 Release Information
    Note 240864.1 Activating and Configuring IX Library
    Note 189708.1 Oracle Reports 6i Setup Guide for Oracle Applications 11i
    If you are experiencing any issues regarding this diagnostic test, please use Metalink to log an iTAR (Service Request) for product "Support Diagnostics Project" (ID=1332).
    If you have any question related to support diagnostic tools (installation, execution, usage or availability), you can ask us using the Support Diagnostics Project forum on Metalink.
    We would also appreciate your feedback regarding the usefulness of this test, however, there will be no replies to feedback emails.
    Error Message: 0 errors and 2 warnings were found.
    Fix Info: Please review the test summary for more information.
    ============ End Test Result ============

  • Customized report in SAP MM

    Dear All,
    I am facing problem in preparing functional specification for a customized report.The requirement details are given below
    MC46 gives me a list of all items that have not got consumed since the last period (defined in terms of 'no of days' on the screen before executing the report) This report  give  a list of items that have shown nil consumption in the defined period. This list helps us analyze and categorize these items as Slow-moving or Non-Moving items. The output is in terms of Part no and Part Description.
    Example; Suppose we are executing the transaction  on say 29.09.2011.The system ,say give list of materials X1,X2 and X3 with nil consumption in the defined. The transactions suppose is again executed
    on 29.10.2011.The report  say again give a list of materials X1 and X3 with nil consumption. The material
    X2 is excluded from the report  as it might have been consumed in certain business processes(either issued to cost center or issued to production).
    The client wants a report from where it is possible to determine a list of materials along with consumption
    and the date on which the  material have moved out of stock for consumption. In otherworldu2019s we can say the report should give :
                        stock on starting  date(say 29.09.2011)
                        Consumption/movement in terms of date and quantity 
    The problem is that when the transaction MC46 is run the next time(say on 29.10.2011 or any day after
    29.09.2011) there might be materials which might have got consumed in the interim period and therefore have got excluded from the latest list. We need to have a look at these interim materials to analyze their movement/consumption.MC 46  Report does not give details of openinf stock, closing stock and the purpose for which the stock have moved out of stock
    The client wants a Z-Report which will give details about the material which have moved out of stock when the report will be executed ,opening stock,closing stock.The detail requirement are given below
    The report will assist the client to get a list   of all such items with reference to a starting date and their movement in the period (period from the starting date to the run date)
    Selection Screen(Input)
    Opening Date
    Closing date
    Movement type
    Plant
    Output
    Material nos(Material which have moved out of stock when the program was last executed)
    Movement type
    Movement date
    opening stock qty
    opening stock value
    closing stock qty
    closing stock value
    I request if any one can assist in preparing functional specifications
    Regards
    Manash Das

    In MC46  we get a report on slow moving items.Suppose we  have  execute dthe report today(19.09.2011) and number of days we put on the selection screen say 400 days.The report will give list of materials say X1,X2 and X3 which have not moved for 400 days.
    We again execute the report today say 19.10.2011.Now the report gives say list of materials X1 and X3 which have not moved for 400 days.Therefore from the period 19.09.2011 to 19.10.2010 X2 material have moved out from the list .The reason may be that it is issued to cost center or issued to production.
    The user tried to use V look up to get the list of materials which have moved during period 19.09.2011 to 19.10.2010.The user informed that when he is saving the report in local file the texts are getting saved in text format in excel file and hence he is unable to apply VLOOK up.
    Is there any Tcode in SAP from where i can get the list of missing material Or else can someone help me in preparing the functional specification
    Regards
    Manash Das

  • How to add Total Quantity in Inbound and Outbound Delivery screen

    Hi,
    I want to add Total quantity field in Inbound and Outbound Delivery screens.
    In document flow i can see the line item quantities in ALV Format, but if i select Display the totals above the entry check box
    in Change Layout--> Display, i didn't see any totals displayed.
    Please help me on this?
    Regards
    Bhuvana

    Hi
    If the field is a customer field, see BADI 'LE_SHP_TAB_CUST_HEAD'
    Regards
    Eduardo

  • Calculate price on the basis of total quantity of line items.

    Hi,
    I have a scenario.
    One product is selling at premium price to the standard product.When customer buy both premium product and standard product the price break up should be on the total quantity of the both products.
    How to achieve it in SAP sales order?
    debajyoti

    Please have a look at standard 'group condition' functionality, it might solve your problem:
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/1c/8c8b518d8c11d199a30000e8a5bd28/frameset.htm
    You have to carry out some settings for the condition type you want to use:
    SPRO > Sales and Distribution > Basic Functions > Pricing > Pricing Control > Define Condition Types - here choose 'Maintain Condition Types'
    - V_T685A-GRMEN
    - V_T685A-KGRPE
    - V_T685A-GRLNR

  • 'Maintain serial numbers for total quantity error in bapi_goodsmvt_create

    HI Experts,
    I am doing a goods movement programatically by using BAPI_GOODSMVT_CREATE.
    Though I am passing the serial no. for the document item still I am getting an error: 'Maintain serial numbers for total quantity'.
    My code goes like this:
    *-- Read all the items for the item category belonging to the plant
         loop at lt_lips into lw_lips where pstyv is not initial.
    *-- Process the goods movement -  Fill the data
              lw_gmvt-material = lw_lips-matnr.
              lw_gmvt-plant = lw_cat-werks.
              lw_gmvt-stge_loc = lw_cat-lgort.
              lw_gmvt-batch = lw_lips-charg.
              lw_gmvt-move_type = lw_cat-bwlvs.
              lw_gmvt-customer = <st_xvbpa>-kunnr.
              lw_gmvt-s_ord_item = lw_lips-posnr.
              lw_gmvt-entry_qnt = lw_lips-lfimg.
              lw_gmvt-entry_uom = lw_lips-meins.
              lw_gmvt-entry_uom_iso = lw_lips-meins.
             lw_gmvt-ref_doc = xlikp-vbeln.
              lw_gmvt-quantity = lw_lips-lfimg.
              lw_gmvt-base_uom = lw_lips-meins.
              append lw_gmvt to lt_gmvt.
              clear: lw_gmvt.
    BOC for serial numbers
              if lt_ser02 is not initial and lt_objk is not initial.
                clear: lw_ser02,
                       lw_objk.
                read table lt_ser02 into lw_ser02 with key sdaufnr = cvbak-vbeln
                                                           posnr = lw_lips-posnr
                                                           sd_postyp = lw_lips-pstyv binary search.
                if sy-subrc = 0.
                  read table lt_objk into lw_objk with key obknr = lw_ser02-obknr binary search.
                  if sy-subrc = 0.
    *-- Check if serial number is populated
                  if lw_objk-sernr is not initial.
    *-- Fill the serial number table for BAPI movement
                      clear: lw_sno.
                      lw_sno-matdoc_itm = lw_lips-posnr.
                      lw_sno-serialno = lw_objk-sernr.
                      append lw_sno to lt_sno.
                  endif. "Serial number not initial
                  endif. "OBJK read
                endif. "SER02 read
              endif. "SER02 and OBJK is not initial
    EOC for serial numbers
            endif. "Category table read
            clear: lw_cat, lw_lips.
         endloop.
    *-- Execute the BAPI only if item table is filled on the above condition
         if lt_gmvt is not initial.
    *-- Fill the header details
            lw_header-pstng_date = xlikp-erdat.
            lw_code-gm_code = lc_03.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
              EXPORTING
                GOODSMVT_HEADER               = lw_header
                GOODSMVT_CODE                 = lw_code
               IMPORTING
                MATERIALDOCUMENT              = lv_mblnr
                MATDOCUMENTYEAR               = lv_mjahr
              TABLES
                GOODSMVT_ITEM                 = lt_gmvt
                GOODSMVT_SERIALNUMBER         = lt_sno
                RETURN                        = lt_return.
    Please suggest.
    Regards,
    Sangeeta.

    Hi Banerjee,
    Actually we are trying to use the same bapi from se37, we are passing all the details which is required to process the bapi_goodmvt_create. But still the bapi returning the same error what sangeeta got in the above. Can you please guide me how to achieve this.
    how the values has to pass to the Serial Number?
    What exactly meant by Counter Values ?
    Regards,
    Siva

  • Oldest Requisition with total quantity

    I have a report that shows all open purchase requisitions with the quantity to order. What I would like to do is only show the oldest (smalled number) requistion with the total quantity of all the requisitions per material. Is something like this possible?

    Hi,
    Try in the report columns, eg: if you have KeyFig1 in report in columns, just right click an dchekc with the propeties --> Calculate Result as and Calculate single value as options.
    Thanks
    Reddy.

Maybe you are looking for

  • How to restore a Oracle 9i Backup from Sun Solaris to Linux

    Dear all, I am using Oracle 9.0.1. I make a Hot Backup which made by Rman in the Sun Solaris and now, I want to restore this backup to the Linux machine. But in the Linux machine, the database name & path is different from that in Sun Solaris. Does O

  • Premiere Pro CS6 inserts a frame out of sequence

    I'm editing a video (duh) and I see a sudden jog in a clip.  The clip was created in a Canon 5D Mk II.  The jog doesn't show up when I play it as a quicktime, but does show up in the premier sequence.  When I run frame by frame to see what the myster

  • BT "Fixed" my connection now it's 25% slower

    I'm sure I'm not the first and won't be the last to have this issue. I had a problem with my connection where the speed dropped to around 0.3 to 0.5 Mb. Before my issues my connection speed was around 3.2-3.3Mb. Now my speed never goes above 2.36Mb.

  • Is it mandatory to install oracle web logic server along with EM?

    Hello All, I am a new user for EM. i was going through the EM installation with OBE. I found that Web logic server installation is thier along with EM but my question is if i am not monitoring my application (which is SAP) with the help of EM then is

  • How to check for the prerequisite Support pack level

    We are planning to upgrade from 4.7 to ECC6..How can check ,what is minimum support pack level that needs to be maintained in 4.7 for the upgrdade to ECC6. Can i check this in Servrice markrt place .if so please let me know where to check Thanks