Changing other line item by using MIGO_BADI-LINE_MODIFY

Hi,
My requirement is that when user change the receiver field ( goitem-wempf) of the first line item in mat doc. I need to copy that value and copy it to all other items as well.
I try using BADI migo_badi-line_modify and export the value of the first item into abap memory, then import it again to other line. But this solution require user to manually click each line item to trigger method line_modify. 
Is there a way I can change the data in other line item during method line_modify of the first item line.
Thanks for all the help.

Solution found

Similar Messages

  • EXIT to change / add line items during STO PO creation in T.Code ME21N

    Hi
    Can somebody suggest me a EXIT or a BADI  to change / add line items during STO PO creation in T.Code ME21N.
    The requirement is as below.
    When the user enters a material no ( which has a BOM created in CS01), and presses enter or saves the PO, i need to get the sub components of the BOM and populate them as the next line items.
    This is because the user needs to create the delivery with reference to the PO. In the delivery, the BOM material needs to be populated with all the sub components of the BOM.
    I tried to do it using EXIT_SAPMM06E_013 in which i am able to change / add the line items in the XEKPO and YEKPO internal tables. The entries are available in the internal table when the EXIT is executed.
    But when the PO is posted internally, the item is not changed/added.
    Thanks in advance.
    Guna.

    Hi,
    Try BADI "ME_PROCESS_PO_CUST".
    cheers,

  • Change of line item amount in miro

    hi,
    i have a doubt on the change of line item amount field value at PO reference tab in MIRO.
    1) when vendor invoice price higher than PO, although knowing that the price is incorrectly quoted by vendor, we need to change the amount in PO reference tab line item according to invoice?
    2) the difference in point 1 will hit stock account (map) or price difference.
    3) when vendor later on give CN, we need to do subsequent credit.
    4) in subsequent credit, need to create with reference to PO.
    5) we need to change the amount at PO reference item line according to CN?
    thanks

    Hi,
    1) when vendor invoice price higher than PO, although knowing that the price is incorrectly quoted by vendor, we need to change the amount in PO reference tab line item according to invoice? --- Yes you have to change it to Vemdor invoice amount
    2) the difference in point 1 will hit stock account (map) or price difference. --- Yes
    3) when vendor later on give CN, we need to do subsequent credit. -
    Yes with ref to PO
    4) in subsequent credit, need to create with reference to PO. -
    Yes
    5) we need to change the amount at PO reference item line according to CN? -- yes.
    Other Option
    You can use invoice reduction - System will create Inoice and credit memo in the same document.
    SPRO Steeting require :
    1. G/L account should be assigned to RKA trnsaction ket in OBYC.
    2. Document type KG  should be defined in Transaction code MIRO in customizing for doucment type invoice verification / Valuation in SPRO.
    3. Number range should be defined for Doc type KG.
    Regards,
    Shailesh Mackwan

  • PO printout is not coming after changing only line item Delivery Address

    Hi
    Can anybody suggest a solution for the problem?
    Using ME22N , if I change the line item delivery address details to the already generated manual address number ( Not generated using Transaction MEAN)
    If I save the PO then PO Printout is not coming but output message log showing " No print-relevant changes to document XXXXXXXXX exist"
    We can read CDHR and CDPOS table for changes .
    Is there a way to pass the parameter to the print program to Print the changes?
    Thanks
    sanath
    Edited by: sanath kumar sarvepalli-venkata on Nov 2, 2010 11:23 PM

    Hi,
    In IMG - Materials Management- Purchasing-Messages - Fields relevant to Print out of changes
    Enter Table EKPO , Reference Field LOEKZ, tick on change print relevant for purchase order,in routine enter 03.
    Now your Output will be triggered with a change indicator and you can process it using ME9F.
    Regards
    Chandra Shekhar

  • How to change the line item storage location during the sales order creatio

    How to change the line item storage location during the sales order creatio

    Hi Kumar,
    I think you can just delete it in the sales order directly, if you are using make-to-order scenario, then there will be special stock left for the sales order as the production has been goods receipt, you need to use MM transaction move the stock to unrestricted use stock. If you are using make-to-stock scenario, there should be no further problem. If you are using assembly order, please try to reject the sales order item to see if it could fullfill your requirement.
    Regards,
    Rachel

  • How can create and change PCA line items.

    How can create and change PCA line items.
    Please tell me the process and t.codes.

    If you are in version < 4.7 ee then use 9KE0 tcode for passing profict center entries or trasnafer of balances from one profit center to another.
    If you are in new GL regular FI entry like FB50 will hold good for account types "S"

  • How to update PO Price only for a single line item and not other Line Item

    Hi
    My requirement is not to update Price of PO from PIR if the Final Invoice Indiactor is not set and it is not a return PO. I am trying to do this using
    BAPI_PO_CHANGE to update price automatically from Pricing record using
    POITEM-PO_ITEM = '00001'
    POITEM-CALCTYPE = 'B'.
    POITEMX-PO_ITEM = '00001'
    POITEMX-CALCTYPE = 'X'.
    The price gets updated for the line item 1 as well as other line item which I do not want. Please can you tell how to restrict that.
    Is it possible to restrict through configuration if this indicator is set there should be no price update. I tried to check in ME22n and if I update the condition item by pressing the update button the other item price also gets updated.
    Thanks
    Arghadip

    Timestamp is date and time together in one field..
    Search for data element TIMESTAMP.
    If you are getting this in your table.
    If you are getting time and date in different fields then you can use the function module
    given below....
    CALL FUNCTION 'DELTA_TIME_DAY_HOUR'
      EXPORTING
        t1            =
        t2            =
        d1            =
        d2            =
    IMPORTING
       MINUTES       =
    Then you can convert minutes into seconds..
    Function module credit to BrightSide it works....but only it will give difference in minutes
    Regards,
    Lalit Mohan Gupta.

  • WH  tax line items cleared along with Other line items Message no:8I701

    hI guru,
    When i run J1INCHLN  System givem the error is : Withholding tax line items cleared along with other line items, message no:8I701
    Pleas any one give solution ..
    I also cheked as respective g/l for tds IN FBL3N . All line items are opend.
    Also cheked all selection parameter in J1INCHLN  and FBL3N .is same .
    Why the sys behaviour like this .
    Thanks is andvance
    Milind

    HI,
    he error is occuring in this part of the
    unction Module J_1IEWT_CHALLAN_UPDATE
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    LOOP AT p_t_ausz1.
    Select the cleared line item from bseg table.
       SELECT SINGLE * FROM bseg INTO  p_bseg_tab
                WHERE bukrs = p_t_ausz1-bukrs
                AND   belnr = p_t_ausz1-belnr
                AND   gjahr = p_t_ausz1-gjahr
                AND   buzei = p_t_ausz1-buzei
                AND   ktosl = 'WIT'
                AND   qsskz NE space .
       IF sy-subrc <> 0.
    This is not an ewt clearing transaction relevant for challan update.
         p_no_with_clear = 'X'.
         EXIT.
       ELSE.
         APPEND p_bseg_tab.
       ENDIF.
    ENDLOOP.
    Even if one line item chosen is not of withholding tax entry, system
    should exit by error message.
    DESCRIBE TABLE p_bseg_tab LINES  p_bseg_lines.
    DESCRIBE TABLE p_t_ausz1  LINES  p_with_lines.
       IF p_bseg_lines > 0.
    At least one entry is found in bseg table for challan update.    IF p_with_lines NE p_bseg_lines.
    At least one line chosen by the user is not for challan updation.
          MESSAGE e701(8i).
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.
    This is a clear case,that you are trying to post some documents
    which does not match with the selection parameters.
    I feel the above problem could be due to some document/s (open items of
    the earlier years)are incorrect which is causing the reported problem.
    Kindly run the challan update program for smaller date range so that you
    can find the faulty document.
    Hope this solves your query.
    Reg
    Madhu M

  • Withholding tax lines are being cleared along with other line items

    Hi All,
    While doing J1INCHLN(payment making of TDS), system giving error i.e.
    "Withholding tax lines are being aleared along with other line items"
    Please suggest me in this issue...it would be great help for me.
    Thanks,
    Saisri

    Hi,
    As per my analysis we found some documents, here We have made advance payment to vendors with TDS and again rised invoce to vendors with TDS and these documents have been nockedoff in F-54.
    We have many documents of such nature and as per me it is because of these documents  the system is throwing error. Pls. advice as to how to proceed on this.
    Thanks,
    Saisri

  • Field Population in other line item level in Intercompany process

    Hi Experts,
    We are configuring SAP inter company process in my client.Requirement is when user post one line item with Profit center or business area that should automatically come to the other line items which SAP automatically generates as a process of SAP .
    intercompany.
    Can anyone help me to how to populate profit center or business area in SAP automatic generated entries??
    Ps- We configured SAP inter company settings and able to Generate inter company entries in affiliate company codes.
    Thanks !

    Dear,
    Below mentioned enhancment will create a new tab strip in the detail screen of service entry
    SRVDET              User screen on tab strip of service detail screen
    Create one project in CMOD, then assign the enhancement
    Calling screen  No.  Area     Called screen   No.  Short Text
    SAPLMLSP        0220 SUSCUSER SAPLXMLU        0299
    New field should be added in the include structure CI_ESLLDB
    Desgin these new fields in screen 0299 of program SAPLXMLU.
    Put your code in FM
    EXIT_SAPLMLSP_040              Transfer of Data to Detail User Screen
    EXIT_SAPLMLSP_041              Adoption of Data from User Screen
    Regards
    Dillip

  • Withholding tax lines are cleared alongwith other line items (Msg 8I701)

    Hi,
    While processing j1inchln at the time of posting system gives error of Withholding tax lines are cleared alongwith other line items (Msg 8I701)
    regards,
    mahesh

    Hi,
    As per my analysis we found some documents, here We have made advance payment to vendors with TDS and again rised invoce to vendors with TDS and these documents have been nockedoff in F-54.
    We have many documents of such nature and as per me it is because of these documents  the system is throwing error. Pls. advice as to how to proceed on this.
    Thanks,
    Saisri

  • Issue with sorting of TO line item while using LM05 / LM07

    Hi,
    We have found an issue in using LM05 / LM07 trnasactionwhile performing picking activity using the RF transaction.
    1. Transfer Order is created for the same Material and Batch Combination with multiple line items. So when we display the TO the materials appear in the sequence of TO line item say 1, 2, 3, 4, 5 etc.
    2.  When we try to confirm the transfer order using LM05 the system is not picking the line items in the order that the TO was created. It is pickinga a random line item from the order and selecting an item from the lower line items of the TO's.
    We have debugged and found that there is no specific sort sequence which is changing the sequence of line items as all the sort eliments have the same values except that there are few empty fields. The statement where the sort sequence is changing is 'SORT TMP_SORT_TAB BY NLTYP SORLP NLENR MATNR CHARG' but my concern is it is not sorting by this sequence specified in the code after execution.
    If anyone has seen this kind of an issue and has a solution please let me know.
    Thanks in Advance,
    Harish

    As for std SAP ME59N - make sure there is not rounding value is activated in the Material master as well as info record
    If this is not the case than check any custom code is activated for ME59N
    becuase generally in many compnay when they use ME59n they don't want the same material from diff PR to create the diff line item in the PO so using the custom logic in the user exist they trick the code
    it might be the case for you where you have issue.

  • Changing  Vendor Line item text @ FB03

    Hi Gurus,
       When running MEB4 (Rebate Settlement) it'll create Accounting Entries that can be seen @ FB03... My problem is how to change the vendor line item text at FB03 upon running MEB4.
    Thanks in advance

    Hi,
    You can use FB02 to change the vendor line item text.
    Regards,
    Vinod

  • User-exit that triggers everytime I change a line item and change condition

    Hello Experts,
    We are encountering an error wherein when we create a return order with reference
    to an invoice and we create multiple line items with the same material, the succeeding
    line items points to the wrong conditions in the reference invoice. Below is an example:
    Original Sales Invoice 3010002390
    Line Item No.     SKU          Quantity     Total Rebate Discount          Per Unit Rebate Discount
    10          100315          10               128.07                    12.81
    20          106666          10               128.07                    12.81
    30          100338          10               243.86                    24.39
    Return Order 1120000402  (repeatedly created with reference to the same sales invoice number)
    20          106666          1               12.81                    12.81
    30          106666          1               24.39                    24.39
    For Return Order line 30, it should have picked the price 12.81 instead it picked 24.39,
    which is the same line item with the original sales invoice.
    I am using user-exit 'USEREXIT_NEW_PRICING_VBAP' and it triggers everytime I change the quantity of a line item.
    But I tried to change the values in XKOMV and put 'U' in UPDKZ but it doesnt reflect when I view it.
    Hope you can help me guys. Thank you and take care!

    Thanks anyways...

  • ME22N : Change PO Line item to Display Mode, After All quantity has GRN

    Hi Experts,
    In ME22N,  PO change mode if the line item has checked with 'Delivery Completed' Indicator in 'Delivery' tab I want to shows that row always in 'Display' mode. Please help me to modify that table control within the exit. I'm using,
    Enhancement : MM06E005
    Exit Name : EXIT_SAPMM06E_012
    Regards,
    Rajasekaran.S

    Hi Raja,
    Think that this is a late reply but might be helpfull to others.
    To make an item in display only mode you will have to create an enhancement implementation in the below method,
    Class --> CL_TABLE_VIEW_MM
    method -->MODIFY_SCREEN_TC_LINE
    in implicit enhancement at the end of this method i code as below.
    data : lv_ekpo type ekpo.
    if <DYN_DATA> is assigned.
    move-corresponding <DYN_DATA> to lv_ekpo.
    if lv_ekpo-XXX is not initial.
    loop at screen.
      screen-input = 0.
      modify screen.
      endloop.
    endif.
    hope this helps.
    If you have a better solution kindly share the same.
    Regards,
    Taher

Maybe you are looking for

  • Mi Ipod Touch 4th gen dosn't connect to WiFi

    i restart my ipod  i reset the iPod i reset the network settings in gral settings ,even spoke with apple support especialist, my iPod doesn't conect i tried and says can't scan networks, in the settings screen  under the Airplane mode in the WiFi lin

  • Does Firefox "freeze" tabs that are in an inactive tab group to increase performance/save memory?

    Tabs that are in a tab group but are otherwise not in focus occupy the same amount of memory as the tabs that are open. In all probability, this is inefficient. I realize Firefox handles all tabs as one process (as opposed to Chrome's single-process-

  • Query not executing properly

    hi, I am using checkbox in my application which has different lov. suppose there is checkbox sport with lov cricket,football etc. now a user can select more than one value . Suppose user select both cricket and football. user mail address is also sto

  • How to hide one column in Alv if it doesnt contain any value

    Hi,   In alv Grid if one coulmn doesnt conatin any value.I doesnt want to display in ALV grid.Is dat possible. Plz help.

  • How to use setContent() in javamail

    I want to send a mail through Jsp page. My code for to do this is given below.It sends the mail but the problem is that it prints the Html code as it is in the text that is send through mail.. for example if i write message.setText("testing<br>hello"