BAPI_PO_CHANG To Ceate a PO item

Hi, How to use this BAPI to <b>create</b> a PO item(PO number is given)? if it can't, Are there other ways to make this?tks!!!

Razer,
CALL FUNCTION 'BAPI_PO_CREATE'
EXPORTING
po_header = po_header
PO_HEADER_ADD_DATA = wa_po_add_header
HEADER_ADD_DATA_RELEVANT = '1'
PO_ADDRESS =
SKIP_ITEMS_WITH_ERROR = 'X'
ITEM_ADD_DATA_RELEVANT = '1'
HEADER_TECH_FIELDS =
IMPORTING
PURCHASEORDER = pno
tables
po_items = po_items
PO_ITEM_ADD_DATA =
po_item_schedules = po_item_schedules
PO_ITEM_ACCOUNT_ASSIGNMENT =
PO_ITEM_TEXT =
RETURN = return
PO_LIMITS =
PO_CONTRACT_LIMITS = "
PO_SERVICES = ! !
PO_SRV_ACCASS_VALUES =
PO_SERVICES_TEXT =
PO_BUSINESS_PARTNER =
EXTENSIONIN =
POADDRDELIVERY =  .
Don't forget to reward....

Similar Messages

  • Using BAPI_PO_CHANGE to update PO with item actegory B

    Hi Experts,
    I have a requirement to update the PO with item category B which is created by referring  PR having account assignment category N(.( So I have a PO with Acc assignment N now have to update the item category with B ). I am using BAPI_PO_CHANGE to update the item category with B  .in me22n system will prompt the Limits ( overall limit , expected value) and Network details ( like GL acc and Network and activity code) so i am passing lt_poitem,lt_poitemx,lt_polimits,lt_poaccount,lt_poaccountx,lt_POSRVACCESSVALUES. System is issuing a message Buffer table is not up-to-date . Please let me know if any one updated the PO with item category B using BAPI_PO_CHANGE and please provide sample code for the same if possible. Thanks in advance.
    Thanks
    Pravee

    Hi Experts,
    I am passing the required structure as below .
    CALL FUNCTION 'BAPI_PO_CHANGE'
      EXPORTING
        purchaseorder = v_po
      TABLES
        return        = lt_return
        poitem        = lt_poitem
        poitemx       = lt_poitemx
        polimits      = lt_polimits
        poaccount     = lt_poaccount
        poaccountx    = lt_poaccountx
        POSRVACCESSVALUES = lt_POSRVACCESSVALUES
        POCONTRACTLIMITS = lt_POCONTRACTLIMITS
        POSERVICES    = lt_POSERVICES.
    Now i am getting a message below messages from BAPI :
    S     06     023     Indirect PO (ZSTA) 4506000481 changed
    I     ME     664     Change Item Category could not be effected
    I     ME     664     Change Item Category could not be effected
    I can see that the PO is not got updated with any of values.Please help me to resolve this issue.
    Thanks
    PRavee.

  • How to display error messages in BAPI_PO_CHANGE  with PO and item ?

    Hello Friends,
    I am calling BAPI_PO_CHANGE to update delivery flag for 50 POs.
    Each PO has 4 line items. For ex.
    10001     10     5.00     material1      X
    10001     20     45.00     material2      X
    10001     30     22.00     material15      X     u201Cerror
    10001     40     45.00     material41      X
    10002     10     46.00     material17      X
    10002     20     25.00     material3      X     u201Cerror
    10002     30     75.00     material5      X     u201Cerror
    10002     40     44.00     material8      X
    u2026u2026u2026u2026u2026..
    u2026u2026u2026u2026u2026
    Now, suppose some line items have error.
    I am able to get it from BAPIu2019s    RETURN table.
    But how can I display that error message with PO and line item?
    NOTE : I am calling BAPI_PO_CHANGE for each PO with ITEM internal table.
    Please guide me.
    Regards
    RH

    The it_change_return fields parameter and row identify the PO_ITEM.
    Try this...
    *&      Form  READ_MESSAGES_OP_CHANGE
          BAPI_PO_CHANGE Return messages
    FORM read_messages_op_change .
      DELETE it_change_return WHERE type = 'W'.
      DELETE it_change_return WHERE type = 'I'.
      LOOP AT it_change_return ASSIGNING <is_change_return>.
        IF <is_change_return>-type = 'E'.
          z_error_flg = 'X'.
        ENDIF.
        v_item = v_item + 1.
        it_log_mess-packagenr = v_packagenr.
        it_log_mess-object = v_object.
        it_log_mess-docnum = v_docnum.
        it_log_mess-itemnr = v_item.
        it_log_mess-type = <is_change_return>-type.
        it_log_mess-id = <is_change_return>-id.
        it_log_mess-mnumber = <is_change_return>-number.
        IF <is_change_return>-parameter <> 'POITEM'.
          it_log_mess-message = text-po1.
          REPLACE '&' WITH z_po_number INTO it_log_mess-message.
          CONCATENATE it_log_mess-message <is_change_return>-message
            INTO it_log_mess-message SEPARATED BY space.
        ELSE.
          READ TABLE it_change_poitem ASSIGNING <is_change_poitem>
            INDEX <is_change_return>-row.
          it_log_mess-message = text-pr2.
          REPLACE '&' WITH z_po_number INTO it_log_mess-message.
          REPLACE '@' WITH <is_change_poitem>-po_item
            INTO it_log_mess-message.
          CONCATENATE it_log_mess-message <is_change_return>-message
                INTO it_log_mess-message SEPARATED BY space.
        ENDIF.
        it_log_mess-message_v1 = <is_change_return>-message_v1.
        it_log_mess-message_v2 = <is_change_return>-message_v2.
        it_log_mess-message_v3 = <is_change_return>-message_v3.
        it_log_mess-message_v4 = <is_change_return>-message_v4.
        APPEND it_log_mess.
      ENDLOOP.
    ENDFORM.                    " READ_MESSAGES_OP_CHANGE

  • BAPI_PO_CHANGE "No account assignment for service 0000010" SE 518 Error

    Hi  Friends,
    I am using BAPI_PO_CHANGE to add new line item with service data to purchase order.
    For one scenario BAPI give me above error is "No account assignment for service 0000010" SE 518 .
    basically when i pass outline aggrement and contract item to bapi i am getting this error.....according to my observation in outline agrement account assignment is maintain as 'U' but i want to pass outline agrement as 'K' or 'N' so i am passing this into BAPI parameters ,however i feel somewhere it is getting conflict  so it giving above error...
    Please guide,
    Thanks & Regards,
    Bhaskar

    Hi Seini,
    Thanks for reply ..
    I have pass contract number to BAPI ....and i also pass cost center and GL account to account assignment but still bapi giving same error.....I am totally stuck into this i tried a lot with different options..for other scenario BAPI works fine but when I pass contract number with account assignment 'U' and I want to change this 'U' to 'K' or 'N'  for this I pass account assignment to PO line item but BAPI fails in this perticular scenario.

  • PO Order Unit is not updating by BAPI_PO_CHANGE

    Hi Experts,
    While Iu2019m trying to change the PO using BAPI_PO_CHANGE, for few materials only Item quantity(PO quantity-quantity )  is updating but not the pack size( PO Order Unit-orderpr_un)
    I want to know is there any indicator or any field to be passed to change  both according to our requirement ?
    Waiting for reply.
    Thanks & Regards
    Biswajit

    by myself

  • Add Line to Existing PO: via "BAPI_PO_CHANGE" or something else ????

    Can I use "BAPI_PO_CHANGE" to add a line item to a PO?
    In particular, if I call this BAPI with rows in "poitem" that don't correspond to line items already in the PO, will the BAPI add these new lines?
    If not, what is the right way to do this via BAPI?
    Thanks for any advice you can provide.

    TYPES : BEGIN OF ty_ekko,
             ebeln TYPE ebeln,
             ekorg TYPE ekorg,
             ekgrp TYPE bkgrp,
           END OF ty_ekko.
    DATA : it_flatfile TYPE TABLE OF ty_ekko ,
           wa_flatfile TYPE ty_ekko,
           it_ekko1 TYPE TABLE OF ty_ekko,
           wa_ekko1 TYPE ty_ekko.
    DATA :  v_file TYPE string.
    DATA : wa_header TYPE  bapimepoheader,
           wa_headerx TYPE bapimepoheaderx.
    DATA: it_return TYPE TABLE OF bapiret2.
    DATA: it_return1 TYPE TABLE OF bapiret2.
    *DATA : BEGIN OF it_bapi_poheader OCCURS 0.
           INCLUDE STRUCTURE bapimepoheader.
    *DATA : END OF it_bapi_poheader.
    *DATA : BEGIN OF it_bapi_poheaderx OCCURS 0.
           INCLUDE STRUCTURE bapimepoheaderx.
    *DATA : END OF it_bapi_poheaderx.
    *DATA : BEGIN OF it_bapi_poitem OCCURS 0.
           INCLUDE STRUCTURE bapimepoitem.
    *DATA : END OF it_bapi_poitem.
    *DATA : BEGIN OF it_bapi_poitemx OCCURS 0.
           INCLUDE STRUCTURE bapimepoitemx.
    *DATA : END OF it_bapi_poitemx.
    *DATA : BEGIN OF it_bapireturn OCCURS 0.
           INCLUDE STRUCTURE bapiret2.
    *DATA : END OF it_bapireturn.
    PARAMETERS : p_file  TYPE ibipparms-path.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = p_file.
    START-OF-SELECTION.
      MOVE p_file TO v_file.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename            = v_file
          has_field_separator = 'X'
        TABLES
          data_tab            = it_flatfile.
      IF NOT it_flatfile IS INITIAL.
        SELECT ebeln ekorg ekgrp
               FROM ekko
               INTO TABLE it_ekko1
               FOR ALL ENTRIES IN it_flatfile
              WHERE ebeln = it_flatfile-ebeln  .
      ENDIF.
      LOOP AT it_flatfile INTO wa_flatfile.
        READ TABLE it_ekko1 INTO wa_ekko1 WITH  KEY ebeln = wa_flatfile-ebeln.
        IF sy-subrc EQ 0.
          IF wa_flatfile-ekorg NE wa_ekko1-ekorg OR
             wa_flatfile-ekgrp NE wa_ekko1-ekgrp.
           wa_header-po_number = wa_flatfile-ebeln.
            wa_header-purch_org = wa_flatfile-ekorg.
            wa_header-pur_group = wa_flatfile-ekgrp.
           wa_headerx-po_number = wa_flatfile-ebeln.
            wa_headerx-purch_org = 'X'.
            wa_headerx-pur_group = 'X'.
          ENDIF.
        ENDIF.
        CALL FUNCTION 'BAPI_PO_CHANGE'
          EXPORTING
            purchaseorder                = wa_ekko1-ebeln
            poheader                     = wa_header
            poheaderx                    = wa_headerx
      POADDRVENDOR                 =
      TESTRUN                      =
      MEMORY_UNCOMPLETE            =
      MEMORY_COMPLETE              =
      POEXPIMPHEADER               =
      POEXPIMPHEADERX              =
      VERSIONS                     =
      NO_MESSAGING                 =
      NO_MESSAGE_REQ               =
      NO_AUTHORITY                 =
      NO_PRICE_FROM_PO             =
    IMPORTING
      EXPHEADER                    =
      EXPPOEXPIMPHEADER            =
    TABLES
       return                       = it_return
      POITEM                       =
      POITEMX                      =
      POADDRDELIVERY               =
      POSCHEDULE                   =
      POSCHEDULEX                  =
      POACCOUNT                    =
      POACCOUNTPROFITSEGMENT       =
      POACCOUNTX                   =
      POCONDHEADER                 =
      POCONDHEADERX                =
      POCOND                       =
      POCONDX                      =
      POLIMITS                     =
      POCONTRACTLIMITS             =
      POSERVICES                   =
      POSRVACCESSVALUES            =
      POSERVICESTEXT               =
      EXTENSIONIN                  =
      EXTENSIONOUT                 =
      POEXPIMPITEM                 =
      POEXPIMPITEMX                =
      POTEXTHEADER                 =
      POTEXTITEM                   =
      ALLVERSIONS                  =
      POPARTNER                    =
      POCOMPONENTS                 =
      POCOMPONENTSX                =
      POSHIPPING                   =
      POSHIPPINGX                  =
      POSHIPPINGEXP                =
      POHISTORY                    =
      POHISTORY_TOTALS             =
      POCONFIRMATION               =
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDLOOP.
    You can test it in your dev using my code . Pls check and let us know.

  • Problem with updating net price value through PORDCH Idoc

    Hi All,
    I have a ABAP program which calls the function module BAPI_PO_CHANGE to update the line item details using an idoc.
    During this change it is updating Limit values in PO bot not the net price.
    And the Idoc status is having message as BAPI Change has been done successfully instead of "PO number changed".
    Any suggestions to solve this issue.
    Thanks,
    Spandana

    Please post the details of the application release, database version and OS.
    Please see these MOS docs.
    Getting "ORA-20001: The primary key specified is invalid" Error Using HR_ASSIGNMENT_API.UPDATE_EMP_ASG_CRITERIA API [ID 737145.1]
    APP-PAY-07220: The primary key specified is invalid - ERROR Received Creating GRE/Legal Entity In New Business Group [ID 849754.1]
    Error Occurs While Hiring Applicants APP-PAY-07220: The Primary Key Specified Is Invalid [ID 1084464.1]
    Terminated Employee Scorecards Error's: Ora-20001: The Primary Key Specified Is Invalid [ID 859315.1]
    Hr_assignment_api.Update_emp_asg_criteria Gives Ora-20001, Ora-06512 [ID 334491.1]
    PERWSTEM Termination 'APP-PAY-07220 The Primary key specified is invalid' and Database 11.1.0.7.0 [ID 1263357.1]
    Error 'APP-PAY-07220: Primary Key Specified Is Invalid' When Attempting to Process Open Life Event [ID 567224.1]
    Republishing Performance Management Plan (PMP) Fails with Error: ORA-20001: The primary key specified is invalid [ID 956234.1]
    Thanks,
    Hussein

  • PO line item details from BAPI_PO_GETDETAIL1 and append to BAPI_PO_CHANGE

    Hi,
    The requirement is to get PO line item details from BAPI_PO_GETDETAIL1 and save it in the internal table and append that internal table into  the BAPI_PO_CHANGE.
    But i am getting dump in this program.
    TABLES: ekpo.
    DATA: BEGIN OF po_details.
            INCLUDE STRUCTURE BAPIMEPOITEM. "Include the structure of Dictionary Reference.
    DATA: END OF po_details.
    DATA: BEGIN OF po_details1.
            INCLUDE STRUCTURE BAPIMEPOITEM. "Include the structure of Dictionary Reference.
    data: END OF po_details1.
    DATA: it_po_details LIKE STANDARD TABLE OF po_details,
    wa_po_details like line of it_po_details.
    data: it_po_details1 like standard table of po_details,
    wa_po_details1 like line of it_po_details1.
    PARAMETERS: p_ebeln LIKE ekpo-ebeln DEFAULT '4500000016'.
    CALL FUNCTION 'BAPI_PO_GETDETAIL1'
      EXPORTING
        PURCHASEORDER = p_ebeln
      TABLES
        POITEM        = it_po_details.
    loop at it_po_details into po_details.
      read table it_po_details into wa_po_details with key PO_item = p_ebeln.
      move-corresponding po_details to po_details1.
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          PURCHASEORDER = p_ebeln
        TABLES
          POITEM        = it_po_details.
      append po_details to it_po_details1.
      LOOP AT it_po_details1 INTO wa_po_details1.
        WRITE:/ wa_po_details1-PO_item,
           wa_po_details1-MATERIAL,
           wa_po_details1-SHORT_TEXT,
           wa_po_details1-PLANT.
      ENDLOOP.
    endloop.

    HI,
    1st you check for the following following  authorization objects are checked:                                                                               
    M_BEST_BSA (document type in PO)                                                                               
    M_BEST_EKG (purchasing group in PO)                                                                               
    M_BEST_EKO (purchasing organization in PO)                                                                               
    M_BEST_WRK (plant in PO)          
    and to change the PO below is the eg for changing the short text:-
    TABLES: ekpo.
    DATA: BEGIN OF po_details.
            INCLUDE STRUCTURE bapimepoitem. "Include the structure of Dictionary Reference.
    DATA: END OF po_details.
    DATA: BEGIN OF po_details1.
            INCLUDE STRUCTURE bapimepoitem. "Include the structure of Dictionary Reference.
    DATA: END OF po_details1.
    DATA: it_po_details LIKE STANDARD TABLE OF po_details,
    wa_po_details LIKE LINE OF it_po_details.
    DATA: it_po_details1 LIKE STANDARD TABLE OF po_details,
    wa_po_details1 LIKE LINE OF it_po_details1,
    poheader  LIKE  bapimepoheader,
    return  LIKE STANDARD TABLE OF  bapiret2 WITH HEADER LINE,
    poitemx LIKE STANDARD TABLE OF  bapimepoitemx WITH HEADER LINE.
    PARAMETERS: p_ebeln LIKE ekpo-ebeln DEFAULT '5600010646'.
    CALL FUNCTION 'BAPI_PO_GETDETAIL1'
      EXPORTING
        purchaseorder = p_ebeln
      IMPORTING
        poheader      = poheader
      TABLES
        poitem        = it_po_details.
    LOOP AT it_po_details INTO po_details.
      READ TABLE it_po_details INTO wa_po_details INDEX 1.
      MOVE-CORRESPONDING po_details TO po_details1.
      MOVE: po_details-po_item TO poitemx-po_item,
            'X' TO poitemx-short_text.
      APPEND poitemx.
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          purchaseorder = p_ebeln
          poheader      = poheader
        TABLES
          return        = return[]
          poitem        = it_po_details[]
          poitemx     =
          poitemx[].
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      APPEND po_details TO it_po_details1.
      LOOP AT it_po_details1 INTO wa_po_details1.
        WRITE:/ wa_po_details1-po_item,
        wa_po_details1-material,
        wa_po_details1-short_text,
        wa_po_details1-plant.
      ENDLOOP.
    ENDLOOP.

  • Item text in BAPI_PO_Change

    Dear Expert,
    I used BAPI_PO_Change for add the item text.
    text = 'Completed'.
    s_bapimepotext-TEXT_LINE = text.
    call function 'BAPI_PO_CHANGE'
      exporting
        purchaseorder                = p_ebeln
    TABLES
       RETURN                       = i_return
       POITEM                       = s_bapimepoitem
       POITEMX                      = s_bapimepoitemx
       POTEXTITEM                   = s_bapimepotext         .
    call function 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'.
    IMPORTING
      RETURN        =          .
    But I can not see the changes in PO.
    Can anybody tell me the why the problem occurs.
    Thanks & rgds
    Bishnu

    Dear Maorz,
    PO and Item number alrady set.
    Pls see my code:
    PARAMETERS: p_ebeln LIKE bapimepoheader-po_number OBLIGATORY.
    PARAMETERS :p_ebelp LIKE bapimepoitem-po_item.
    DATA: s_header TYPE bapimepoheader,
          s_headerx TYPE bapimepoheaderx,
          s_item TYPE bapimepoitem,
          s_itemx TYPE bapimepoitemx,
          i_return TYPE bapiret2 OCCURS 0 WITH HEADER LINE,
          i_extension TYPE bapiparex OCCURS 0 WITH HEADER LINE,
          s_bapimepoheader TYPE bapimepoheader,
          s_bapimepoheaderx TYPE bapimepoheaderx,
          s_itemtext type BAPIMEPOTEXT,
          wa_message TYPE c LENGTH 100.
    DATA: t_lines TYPE BAPIMEPOTEXT OCCURS 0 WITH HEADER LINE.
    data: s_bapimepoitem TYPE bapimepoitem occurs 0 with header line.
    data: s_bapimepoitemX TYPE bapimepoitemX occurs 0 with header line.
    data: s_bapimepotext TYPE bapimepotext occurs 0 with header line.
    data: text(30).
    s_bapimepoheaderx-po_number = p_ebeln.
    s_bapimepoheader-po_number = p_ebeln.
    s_bapimepoitemx-PO_ITEM = p_ebelp.
    s_bapimepoitem-PO_ITEM = p_ebelp.
    s_bapimepotext-po_number = p_ebeln.
    s_bapimepotext-po_item = p_ebelp.
    concatenate 'Completed on ' sy-datum into text.
    s_bapimepotext-TEXT_LINE = text.
    s_bapimepoitemx-NO_MORE_GR = 'X'.
    s_bapimepoitem-NO_MORE_GR = 'X'.
    append s_bapimepoitem.
    append s_bapimepoitemx.
    append s_bapimepotext.
    s_header-po_number = p_ebeln.
    S_item-PO_ITEM = p_ebelp.
    call function 'BAPI_PO_CHANGE'
      exporting
        purchaseorder                = p_ebeln
    TABLES
      RETURN                       = i_return
       POITEM                       = s_bapimepoitem
       POITEMX                      = s_bapimepoitemx
       POTEXTITEM                   = s_bapimepotext
    call function 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'.          .

  • 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

  • BAPI_PO_CHANGE not changing the item data

    Hi All,
    I am facing an issue with bapi_po_change......though the return message says that the po is changed but then also i am not able to see the changes via me22n/me23n . Below is the code  Can anyone please let me know how to resolve this issue .
    REPORT  ztest111.
    DATA: git_po_items       TYPE STANDARD TABLE OF bapiekpo ,
          git_bapimepoitem   TYPE STANDARD TABLE OF bapimepoitem,
          git_bapimepoitemx   TYPE STANDARD TABLE OF bapimepoitem,
          git_bapimepoheader   TYPE  bapiekkol ,
          git_bapimepoheader1   TYPE  bapimepoheader ,
          gwa_bapimepoitem   TYPE bapimepoitem,
          gwa_bapimepoitemx   TYPE bapimepoitem,
          gwa_po_items       TYPE bapiekpo.
    DATA lv_pur_ord          TYPE bapiekko-po_number VALUE '4500000201'.
    DATA lv_return TYPE TABLE OF   bapiret2 .
    CALL FUNCTION 'BAPI_PO_GETDETAIL'
      EXPORTING
        purchaseorder                    = lv_pur_ord
        items                            = 'X'
    TABLES
        po_items                         = git_po_items.
    LOOP AT git_po_items INTO  gwa_po_items.
      gwa_po_items-short_text = 'Text changed'.
      MOVE-CORRESPONDING gwa_po_items TO gwa_bapimepoitem.
      gwa_bapimepoitemx-po_item = gwa_po_items-po_item.
      gwa_bapimepoitemx-short_text = 'X'.
      APPEND gwa_bapimepoitem TO git_bapimepoitem.
      APPEND gwa_bapimepoitemx TO git_bapimepoitemx.
    ENDLOOP.
    CALL FUNCTION 'BAPI_PO_CHANGE'
      EXPORTING
        purchaseorder                = lv_pur_ord
    TABLES
        return                       = lv_return
        poitem                       = git_bapimepoitem
        poitemx                      = git_bapimepoitemx.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

    HI,
    Check this link
    [Sample Abap code on BAPI_PO_CHANGE |http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm]
    [bapi_po_change   |Re: bapi_po_change]
    Edited by: Avinash Kodarapu on Mar 2, 2009 11:33 PM

  • Adding a new schedule line for a line item using bapi_po_change

    hi experts,
    can i know how to add a new schedule line for a line item using<u> bapi_po_change</u>. what are the parameters that need to be filed. i filled poitem with total quantities and poschedule table with 2 different schedule lines and passing as the parameter.but then i get the error saying item 0000 doesnt exist

    Hi,
    Please check if you have properly populated the following fields in POSCHEDULE:
    PO_ITEM
    SCHED_LINE
    and the other fields required for your schedule line such as delivery date and quantity, etc.
    After that, make sure to properly populate fields in POSCHEDULEX:
    PO_ITEM -> same value as found in POSCHEDULE
    SCHED_LINE -> same value as found in POSCHEDULE
    All other values populated in POSCHEDULE should be ticked as 'X' in POSCHEDULEX.
    Kind Regards,
    Darwin
    Kind Regards,
    Darwin

  • BAPI_PO_CHANGE to update the Price for the line item not updating the Price

    Hi,
    I am using BAPI_PO_CHANGE to update the Price for the line item. This BAPI is not updating the Price. I am using external cummit also, but the BAPI is not updating price.
    I am passing following data to the BAPI.
    Plant: CQ11
    PO                   Material                Price
    4500002142     TEST_BATCH     12
    Please provide suggestion.
    Regards,
    Jubin.

    Hi,
    check this link...this has sample code
    [http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm]
    Regards,
    Surinder

  • Adding line items in BAPI_PO_CHANGE

    Hi,
    i am using BAPI_PO_CHANGE and i have already created po line item under one PO. Now i want to add more line items under the same document number. How can i do that using BAPI_PO_CHANGE.
    Thanks

    Hi
    Populate the following strucuture in the BAPI
    PURCHASEORDER = PO Number
    Tables :
    POITEM    = itab_item
    POITEMX  = itab_itemx
    where in the Itab_item fill in the item details and mark X in the corresponding fields in itab_itemx.
    also call the BAPI_TRANSACTION_COMMIT  so that the data would be saved.

  • Unable to Update PO Customerdata tab at Item level using BAPI_PO_CHANGE

    Dear Experts,
    I am unable  to Update PO customer tab data at item  level using BAPI :BAPI_PO_CHANGE.
    I am passing the data structure  through  EXTENSIONOUT is refered with BAPIPAREX structure.
    Can any one help on this.
    Best regards,
    Venkata Siva.

    Hi Venkat,
    Check this note 1033925.[Using Extension|Update EKKO table for the custom field through BAPI;
    Regards,
    Madhu.

Maybe you are looking for