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.

Similar Messages

  • 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......

  • FBL5N - in Rule set - It is a Display customer line items

    Dear All,
    We observed that FBL5N - Display customer line items in Standard SoD rule set under function AR07  addressing a risk of S022.
    Unless there are t-codes of FD03 or FB02 this t-code does not allow to change the payment terms of the customer.
    We are having a challenge from the client that FBL5N is a display t-code and why it is there in rule set.
    Has anybody came across this scenario? If yes, what is the underlying risk for this FBL5N independently.
    Is there any SAP Note for this t-code like ME23N from SAP.
    Thanks and Best Regards,
    Srihari.K

    Hi Christian,
    We checked the authorization objects as well enabled in GRC rule set as below:
    F_BKPF_BUK - Docume t Authorization document for company codes - 01 or 02 - Enable.
    Inspite of this access, FBL5N cannot be used to change the document for payment terms and assignments without FB02 t-code
    assignment in the role.
    Independently FBL5N cannot be used for any change or create activity except Display customer line items.
    Please advise
    Thanks and Best Regards,
    Srihari.K

  • How to not to display any line items for val flds values are zero in KE30?

    Dear All,
    In KE30,in one of my reports,  i do not want to display such line items for which all values are zero for all val flds, it should only display the line items for which there is any value, i have tried Zeros hide in KE35 in formatting menu>other format>hide zeros, but unofrtunately it didnt came out.
    Regards
    Rashid
    Edited by: rashinuet on Feb 20, 2012 4:38 PM

    Dear Abhishek,
    I have tried that as well in ke35 and made this option activated on my val flds like sales revenue for hide zero values, but it didnt came out as well, then in i tried ke32 change report >Extras menu>form settings, this adopts all the settings in the report from the form you have assigned, but this is not working, i am failed to understand what has gone wrong.
    Regards

  • All Line Items need to send  in the PO Change EDI IDoC - ORDCHG

    Hi EDI Experts ,
    We have ECC 6.04.
    We are sending PO Change Message Tyep by using Message Type ORDCHG ( Basic Type ORDERS05)
    If PO Changes system trigger IDoc  and in Std IDoc it displays only that Line Item who had been changed .
    Requierment is that  if there is change in any single item, then  sytem should send entire/whole PO document ( all Line Items) .
    I think we need to write some code in teh routine /requierment ...etc.
    Can anyone suggest what I need to do to acehive the above ?
    Thanks
    NAP

    Hello NAP ,
         I have the same problem that you. I ´m using  the message type ORDCHG  with basic type ORDERS05.    when sending change order through Idoc only show me the updete/delete Item in segnment E1EDP01. 
    What object did you use for the message type ORDCHG ?
    What settings should I consider for this?
    Thanks in advance,
    Luis.-

  • 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.

  • Display all valid items and select multiple items

    Let us say I have valid items in table. For each purchase user can select few items from the list. I have to display all valid items from table and user should able to check items to buy. What is the best way we can implement this in forms.
    Thanks, lalitha

    For all the valid items you can create LOV as i understood then user can choose what he wants. But this sentence ti still confusing to me. Or what is the tricky things in you scanerio if only you have to show the valid item then use LOV.
    Lalitk wrote:
    and user should able to check items to buy.-Ammad

  • 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.

  • How to display a line item in the billing calculation ?

    Hi Experts,
    My client requirement is to just display a line item in billing without affecting the total invoice amount. ( line item should just show up, no calculation should be included).
    Regards,
    Farooq

    i agree on the rate step fr the calculation you would like to see the line item check the variant control, it usually has the option to write a line item.  depending on the variant.
    bobby r.

  • BAPI_SALESORDER_CREATEFROMDAT2 ...not updating quantity of all line items

    Hi All,
    I'm using BAPI_SALESORDER_CREATEFROMDAT2  to create a sales order where order type is having multiple line items.
    All the fields are being updated in SAP correctly . But quantity field is updated only for first line item. For all other items, all fields are being updated except quantity. I checked in Debugging and all the values for all line items are coming correct.
    Pls suggest me.
    Thanks in advance..
    Rudresh
    Mumbai

    Hi Rudresh
      Please check if you are passing Schedule lines for the same.
      Itz better if you pass item number for ORDER_ITEMS_IN. Use the same as reference for ORDER_ITEMS_INX, ORDER_SCHEDULES_IN, ORDER_SCHEDULES_INX, ORDER_CONDITIONS_IN, ORDER_CONDITIONS_INX.
    Kind Regards
    Eswar

  • 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'.

  • 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

  • What is Tcode for single delivery for all line items in PO

    Hi all,
    Sorry if it is a simple question, But I am from SD module. What is Tcode to create a single delivery documents for all line items in PO. I have 3 line items with Different materials having diffent quantities and there are different delivery dates and different delivery schedule dates. I need to create single delivery. Could you please tell me how to do it? What is the Tcode?
    Thanks
    Anil

    Hi,
    Inbound delivery T.code :VL31N,
    Regards,
    JS

Maybe you are looking for

  • Workflow notification to multiple users

    Hello, We have developed a custom workflow and XX_APPROVER is the workflow attribute where we pass UserID, to whom notification should be sent and it works fine. But now we need to have that notification sent to multiple users. What is the best possi

  • Validation for FB01

    Hi Guys, I want to write a validation to restrict a specific user from accessing the tcode FB01 and FB02. how can i write the validation in GGB0. Say the user is XYZ , I want to block XYZ from accessing FB01 and FB02 in the validation. Pls suggest. T

  • What color space as base in a brand guide?

    What color space forms the base of a color brand guide? How do you start in terms of color spesifications? When I look at most guides it seems that Pantone is always the base, then CMYK, then RGB and Hex? Is RGB and Hex always gonna be a dithered ver

  • Multi Camera Editing with Matrox CODEC ( VS4 ) Card

    Hello All. Setup I am recording 4 inputs from the Matrox VS4 via Wirecast 4.2 and also tried 5.0 - 1080i @ 100Mbps - All the video footage play perfectly with no problems what so ever - I Have installed the Matrox VFW Software Codecs of a system whic

  • 4G in the mansfield ohio area

    So I read in the paper where the Mansfield, OH area is getting 4G today.   The coverage area is supposed to extend north to Shelby, OH (where I live).  Well I have the samsung droid charge and I don't get any 4G coverage at all.  The map on the websi