Key Reports for Customers (Follow-Up from P2P)

Currently, we are working intensively on enhancing the reporting area in B1 and XL Reporter. Our ambition is to reach a situation where most of the required reports will be installed automatically. We would like to know your opinion about your preferences and our directions.
This thread is continuation from 'Key Reports for Customers' <a href="http://p2p.sap.com/businessoneforum?type=join&login=1&uid=41FB661A76CED536C825C4E2B6FF4397&cid=91&go=z37225">discussion</a> in P2P SAP Business One Forum (Product Development Collaboration). Previous discussion on P2P is summarized in the attached file.

Key reports not readily available at present for customers with multiple locations are sales by branch, purchases by branch, open orders by branch (sales and purchases), the ability to group sales persons by branch for reporting by salesperson to branches.
The ability to report opportunties in XL Reporter by region / territory is one we are often asked for, and this would extend to sales by territory (not necessarily the same as branch)

Similar Messages

  • Annual Tax Report for Customers/Vendors

    Hello,
    I am trying to use S_ALR_87012379 report but it does not exist in 6.0 release (it appears in 4.5 release)
    Is there any other report to obtain "Annual Tax Report for Customers/Vendors"?
    Thank you very much

    Hello,
    I have tried S_ALR_87019598 and S_ALR_8709598 and they do not exist.

  • Genearate a Report for the following data

    Hi All
    The following is of my requirement
    <b>Selection Screen Should be as follows:</b>
    Plant (required) <b>QALS-WERK</b>
    Storage Location <b>MCHB-LGORT</b>
    Material Number  <b>QALS-MATNR</b>
    Batch Number    <b> MCHB-MATNR</b>
    MRP Controller   <b>MARC-DISPO</b>
    Inspection Lot Number <b>QALS-PRUEFLOS</b>
    Inspection Lot Creation Date <b>QALS-ENSTEHDAT</b>
    Inspection Lot Origin <b>QALS-HERKUNFT</b>
    PO Number <b>QALS-EBELN</b>
    Vendor # <b>EKKO-LIFNR</b>
    Goods Receipt Date <b>MKPR-BUDAT</b>
    Delivery Number <b>QALS-KTEXTLOS</b>
    Marked in House Date
    Sterile Load # <b>ZC012-STBAT</b>
    Supplying Plant <b>EKKO-RESWK</b>
    Profit Center <b>QALS-PRCTR</b>
    <b>Radio Buttons for Selection Screen:</b>
    •     Show all stock (not just Q stock)
    •     Show only past due stock (GR Date + GR processing time > today)
    •     Include Serial Numbers
    <b>Fields for report:</b>
    Plant                    <b>QALS-WERK</b>
    STO/PO                    <b>QALS-EBELN</b>
    Delivery/Production Order #     <b>QALS-KTEXTLOS</b>
    Sterile Load #               <b>ZC013-STTYP</b>
    Inspection Lot Number          <b>QALS-PRUEFLOS</b>
    Material               <b>QALS-MATNR</b>
    Old Material                <b>MARA-BISMT</b>
    Serial #s (all serial #s with material      <b>ITOB-SERNR</b>
    batch combination)                    
    Batch                    <b>QALS-CHARG</b>
    Sloc (all SLOCs with Q status items)     <b>MCHB-LGORT</b>                         
    Batch Exp Date               <b>DFBATCH-MHD_IO</b>
    Quantity (in each SLOC)          <b>MCHB-CINSM</b>                    
    Profit Center               <b>QALS-PRCTR</b>
    Date Marked In House          <b>ZTMODE-TDATE</b>
    GR Date                    <b>QALS-ENSTEHDAT</b>
    Expected GR Processing Time     <b>MARC-WEBAZ</b>
    Date Moved to NCMR          <b>MKPF-BLDAT</b>     
    Days in House               System date – ZTMODE-TDATE
    Days in QI          System date - <b>QALS-ENSTEHDAT</b>
    Days from QI         <b>QALS-ENSTEHDAT - MKPF-BLDAT</b>
    Days in NCMR          System date - <b>MKPF-BLDAT</b>
    MRP Controller               <b>MARC-DISPO</b>
    MRP Controller Name          <b>T024D-DSNAM</b>
    Standard Cost               <b>MBEW-STPRS</b>      
    Extended Standard Cost     <b>MCHB-CINSM * MBEW-STPRS</b>
    How we can develop a report for the above, because they havn't given any conditional checking. Supress if any Ztables used.
    i would appreciate if you can send an earliest reply and reward points for the same.
    if any queries just reply me i can clarify.
    Regards
    Prabhu

    Hi Prabhakar,
    Well you can opt for ALV display...
    You want to generate report based on plant data..
    Once the user enters the plant, you can extract the remaining info from table MARA, QALS, EKKO.
    The radio buttons will decide your selection critera.
    I dont think any functional guy will give you everthing spoon feeded. You will have to explore those tables and the relevant fields.
    In case you are finding it to difficult to get the relations between the tables or finding list of tables,
    i shall send u docs which will help u solve the problem.
    Give me ur email id
    Regards,
    Tanveer.
    Mark helpful answers
    Message was edited by: Tanveer Shaikh

  • 1099 report for Customers

    Hi,
    We have a requriement to report 1099 on Rebate Customers, planning to use standard SAP report S_P00_07000134 (RFIDYYWT)
    Have already modified the existing process type US_1099 with output group US1 to include both Vendor and Customer payments. But, the reprot is not pulling the Customer payments yet.
    Also tried to copy the old process type and created the new one just for the customers alone. This time report is providing the output for customers but "Country specific Slection" is missing in Mandatory selection.
    Can anybody suggest what am I missing in the configuration or are there any OSS note for this ??
    Thansk in advance
    Uma

    HI,
    Please refer the below note.
    1549310  Belgium Customer Rebate reporting
    178824   Withholding tax from SD for countries other than
    Regards
    Madhu M
    Edited by: M Madhu on Nov 30, 2011 11:31 PM

  • How to get report for deleted line items from sales orders

    Dear FRIENDS,
    please infirm the t.code or report for viewing the deleted line items from sales ordrers.
    Kindly do the neeedful.
    regards,
    N.M.PAWAR

    Hi,
    With transaction SE16 you can view table CDHDR for header changes and
    CDPOS for item changes. This includes deletion.
    OR
    GO to VA03 - Display Sales order -> Put order no : don't press enterbutton. -> Go to Enviornment -> changes -> You will get details
    Date ItmNo. SLNo Action
    Hope this help please close the thread if answers

  • Using Crystal Reports for customers

    Hi,
    Can you please let me know if customers can use in Crystal reports without VB/C#?
    Where can I find samples with crystal reports?
    Thanks,
    Olga

    Hi Olga,
    >> Can you please let me know if customers can use in Crystal reports without VB/C#?
    >> Where can I find samples with crystal reports?
    Customers can use crystal reports without having VB/C# installed.
    You can find useful information for crystal reports and other business objects (an SAP company) products at the URL: https://boc.sdn.sap.com/product-portal/3
    Hope the information is helpful.
    Thanks & Regards
    Satish

  • Report for moving printer details from one system to another

    Hi all,
    Can we any any report for bringing in a weekly update of list of printer available in one system to another.
    Kindly share your view in this regard.
    Thanks ,
    Subhashini.
    Moderator message: not directly related to ABAP development, please have a look in the Netweaver Admin forum.
    Edited by: Thomas Zloch on Nov 30, 2010 3:12 PM

    Hi Naresh,
    If you are moving Database  alone from SRM amd EP system to another host, you can install the same verision of oracle software used in the source system and take complete offline backup and restore in the target system (new host).
    You can refer note 71254 - Using BRBACKUP/BRRESTORE to copy a database
    for more details.
    If you are moving the entire SAP system, then you have to do the system copy. For more details, refer note
    547314 -  FAQ: System Copy procedure
    Hope this helps.
    Regards,
    Arun.
    Hope this helps.
    Ref

  • Specific Identification Cost for batch managed items (Follow-Up from P2P)

    Specific Identification Cost method is used for serial and batch managed item. Using this method, the outbound cost of such items would be the original cost of specific goods, which can be determined according to the serial or batch number of that item.
    Business One allows the user to receive batch managed items with a batch number that already exists in the DB. It’s possible that the received quantity is added to on-hand quantity in the warehouse. In such case, the quantity on-hand of that batch and the received quantity may have different costs.
    What should be the system behavior in such case:
    1. Block receipts to the same batch with different costs.
    2. Write the difference to a price difference account, as done in Standard Cost method.
    3. Manage the batch cost with Moving Average method.
    This thread is continuation from 'Specific Identification Cost for batch managed Items' <a href="http://p2p.sap.com/businessoneforum?type=join&login=1&uid=41FB661A76CED536C825C4E2B6FF4397&cid=91&go=z37225">discussion</a> in P2P SAP Business One Forum (Product Development Collaboration).
    Previous discussion on P2P is summarized in the attached file.

    Hi Peter,
    This is a very important functionality that you are describing here. For example, in the Steel industry, it could be extremely useful to cost by batch or serial number.
    If you receive a batch that already exists in the system and if the costing method for the product is moving average, then teh cost of the batch should be calculated based on the moving average as well.
    If the costing method is standard, then the cost should go in a variance account.
    If the costing method is FIFO, then it is a getting trickier...
    Regards,
    Vincent

  • Profit Center wise Debit Credit report for Customers

    Hi
        I  want to develop Customer Debit , Credit balance report based on Profit Center in the company. In KNC1 Table I got the required data except Profit Center.In  S_ALR_87012169 Standard report profit Center is taken. I wanted to make output format of my report in the same format of output of mentioned transaction. Please Suggest from which table I have to take  Profit Center and all data of KNC1 table.
    Already Searched in Forum
    Thanks in Advance
    Regard's
    Sai
    Edited by: sai_abap on Aug 24, 2009 5:11 PM

    Hi
    If your requirement is to add the field in report no need to copy the program and change. As per as my knowledge after executing the S_ALR_87012078, select the call up report, and double click on line item report.
    From menu select- settings-special fields then it leads to OBVU(It is cross client Customizition)
    You can add the Table:BSEG, field name:PRCTR -save
    after that you can Run the program RFPOSXEXTEND through SE38
    and please follow the SAP note 984305 for further process
    I saw the thread .I didnt get it.
    will u explain me in detail.
    Thanks in Advance
    Sai

  • Creating a Report for the following Query u0096 Kindly help

    Hi,
    Using selection options we have to give the name of
    1) Sales Organization  -- VBAK -VKORG
    2) Distribution Channel -- VBAK - VTWEG
    3) Division -- VBAK -- SPART
    4) Created Date -- VBAK -- ERDAT.
    Once we select this the following list should be displayed.
    1) Order no. -- VBAK - VBELN.
    2) Created date -- VBAK - ERDAT
    3) Sold To Party -- VBAK - KUNNR
    4) Shipped to party -- VBPA -- KUNNR.
    5) Item no -- VBAP -- POSNR
    6) Material no. -- VBAP -- MATNR
    7) Material Discription -- VBAP - ARKTX.
    The out put should be like this
    Sales Org  : **********
    Dist chan  : **************
    Division    : *********
    Created Date : ********
    Orderno  credate soltopar shiptopar itemno materiano materdes
    and so.
    Also When we click on the order no we should ge the transaction VA03.
    With Select options i was able to get the sales organization distribution channel and division and the when we give the values it is showing Run time errors.
    Kindly help me to proceed further.
    Even if I am able to generate the order list it will be fine. Going on to VA03 I will manage some how  If possible give the syntax for this also).
    Regard,
    Surjith

    Hi,
    Check the below code :
    REPORT  yvic_test_sales.
    TABLES vbak.
    TYPES:
      BEGIN OF ty_sales_data,
        vbeln  TYPE vbeln_va,
        erdat  TYPE erdat,
        kunnr   TYPE kunag,
        oid_ship TYPE kunwe,
        posnr    TYPE posnr_va,
        matnr    TYPE matnr,
      END   OF ty_sales_data.
    DATA : gt_data TYPE STANDARD TABLE OF ty_sales_data.
          CLASS gcl_handle_events DEFINITION
    CLASS gcl_handle_events DEFINITION.
      PUBLIC SECTION.
        METHODS:
              on_link_click FOR EVENT link_click OF cl_salv_events_table
                IMPORTING row column.
    ENDCLASS.                    "gcl_handle_events DEFINITION
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    SELECT-OPTIONS:
    s_vkorg  FOR vbak-vkorg,
    s_vtweg  FOR vbak-vtweg,
    s_spart  FOR vbak-spart,
    s_erdat  FOR vbak-erdat.
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      SELECT  d1~vbeln
              d1~erdat
              d1~kunnr
              d2~oid_ship
              d2~posnr
              d2~matnr
              INTO TABLE gt_data
             FROM vbak AS d1
              JOIN vbap AS d2
        ON d1vbeln = d2vbeln
            WHERE d1~vkorg IN s_vkorg[]
            AND   d1~vtweg IN s_vtweg[]
            AND   d1~spart IN s_spart[]
            AND   d1~erdat IN s_erdat[].
          CLASS gcl_handle_events IMPLEMENTATION
    Subroutine call_transaction will get called
    when user clicks on BELNR (Acounting document) or EBELN(PO)
    CLASS gcl_handle_events IMPLEMENTATION.
      METHOD on_link_click.
        PERFORM call_transaction USING row column.
      ENDMETHOD.                    "on_link_click
    ENDCLASS.                    "gcl_handle_events IMPLEMENTATION
    END-OF-SELECTION.
      PERFORM display_data.
    *&      Form  DISPLAY_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM display_data .
      DATA:
          lo_table         TYPE REF TO cl_salv_table,"table object
          lo_function      TYPE REF TO cl_salv_functions,
          lo_layout        TYPE REF TO cl_salv_layout,
          lo_columns       TYPE REF TO cl_salv_columns_table,
          lo_hotspot       TYPE REF TO cl_salv_column_table,
          lo_events_name   TYPE REF TO cl_salv_events_table,
        lo_click         TYPE REF TO gcl_handle_events,
          ls_key           TYPE salv_s_layout_key,
          lo_sorts         TYPE REF TO cl_salv_sorts,
          lo_aggregation   TYPE REF TO cl_salv_aggregations,
          lo_exception     TYPE REF TO cx_root,"exception object
          l_text           TYPE string." to hold exception message
    create a table object to display result table
      TRY.
          cl_salv_table=>factory( IMPORTING r_salv_table = lo_table
                                 CHANGING  t_table      = gt_data ).
    catch exception
        CATCH cx_salv_msg INTO lo_exception.
    get exception text and display it in message
          l_text = lo_exception->get_text( ).
    Message: & & & &
          MESSAGE i000(zzz) WITH l_text.
      ENDTRY.
    get column object of the table created
      lo_columns = lo_table->get_columns( ).
    FOR HOTSPOT on Doc no
      TRY.
          lo_hotspot  ?= lo_columns->get_column( 'VBELN' ).
          lo_hotspot->set_cell_type( if_salv_c_cell_type=>hotspot ).
        CATCH cx_salv_not_found INTO lo_exception.
    get exception text and display it in message
          l_text = lo_exception->get_text( ).
    Message: & & & &
          MESSAGE i000(zzz) WITH l_text.
      ENDTRY.
      lo_events_name = lo_table->get_event( ).
      CREATE OBJECT lo_click.
      SET HANDLER lo_click->on_link_click FOR lo_events_name.
      lo_table->display( ).
    ENDFORM.                    " DISPLAY_DATA
    *&      Form  CALL_TRANSACTION
          text
         -->P_ROW  text
         -->P_COLUMN  text
    FORM call_transaction  USING    pa_row
                                    pa_column.
      DATA ls_final_data TYPE ty_sales_data.
      IF pa_column = 'VBELN'.
        CLEAR ls_final_data.
        READ TABLE gt_data INTO ls_final_data INDEX pa_row.
        IF NOT ls_final_data-vbeln IS INITIAL.
          SET PARAMETER ID 'AUN' FIELD ls_final_data-vbeln.
          CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
        ENDIF.
      ENDIF.
    ENDFORM.                    " CALL_TRANSACTION
    Reward if helpful..
    Thanks

  • ECC report for sales order status from order entry to Invoice (OTC rpt)

    Dear All.
    Looking to see if there's a standard report or transaction that we can use to review sales order line item status.
    VA05 provides a good view from sales, and VL06O provides a good view from LE, and VF05 provides a good view from billing.
    But there is there something that would list sales orders and show related quantity, open, delivered, billed all in one report?
    Many thanks!

    Thank you Shiva.
    That's what we were thinking as well.  Just wanted to make sure we didn't miss something in case SAP provided a template or customizable program for this.
    Thanks

  • Report for customers

    Hi gurus,
    we have categorised our customers as x, y and z in customer classification.
    We have some customers who fall under x category and y category and z category, no we want a report which shows their order values and invoiced values for a period of time. in mcta we are not able to add customer classification as selection field. in report we want customer classification to be shown so that we can change their categories according to their invoiced values.
    if there is an option in standard report or if i have to write a query what tables are best to get information for a particular customer. please advise gurus and thanks in advance.
    Cheers,
    Nathan.

    Dear Nathan,
    Try with this option I hope it will serve your requirement.
    Go to VC/2 transaction then click on Dynamic selection Icon or press Shift+F4 now system will take you to the additional selection data.
    -->General data in customer master
    -->Customer contact person
    -->Customer master partner functions
    -->Customer master sales data
    Here you go in to the Customer master sales data you double click on ABC Classification now field come to the right side under Dynamic selections tab here you can input customer classification related data then execute now system will give sales report with customer classification details.
    I hope this will help you,
    Regards,
    Murali.

  • I Need A Clasical Report For  The Following Specification Plz

    With out Using any ALVS .
                                                          SALESORDER REPORT
    TABLES : VBAK,
                       VBAP,
                        KNA1.
    INPUT FIELDS :  Sales Document  (RANGE)----
      (vbak-vbeln)
                                  Document Date (Date Received/Sent).(RANGE)----
    (vbak-audat)
                                  Sold-to party (PARAMETERS)----
    (kna1-kunnr)
    O/P FIELDS :
    Sales Document----
    (vbak-vbeln)
    Document Date (Date Received/Sent)----
    (vbak-audat)
    Sales Document Item----
    (vbap-posnr)
    Short text for sales order item----
    (vbap-arktx)
    Material Number----
    (vbap-matnr)
    Cumulative order quantity in sales units----
      (VBAP-KWMENG)
    Requested delivery date----
    (VBAP-CMKUA)
    CUSTMER NUMBER(Sold-to party) -
    (kna1-kunnr)
    CUSTMER NAME -
    (KNA1-NAME1)
    CUSTMER CONTRY----
    (KNA1-LAND1)
    Net Value of the Sales Order in Document Currency----
    (VBAK-NETWR)
    Sales Organization----
    (VBAK-KORG)
    Name of Person who Created the Object----
    (VBAK-ERNAM)
    ================================================================================
    VBAK :
                                                                                    (KNA1-KUNNR)
    Sales Document----
    (VBAK-VBELN)
    Document Date (Date Received/Sent)----
      (VBAK-AUDAT)
      Net Value of the Sales Order in Document Currency----
    (VBAK-NETWR)
    Sales Organization----
    (VBAK-KORG)
    Name of Person who Created the Object----
    (VBAK-ERNAM)
    VBAP:
    Sales Document Item----
    (VBAP-POSNR)
    Short text for sales order item----
    (VBAP-ARKTX)
    Material Number----
    (VBAP-MATNR)
    Cumulative order quantity in sales units----
      (VBAP-KWMENG)
    Requested delivery date----
    (VBAP-CMKUA)
    KNA1:
    CUSTMER NUMBER(Sold-to party) -
    (KNA1-KUNNR)
    CUSTMER NAME -
    (KNA1-NAME1)
    CUSTMER CONTRY----
    (KNA1-LAND1)
    ====================================================================================================
    TABLES : VBAK,
    VBAP,
    KNA1.
    INPUT FIELDS : Sales Document (RANGE)
    Document Date (Date Received/Sent).(RANGE)
    Sold-to party (PARAMETERS)
    O/P FIELDS :
    Sales Document ....... VBAK-VBELN
    Document Date (Date Received/Sent).....VBAK-AUDAT
    CUSTMER NUMBER(Sold-to party)................VBAK-KUNNR
    Net Value of the Sales Order in Document Currency.....VBAK-NETWR
    Sales Organization......................................................VBAK-KORG
    Name of Person who Created the Object..................VBAK-ERNAM
    Sales Document Item ...............VBAP-POSNR
    Short text for sales order item..........VBAP-ARKTX
    Material Number.............................VBAP-MATNR
    Cumulative order quantity in sales units............VBAP-KWMENG
    Requested delivery date.................VBAP-CMKUA
    CUSTMER NAME..................KNA1-NAME1
    CUSTMER CONTRY..........................KNA1-LAND1

    Here is the sample code, please make the necessary modifications...
    REPORT ZTEST LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
    HEADING.
    *TABLES DECLARATION
    TABLES : KNA1, VBAK, VBAP.
    *SELECT OPTIONS
    SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
    *INITIALIZATION
    INITIALIZATION.
    CUST_NO-LOW = '01'.
    CUST_NO-HIGH = '5000'.
    CUST_NO-SIGN = 'I'.
    CUST_NO-OPTION = 'BT'.
    APPEND CUST_NO.
    *SELECTION SCREEN VALIDATION
    AT SELECTION-SCREEN ON CUST_NO.
    LOOP AT SCREEN.
    IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
    MESSAGE E001(ZTJ1).
    ENDIF.
    ENDLOOP.
    *BASIC LIST SELECTION
    START-OF-SELECTION.
    SELECT KUNNR NAME1 ORT01 LAND1 INTO
    (KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
    FROM KNA1
    WHERE KUNNR IN CUST_NO.
    WRITE:/1 SY-VLINE,
    KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    KNA1-NAME1 UNDER 'NAME',
    61 SY-VLINE,
    KNA1-ORT01 UNDER 'CITY',
    86 SY-VLINE,
    KNA1-LAND1 UNDER 'COUNTRY',
    103 SY-VLINE.
    HIDE: KNA1-KUNNR.
    ENDSELECT.
    ULINE.
    *SECONDARY LIST ACCESS
    AT user-command.
    IF SY-UCOMM = 'IONE'.
    PERFORM SALES_ORD.
    ENDIF.
    IF SY-UCOMM = 'ITWO'.
    PERFORM ITEM_DET.
    ENDIF.
    *TOP OF PAGE
    TOP-OF-PAGE.
    FORMAT COLOR 1.
    WRITE : 'CUSTOMER DETAILS'.
    FORMAT COLOR 1 OFF.
    ULINE.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'NAME',
    61 SY-VLINE,
    63 'CITY',
    86 SY-VLINE,
    88 'COUNTRY',
    103 SY-VLINE.
    ULINE.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR SECONDARY LISTS
    TOP-OF-PAGE DURING LINE-SELECTION.
    *TOP OF PAGE FOR 1ST SECONDARY LIST
    IF SY-UCOMM = 'IONE'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'SALES ORDER DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'DATE',
    60 SY-VLINE,
    62 'CREATOR',
    85 SY-VLINE,
    87 'DOC DATE',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR 2ND SECONDARY LIST
    IF SY-UCOMM = 'ITWO'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'ITEM DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'SALES ITEM NO.',
    60 SY-VLINE,
    62 'ORDER QUANTITY',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *END OF PAGE
    END-OF-PAGE.
    ULINE.
    WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
    SY-PAGNO.
    SKIP.
    *& Form SALES_ORD
    *& FIRST SECONDARY LIST FORM
    FORM SALES_ORD .
    SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
    (VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
    FROM VBAK
    WHERE KUNNR = KNA1-KUNNR.
    WRITE:/1 SY-VLINE,
    VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
    40 SY-VLINE,
    VBAK-ERDAT UNDER 'DATE',
    60 SY-VLINE,
    VBAK-ERNAM UNDER 'CREATOR',
    85 SY-VLINE,
    VBAK-AUDAT UNDER 'DOC DATE',
    103 SY-VLINE.
    HIDE : VBAK-VBELN.
    ENDSELECT.
    ULINE.
    ENDFORM. " SALES_ORD
    *& Form ITEM_DET
    *& SECOND SECONDARY LIST FORM
    FORM ITEM_DET .
    SELECT VBELN POSNR KWMENG INTO
    (VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
    FROM VBAP
    WHERE VBELN = VBAK-VBELN.
    WRITE : /1 SY-VLINE,
    VBAP-VBELN UNDER 'SALES ORDER NO.',
    40 SY-VLINE,
    VBAP-POSNR UNDER 'SALES ITEM NO.',
    60 SY-VLINE,
    VBAP-KWMENG UNDER 'ORDER QUANTITY',
    103 SY-VLINE.
    ENDSELECT.
    ULINE.
    ENDFORM. " ITEM_DET
    Regards,
    Pavan.

  • How to design insertion and report for customers

    I develop a web application in which I provide a web interface for inserting a customer. I model this customer as a class and provide its attributes. I have functions like addCustomer that inserts a customer's details in DB and getDetails() that returns a customer's attributes as an array. I have designed this for dealing with a single customer.
    Now I want to list all customers from DB. I think another class should be created with a listing function that has multiple references(multiplicity) for the customer class. It is a easy task to retrieve all customer using a query and display it. But I don't know how to model this. I don't want to create one object for all available customers and display the details of each customer. Then How to model this and how to implement this using classes.
    Can U tell me a resource or article that handles similar task.
    Thanks.

    Hi,
    Create a POJO called customer ( plain java object which represent the persistant data ) and a Customer manager which is reponsible for retrieving a list of customer.
    So the Customer manager will deal with retrieving the customer list.
    Regards,
    Alan Mehio
    London,UK

  • Creating a report for the following Query --Kindly help.

    Here when we use select options
    1) you have to use 4 different "Select Option" Statement to select this Below.
    1) Sales Organisation  -- VBAK -VKORG
    2) Distribution Channel -- VBAK - VTWEG
    3) Division -- VBAK -- SPART
    4) Created Date -- VBAK -- ERDAT.
    The following fields have to be displayed.
    1) Order no. -- VBAK - VBELN.
    2) Created date -- VBAK - ERDAT
    3) Sold To Party -- VBAK - KUNNR
    4) Shiped to party -- VBPA -- KUNNR.
    5) Item no -- VBAP -- POSNR
    6) Material no. -- VBAP -- MATNR
    7) Material Discription -- VBAP - ARKTX.
    By using the select options of Sales organisation, Distribution channnel and so on I am not able to get the out put of the order no , created date , sold to party , shipped to party (Which is in a different tableVBPA) and Item no Material No and material Discription which are in table VBAP.Here I am getting a run time error.
    Kindly help and inform how to code this .
    Also When we click the Order no in the list we have to get the screen VA03.
    Regard

    Hi John,
    Use the following Select statement for Query  :-
    Code A )
    SELECT vbak~vkorg
           vbak~vtweg
           vbak~spart
           vbak~erdat
           vbak~vbeln
           vbak~erdat
           vbak~kunnr
           vbpa~kunnr
           vbap~posnr
           vbap~matnr
           vbap~arktx
           into corresponding fields of table ITAB
           FROM ( vbak INNER JOIN vbap
    ON vbakvbeln = vbapvbeln
    INNER JOIN vbpa
    ON vbakvbeln = vbpavbeln
    WHERE vbak~vkorg IN s_vkorg
    AND vbak~vtweg IN s_vtweg
    and vbak~spart in s_spart
    AND vbak~erdat in s_erdat.
    And Use this part of the code to show the selected Sales order  :-
    code B)
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
    CASE r_ucomm.
    WHEN '&IC1'.
    CASE rs_selfield-sel_tab_field.
    WHEN 'ITAB-VBELN'.
    CHECK NOT rs_selfield-value IS INITIAL.
    SET PARAMETER ID 'AUN' FIELD rs_selfield-value.
    CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
    ENDCASE.
    ENDCASE.
    ENDFORM.
    Award points if useful !
    Regards
    Hrishi

Maybe you are looking for

  • Smart Form problem with address layout

    Hello everyone, I need your help please for a smart form problem. We need the address layout for great britain with street1, street2 etc. but currently street2 is alligned before street1. We are using the FM ADDRESS_INTO_PRINTFORM (SAP standard addre

  • Transfering data between H.Planning applications

    Hi all, I would need some help with transfering (synchronizing?) data between two Hyperion Planning applications. The source application has less dimensions ( just 8) than the destination application (13 dimensions). And we know there is one of the s

  • SRGB Color Profile Appears Dull in All Adobe Applications

    I just installed CS3 in Windows Vista Ultimate x64 on my PC and I have my working color space set as sRGB. The color is dull when opening documents in any Adobe application with the working color space set to sRGB. The color is fixed if I change the

  • My blackberry z30 does not turn on with red light flashing

    hi i have a blackberry z30 , after charging my blackberry z30 it does not turn on and show me a red light blinking 5 times...what i should do? please help. 

  • NI 9213 Stops updating temperature values

    I have a CRIO Chassis NI 9074. It has a NI 9213 in the first slot followed by a NI 9205, NI 9264 and NI 9477. This setup is used to read 16 thermocouples, few flow meters, control few blowers and pumps and turn on/off heaters. When I am using the hea