BAPI_SALESORDER_CHANGE - Updating pricing after change to shipping cond.

Hello!
    I am using BAPI_SALESORDER_CHANGE to update the shipping conditions of sales orders (ex: from "standard" to "next day air").  That part is working fine; the conditions are updated correctly and all is well there.  The problem, at least with my code, is that the freight charge pricing condition is not re-determined.
    Can I do that with that BAPI, or do I need to call a subsequent function to re-determine the pricing?  I'm very fast with points and I will gladly reward any useful answers!
Thanks!
John
MOVE: in_po_number TO wf_order_change_header-purch_no_c,
              in_req_deliv_date TO wf_order_change_header-req_date_h,
              in_shipping_code TO wf_order_change_header-ship_cond.
        wf_order_headerx-updateflag = in_update_flag.    "U
        wf_order_headerx-req_date_h = wc_update_flag.
        wf_order_headerx-purch_no_c = wc_update_flag.
        wf_order_headerx-ship_cond = wc_update_flag.    "X
        LOOP AT in_tab_order_items.
          IF in_tab_order_items-update_flag CO 'DUI'.
* Create the line item number and add the article number
            CLEAR wa_order_items.
            wa_order_items-itm_number = in_tab_order_items-item_number.
            wa_order_items-material = in_tab_order_items-sap_article.
            APPEND wa_order_items TO int_order_items.
* Set up the table to allow the line item to be updated.  This tells the
* BAPI what fields to update, rather than update them all.
            CLEAR wa_order_itemsx.
            wa_order_itemsx-updateflag = in_tab_order_items-update_flag.
            wa_order_itemsx-itm_number = in_tab_order_items-item_number.
            wa_order_itemsx-material = wc_update_flag.
            APPEND wa_order_itemsx TO int_order_itemsx.
* Set up the schedule line for the quantity and date.
            CLEAR wa_order_sched.
            wa_order_sched-itm_number = in_tab_order_items-item_number.
            wa_order_sched-sched_line = wc_sched_line.
            wa_order_sched-req_date = in_tab_order_items-req_delv_date.
            IF wa_order_sched-req_date IS INITIAL.
              wa_order_sched-req_date = sy-datum.
            ENDIF.
            wa_order_sched-req_qty = in_tab_order_items-req_qty.
            APPEND wa_order_sched TO int_order_sched.
* Set up the table to allow the schedule line to be updated.
            CLEAR wa_order_schedx.
            wa_order_schedx-itm_number = in_tab_order_items-item_number.
            wa_order_schedx-sched_line = wc_sched_line.
            wa_order_schedx-updateflag = in_tab_order_items-update_flag.
            wa_order_schedx-req_date = wc_update_flag.
            wa_order_schedx-req_qty = wc_update_flag.
            APPEND wa_order_schedx TO int_order_schedx.
          ENDIF.
        ENDLOOP.
* Call the BAPI to change the sales order.
        CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
             EXPORTING
                  salesdocument    = in_order_number
                  order_header_in  = wf_order_change_header
                  order_header_inx = wf_order_headerx
             TABLES
                  return           = out_tab_return
                  order_item_in    = int_order_items
                  order_item_inx   = int_order_itemsx
                  schedule_lines   = int_order_sched
                  schedule_linesx  = int_order_schedx
                  order_text       = int_order_text.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
               EXPORTING
                    wait = 'X'.

Hi Daniel;
   We are in 4.6C, but part of your fix did help.  I did start passing LOGIC_SWITCH to update the pricing value of 'B', but I also had to pass in the conditions_inx table, populated as follows:
          DATA: wf_knumv TYPE knumv.
          SELECT SINGLE knumv
             FROM vbak
             INTO wf_knumv
            WHERE vbeln = in_order_number.
          IF sy-subrc EQ 0.
            SELECT SINGLE kposn stunr zaehk
             INTO (wf_conditionsx-itm_number, wf_conditionsx-cond_st_no,
                     wf_conditionsx-cond_count)
               FROM konv
              WHERE knumv = wf_knumv
                AND kposn = in_tab_order_items-item_number.
            IF sy-subrc EQ 0.
              MOVE: 'ZFF1' TO wf_conditionsx-cond_type,
                    'X' TO wf_conditionsx-updateflag.
              APPEND wf_conditionsx TO int_conditions_inx.
            ENDIF.
          ENDIF.
