BAPI_PO_CHANGE Changing line Item

Hi All,
My requirement is like this I need to changed line item of a purchase order using BAPI_PO_Change is it required to pass header data other than po Number?I have to change only the Batch Number(POITEM-BATCH) can some body throw some idea on this?
Thanks&Regards
Mahesh

Hi,
   PO number may solve your purpose. Just try filling
   PO number in your BAPI header structure and
   relevent field for your batch number.
Regards
Amole

Similar Messages

  • Printing of changed line item in scheduling agreement  smart form.

    Hi experts,
    I am facing problem in printing of changed line item in schedule agreement.
    can any body tell me how to find the line item has been changed through programming?what is the procedure to fetch the data for new line item.its
    very urgent for me.
    Please help me in this regard.
    Priti Shrivastava

    Hi
    with the help of  T180-TRTYP field you know if that doc has been changed or created.
    If it is not equal to H it is changed. H means created.
    pass the TCODE of Sched Agreement and check this field.
    You can use the CDHDR and CDPOS table s to get the changed values of new item.
    Reward points if useful
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Vendor Display/Change Line Items

    Vendor with Debit balance
    Dear Friends:
    In FBL1N - Display/Change Line Items, How to indentify vendors with debit balance and How to identify vendors who has to be paid and why are amounts showing with - sign?
    Please explain.
    Thanks&Regards
    MSReddy

    Hi,
    You can identify the debit balance by checking the amount with positive value. Or you can also select "debit/credit" indicator in the screen layout. when the layout come out, you'll see "H" representing credit and "S" representing debit.
    Regarding second question, normally the line item that still need to be paid is identified as "open item" (red color", and the amount that has been paid as "cleared item" (green color).
    Even the amount already paid, it will still sign negative, but you can see the "clearing document" number as the payment or clearing document.
    Note that, the assumption on the above is that the payment of outstanding vendor is using clearing procedure.
    regards,

  • Sales order create/change line item with reference to contract - Open quantity not getting deducted for copied line item from the contract

    Hi friends,
    Please provide some valuable inputs for the following scenario:
    When a sales order line item is created(VA01) or changed(VA02) with reference to a Contract the open quantity is deducted in the contract which is a standard functionality. If the referenced line item is copied (custom enhancement to copy line item), then for the copied line item the open quantity is not getting deducted instead ATP quantity i.e. Available-to-promise is deducted.
    Any inputs on how we can fix this functionality i.e. deduct the open quantity from the contract for the copied line item?
    P.S. : Custom enhancement to copy line item is working fine, but open quantity is not getting deducted if the copied line item was referenced to a contract.
    Thanks,
    Sandeep
    Message was edited by: sandeep

    Sandeep,
    Yes, that was my original interpretation.  I was having a hard time believing that someone would ask such a question. 
    I guess, then, that you already know that you will have to add this logic to your enhancement. You should create your specifications and hand them off to a developer; ideally the one who created this enhanced solution in the first place.
    I do not provide advice in these forums about details of enhanced solutions.  Perhaps one of the other members will be more willing to do your work for you.
    Best Regards,
    DB49

  • Change line item status at table level & also in transaction.

    Hello,
        I want to change the status of line item in CRM service order at table level. This change should reflect in transaction too.
    Ex. Order X is in release state. When i run my program for line item 10 with enabling a check box in the selection screen, then the line item status shd be changed to "complete".
    Table to change status is CRM_JCDS. Kindly send sample code on how to change the status in order through pgm.
    Regards
    Devika.S

    Hi Nikhil
    Open item management tick checked in GL master as we have run the program FAGL_SWITCH_TO_OPEN_ITEM .
    Also GL shows the line item dispaly as RFSEPA01 had been executed.
    However FAGLL03 shows all the old line item as posted status -we are looking for option have the status of all the old
    line item as open item indicatior(in red) there by we can have the option to select all the item to process open item in F-03.
    Appreciate for an amicable solution on this.
    Regards
    subrata

  • Change line item in PR, PO, Sch agreement, contract to trigger workflow.

    Hi.
    The requirement is whenever there is a change in a line item. The workflow is to trigger. When I use the events:
    SIGNIFICANLYCHANGED IN BUS2009
    CHANGED IN BUS2012 (ENTRY MAINTAINED IN SWEC)
    Z_CHANGE IN BUS2013 (ENTRY MAINTAINED IN SWEC)
    CHANGED IN BUS2014 (ENTRY MAINTAINED IN SWEC)
    The problem with the above events is that, right after the event "RELEASESTEPCREATED" the above events get triggered automatically. My requirement is that, it should get triggered only on line item changes (new version of the purchasing document is created).
    Thanks and expecting a reply soon..
    Sukumar.

    Hi Vinoth,
    I did the same thing but a bit differently.
    i used the code as below.
    DATA: container like table of swr_cont with header line, xeban like table of  ueban with header line, xebkn like table of uebkn with header line, yeban like table of  ueban with header line, yebkn like table of  uebkn with header line, object_key type swr_struct-object_key, item_numc type numc05.
    select * into corresponding fields of table xeban from eban where banfn = number and bnfpo = item.
    select * into corresponding fields of table xebkn from ebkn where banfn = number and bnfpo = item.
    yeban = xeban.
    yebkn = xebkn.
    read table xeban index 1.
    xeban-kz = 'U'.
    xeban-banpr = '08'.
    modify xeban index 1.
    CALL FUNCTION 'ME_UPDATE_REQUISITION'
    TABLES
    xeban = xeban
    xebkn = xebkn
    yeban = yeban
    yebkn = yebkn.
    This solved the issue as far as PR is concerned. I need to update PROCSTAT in EKKO for PO, scheduling agreements and contracts.
    Let me know about this.
    Thanks,
    Sukumar.

  • BADI/EXIT for changing line items (F-02)

    Hi All,
    I want to know any BADIs/EXITs which allow changing of G/L line items in transaction f-02. I have tried substitution it does not work for my requirement.
    My requirement is copying of PRCTR from offset line item to the Vendor/customer line item which always appears as line item 001.
    Thanks,
    Preetham S

    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)

  • How to change line item numbers

    HI
    when we are creating sales order, if we enter material number, line item number will be autmaticallly assigned(for eg 10,20,30 ....). if i want to change that number what i have to do(eg: to 1, 4, 5, .....). in standard SAP, the field is grayed out once the no is assigned. so i dont know how to change the no. please help me in this.

    Hello,
    You can give any number manually as the line item when you are creating the sales order.
    While creating the order give the item number also manually, then the system will accept. Once you given the line item number , it will not allow you to change it.
    Then you need to delete the line item and re-insert with the line item number you want.
    Prase

  • Need help to change line item text for 220 Line items

    Hi Specialists,
    The user has posted a reversal entry ( doc type : Manual Accrual) using TCODE FBS1.
    It has 220 line items.
    Is there a way in SAP he can change the text of All Line Items for a particular document number in one shot ( Mass Change).
    Pls note : Header text remains same . Only the line item text needs to be changed in one shot .
    For Eg :
      1 50 2758000047 Accruals for CAS               Accrl - Dec 08 / Nalini Marketing(Door Mats) - Oth
      2 50 2758000047 Accruals for CAS               Accrl - Dec 08 / SKC - M&E Repair
    Changed Description:
      1 50 2758000047 Accruals for CAS               Accrl - Jan 09 / Nalini Marketing(Door Mats) - Oth
      2 50 2758000047 Accruals for CAS               Accrl - Jan 09 / SKC - M&E Repair
    Thanks,
    Abhinav.

    Hi
    This is possible, please follow as below:
    If it is GL (FBL3N), Customer (FBL5N), Vendor (FBL1N) line item use the TCODE' mentioned.
    In the selection screen, if possible give all the document numbers (it is possible with addition selection).
    Once you get the output with the line item, select all line items and go to the menu options  there you can see the mass change option, it will give one popup screen give the new value in the text field and proceed further.
    VVR

  • Changing line item delivery address in shopping cart need to reflect same in all line items

    Hi All,
    Need help on below,
    I have a requirement that when we change the shopping cart line item delivery address same needs to reflect all line items.
    Suppose a shopping cart having 3 line items 1, 2 and 3. if i change the delivery address of line item 1, the same needs to reflect the line item 2 and 3 as well.
    In my case  if we change the 1's delivery address, after processing its genrating the IDOC on line item wise not in the header wise. And same having the different delivery address.
    Thanks in advance.
    regards:
    Ramesh

    Hello Ramesh,
    we can do this changes in BBP_DOC_CHANGE_BADI . Create a Implementation for the above BADI and Inside that Implementation BADI method just call the function module BBP_PD_SC_GETDETAIL for SC item details by passing the Header GUID.
    Once you get the Partner table(E_PARTNER) details.. Keeping a loop on SC item(E_ITEM) and change address number(ADDR_NO) in Partner table when Partner function eq X( X is an partner function values which you define in SPRO.).
    pseudo logic:
      CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
        EXPORTING
          i_guid    = l_guid
        TABLES
          e_item    = lt_item
          e_partner = lt_partner.
    * Check for all the line items if vendor is assigned
      LOOP AT lt_item INTO lwa_item.
        READ TABLE lt_partner INTO lwa_partner
                          WITH KEY partner_fct = '00000019'
                                   del_ind     = space
                                   p_guid      = lwa_item-guid.
        IF sy-subrc eq 0 .
       * modification of address number logic here in partner table
        ENDIF.
      ENDLOOP.
    All the best.
    Regards,
    Sankarbabu

  • BAPI for FB09 change line items

    Hi All,
    Is there any BAPI avaialble for changing the line items of transaction FB09...... instead of going for a BDC
    Please give the helpful answers.
    Thanks

    Hi
    BI program is BatchInput program so it's BDC program: u need to simulate the trx FB09 by a BDC, if u need a fm u can insert the BDC in your fm.
    Just I said if you need to change some std fields (like text, attribution, etc....), u can use the std fm FI_ITEMS_MASS_CHANGE: it's the fm used for massive changes.
    If you see the include LFI_ITEMSF03, u can check which fields are managed by that std fm.
    Max

  • Userexit for changing line item from header, tcode VA42, VA41

    Hi All,
    I have a Zfield (VBAK) for the sales document (contract) at the header level in Additional tab.
    Also the same zfield is present in VBAP table for all line items.
    When this field is maintained by the user using Tcode VA41 or VA42 the line item zfield should also get updated.
    I am trying to find out if User Exits
    1. USEREXIT_MOVE_FIELD_TO_VBAK
    2. USEREXIT_SAVE_DOCUMENT_PREPARE
    might work. Can anyone tell me if there is access to line items in the above 2 user exits which I can modify.
    Thanks,
    Kajal

    Hi Breakpoint,
    Yes I did use table XVBAP in uesr exit SAVE_DOCUMENT_PREPARE.
    But somehow my changed values in XVBAP table is not reflected in the table VBAP.
    Am I missing something here.
    My piece od code  in the user exit :
    FORM XVBAP_ZZREBREL_CHANGE  TABLES t_xvbap STRUCTURE vbapvb
                               USING  P_VBAK_ZZREBREL TYPE vbak-zzrebrel.
    data wa_xvbap type vbapvb.
      IF p_vbak_zzrebrel = 'X'.
        LOOP AT t_xvbap into wa_xvbap.
          wa_xvbap-zzrebrel = 'X'.
          MODIFY t_xvbap from wa_xvbap INDEX sy-tabix TRANSPORTING zzrebrel.
          clear wa_xvbap.
        ENDLOOP.
      ENDIF.
    ENDFORM.

  • Change Line Item Display in GL Accounts

    Hi, I need to know how can I make a massive change to all my GL Accounts, to put the check in the flag of "line item display" in the Control Data of my accounts

    Hi,
    Try transaction MASS or you can find help at http://help.sap.com/saphelp_erp2005/helpdata/en/59/0735b112c311d396cb006094b969cf/frameset.htm
    If you find the answer useful, please assign reward points.
    Regards,
    Svetlin

  • Changing line item intervals in SRM 7

    Dear SRM 7 Experts,
    Standaerd SRM is delivered with line item intervals of 1 for shopping carts, purchase orders and contracts.  How can I change the line item intervals from 1 to 10 so that the shopping cart line items will numbers become 10, 20, 30 ,40 etc like it is in ECC purchase requisitions?  I have looked at the Configurable Line Item Numbers config in SRM but I don't see where you change the line item intervals.
    Thanks and regards
    Pedzi

    Hi Pedzi
    Many times i requested SAP but sap answer NO .
    since they have designed application in bbp_pd logs register as 1 like that since it is difficult work .

  • Me21n change line item dropdown list value

    hi experts,
    i have a requirement to automatically remove the aulty po line item when user click on CHECK or SAVE button, i done this by removing the record from ETT[] and POT[] at ENHANCEMENT-POINT mm06ef0p_pruefen_01 SPOTS es_mm06ef0p_pruefen INCLUDE BOUND.
    it is working fine except one scenario which is, if the faulty line item is 00020, and the line item dropdown list is selected line item 20, after i removed the record from POT[], it hits abap runtime error. when i check at debugger, it is caused by system will look for line item 00020 ( follow dropdown list value ) but the record is removed, so come to error... it is working fine if the dropdown list is selected line item 10.
    so i am looking for a way to change the dropdown list value.
    or you all have some other suggestion?
    please help... i need it urgently coz i have been solving the problem for 2 weeks....
    thanks a lot

    Hi,
    generally it's not a good idea to delete item without using standard method. You can see one example why it is usually complicated. Maybe I have a workaround for you. You can try to use BADI ME_PROCESS_PO_CUST. There is a method CHECK where you get reference to PO header. You can easily get references to your items by calling method GET_ITEMS. So you will perform your check for each item and for wrong items you will call method INVALIDATE. This item will be marked as invalid and it will not be posted. Here I do not know how it will be displayed to user. Maybe the user will have to delete this item manually.
    Cheers

