Update delivery address in PO using BAPI BAPI_PO_CREATE1

Hi,
I want to update the delivery address of line item using BAPI BAPI_PO_CREATE1. I am creating address using BAPI BAPI_ADDRESSORG_SAVEREPLICA and I am sending the address number in the import parameter POADDRDELIVERY but it is not updating the delivery address.
Regards,
Anil N.

Hi.
after called the BAPI BAPI_PO_CREATE1 call the FM BAPI_TRANSACTION_COMMIT.
it will work
regards
Marco

Similar Messages

  • Updating Delivery Address in PO

    Hi guys,
    I have successfully created PO using BAPI_PO_CREATE1. 
    After creation of PO, in the same program, I am trying to use BDC to insert data into the field ADRN2 ( under delivery address tab in ME22n ), but I keep getting error message saying that <PO number> is locked by myself.
    Any idea how I can pass along the ADRN2 during PO creation? or any idea how can I 'unlock' the PO so that I can proceed with the BDC data insertion?
    Thanks!

    Hi,
    In the same bapi try to fill the table POADDRDELIVERY .....with address data.
    Thanks,
    Shailaja Ainala.

  • Getting errors when iam using bapi ' BAPI_PO_CREATE1'

    Hi Sap Gurus,
    I need small info over bapi BAPI_PO_CREATE1.
    While creating Purchase orders using BAPI_PO_CREATE1 it is not allowing me to enter partner function details .I am getting below errors.
    i.e
    1)  it is not allowing to update partner function details.and iam not getting what excact bapi structure for partner function details.here i found 'BAPIEKKOP' in tables option.but these fields are not matching with ME21N screen partner function fields . I want to update PARTNER FUNTCION, PARTNER NAME, DEFALT PARTNER.in bapi structure BAPIEKKOP there is no DEFAULT PARTNER instead of this there is DELETION INDICATOR.
    Pls let me know the exact bapi structure and fields in BAPI.
    2). I am getting the below error when iam posting the Pur.Order
    i.e Item 10 Acct Assgt 1
    Account 460600 does not exist in chart of accounts CANO.
    what does it means? Evenif that Account is existed in chart of account CANO and Even i posted that PO, it showing like above.and iam getting all field in PO like CO area,COST center and G/L account for Account Assingment group 'K' .
    I could not understand why it is giving such type of errors.
    Pls let me know the anwsers for above errors .
    thanks in advance.

    Hi Sap Gurus,
    I need small info over bapi BAPI_PO_CREATE1.
    While creating Purchase orders using BAPI_PO_CREATE1 it is not allowing me to enter partner function details .I am getting below errors.
    i.e
    1)  it is not allowing to update partner function details.and iam not getting what excact bapi structure for partner function details.here i found 'BAPIEKKOP' in tables option.but these fields are not matching with ME21N screen partner function fields . I want to update PARTNER FUNTCION, PARTNER NAME, DEFALT PARTNER.in bapi structure BAPIEKKOP there is no DEFAULT PARTNER instead of this there is DELETION INDICATOR.
    Pls let me know the exact bapi structure and fields in BAPI.
    2). I am getting the below error when iam posting the Pur.Order
    i.e Item 10 Acct Assgt 1
    Account 460600 does not exist in chart of accounts CANO.
    what does it means? Evenif that Account is existed in chart of account CANO and Even i posted that PO, it showing like above.and iam getting all field in PO like CO area,COST center and G/L account for Account Assingment group 'K' .
    I could not understand why it is giving such type of errors.
    Pls let me know the anwsers for above errors .
    thanks in advance.

  • How create a purchase order without imputation using bapi: BAPI_PO_CREATE1

    Hello Forum
    I have an request for purchase order with imputation K (cost center, EBAN-KNTTP). During the liberation of the request for purchase order, and using the Bapi: BAPI_PO_CREATE1, I want to create a Purchase Order without imputation (imputation empty or charge empty).
    The system displays the following error: The request for purchase order, item (position) 10, is attributed to another order...
    I imagine that is because the request for purchase order has imputation (charged) K and the purchase order will have no type of imputation (imputation empty).
    However, manually, Yes, I can create the purchase order. That is, I first release, the request for purchase order. Then I create the order of purchase using ME21 and with reference to request for purchase order, and when SAP returns the items of the request for purchase order, I manually remove the imputation K, and these items to become the purchase order.
    Please support me want to know how to resolve this case, why can not I create a purchase order without imputation to from the request for purchase order with imputation K, using Bapi
    Thank you.
    Greetings,

    Hi,
    In the item overview of the purchase order creation screen (ME21N), you have a column Purchasing Doc and next it item no.  You can give the existing purchase order number here with item no which will create a purchase order, and changes can be made wherever you require.
    Hope this helps.
    Thanks
    Krishna.

  • Changing Net Price using bapi 'BAPI_PO_CREATE1'

    Hi All,
    I have a requirement to create the PO using BAPI .In this ,  the Net Price value is automatically updated from Info record.
    Can any one pls suggest the procedure how to update this Net Price through a flat file , and not through the info record.
    Thanks in advance...
    Regards,
    Sivani.

    HI,
    Try to set the IMPORT paramter NO_PRICE_FROM_PO = 'X'.
    also if u want the data from the flat file collect the data from flat file to internal table.
    loop through that internal table
    call BAPI.
    endloop.
    Hope this solves ur problem
    Thanks ,
    Ruchi

  • Delivery Address in SRM  - use of ECC plant address

    Hello experts,
    we are using SRM 7.0 in the classic scenario. Our goal is to use the ECC plant address as delivery address in ECC purchase orders. This is working just fine if the delivery address in SRM is neither maintained through the attributes nor manually. The only problem for the enduser is, that the ECC plant address is not visible in SRM.
    Is there a possibility to make the plant address visible in the SRM Shopping Cart?
    Thanks in advance.
    T.

    For this you may need to put some simple RFC log in DOC_Change_BADI..
    Logic:
    Pre-requirement:
    Mapping between Storage location and ECC address number..
    Business logic
    Once the use select a storage location the Doc_Change Log will call the ECC to get the address info and populate accordingly under Delivery address tab..
    Advantages:
    You don't have a risk here to maintain the address information in SRM..
    Thanks!!
    Bharath

  • Updating Condition Rate in SO using BAPI 'BAPI_SALESORDER_CHANGE'

    Hi,
    I want to update the price related to condtions(both automatic and manual) in Sales Order items from input file. I am using bapi 'BAPI_SALESORDER_CHANGE' to for this.
    I used follwing code,
    wa_so_cond-itm_number = wa_input-so_item.
    wa_so_cond-cond_type  = wa_input-kschl.
    wa_so_cond-cond_st_no = '011'.
    wa_so_cond-cond_count = '00'.
    wa_so_cond-cond_value = wa_input-kbetr.
    APPEND wa_so_cond TO i_so_cond.
    CLEAR wa_so_cond.
    wa_so_condx-itm_number = wa_input-so_item.
    wa_so_condx-cond_type  = wa_input-kschl.
    wa_so_condx-cond_st_no = '011'.
    wa_so_condx-cond_count = '00'.
    wa_so_condx-updateflag = c_u.
    wa_so_condx-cond_value = c_x.
    APPEND  wa_so_condx TO i_so_condx.
    CLEAR wa_so_condx.
    But this is creating a new line in conditions instead of updating the existing line, even though the existing line is a inactive by crerating a new line I want to update the exsting line with new condition rate instead of creating a new line. Please help me if you have any soultion for this.
    Thanks in Advance,
    Prasad JVV.

    Hi Sandipan,
    I used APPEND to fill the conditions_in & conditions_inx, without filling the tables how can I modify?
    Thanks,
    Prasad JVV.

  • Update VAT registration number by use  BAPI BAPI_CONTRACT_CREATE

    Hi,Experts!
    I have a problem when I use BAPI BAPI_CONTRACT_CREATE to Create contract ,
    I need to fill in the field EKKO-stceg(VAT registration number),but can't find any parameter in that BAPI.
    please help!

    Hi Mf,
    Yes there is no field for vat no in this bapi.Please check with extension parameter.
    Regards,
    Madhu.

  • International Address versions updation in SAP Bank master using BAPI

    Is there a function module/BAPI to update the adrc and related tables when the bank master creation is done?The bank master creation is done via BSP pages.
    Regards,

    BAPI_BANK_CREATE creates only one version and  BAPI_BANK_CHANGE can be used only to modify existing entries.SO both wont work in my case.

  • Problem in updating the GR processing time using BAPI 'BAPI_SAG_CHANGE'

    Hi,
    I am using the BAPI 'BAPI_SAG_CHANGE' for uopdating the GR processing time(BAPIMEOUTITEM-GR_PR_TIME) of the scheduling agreements.
    Issue: when there is no value maintained for GR processing time for a particular scheduling agreemnet the BAPI updates the GR processing time successfully but when there is some value already existing for a particular scheculing agreement then the BAPI does not update this field eventhough the return parameter shows the message 'successfully updated'.   
    Can somebody suggest what could be the reason.
    OR
    Is there any other way/FM to update the scheduling agreements.  
    Thanks,
    Ravindra

    This appears to be old-style BAPI, with ....X tables.  Did you populate the field in the X version of the outitem for the column(s) to be changed?  Did you call the COMMIT bapi after the update?

  • Need to update delivery address

    Hi, I need to update my shipping address for a couple of deliveries. I checked UPS website and they require you contact the shipper. Apple doesn't seem to have an email address I can send the message to - any help appreciated!

    This is an iPad user to user forum, so you are not addressing Apple.
    You'll have to contact whomever you purchased the iPad.
     Cheers, Tom

  • How to set shipping instructions by using BAPI BAPI_PO_CREATE1

    I set the value on BAPIMEPOITEM-SHIPPING to set the shipping instructions and execute BAPI to create PO. After I created it and check it by ME23N. I found the field shipping instructions is still blank. Is the filed can't be set value since it is a drop down control ?
    Can you help me with this problem? thanks a lot.
    slam

    Dear Seshu
    Thank you for your reply.
    I found the BAPIMEPOITEMX contains all the fields' update flags.
    I will try to set BAPIMEPOITEMX-shipping as 'X' and try once again.
    I will let you know the result soon.
    thanks a lot

  • Purchase Order Creation using BAPI  BAPI_PO_CREATE1.

    Hi All,
    We are trying to create a pruchase order with the below line items.
    Example: 
    Line item            Material         Quantity        Price                 
    10                     MATNR1        1                    53   --> should be 59
    20                     MATNR1        1                    53  --> should be  59
    30                     MATNR1        1                    53  --> should be  59
    40                     MATNR1        1                    53 --> should be   59
    50                     MATNR1        4                    53 --> Correct price based on the quantity 4.
    In the above example as the total quantity is more than 4 ( consolidating the 5 line items ), the price for each line item is picked from the Info record  applying the scaling condition for  quantity 4. Standard SAP will consolidate the quantities based on Service material, Purchase Organization, Vendor and Plant and pick the price based on the scales from Info record.
    The expected out put is.
    Line item            Material         Quantity        Price                 
    10                     MATNR1        1                    59  
    20                     MATNR1        1                    59 
    30                     MATNR1        1                    59 
    40                     MATNR1        1                    59
    50                     MATNR1        4                    53
    Please help us in knowing on how to populate the bapi to get the Expected output.

    Hi All,
    We are trying to create a pruchase order with the below line items.
    Example: 
    Line item            Material         Quantity        Price                 
    10                     MATNR1        1                    53   --> should be 59
    20                     MATNR1        1                    53  --> should be  59
    30                     MATNR1        1                    53  --> should be  59
    40                     MATNR1        1                    53 --> should be   59
    50                     MATNR1        4                    53 --> Correct price based on the quantity 4.
    In the above example as the total quantity is more than 4 ( consolidating the 5 line items ), the price for each line item is picked from the Info record  applying the scaling condition for  quantity 4. Standard SAP will consolidate the quantities based on Service material, Purchase Organization, Vendor and Plant and pick the price based on the scales from Info record.
    The expected out put is.
    Line item            Material         Quantity        Price                 
    10                     MATNR1        1                    59  
    20                     MATNR1        1                    59 
    30                     MATNR1        1                    59 
    40                     MATNR1        1                    59
    50                     MATNR1        4                    53
    Please help us in knowing on how to populate the bapi to get the Expected output.

  • How to change currency in PO item by using BAPI 'BAPI_PO_CREATE1'

    Hi. i want to change currency in PO item.i just find this field in condition table in this BAPI. code is as below
    *POPULATE condition data
            CLEAR t_po_condition.
            t_po_condition-ITM_NUMBER      = v_poitem * 10. " Item No.
            t_po_condition-COND_TYPE       = 'PBXX'. " Condition type
           t_po_condition-CALCTYPCON      = C_B. " Calculation type
            t_po_condition-COND_VALUE      = SEQ_FILEH-NETPR. " Condition value
            t_po_condition-CURRENCY        = SEQ_FILEH-WAERS.
            t_po_condition-COND_P_UNT      = SEQ_FILEH-PEINH.
            t_po_condition-CONDCHAMAN       = c_x.
            t_po_condition-COND_UPDAT      = c_x.
            APPEND t_po_condition.
    *POPULATE condition data flags
            CLEAR t_po_conditionX.
            t_po_conditionX-ITM_NUMBER         = v_poitem * 10.
            t_po_conditionX-ITM_NUMBERX        = C_X.
            t_po_conditionX-COND_TYPE          = C_X.
            t_po_conditionX-CALCTYPCON         = C_X.
            t_po_conditionX-COND_VALUE         = C_X.
            t_po_conditionx-CURRENCY           = C_X.
            t_po_conditionX-COND_P_UNT         = C_X.
            t_po_conditionx-CONDCHAMAN       = c_x.
            t_po_conditionx-COND_UPDAT      = c_x.
            APPEND t_po_conditionX.
    any advice?

    Just Select The Total Column, then Drag & Drop accordingly..
    whereever you want..
    Alternatively you can do by
    in the top right corner of the item overview you have a button for table control (above the vertical scroll bar).
    If you click that button, you get a pop-up from where you can customize the layout.
    Press the blue info button there and read how this is to be done.

  • Delivery cost not created during GRN of PO using BAPI

    I have a customized program which use BAPI - BAPI_PO_CREATE1 to create PO, PO was created successully.
    then program will use BAPI - BAPI_PO_CHANGE to update condition pricing, which is also executed succesfully. all condition pricing (KONV) updated correctly.
    Lastly, the program will use BAPI - BAPI_GOODSMVT_CREATE to create GRN and update delivery cost. However in my case, the delivery cost is not update, EKBZ table record is not created, as well as GRN item line table MSEG table is not updated with delivery cost.
    Anyone face this type of problem before?What is the possible causes?
    Any help and suggestion is greatly appreciated.

    Lai,
    you should try asking this on ABAP forum thread. You will get a response. May be there is another BAPI u should use or may be you the usage of BAPI is incomplete. Pl confirm with ABAP forum.
    Rgds