Thanks!
John

Similar Messages

  • Updating iCloud after change of Apple id

    Just updated my Apple Id after changing my e- mail address. All was fine until I tried to update the iCloud settings on my iPhone and iPad. Both are asking me to turn off Find my IPhone (iPad) but keeping presenting me with my old Apple id which won't work. Anyone know how to do it? Thanks

    I've seen this before, if I were you, change your appleid to the previous email address if you can, then try it.
    Then sign out of that apple id completely all over the phone and ipad, e.g. imessage, facetime, icloud etc etc.
    Then change it
    Then log back in again

  • ADF partial page updates fails after changing the JSESSIONID name

    Hi All.
    I'm using Human Task WorkFlow (11g, wls 10.3.4).
    I changed session-descriptor to WORKLISTAPPSESSIONID of woklistapp application and my deployed TaskFlow.
    After that ajax partial pages updates fails with java.lang.NullpointerExpcetion in the log.
    I think ajax based code does not use session-descriptor element (in the weblogic.xml) to determine the session id cookie name.
    And i cant find where and what i have to modify?
    Guys, please, help.
    Oleg.

    repost
    --

  • Updating code after changing UIR

    How do you update your source code (.c) and header file (.h) after making changes to your user interface (.uir) without wiping out previously written code?
    This happens if I hit Code > Generate All Code and even then, my .h file does not reflect the changes made in the UI.  How can I update the .h file and only add new code to the .c file?
    PS, it would be cool if the UI function panels had a drop-down list for the ControlID argument listing the controls that have been defined.
    Thank you.
    Solved!
    Go to Solution.

    Hello DQDave,
    which version of CVI are you using?
    Up to CVI2012SP1 things are as follows.
    By setting Options >> Preferences >> More... and checking options like this way all controls have a unique name and all changes are immediately reflected in the .h file associated to the UIR file when you save it
    To simply add the code for a single control that you have added after generating some code, you can right-click the control and choose Generate Control Callback (or press Ctrl + G): you will receive the following warning in case the function for that contro already exists, otherwise the control callback will be created (Use Code >> Set target file menu option to specify the file where to generate the code)
    Is there anothes situation you are facing thet behaves differently?
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Pricing after change of delivery date in sales order

    Hi,
      When i change delivery date in a sales order prices are not recalculated automatically .
    I want the prices to be calculated automatically .
    thank you.
    Ashok

    hi,
    i have this problem, can anyone suggest me, is there any user exit or anything relevant for the solution.
    When we attempt to remove the Rejection flag (for any Reason) The system is changing Dates in sales order like Delivery date , Shipping date, GR date  to current date this needs to be stopped and client wants to retain old set of dates when rejection flag is removed
    waiting eagerly for this solution. if you find send me mail to my id [email protected]
    bharadwaj.

  • Problem with updating apps after changing country in appstore account

    I have recently moved from France to New Zealand so I changed the country of my app store account. But now I can't update the apps I downloaded in the French store as I am in NZ with NZ store set. How can I fix that?

    KiwiBens wrote:
    How can I fix that?
    You'll have to switch back to the French store to update those apps.

  • Updating apps after changing appleid

    I have just changed my email address and so I have attempted to change my appleid.  I am having trouble getting my apps to migrate to my computer after signing in with my new appleid.  Will apps purchased under the old id migrate to the new one?  Once the appleid is changed is there a delay in the system for having the change recognized across apps/programs?

    I want some more info here. Did you only change the EMAIL that's associated with your Apple ID, or did you actually change the whole name of the Apple ID?

  • Updating apps after changing country & iTunes store

    Ive change country and updated my iTunes store account. Since then I've learnt that my apps are linked to the address of the iTunes account where they were brought. ITunes tells me I have apps that need to be updated, but when I ask it to show me these apps, I get nothing, as the apps to be updated dont match to the account I'm now using.
    The way I've managed to work around this is to transfer all my brought apps onto my iPad, and ask it to show me apps to be updated, which it happily does. I update all the apps with the iPad and then sync these pack to my Mac and now these apps have been updated to belong to my new iTunes account! Any updates to these apps can be done with iTunes from now on.
    My problem lies with the amount of apps I've brought over the last couple of years. I've updated the app's address using the above method for 90% of my apps, and now have the odd app that requires this lengthy process to catch the remaing 10%.
    My question is - is there a quicker way to find out which of my apps belong to my old iTunes store account without having to migrate back to my old iTunes store and changing bank account details?
    Thanks.

    KiwiBens wrote:
    How can I fix that?
    You'll have to switch back to the French store to update those apps.

  • Can't Update Apps After Changing Email Address

    Recently, I changed my Apple ID from my Yahoo! Email to MobileMe. Now every time I try to update my Apps in iTunes or the Mac App Store, I can't update the ones that I bought when I used my Yahoo! Email address. I can still download the updates if I sign in with my Yahoo! account, but that gets annoying.

    To answer you Oh yes I waited.... in fact almost 3 hours and it should not take that long..... I actually ended up restoring it and starting all over again. Seemed to work! We will see....
    Thank you

  • "Error when activating update rule" after changing ODS key

    Hi Gurus,
    I have problem when transporting in productive system an existing ODS & the update rule linked. The message is  :  "Error when activating update rule".
    This is when i move one field from the key to a simple field of the ODS.
    Before transporting requests, i deleted data in the ODS by right-click on ODS --> Request tab --> select the request --> click on delete....
    I don't understand because i did the same in Qual environment and everything is OK : transport request & ODS loading...
    Please help.....

    Hello,
    Please try to check/perform the following steps:
    1- You must ensure for the update rule have mapping between infosources
       and ODS/CUBEs correct, this means that also these objects need
       to be of the same version in the source system of the transport as in
       target system.
    2- Please ensure all infoobjects in the cube are active.Please
       reactivate all the objects again in source system.
    3- Ensure all infoobjects are found in the communication structure.
    4- Please try to collect the update rule via BW transport connection
       with the grouping option "only necessary objects" and then transport
       those objects again.
    Could you please reactivate the infocube and its update rules again
    and then create a new transport for this infocube and transport it
    again.
    Best regards,
    Paula Csete

  • After the download of the new version of numbers the cells with formulars are not updated automatically after changing values in cells in the formular. In the previous version this was done automatically. How to make it work again?

    Downloaded new version of Numbers last night. Formulars in excisting spreadsheets are not working anymore.
    Pls. Help.

    You need to give a lot more information if you are to grt help. What are the formulas and how are you using them?

  • Database table not updating with the changes

    Hi friends,
                    Iam having a tablecontrol where iam gettting the data from the ztable for a particular key field.  When i change certain fields in the table control and when i click save, it should update the changes in the ztable.
       module save output.
       modify zslip_po1 from table x_po1_slip.
    here slpno is the key field.  if I change a field for a particular slpno it should update the changes for that slpno value only.
    but it is not updating the changes. although iam setting the slpno field dynamically.
    Please give me ideas.
    thanks and regards
    Murali Krishna T

    Hi,
    1. Have 2 Internal Tables, the first one must contain the original data(before change ) and the second one  contains the update data(after changed ie. table control data).
    2. loop the first table and read the data from the second table using index.
    3. inside the loop, compare the work area of both the internal table.
       if both are same, then no change was made to that particular record, so no need for updation
       if both are not same, then some changes were made on that record, so need to update.
    4. use modify command to update that particular record from the work area.
    i think in performance wise also this logic will be helpful, since we are updating only the changed record.
    since this is addon table, so i hope the no of records will also less, so no need to worry about loop.
    check with this, it may work out......
    thank you,
    SenthilPandi C
    Edited by: SenthilPandi ChandraSekaran on Feb 4, 2010 5:36 PM

  • Problem with updating pricing date using BAPI_SALESORDER_CHANGE

    Hi,
    I need to update pricing date on sales order (but only on item level).
    I have been trying to use  BAPI_SALESORDER_CHANGE but nothing changes.Bapi returns no errors, ends with success.
    I hoped that bapi would change not only pricing date but also recalculate things the date affected.
    Here is my code:
    ls_head_inx-updateflag = 'U'.
    ls_bapisdls-pricing = 'C'.
    ls_item-itm_number = sales_order_posnr
    ls_item-price_date = new_price_date
    APPEND ls_item TO lt_item.
    ls_item_inx-itm_number = sales_order_posnr
    ls_item_inx-updateflag = 'U'.
    ls_item_inx-price_date = 'X'.
    APPEND ls_item_inx TO lt_item_inx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
              EXPORTING
                salesdocument     = sales_order
                order_header_inx = ls_head_inx
                logic_switch         = ls_bapisdls
              TABLES
                return                 = lt_return
                order_item_in     = lt_item
                order_item_inx   = lt_item_inx
    Thanks & Regards,
    Mario

    Mario,
    I run same code as yours and work for me fine, able to update ITEM pricing date.
    I suppose you are using BAPI_TRANSACTION_COMMIT after your BAPI call, then only it will work.
    Also note that VBKD table stores this date for header and item. In my system, there are generally only header rows in that table, but a new item row gets generated when I change the item date with the BAPI to some other date. Also, this BAPI sometimes issues a W message instead of ERROR for something like non-existing items, so carefully check your RETURN table too.
    'Item 000002 does not exist' as WARNING message, so might be considering it as a success.
    If nothing works, try to do the same thing for the same data using VA02 and check . If that works, BAPI will work surely.
    Regards,
    Diwakar

  • BAPI_SALESORDER_CHANGE - Want to change the Ship-to-party at header level

    Hi
    I want to change the Ship-to-party at header level in the Sales Order created. I tried using the BAPI BAPI_SALESORDER_CHANGE  as shown below.
    When I run the program I get the log as Sales Order 45 saved succesfully. However, I don't find the SO changed. Apart from this I get an Express Message saying the Updation failure. Not sure of what'z wrong here.
    Pls help
    thanks
    girish
    REPORT  ZBAPI_SALESORD_CHANGE.
    data : zBAPISDHD       type BAPISDH1,
           zSALESDOCUMENT  type BAPIVBELN-VBELN.
    data : zORDER_ITEMS_IN     like /AFS/BAPISDITM occurs 0 with header line,
           zORDER_SCHEDULES_IN like /AFS/BAPISDSCHD occurs 0 with header line,
           zORDER_PARTNERS like BAPIPARNR      occurs 0 with header line,
           zRETURN         like BAPIRET2 occurs 0 with header line,
           so_no           type BAPIVBELN-VBELN,
           zORDER_HEADER_INX    TYPE BAPISDH1X,
           zPARTNERCHANGES like  BAPIPARNRC occurs 0 with header line.
    clear : zBAPISDHD.
    so_no = '0000000045'.
    data : l_comp_qty like zORDER_ITEMS_IN-COMP_QUANT.
    l_comp_qty = 10.
    zBAPISDHD-SALES_ORG = 'BP01'.
    zBAPISDHD-DISTR_CHAN = '02'.
    zBAPISDHD-DIVISION = '01'.
    zORDER_HEADER_INX-UPDATEFLAG = 'U'.
    zORDER_HEADER_INX-SALES_ORG  = 'X'.
    zORDER_HEADER_INX-DISTR_CHAN = 'X'.
    zORDER_HEADER_INX-DIVISION = 'X'.
    Ship to pary
    zORDER_PARTNERS-PARTN_ROLE = 'WE'.
    zORDER_PARTNERS-PARTN_NUMB = 'BPAFS0007'.
    append zORDER_PARTNERS.
    zPARTNERCHANGES-DOCUMENT = '45'.
    zPARTNERCHANGES-ITM_NUMBER = '10'.
    zPARTNERCHANGES-UPDATEFLAG = 'U'.
    zPARTNERCHANGES-PARTN_ROLE = 'WE'.
    zPARTNERCHANGES-P_NUMB_OLD = 'BPAFS0001'.
    zPARTNERCHANGES-P_NUMB_NEW = 'BPAFS0007'.
    append zPARTNERCHANGES.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        SALESDOCUMENT               = so_no
        ORDER_HEADER_IN             = zBAPISDHD
        ORDER_HEADER_INX            = zORDER_HEADER_INX
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
      TABLES
        RETURN                      = zRETURN
      ORDER_ITEM_IN               =
      ORDER_ITEM_INX              =
        PARTNERS                    = zORDER_PARTNERS
        PARTNERCHANGES              = zPARTNERCHANGES.
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
    data : s_BAPIRET2 like  BAPIRET2.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    exporting
    wait = 'X'
    importing
    return = s_bapiret2.

    Thanks Prashanth. It worked !!!!!!!!!!!!!
    Now I am facing another type of problem. The requirement is to change the Sales Order Item Quantity. I basically planned to update the quantity of Schedule Item which needs to be changed. When I run the below code, it works and says the Sales Order changed succesfully. However I get an express message saying the Database update failure. I don't get any sort of technical information.
    Appreciate if you could help me finding the error.
    Thanks
    regards
    girish
    Note --> I am trying to change the Quantity for 2 line item in SO '56' to 40 Units.
    REPORT  ZBAPI_SALESORD_CHANGE.
    data : zBAPISDHD       type /AFS/BAPISDHD,
           zORDER_HEADER_INX    TYPE /AFS/BAPISDHDX,
           zSALESDOCUMENT  type BAPIVBELN-VBELN.
    data : zORDER_ITEMS_IN     like /AFS/BAPISDITM   occurs 0 with header line,
           zORDER_ITEM_INX     like /AFS/BAPISDITMX  occurs 0 with header line,
           zORDER_SCHEDULES_IN like /AFS/BAPISDSCHD  occurs 0 with header line,
           ZSCHEDULE_LINESX    LIKE /AFS/BAPISDSCHDX occurs 0 with header line,
           zORDER_PARTNERS like BAPIPARNR      occurs 0 with header line,
           zRETURN         like BAPIRET2 occurs 0 with header line,
           so_no           type BAPIVBELN-VBELN,
           zPARTNERCHANGES like  BAPIPARNRC occurs 0 with header line.
    data : l_comp_qty like zORDER_ITEMS_IN-COMP_QUANT.
    data : g_qty like /AFS/BAPISDSCHD-REQ_QTY.
    g_qty = 40.
    l_comp_qty = 40.
    clear : zBAPISDHD.
    so_no = '0000000056'.
    zBAPISDHD-REFOBJTYPE = '/AFS/ORDER'.
    zBAPISDHD-SALES_ORG = 'BP01'.
    zBAPISDHD-DISTR_CHAN = '02'.
    zBAPISDHD-DIVISION = '01'.
    zBAPISDHD-PMNTTRMS = '0001'.
    zORDER_HEADER_INX-UPDATEFLAG = 'U'.
    zORDER_HEADER_INX-SALES_ORG  = 'X'.
    zORDER_HEADER_INX-DISTR_CHAN = 'X'.
    zORDER_HEADER_INX-DIVISION = 'X'.
    zORDER_HEADER_INX-PMNTTRMS = 'X'.
    **********ITEM ***************************************
    zORDER_ITEMS_IN-ITM_NUMBER = '00020'.
    zORDER_ITEMS_IN-MATERIAL = 'F1202'.
    zORDER_ITEMS_IN-PLANT = 'BP01'.
    zORDER_ITEMS_IN-ITEM_CATEG = 'TAS'.
    zORDER_ITEMS_IN-SHIP_POINT = 'BP01'.
    zORDER_ITEMS_IN-COMP_QUANT = l_comp_qty.
    zORDER_ITEMS_IN-TARGET_QTY = l_comp_qty.
    zORDER_ITEMS_IN-TARGET_QU = 'ST'.
    append zORDER_ITEMS_IN.
    zORDER_ITEM_INX-ITM_NUMBER = '00020'.
    zORDER_ITEM_INX-UPDATEFLAG = 'U'.
    zORDER_ITEM_INX-MATERIAL = 'X'.
    zORDER_ITEM_INX-PLANT = 'X'.
    zORDER_ITEM_INX-ITEM_CATEG = 'X'.
    zORDER_ITEM_INX-SHIP_POINT = 'X'.
    zORDER_ITEM_INX-COMP_QUANT = 'X'.
    zORDER_ITEM_INX-TARGET_QTY = 'X'.
    zORDER_ITEM_INX-TARGET_QU = 'X'.
    append zORDER_ITEM_INX.
    *********SCHEDULE LINE******************************
    refresh zORDER_SCHEDULES_IN.
    clear zORDER_SCHEDULES_IN.
    zORDER_SCHEDULES_IN-ITM_NUMBER = '000020'.
    zORDER_SCHEDULES_IN-SCHED_LINE = '0001'.
    zORDER_SCHEDULES_IN-REQ_DATE = '20070525'.
    zORDER_SCHEDULES_IN-DATE_TYPE = '1'.
    zORDER_SCHEDULES_IN-SCHED_TYPE = 'CS'.
    zORDER_SCHEDULES_IN-GRID_VALUE = 'BLK2728'.
    zORDER_SCHEDULES_IN-REQ_CATEGORY = '1DE'.
    zORDER_SCHEDULES_IN-REFOBJTYPE = '/AFS/ORDER'.
    zORDER_SCHEDULES_IN-REQ_QTY = g_qty.
    append zORDER_SCHEDULES_IN.
    refresh ZSCHEDULE_LINESX.
    clear ZSCHEDULE_LINESX.
    ZSCHEDULE_LINESX-ITM_NUMBER = '000020'.
    ZSCHEDULE_LINESX-SCHED_LINE = '0001'.
    ZSCHEDULE_LINESX-UPDATEFLAG = 'U'.
    ZSCHEDULE_LINESX-REQ_DATE = 'X'.
    ZSCHEDULE_LINESX-DATE_TYPE = 'X'.
    ZSCHEDULE_LINESX-SCHED_TYPE = 'X'.
    ZSCHEDULE_LINESX-GRID_VALUE = 'X'.
    ZSCHEDULE_LINESX-REQ_CATEGORY = 'X'.
    ZSCHEDULE_LINESX-REFOBJTYPE = 'X'.
    ZSCHEDULE_LINESX-REQ_QTY = 'X'.
    append ZSCHEDULE_LINESX.
    CALL FUNCTION '/AFS/BAPI_SALESORD_CHANGE'
      EXPORTING
        SALESDOCUMENT               = so_no
        ORDER_HEADER_IN             = zBAPISDHD
        ORDER_HEADER_INX            = zORDER_HEADER_INX
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      TABLES
        RETURN                      = zRETURN
        ORDER_ITEM_IN               = zORDER_ITEMS_IN
        ORDER_ITEM_INX              = zORDER_ITEM_INX
        ORDER_SCHEDULE_LINES        = zORDER_SCHEDULES_IN
        ORDER_SCHEDULE_LINESX       = ZSCHEDULE_LINESX.
      PARTNERS                    =
      PARTNERCHANGES              = zPARTNERCHANGES
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
    *CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
       SALESDOCUMENT               = so_no
       ORDER_HEADER_IN             = zBAPISDHD
       ORDER_HEADER_INX            = zORDER_HEADER_INX
    TABLES
       RETURN                      = zRETURN
       ORDER_ITEM_IN               = zORDER_ITEMS_IN
       ORDER_ITEM_INX              = zORDER_ITEM_INX
       PARTNERS                    = zORDER_PARTNERS
       PARTNERCHANGES              = zPARTNERCHANGES
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES               = zORDER_SCHEDULES_IN
      SCHEDULE_LINESX              = ZSCHEDULE_LINESX.
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
    data : s_BAPIRET2 like  BAPIRET2.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    importing
    return = s_bapiret2.

  • So my iPhone 4S started draining battery after recent update, battery got changed and it worked perfect for 3 days, all of a sudden the phone won't stay on unless connected to mains... Cannot receive any signal "searching" constantly. HELP

    So my iPhone 4S started draining battery after recent update, battery got changed and it worked perfect for 3 days, all of a sudden the phone  shut down and now won't stay on unless connected to mains... Claims its at 100% battery but thats impossible as it was at 30% before it shut down randomly.
    Cannot receive any signal "searching" constantly.
    Turns off as soon as removed from usb ... wont stay on connected to laptop!
    HELP!

    The iPhone includes a one year warranty. If an Apple store is not nearby, you can call AppleCare and handle an exchange under warranty over the phone. The exchange will be shipped to your door - someone must sign for the delivery so if no one will be at home, have it delivered where you work. You use the same box to return the existing iPhone back to Apple. Return shipping label and tape to reveal the box incuded - call the carrier with number incuded when the box is ready to be picked up. AppleCare will request a credit card in the event the existing iPhone is not returned within 10 days after the exchange under warranty is received.
    Hardware can fail - it happens, which is why there is a one year warranty.

Maybe you are looking for