Maybe you are looking for

  • How to change number of decimals in percentage agreement rebates

    Hi, I'm searching for a solution to have percentage amounts with 5 decimals instead of 3, in the conditions of rebate agreements. That's concerning transactions VBO1, VBO2, VBO3. Thanks for help.

  • Not connected to network although it is connected wirelessly

    I have a HP Photosmart 7510 All in one printer. I can print from computers wirelessly but it says not connected to network when i try to use web services, facebook, or efax. I cant even run an update because if no internet connection. i have tried re

  • Worksheet report- Unable to generate a PDF

    Tried to print to PDF - never prompts me for filename nor creates PDF. Checked the properties and it is checked to prompt for filename. Print to PDF works for other IE apps, but just not Oracle Discoverer. I have found a workaround- Print to file, co

  • Gmail contact can not loading in Mail on OS X 10.9

    Dear everyone, When I use the Mail software on OS X 10.9 that the contact of Gmail can not syncing into cantact of OS X 10.9. Although I try many methods that refer to teaching steps on many webs, but the contact is still not syncing into OS X 10.9.

  • KUP-04050 error.

    Hi I've the KUP-04050. (Oracle says that needs memory). If i increase my Shared Pool it's ok for running efficiently my query. but problem always come back. Is it a fragmentation problem in SGA ? how to prevent this kind of problem ? Platform AIX 5.3