Changing PO line num in MIGO

How I can change reference on the item of Purchase Order before document in MIGO save?
1. MB_MIGO_BADI-LINE_MODIFY - not working. Field GO_ITEM-EBELN not ready for input.
2. Assign imposible. This data is a private field of class. (SAPLMIGO)LCL_MIGO_GLOBALS=>KERNEL->PT_GOITEM
Any ideas?

Hi ,
u can check the sample code of this BADI
Se18--->BADI name ->display->GOTO->Samle Program/code->Display--->next screen u can select the method  for which u want to see the  sample code.
regards
Prabhu

Similar Messages

  • Inserting/ deleting a line item in MIGO Transaction ( Goods Issue )?

    Hi,
    Can anyone help me with the logic for Inserting / deleting a line item in MIGO Transaction?
    Thanks,
    cs

    Hi
    The following user exits and badis for migo:
    Check the mb_migo_badi and check the method 'LINE_MODIFY' for u r purpose.
    For undestanding see the documentation of the badi and see the example implementation
    class: CL_EXM_IM_MB_MIGO_BADI
                                                                                    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    MB_CF001                                Customer Function Exit in the Case of Updating a Art. Doc.      
    MBCF0011                                Read from RESB and RKPF for print list in  MB26                 
    MBCF0010                                Customer exit: Create reservation BAPI_RESERVATION_CREATE1      
    MBCF0009                                Filling the storage location field                              
    MBCF0007                                Customer function exit: Updating a reservation                  
    MBCF0006                                Customer function for WBS element                               
    MBCF0005                                Article document item for goods receipt/issue slip              
    MBCF0002                                Customer function exit: Segment text in article doc. item                                                                               
    Business Add-in                                                                               
    MB_RESERVATION_BADI                     MB21/MB22: Check and Complete Dialog Data                       
    MB_QUAN_CHECK_BADI                      BAdI: Item Data at Time of Quantity Check                       
    MB_PHYSINV_INTERNAL                     Connection: Core Inventory and Retail AddOn                     
    MB_MIGO_ITEM_BADI                       BAdI in MIGO for Changing Item Data                             
    MB_MIGO_BADI                            BAdI in MIGO for External Detail Subscreens                     
    MB_DOC_BADI_INTERNAL                    BAdIs when Creating an Article Document (SAP Internal)          
    MB_DOCUMENT_UPDATE                      BADI when updating article document: MSEG and MKPF              
    MB_DOCUMENT_BADI                        BAdIs when Creating an Article Document                         
    MB_CIN_MM07MFB7_QTY                     Proposal of quantity from Excise invoice in GR                  
    MB_CIN_MM07MFB7                         BAdI for India Version exit in include MM07MFB7                 
    MB_CIN_LMBMBU04                         posting of gr                                                   
    MB_CHECK_LINE_BADI                      BAdI: Check Line Before Copying to the Blocking Tables          
    ARC_MM_MATBEL_WRITE                     Check Add-On-Specific Data for MM_MATBEL                        
    ARC_MM_MATBEL_CHECK                     Check Add-On-Specific Criteria for MM_MATBEL    
    If it is helpfu rewards points
    Regards
    Pratap.M

  • Change G/L account in MIGO

    Hi experts,
    Could you help me in a couple of doubts?
    How could we change the G/L account in the goods receipt item (using MIGO tcode) to balance account if in the purchase doc item is an expense account? Is there any BADI, exit, customizing,...? I couldn't find anything.
    If we cancel a material document which had created a FI document posted to a balance account, we need to create a CO document too for adjusting the commitment, how is it possible? There should be an enhacement to allow it, but I couldn't find it.
    Many thanks for your help!

    1. You can not change G/L account in MIGO.
    If you want to change G/L account in MIGO, You have to change the account assgnment G/L account field in the relevant purchase order. Then post goods receipt using MIGO transaction.
    2. When a posting is made to balance sheet account in FI, there may not be any CO document. Hence no need post a document in controlling.
    If at all you want post any document using the Corresponding Cost Element(G/L account in FI) use transaction KB11N. But we use this transaction to post Expenses/Costs only.
    Because you are asking for posting of Balance sheet account you might have assigned Internal order or WBS element in your original G/L account line items. If you reverse a FI document with IO or WBS element assinment a controlling document is automatically arised when reverse the original FI document.
    Prasad

  • How to increase the line items against the std no of line items in MIGO

    hi,
    I have PO with more than 100 line items
    During GR system is showing the error message as
    Maximum number of items F1 reached
    What is the standard no of line items in MIGO
    And how to increase the line items
    Is there any notes to apply
    plz give sutable solution
    K.Raghuram

    Do you get message F5727 "Maximum number of items in FI reached"? reason is that in FI the posting line has a three-digit line item number (BSEG-BUZEI).
    SAP's note 117708 provides a modification. I am pasting solution below.
    Via the summarization you can post documents with more than 999 items in
    FI.
    The modification required for this is small, in addition you have to
    change 2 tables. The modification is carried out in FI not in invoice
    verification.
    To activate document summarization in FI proceed as follows:
    - The changes are described in Note 36353 and for the
    modification in Note 77161. You may also have to apply Note
    67640 so that the document summarization affects inventory
    management.
    An advice for the notes:
    36353: Solution point 3: Field name WERKS
    77161: Solution point 2: Maintain table TTYPV with Transaction
    SE16
    - this has the following effects; you can no longer clear the
    GR/IR clearing account on purchase order item level (but only
    on purchase order level) and you can only display the FI data
    summarized (also see Note 36353)

  • BAPI to read and change schedule lines in APO

    Hello experts,
    We want to firm schedule lines inside the firm zone of the APO procurement scheduling agreements with a daily job. For this we are trying to use BAPI BAPI_POSRVAPS_GETLIST3 and BAPI_POSRVAPS_SAVEMULTI3. The getlist one does not return schedule lines, it returns purchase orders and purchase requisitions. Are these the right bapis to read and change schedule lines in APO? or is there anyother one we can use?
    Thanks and regards,
    Ergul

    Hi,
             You can use the below code to read the schedule lines.
    Checking a session exists
        CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
          IMPORTING
            ev_simsession = gv_sims
            es_gen_params = gv_params.
    If not create a new session and read it
        IF gv_sims IS INITIAL.
          CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_CREATE'
            IMPORTING
              ev_simsession = gv_sims.
          CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
            IMPORTING
              ev_simsession = gv_sims
              es_gen_params = gv_params.
          g_cre_chk = 'X'.
        ENDIF.
    CALL FUNCTION '/SAPAPO/CMDS_TPSRC_GET'
        EXPORTING
          iv_ebeln                       = p_l_t_acknh_ebeln
          iv_ebelp                       = p_l_t_acknh_ebelp
        TABLES
          et_tpsrc_all                   = lt_tpsrc
        EXCEPTIONS
          matid_not_found                = 1
          locfrom_not_found              = 2
          locto_not_found                = 3
          scheduling_agreement_not_found = 4
          error_selecting_schedagreement = 5
          OTHERS                         = 6.
      IF sy-subrc = 0.
    reading the scheduling agreement records
        READ TABLE lt_tpsrc INTO ls_tpsrc INDEX 1.
        CALL FUNCTION '/SAPAPO/PWB_BZQID_GET_ORDER'
          EXPORTING
            iv_simid               = '000'
            iv_bzqid               = ls_tpsrc-bzqid
          IMPORTING
            ev_ordid               = lv_iordid
          EXCEPTIONS
            lc_connect_failed      = 1
            no_elements            = 2
            unit_conversion_failed = 3
            OTHERS                 = 4.
        IF sy-subrc = 0.
          CALL FUNCTION '/SAPAPO/PWB_GET_RELATED_ORDERS'
            EXPORTING
              iv_ordid             = lv_iordid
              iv_order_type     = '16'
              iv_simid            = '000'
            IMPORTING
              ev_ordid          = lv_eordid
            EXCEPTIONS
              order_not_found   = 1
              lc_connect_failed = 2
              no_elements       = 3
              OTHERS            = 4.
          IF sy-subrc = 0.
            APPEND lv_eordid TO lt_ordid.
            CALL FUNCTION '/SAPAPO/DM_PO_READ'
              EXPORTING
                iv_simsession     = gv_sims
                is_gen_params     = gv_params
                it_ordid          = lt_ordid
              IMPORTING
                et_schedule       = p_lt_sched
              EXCEPTIONS
                lc_connect_failed = 1
                lc_com_error      = 2
                lc_appl_error     = 3
                OTHERS            = 4.
          ENDIF.
        ENDIF.
      ENDIF.
    Use '/SAPAPO/CMDS_SNP_MM_ORD_MODIFY' function module to change the schedule lines (Pass '16' to iv_order_type parameter).
    Let me know if u have any issues.
    Regards,
    Siva.

  • Problems with overage charges and making account changes on line

    I have quite a bit of history involving my attempts to resolve the problem of catching my account before it goes over the minutes allowed and making the changes on line (to cut down on call volume) to change my account to raise the minutes allowed for that billing cycle.  I was given one reason why it didn't work the first time (I didn't print out my confimation proving I made the changes - bit the bullet and paid those charges) and so the second time wanting to avoid the problem from the first time I made sure I printed out my confirmation.  The confirmation had an effective date of change of 07/19/2012 the day I was informed I was nearing my allowed minutes.  There were only 4 or 5 maximum days left in that billing cycle so I wanted to nip the problem in the bud and make the changes to my account to be made "that" day.  My confirmation said the changes were effective 07/19/2012.  In plently of time before that billing cycle ended.  Again I was told I did something wrong.  This time I'm holding my confirmation in my hand even as the person is telling me again I did it wrong.  The purpose Verizon wants it's customers to use the available on-line option is to cut down on their call volume.  I didn't go to school to get the knowledge apparantly needed to perform these particular tasks in a manner that is acceptable to Verizon.  Has anyone else had problems with trying to fix their problems themselves using Verizons "helpfull" on-line choice?

    I have an explanation for you by what was meant by "you did it wrong."
    When you make a change effective the date you are requesting it and not at the start or end of your billing cycle, your minute usage for that month is pro-rated.
    For example, you say you made a change, because you were nearing your allowance limit, on 7/19/2012 and wanted it effective that day with 5 days left in the billing cycle. Lets assume that your allowance is 700 minutes/month and you were at 675 minutes for that month(still under your monthly allowance). If you make a change effective with 5 days left in your billing cycle to the 1400 minute/month allowance, your allowance for the 1st 25 days of your cycle will have been pro-rated to (25/30) * 700 = 583 minutes. This would mean you would have already had an overage of 92 minutes for the 1st 25 days of the month. Additionally, you would have a pro-rated allowance to use the last 5 days of (5/30) * 1400 = 233 minutes. This is how the pro-rating works when you make a change effective during the middle of your billing cycle.
    What you need to do next time to avoid these overage charges is to make the change effective at the beginning of your current billing cycle. So if you had made the change on 7/19/2012, but your billing cycle ended on 7/24/2012(5 days later), you should have made the change effective at the beginning of your current billing cycle, or 6/24/2012. This is called backdating the change. In this instance, you would have received a credit on you account for the cost of the 700 minute plan and been charged the full amount for the 1400 minute plan on your next bill, which I believe is a net additional charge of $10 and you would have had the use of 1400 minutes for throughout the entire month. In this example, you would not have had any overage with your 675 minutes during the 1st 25 days of your cycle and would have been able to use 725 minutes over the last 5 days of your billing cycle. This is much better than the overage charge you would receive with 92 overage minutes @ $0.45/minute = $41.40.
    I hope this explains it.

  • How to change the lines in a standard report

    Hello experts, i would like to change the line limits in some ot the standard repoorts, ie RFGSRRCUA and RFBILA00 how do i go about please help step by step?
    Tatenda Chaibva

    in the top of the Report..
    REPORT RFBILA00 MESSAGE-ID FR
    <i><b>                LINE-SIZE   132</b></i>
                    NO STANDARD PAGE HEADING.
    adjust this as per your need.
    A.

  • Change Schedule line in Scheduling agreement by function.

    I want to know that is enalbe to change schedule line in Scheduling agreement by function( 'BAPI' or Standard function).
    I known that is possible by BDC.
    But I have to change many records. So I want to know faster method.
    Please let me know what function enbale that.
    Thank you for your interest.

    Hi..
    The Scheduling agreement is one which is created runing MRP not VA31.
    I know that is two transaction data in SAP.
    One is Sales Data other one is Purchasing Data.
    This is second one.
    Thank you your response.

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

  • How can you change your line access selection?  I have found where you can change your plan selection, but can you change the line access fee or is that a set amount?

    How can you change your line access selection?  I have found where you can change your plan selection, but can you change the line access fee or is that a set amount?

        DIVAB71,
    Great question. The line access fees for the account are a set amount and can not be changed unless you are going from a basic to a smartphone or vice versa. If you are wondering about adding the month to month discount if you are out of contract Ann154 has provided great information on how to access and add the feature.
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • How do I change the line color in a chart in Numbers on my iPad?

    How do I change the line color in a chart in Numbers on my iPad?

    Whenever I try to shift+direct select it thinks I want to move the line, so as I shift + direct select and drag my mouse across the line (to highlight it all) it moves a chunk of the line and turns it into a near perpendicular line.
    I found the appearance window, it just says "Path" (the color I want it to be that it's not)
    "Stroke" 4pt
    "Fill" (the color I want it to be that it's not)
    "Opacity": Default
    And some other buttons. I think I'll try the help line tomorrow, I know I saw a customer service number somewhere and I'm only here because the chat was unavailable. This is only one of my 3 problems with my assignment so I'll search here for answers to the other two. Learning new things is rarely fun.

  • Can you change the line spacing in the legend?

    Is there a way to change the line spacing in the legend? I have a pie chart with text and I can't change the line spacing for its legend like you would in a regular text. Is there a way to change it?

    For space between each line, use the leading value in the Character pallet. For space between paragraphs, use the Space Before or Space After values in the Paragraph pallet.

  • Can someone help me change the line width of my numbers table, its not set to thin or none and its stuck on .25. its a spreadsheet i imported from excel.

    Can someone help me change the line width of my numbers table, its not set to thin or none and its stuck on pt25. its a spreadsheet i imported from excel.

    MR,
    Apparently the import wasn't a good one.
    The best option at this point might be to start a new table. Insert a new Table, Copy the old table cell range, select the first cell in the new table and Edit > Paste and Match Style. This will throw out all the old formatting. A bit of work, but a nice clean start.
    Jerry

  • 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

Maybe you are looking for

  • Upgraded to Mac Yosemite, now AE doesn't work at all. What can I do?

    I own the Master Collection for Adobe CS6 on MAC. I upgraded to Yosemite before realizing that it would cause many of my Adobe purchases to stop functioning. I need After Effects to work so that I can complete a project I've been working on. Does any

  • Oracle Universal Installer tries to install an older Java Runtime

    I downloaded the Rdb ODBC Driver for Windows with Oracle Universal Installer. The Installer would install JRE 1.3 but I already have 1.5. How can I avoid this? Thank you.

  • Add Applications to Desktop Dock

    I have set up additional accounts for our kids on my MacBook Pro.  When logging onto their accounts the dock at bottom of desktop screen only shows Finder, Application Folder, Docs Folder, Shared Folder & Trash.  When I try to drag an application ico

  • Image wont save as it looks in photoshop.

    I'm a pretty amateur user of photoshop, but I've been having this problem with an image I'm working on; it wont save as it looks in photoshop. Basically, this is what I'm looking at when the psd file is open in Photoshop: This is how I would like the

  • Deski SQL Queries

    Hi Team, I am using the below mentioned line of code to get the queries for webi report.   SQLDataProvider sqlDP = (SQLDataProvider)dProvider;   SQLContainer sqlContainer = (SQLContainer)sqlDP.getSQLContainer();   int containerCount = sqlContainer.ge