Combining all line items in one output of material Document...

HI All,
We have created one new output type for the material document.
If we have multiple line items in the material document, the output must be assigned once in the document. But In our case it is assigning for each of the line item. Can any one help how to handle this issue.
Regards
Sukant
Edited by: sukanta patro Chinari on Jan 7, 2010 2:33 AM

Hi,
The issue solved. Needed to add some codes in the routine to restrict multiple assignments. For reference take the help of Routine number 173.
Regards
Sukant

Similar Messages

  • ME21N - new field added and same value posted to it for all line items

    hi all
    i have added new field under item  level in me21n screen.
    data for new filed fetched from tables with values entered in header level material number.
    For one record, it is ok
    but for multiple records, same value is fetched for all line items
    i have written coding in screen exit for 0111
    and function exits EXIT_SAPMM06E_016 and EXIT_SAPMM06E_018
    how to solve
    pl help
    regards
    senthil

    MODULE STATUS_0111 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
      if sy-tcode eq 'ME23N' or sy-tcode eq 'ME23'.
        LOOP at SCREEN.
          if screen-group1 ne 'PCS'.
            screen-input = 0.
            MODIFY SCREEN.
          endif.
        ENDLOOP.
      ENDIF.
      TYPES : BEGIN OF ty_cabn1,
             atnam TYPE cabn-atnam,
           end of ty_cabn1.
      DATA : itab_cabn1 TYPE STANDARD TABLE OF ty_cabn1 INITIAL SIZE 0,
             wa_cabn1 TYPE ty_cabn1.
      TYPES : BEGIN OF ty_cawn1,
        atinn TYPE cawn-atinn,
        atzhl TYPE cawn-atzhl,
        atwrt TYPE cawn-atwrt,
        end of ty_cawn1.
      DATA : itab_cawn1 TYPE STANDARD TABLE OF ty_cawn1 INITIAL SIZE 0,
             wa_cawn1 TYPE ty_cawn1.
      TYPES : BEGIN OF ty_cawnt1,
       pcs TYPE cawnt-atwtb,
        atinn TYPE cawnt-atinn,
        atzhl TYPE cawnt-atzhl,
        atwtb TYPE cawnt-atwtb,
          end of ty_cawnt1.
      DATA : itab_cawnt1 TYPE TABLE OF ty_cawnt1,
             wa_cawnt1 TYPE ty_cawnt1.
      TYPES : BEGIN OF ty_pcs1,
    pcs TYPE cawnt-atwtb,
      atwrt TYPE cawn-atwrt,
      atwtb TYPE cawnt-atwtb,
        end of ty_pcs1.
      DATA : itab_pcs3 TYPE TABLE OF ty_pcs1,
             itab_pcs4 TYPE TABLE OF ty_pcs1,
             wa_pcs1 TYPE ty_pcs1.
      TYPES : BEGIN OF ty_pcsn,
      matnr TYPE ausp-objek,
      ebelp TYPE dynpread-stepl,
      atwrt TYPE cawn-atwrt,
      atwtb TYPE cawnt-atwtb,
      END OF ty_pcsn.
      DATA : itab_pcsn TYPE TABLE OF ty_pcsn,
             wa_pcsn TYPE ty_pcsn.
      TYPES : BEGIN OF ty_ausp1,
         objek TYPE ausp-objek,
         atinn TYPE ausp-atinn,
         atwrt TYPE ausp-atwrt,
       END OF ty_ausp1.
      DATA : itab_ausp1 TYPE STANDARD TABLE OF ty_ausp1 INITIAL SIZE 0,
             wa_ausp1   TYPE ty_ausp1.
      DATA : param_name1(35) TYPE  c.
      DATA: progname1      TYPE sy-repid,
            dynnum1        TYPE sy-dynnr,
            dynpro_values1 TYPE TABLE OF dynpread,
            dynpro_values2 TYPE TABLE OF dynpread,
            field_value1   LIKE LINE OF dynpro_values1,
            ematn1         TYPE mara-matnr.
      if sy-tcode ne 'ME23N' and sy-tcode ne 'ME23'.  "psk
        clear : itab_cabn1,itab_cawn1,itab_cawnt1,itab_pcs3,itab_pcs4,itab_pcsn,itab_ausp1.
        clear : wa_cawn1,wa_cawnt1,wa_pcs1,wa_ausp1.
        if sy-uname eq 'IBM_ABAP'.
          param_name1 = '000000001'.
        else.
          param_name1 = '000000013'.
        endif.
        SELECT atnam
        FROM cabn
        INTO CORRESPONDING FIELDS OF TABLE itab_cabn1
        WHERE atinn  = param_name1.
        select *
        FROM cawn
        into CORRESPONDING FIELDS OF TABLE itab_cawn1
        WHERE atinn = param_name1.
        if itab_cawn1[] is NOT INITIAL.
          SELECT atinn atzhl atwtb
          FROM cawnt
          INTo CORRESPONDING FIELDS OF TABLE itab_cawnt1
          FOR ALL ENTRIES IN itab_cawn1
          WHERE atinn = itab_cawn1-atinn
          AND atzhl = itab_cawn1-atzhl.
        endif.
        if itab_cawnt1[] is NOT INITIAL.
          sort itab_cawnt1 by atinn atzhl.
          loop at itab_cawnt1 INTO wa_cawnt1.
            READ TABLE itab_cawn1 INTO wa_cawn1 with key atinn = wa_cawnt1-atinn
                                                         atzhl = wa_cawnt1-atzhl BINARY SEARCH.
            if sy-subrc eq 0.
           CONCATENATE wa_cawn-atwrt '->' wa_cawnt-atwtb INTO wa_cawnt-pcs.
           MODIFY itab_cawnt FROM wa_cawnt TRANSPORTING pcs.
           wa_pcs-pcs = wa_cawnt-pcs.
              wa_pcs1-atwrt = wa_cawn1-atwrt.
              wa_pcs1-atwtb = wa_cawnt1-atwtb.
              append wa_pcs1 to itab_pcs3.
            ENDIF.
            CLEAR : wa_cawnt1,wa_cawn1, wa_pcs1.
          ENDLOOP.
        ENDIF.
        CLEAR: dynpro_values1, field_value1.
    dynpro_values-FIELDNAME = 'MEPO1211-EMATN'.
    APPEND dynpro_values.
        field_value1-fieldname = 'MEPO1211-ematn'.
        APPEND field_value1 TO dynpro_values1.
        progname1 = 'SAPLMEGUI'.
        dynnum1 = '1211'.
        CALL FUNCTION 'DYNP_VALUES_READ'
          EXPORTING
            DYNAME                               = progname1
            DYNUMB                               = dynnum1
      TRANSLATE_TO_UPPER                   = ' '
         REQUEST                                = 'A'
      PERFORM_CONVERSION_EXITS             = ' '
      PERFORM_INPUT_CONVERSION             = ' '
      DETERMINE_LOOP_INDEX                 = ' '
      START_SEARCH_IN_CURRENT_SCREEN       = ' '
      START_SEARCH_IN_MAIN_SCREEN          = ' '
      START_SEARCH_IN_STACKED_SCREEN       = ' '
      START_SEARCH_ON_SCR_STACKPOS         = ' '
      SEARCH_OWN_SUBSCREENS_FIRST          = ' '
      SEARCHPATH_OF_SUBSCREEN_AREAS        = ' '
          TABLES
            DYNPFIELDS                           = dynpro_values1
       EXCEPTIONS
         INVALID_ABAPWORKAREA                 = 1
         INVALID_DYNPROFIELD                  = 2
         INVALID_DYNPRONAME                   = 3
         INVALID_DYNPRONUMMER                 = 4
         INVALID_REQUEST                      = 5
         NO_FIELDDESCRIPTION                  = 6
         INVALID_PARAMETER                    = 7
         UNDEFIND_ERROR                       = 8
         DOUBLE_CONVERSION                    = 9
         STEPL_NOT_FOUND                      = 10
         OTHERS                               = 11
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    READ TABLE dynpro_values1 INTO field_value1 with KEY fieldname = 'MEPO1211-EMATN'.
        LOOP at dynpro_values1 INTO field_value1 WHERE fieldname = 'MEPO1211-EMATN'.
          clear ematn1.
          if sy-subrc eq 0.
            ematn1 = field_value1-fieldvalue.
          endif.
          if ematn1 is not INITIAL.
            clear : wa_cawn1,wa_cawnt1,wa_pcs1,wa_ausp1.
            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
              EXPORTING
                INPUT  = ematn1
              IMPORTING
                OUTPUT = ematn1.
            select *
            FROM ausp
            INTO CORRESPONDING FIELDS OF TABLE itab_ausp1
            WHERE objek = ematn1
            and atinn = param_name1.
            CLEAR itab_pcs4.
            if itab_ausp1[] is not INITIAL.
              sort itab_ausp1 by atinn atwrt.
              sort itab_cawn1 by atinn.
              READ TABLE itab_ausp1 INTO wa_ausp1 INDEX 1.
              loop at itab_cawn1 INTO wa_cawn1 WHERE atinn = wa_ausp1-atinn AND atwrt = wa_ausp1-atwrt.
                READ TABLE itab_cawnt1 INTO wa_cawnt1 WITH KEY atinn = wa_cawn1-atinn
                                                                atzhl = wa_cawn1-atzhl.
                if sy-subrc eq 0.
                  wa_pcs1-atwrt = wa_cawn1-atwrt.
                  wa_pcs1-atwtb = wa_cawnt1-atwtb.
                  append wa_pcs1 to itab_pcs4.
                  wa_pcsn-matnr = wa_ausp1-objek.
                  wa_pcsn-ebelp = field_value1-stepl.
                  wa_pcsn-atwrt = wa_cawn1-atwrt.
                  wa_pcsn-atwtb = wa_cawnt1-atwtb.
                  APPEND wa_pcsn to itab_pcsn.
                ENDIF.
                clear : wa_ausp1,wa_cawn1,wa_cawnt1.
              ENDLOOP.
            ENDIF.
           clear wa_pcs1.
           read TABLE itab_pcs4 into wa_pcs1 index 1.
           if sy-subrc eq 0.
             EKPO_CI-ZPCS = wa_pcs1-atwrt.
           endif.
          ENDIF.
        ENDLOOP.
        CLEAR: field_value1.
        LOOP at dynpro_values1 INTO field_value1 WHERE fieldname = 'MEPO1211-EMATN'.
          clear wa_pcsn.
          if field_value1-fieldvalue is not INITIAL.
            read TABLE itab_pcsn INTO wa_pcsn with key  matnr = field_value1-fieldvalue
                                                        ebelp = field_value1-stepl.
            if sy-subrc eq 0.
              clear  EKPO_CI-ZPCS.
    *EKPO_CI-ZPCS = wa_pcs1-atwrt.
              EKPO_CI-ZPCS = wa_pcsn-atwrt.
            endif.
          endif.
        ENDLOOP.
       CLEAR: field_value1, dynpro_values1.
       progname1 = 'SAPLXM06'.
       dynnum1   = '0111'.
       field_value1-fieldname = 'EKPO_CI-ZPCS'.
       APPEND field_value1 TO dynpro_values1.
       if ematn1 is not INITIAL.
         clear wa_pcs1.
         read TABLE itab_pcs4 into wa_pcs1 index 1.
         if sy-subrc eq 0.
           EKPO_CI-ZPCS = wa_pcs1-atwrt.
         endif.
       ENDIF.
      endif.
    ENDMODULE.                 " STATUS_0111  OUTPUT
    Function exits:
    ^^^^^^^^^^^^^^^^^
    EXIT_SAPMM06E_016
    ^^^^^^^^^^^^^^^^^
    INCLUDE ZXM06U41 .
    DATA XFISTL LIKE EKPO-FISTL.
    TABLES: ADRC, T001W.
    DATA: PLANT LIKE T001W-WERKS.
    SELECT SINGLE * FROM T001W WHERE WERKS = I_EKPO-WERKS.
    SELECT SINGLE * FROM ADRC WHERE ADDRNUMBER = T001W-ADRNR.
    XFISTL = ADRC-SORT2.
    SET PARAMETER ID 'FIS' FIELD XFISTL.
    * Added For PCS 12.11.2010
    DATA : fs_ekpo type EKPO_CI.
    if sy-tcode = 'ME22N' or sy-tcode = 'ME23N'.
    *  if tekpo-zpcs is INITIAL.
    *    message e000(zmm) with 'PCS Type should be chosen'.
    *  endif.
      loop at tekpo.
        if ( tekpo-ebeln eq i_ekpo-ebeln and tekpo-ebelp eq i_ekpo-ebelp ).
          ekpo_ci-zpcs = tekpo-zpcs.
        endif.
      ENDLOOP.
    endif.
    ^^^^^^^^^^^^^^^^^
    EXIT_SAPMM06E_018
    ^^^^^^^^^^^^^^^^^
    INCLUDE ZXM06U40 .
    E_CI_EKPO-ZPCS = EKPO_CI-ZPCS.
    E_CI_UPDATE = 'X'.

  • Can it not possible that i can retrive it for all line items in a single qu

    I have to make report for my application in which I am facing a following problem:
    In the application there are multiple suppliers and each supplier having multiple line items and each item having multipale events. each evant having three status GREEN,RED and BLUE.
    When a user select 'all suppliers' to show the the status time span for a supplier (i.e. for a supplier how many parts and upto how much time parts are in blue, red and green status)
    to show the cumulative status time span I have to find out a event for each line item which is having nearest lower entry time from the lower part of the given time span.for this i have write following query
    SELECT * FROM parts_events
    WHERE vendorid = ? AND partid = ?
    AND visible = 'visible' AND active = 1
    AND entrytime = (SELECT MAX(entrytime) as
    entrytime from parts_events
    WHERE vendorid = ?
    AND partid = ?
    AND entrytime < ?
    AND visible = 'visible'
    AND active = 1)
    the problem is that i have to fire this query for each line item, can it not possible that i can retrive it for all line items in a single query?

    maybe if you can post some sample data and output will help us analyze more youre requirement.

  • Production order from sales order with multiple line item(for one material)

    Dear Gurus,
    I am working in MTO scenarios. If there is several line item in a sales order for one material, multiple production order( same as no. of sales order line item) is getting created against each of the line item.My requirement is,since the material code is same in each line item and sales order is one, one production order should be generated for all line item. please tell me how to do it.
    (Here for one material, multiple line item is required for some specific reason)
    Regards
    Rajib Pathak

    Hi,
    This is not possible.
    In Std SAP will create one production order for one sales order. The stock is also allocated to thet particular sales order only. Because each and every sales order may vary in any one of the parameters. Considering this, SAP has designed like this.
    Regards,
    V. Suresh

  • Which all tables suffice all line item GL data requirements

    Please clarify this requirement for Line Item Data from  New GL. my client BMW Inc have configured  New GL in ECC 6.0  if i pull all the records to BW from FAGLFLEXA (Line Item Table) is that sufficient to meet the <b>all line item GL data</b> or is there any other tables missing that also shall be combined to bring the Line item GL  data. Please help me for this if u can check with any of your friends in FICO.  
    2. I have seen that BSEG AND BKPF are used earlier in old FI  versions so what is there now in New GL ECC 6.0 that will suffice for these BSEG AND BKPF  or still i have to pull records by using these tables. for GL Line Item Data.
    If you can help me to give the short  overview of  New GL posting process it would be great.
    Thanks
    Regards
    Soniya Kapoor

    Hi Soniya,
    FAGLFLEXA & FAGLFLEXT would contain all FI line item
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/a8/e26840b151181ce10000000a1550b0/content.htm
    Pls assign points as way to say thanks

  • Open status of Credit Memo after rejecting all line items

    Dear Gurus
    I am facing a problem. In my company we are using 2 credit memo types. One is CR and other ZCR (Copy of CR). I have tried both but both have same problem. I have also tried creating credit memos with reference to billing document, sales document and without reference also but the issue is same.
    Problem is this we create credit memo with VA01 and post it with VF01. After posting if we cancel its posting with VF11 and reject the line items in VA02 the status of credit memo remain open. Cancellation documents are ok and completed but only credit memo in VA02 remain open even after rejecting all line items.
    I have checked incomplete log of sales document type (CR and ZCR) in VOV8 and item types (G2N) in VOV7. All fields which are defined in incompletion log are there in document header and item.
    Following is the copy paste data of Header Status tab
    Overall status       Open
    Rejection status     Everything rejected
    Credit status        Not performed
    Bill.stat.order-rel. Not invoiced
    Overall blkd status  Not blocked
    Header data     Complete                   Item data       All items complete
    Header dlv.data Complete                 Item deliv.data All items complete
    Header bill.dat Complete                   Item bill.data  All items complete
    please help.

    dear sir
    if you mean to say to check Reason for rejection's settings in OVAG i have checked it and all rejection reasons are being in use in all other sales documents too. They are working fine in all other sales document. Issue is only in these two credit memos types.
    Assigned by the System (Internal)
    Delivery date too late
    Poor quality
    Too expensive
    Competitor better
    Guarantee
    Unreasonable request
    Cust.to receive replacement
    Transaction is being checked
    These are reasons and Stat column is empty for all. Other 3 columns have no tick in any reason.

  • Restrict system from doing re-confirmation of all line items in SO

    Hello SDNs,
    When we change the quantity of one line item, system is going for re-confirmation of all line items.
    when there are multiple line items, it is having perfomance problem. Now we want to change this to go for re-confirmation of only the changed line item. Please suggest me how to move ahead.
    Regards
    Hari

    Hi,
    what you are willing to implement is not a supported functionality in the current Yard management.
    If this is not yet the case, I would encourage you to open a SAP Customer message so that your question gets checked and analysed at development support.
    BR
    Alain

  • Payment Term to appear compulsorily in all line items

    Hi All,
    There is a requirement from the client that payment term should appear compulsorily in all line
    items in FBL5N.
    To make the above possible one solution proposed is that to make payment term as a required
    entry in field status group of customer GL reconciliation account , and make payment term optional in Field status of  the following posting keys which is now suppressed
    05- Outgoing Payment
    07- Other Clearing
    15- Incoming payment
    17- Other clearing
    18- Payment Clearing
    Are there any drawback if we go ahead with the above configuration, or is there any better solution. Please get back immediately as its an urgent requirement.
    Regards
    Milind Nair

    hello,
    Isnt there anyone who can provide a solution.
    Regards
    Milind Nair

  • Sum of all line items and display at the bottom of the page

    Hi ABAPers,
    I am displaying line items in the main window based on PO number ....and I've a coloumn Total amount.
    My requirement is after the line items , the  grand total which is the sum of all line items has to be displayed.
    Is this possible. If so, can anybosy help me in that.
    thanks in advance

    Hi ,
    It is possible.
    For that u have to do  following
    take one variable of same type on which you want to calculate total  ... declare in global variable
    double click in the table  goto the calculation tab in that give the variable on which u want to calculate total
    print in the total in the  footer of the table ..
    Hope you resolve your problem
    Let me know any concerns......

  • Copy line item text in all line items

    Hi
    My requirement is during transaction, if long text entered in one line item the same taxt should copy to all line item by default. if user want to chane the same for particular line item, it should be changable.
    Is it possible?. If yes, please revert in detail.
    Regards

    Hi Devi,
    If you put a plus sign in the text field, the system copy the previuos line text into the current field.
    Of course you can change it if you want.
    In addition we did a change in our system so the header text is transfered to the lines text when the line text field is empty.
    Regards
    Ofer

  • Printing In Main Window in Smartform After All Line Items

    Hi All.
    I have this requirement wherein I have to Print Export Charges in main window , below all the line items.
    There is a loop on line item tables and I am printing all line items in the main window.
    How to print this export charges after all the line items?
    Points are assured !!!!

    Hi,
    Create two row line in the main area of the table. First one for line items and the next for the export charges.
    Hope this ll help u.
    (Sorry, this ll print export charges after every line items, try to print the export charges in the footer of the table.)
    Regards,
    Prabhu
    Edited by: Prabhuraj Krishnan on Apr 15, 2008 11:05 AM

  • Display all line items.

    Dear Friends,
    I develop to new screen in this screen having table control.  Table control fields I taken a table fields of ZMDISP_ITEM table fields. but I call to this table control I want to directly display ZMSAMP_ITEM fields in our table control table. I given below coding. In this coding only one line item displayed. what can i do please help me any body.
    SELECT SINGLE * FROM ZMRECIPT_ITEM  "INTO TABLE IT_REC_ITEM
                              WHERE ( BUKRS = P_BUKRS AND ZYEAR = P_YEAR AND RECREFNO = P_RREFNO ).
              IF SY-SUBRC = 0.
                ZMDISP_ITEM-RECREFNO  = ZMRECIPT_ITEM-RECREFNO.
                ZMDISP_ITEM-BUKRS     = ZMRECIPT_ITEM-BUKRS.
                ZMDISP_ITEM-LOTNO     = ZMRECIPT_ITEM-LOTNO.
                ZMDISP_ITEM-SMPCODE   = ZMRECIPT_ITEM-SMPCODE.
                ZMDISP_ITEM-CDDATE    = ZMRECIPT_ITEM-CDDATE.
                ZMDISP_ITEM-LOTQTY    = ZMRECIPT_ITEM-LOTQTY.
                ZMDISP_ITEM-MEINS     = ZMRECIPT_ITEM-MEINS.
                ZMDISP_ITEM-VARCD     = ZMRECIPT_ITEM-VARCD.
                         clear zmrecipt_header.
                CALL SCREEN '0001'.
    populating Dispatch item details
        SELECT * FROM ZMDISP_ITEM INTO TABLE IT_DISP_ITEM
                       WHERE ( BUKRS = P_BUKRS AND ZYEAR = P_YEAR AND RECREFNO = P_RREFNO ).
        CLEAR P_RREFNO.
       V_RREFNO = ZMDISP_HEADER-RECREFNO.
        IT_DISP_ITEM-RECREFNO  = ZMDISP_ITEM-RECREFNO.
        IT_DISP_ITEM-BUKRS     = ZMDISP_ITEM-BUKRS.
        IT_DISP_ITEM-LOTNO     = ZMDISP_ITEM-LOTNO.
        IT_DISP_ITEM-SMPCODE   = ZMDISP_ITEM-SMPCODE.
        IT_DISP_ITEM-CDDATE    = ZMDISP_ITEM-CDDATE.
        IT_DISP_ITEM-LOTQTY    = ZMDISP_ITEM-LOTQTY.
        IT_DISP_ITEM-MEINS     = ZMDISP_ITEM-MEINS.
        IT_DISP_ITEM-VARCD     = ZMDISP_ITEM-VARCD.
    APPEND IT_DISP_ITEM.
    Regards
    Sreelakshmi.

    Dear Friends,
    I develop to new screen in this screen having table control. Table control fields I taken a table fields of ZMDISP_ITEM table fields. but I call to this table control I want to directly display ZMRECIPT_ITEM fields in our table control table. I given below coding. In this coding only one line item displayed. what can i do please help me any body.
    SELECT SINGLE * FROM ZMRECIPT_ITEM "INTO TABLE IT_REC_ITEM
    WHERE ( BUKRS = P_BUKRS AND ZYEAR = P_YEAR AND RECREFNO = P_RREFNO ).
    IF SY-SUBRC = 0.
    ZMDISP_ITEM-RECREFNO = ZMRECIPT_ITEM-RECREFNO.
    ZMDISP_ITEM-BUKRS = ZMRECIPT_ITEM-BUKRS.
    ZMDISP_ITEM-LOTNO = ZMRECIPT_ITEM-LOTNO.
    ZMDISP_ITEM-SMPCODE = ZMRECIPT_ITEM-SMPCODE.
    ZMDISP_ITEM-CDDATE = ZMRECIPT_ITEM-CDDATE.
    ZMDISP_ITEM-LOTQTY = ZMRECIPT_ITEM-LOTQTY.
    ZMDISP_ITEM-MEINS = ZMRECIPT_ITEM-MEINS.
    ZMDISP_ITEM-VARCD = ZMRECIPT_ITEM-VARCD.
    clear zmrecipt_header.
    CALL SCREEN '0001'.
    populating Dispatch item details
    SELECT * FROM ZMDISP_ITEM INTO TABLE IT_DISP_ITEM
    WHERE ( BUKRS = P_BUKRS AND ZYEAR = P_YEAR AND RECREFNO = P_RREFNO ).
    CLEAR P_RREFNO.
    V_RREFNO = ZMDISP_HEADER-RECREFNO.
    IT_DISP_ITEM-RECREFNO = ZMDISP_ITEM-RECREFNO.
    IT_DISP_ITEM-BUKRS = ZMDISP_ITEM-BUKRS.
    IT_DISP_ITEM-LOTNO = ZMDISP_ITEM-LOTNO.
    IT_DISP_ITEM-SMPCODE = ZMDISP_ITEM-SMPCODE.
    IT_DISP_ITEM-CDDATE = ZMDISP_ITEM-CDDATE.
    IT_DISP_ITEM-LOTQTY = ZMDISP_ITEM-LOTQTY.
    IT_DISP_ITEM-MEINS = ZMDISP_ITEM-MEINS.
    IT_DISP_ITEM-VARCD = ZMDISP_ITEM-VARCD.
    APPEND IT_DISP_ITEM.
    ZMRECIPT_ITEM table data strored 5 line items. but i want to getting in my table control ZMRECIPT_ITEM table data of all line items. Table control fields are in zmdisp_item fields.
    zmreceipt_item fields and zmrecipt_item_fields are same.
    Regards.
    Sreelakshmi.

  • Required all line item on a single Invoice

    Dear Guru's,
    My user required all line item (e.g :10)on a single invoice,currently  he is getting 4 line item on a single page,he is getting his invoice on 3 pages instead of 1 page.
    Pls provide us the solution asap.
    Thanks In advance.
    VJ

    Dear VJ
    Sorry not clearly explained.  Assuming that in a delivery you have 4 line items and you want one invoice for this.  Presently, for u, line item wise one invoice is creating.
    If my understanding is correct, go to VTFL, select the delivery type and billing type and choose the item category.  There for the field Data VBRK/VBRP maintain routine 007.  Of course, you can also maintain 003 or 006, but at a later date, if you want club multiple deliveries to one invoice, then these two routines will not work.
    thanks
    G. Lakshmipathi

  • How to copy line items from one expense report to the next

    I travel to the same project/destination every week so in PR05, I was able to just copy the previous expense report for the new week and edit the expense values. Now, when I book travel, the air line booking starts a new expense report entry.
    Is there a way to copy the employee-paid expenses to the GetThere-generated trip entry expense report, i.e. just copy the line items from one expense report to another that already exists. I guess that would be a merge function.

    Hi Tom,
    Here are two alternative solutions:
    Alternative 1:
    If you copy the expense report before you book the services (flight, hotel …)
    in GetThere, then the airline or hotel bookings will not start a new expense
    report but will be assigned to the copied expense report.
    Alternative 2:
    This alternative is a bit laborious.
    Shift the start date and end date of the expense
    report  that was automatically created by
    your flight booking for next week (e.g. Calendar Week (CW)  47) to the week after next week (e.g. CW 48).
    Copy the expense report of the previous week (e.g.
    46)
    Afterwards open the expense report that you
    moved to CW 48 and click on the tab strip itinerary
    Now assign the bookings (flight, hotel …) to the
    expense report of CW 47 by clicking on the button assign to existing trip
    Later delete the expense report in CW 48
    Get back to me if you have any questions concerning the alternatives outlined
    above.
    Note:
    These solution alternatives are only available for customes using HTML5 UIs.

  • How do I combine all my calendars into one and delete the others?

    I have a work computer, a home desktop, and Apple air laptop and an 1phone 4s.
    I use Outlook calendar for all my appointments and only need one calendar.
    When I get notifications of my upcoming events on the Oulook page and on my iphone, I get multiple notifications, sometimes as many as 6 times.
    How can I combine all my calendars into one and delete the others?

    Your old account is the one you migrated, but it has been renamed because the new account had the same name. "Fixing" this is a bit complicated. It is possible to transfer data from one account to the other. See Transferring files from one User Account to another.
    A cleaner solution is to do this:
    Create a temporary new admin user account with a completely different username.
    Log into this new account.
    Delete the new account you created before migrating.
    Delete the old account you migrated that has the changed name.
    Re-migrate your old account from the Mini.
    Log into the newly migrated account and delete the temporary account.
    And, the simplest solution is to use the migrated account as-is and delete the account you originally made on the new computer.

Maybe you are looking for