Maybe you are looking for

  • BI Pattern Wizard Role Missing in 2004s!

    Hi, In the Front-end design guidlines document for 2004s the BI Pattern Wizard Section mentions that the reuseable Web Items are available in role SAP_BW_PATTERN_OBJECTS.  I can't find this role in the system and it doesn't show up in Business Conten

  • How to download adobe reader in macbook air

    I just bought a macbook air few days ago, tried to install adobe reader but it didn't work, i can't still open a pdf file

  • SignatureValidate() method not working in acrobat reader 5

    Hi All, Will the method signatureValidate() work in acrobat reader 5. the same pdf validation which is working in acrobat reader versions >= 7 and not working in version 5. Kindly let me know if there are any alternative methods available to detect t

  • Airport Express or Extreme Card?

    I have an airport extreme base station with cable modem for my ibook. I now have a second hand computer - (imac 10.2.8) and would like to connect it. I haven't a clue which I should get so I can have the internet on both.

  • Ugrading EBS 11i to latest JRE

    Hi hussein and all, EBS 11i OEL 5 9I Up to now we are still using old browser (firefox 2.2) and jinitiator to access or prod EBS. We want to migrate it to using JRE - https://blogs.oracle.com/stevenChan/entry/jinitiator_13_to_be_desupporte By using t