BAPI_Salesorder_change - Updating Internal Shipping instructions

Hi,
    I am tring to change the internal shipping instrution of a sales order. Can please let me know whih field of the BAPI should I use to update the BAPI.

Hi Arvind
I hope you are trying to update the shpping instruction text, which is available in the long text, if not let me know, where is the field located in sales order
If that is correct.
Than you have to use the following table in the BAPI to update the same.
ORDER_TEXT.
You have to pass
In that structure
For DOC_NUMBER - Sales order number
      ITM_NUMBER - Item number
      TEXT_ID - '0012'
LANGU - 'EN'
TEXT_LINE - Pass the actual text
FUNCTION - Choos the required function listed in the domain
Regards
MD

Similar Messages

  • Problems printing international shipping labels in PayPal since updating to iOS 7

    Problems printing international shipping labels in PayPal since updating to iOS 7. When I press the reprint label button, another tab opens up, which it did in the previous version but instead of the shipping label bring displayed I get a message saying cannot open page as the network connection has been lost. By this point I have already been charged for the shipping. Any ideas why???

    I have the same problem, not just with international labels, but with any shipping labels in Paypal.  iPhone 5 and iPad w/ Retina Display using iOS 7.0.2.

  • 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

  • Is there a procedure to auto populate shipping instructions on Kanban STOs?

    Hello,
    The scenario is this:
    - intra-company STO (does not cross borders, no billing), type UB, created via Kanban when the bin is emptied
    - for this organization, type UB STOs also originate from other sources (ie, conversion from Purchase Reqs), not just originating from Kanban; although for a single material within a plant, Kanban is the method and UB STO is the replenishment strategy
    - Shipping instructions (on the Delivery Line Item tab) are a required field when UB STO is created directly, but via Kanban background process the STO is saved successfully without shipping instructions (I find this interesting). This is not a text for shipping instructions, it's the element EVERS, field name EVERS in structure MEP01313.
    The problem is this:
    - the user (in this case the planner) must go in to manually add the shipping instructions on the Delivery Line Item tab prior to SAP allowing delivery document creation & shipment activities. this manual intervention by the user is unacceptable to the  business.
    The desired solution from the business is this:
    - the business has specified a default shipping instruction that they want (it is configured and ready to go)
    Steps we've taken to resolve:
    -I first thought of using a purchasing info record. But we cannot use a purchasing info record to default the shipping instructions because this STO is using SUPPLYING PLANT and not vendor as the relationship.
    -Then, I thought about maintaining shipping instructions on the purchasing view material master record, but the requirement is to only default these shipping instructions when they originate from Kanban and when the STO type = UB. So I thought it was too broad because it could impact other purchasing functions for the same material, plus the info record doesn't work for supplying plant.
    -Now I am thinking about a procedure of some sort to configure to find the correct shipping instructions when material master + STO data meet certain characteristics. Is there such a thing?
    -Another option would be a user exit available in the STO to do a check for Kanban indicator and STO type and then to choose the desired shipping condition, but this doesn't seem as elegant as other potential options, and seems restrictive (ie, hard-coding the key for the desired shipping instructions or building a ztable with combinations of STO attributes and desired shipping condition, which requires maintenance).
    -Finally, it seems odd that the background creation of the STO via Kanban doesn't trigger a hard error when it checks the document for completeness, rather than saving and getting a document # even though the document is missing a required field. This seems to point to STO user exit as a way to fix this problem.
    Your thoughts on the assumptions we've made and the potential resolutions are greatly appreciated.
    Rebecca
    Edited by: Rebecca Slomski on Oct 8, 2008 7:37 PM

    Answered my own question. This may help someone, so here is the answer for version 4.6.
    The way to automatically default shipping instructions when the STO uses "SUPPLYING PLANT" instead of vendor is to first configure a purchasing value key that contains the shipping instructions. The path is: IMG>Materials Management>Purchasing>Material Master>Define Purchasing Value Keys.
    Then, the material master record must be updated on the Purchasing View with the new purchasing value key.
    Cautions to this approach:
    1. Even though this is on the Purchasing View, purchasing value key is on the MARA table, so it is not a plant-specific material master setting. One purchasing value key per material master record.
    2. The purchasing value key contains settings for reminders and over/under-delivery tolerance percentages. This is interconnected with the choice of shipping instructions. Be sure that the purchasing value key is configured to meet the wide variety of planning needs that could exist at multiple locations where the material is used.
    3. Some of the above considerations are mediated by the fact that the material master purchasing value key is over-ridden by specific information contained on a purchasing info record or a contract.

  • 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

  • Automatic PR to PO - 2 POs for 2 PRs based on Shipping Instruction

    Hi,
    I have maintained 2 different shipping instruction for 2 different materials in the contract and the PRs are generated through MRP for these materials.
    Now I need to convert these PRs to POs automatically, the result should be 2 POs should be generated for 2 PRs which have different shipping instruction and the condition is we should not select the checkbox for "PO per PR/PR Item".
    The system is currently creating only one PO. Please let me know what is the setting that can be missing in this scenario??
    Regards,
    Ankit Patodi
    Edited by: Ankit Patodi on Oct 8, 2010 9:08 AM

    Hi,
    Shipping instruction is nota criterion for splitting.
    refer to the thread  User Exit for ME59N
    which  has similar scenario if not exact.
    You need to go for some development.
    hope this helps.

  • Shipping Instructions text not copied from Sales Order to Delivery Document

    Hi All,
    The Shipping instructions text in the Sales order Header is entered manually. Now when the delivery is created, the text is not getting copied to the Header text (shipping instruction note) of the Delivery document.
    What may be the problem. Can anybody help ?

    Hi
    Check this link
    http://learnsaptips.blogspot.com/2010/09/text-type-configuration-in-sap.html
    regards
    Prashanth

  • Shipping instructions not copying correctly from sto to delivery

    hi ,
    i am facing issue like shipping instructions from STO header are not getting copied correctly to delivery , what may be the problem , please help.
    regards,
    veeru.

    how is the text copied from STO to delivery in your system?
    there are a some alternative options, which need to be implemented before a text copies from STO to a delivery.
    However, if it is not an error in a routine developed by an ABAPer (reading text from the wrong STO), then a text certainly does not exchange its content when getting copied.
    Maybe you should check whether the text is maintained in the customer master and does default from there instead of coming from the STO.

  • Shipping instructions  not  cpoying  correctly  from  sto  to  delivery

    hi ,
    i  am  facing  issue  like  shipping  instructions  from  STO  header  are  not  getting  copied  correctly   to  delivery  , what  may  be  the  problem  , please  help.
    regards,
    veeru.
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Dec 9, 2011 4:19 PM

    how is the text copied from STO to delivery in your system?
    there are a some alternative options, which need to be implemented before a text copies from STO to a delivery.
    However, if it is not an error in a routine developed by an ABAPer (reading text from the wrong STO), then a text certainly does not exchange its content when getting copied.
    Maybe you should check whether the text is maintained in the customer master and does default from there instead of coming from the STO.

  • Usps international shipping won't allow printing of label

    Hello. When using USPS.com or Paypal.com for domestic shipping, everything works well. When using USPS or paypal ''''''''international'''''''' shipping, everyting works well until the final screen or step which is "print label". The label does not appear. My account is charged, but the label does not print. I'm using Mac OS 10.4.11, firefox 3.6.15

    Apple folks would be monitoring this and perhaps tell me a better way or pass the info on.
    NOPE!  Apple does not monitor their message boards because it's user to user.  If Feedback is working out, then call Apple Customer Relations - 1-800-767-2275.  Ask politely & firmly that you want to be transferred to Customer Relations.  Tell them exactly what you stated in your post.         GOOD LUCK! 

  • Pur value key & shipping instruction in material master.

    I have maintained shipping instructions in SPRO for a particular purchase value key.
    Now created material master with this purchase value key, shipping instruction is reflecting.
    But it is coming as display field.
    Some time this shipping instruction has to be changed manually in material master without changing the pur value key.
    Is there any way to do it?
    Please advise.
    Thanks

    Hi,
    If you want the field to be in editing mode, then you're defeating the very purpose of defining the key. Anyways for your need, you can use the info-record, the shipping instruction field is editable in Info-record. You can create info-record via ME11 for the material - vendor - pur org combination.
    Hope the above resolves your query.
    Regards,
    Vivek

  • Can any body tell me what is the need of creating shipping Instruction

    Hi Everybody,
    Can any body tell me what is the need of creating shipping Instruction in Material Management & where it is used.
    Menu path -> IMG -> Material Management -> Purchasing - > Material Master - > Define Shipping instruction.
    2. What is the use of Manufacturer Part Profile & how it is used in the SAP system.
    Menu path -> IMG -> Material Management -> Purchasing - > Material Master - > Define Manufacturer Part Profile.
    Thanks & Regds.....
    Rashmi

    This characteristic describes the packaging and shipping requirements that have to be fulfilled by the vendor
    The instructions issued to a vendor regarding the shipment or packing of ordered goods.
    o     CO coil
    o     NE unpacked
    o     NT nylon net
    A manufacturer part profile contains indicators and control parameters, which define the conditions for using (inventory-managed or non-inventory-managed) manufacturer parts in the procurement process.
    The manufacturer part profile specifies how manufacturer parts (MPN materials) can be used in the procurement process.
    The manufacturer part profile is assigned to the master record for a firm's own inventory-managed material.
    Among other things, it determines whether:
    u2022     The MPN material or the inventory-managed material is to be entered in a purchase order
    u2022     Info records can be created for the MPN material or the firm's own material
    u2022     The MPN material can be changed during the procurement process

  • How to update equipment ship to party and sold party data

    Hi all,
    How to update equipment ship to party and sold party data? Is there any BAPI or FM?

    Hi Suresh,
    chech with the below
    PM_PARTNER_UPDATE      "Parner update
    ITOB_EQUIPMENT_READ_SINGLE   "read equmment data
    ITOB_EQUIPMENT_MODIFY_SINGLE   "update the parner data for the same equimpmet
    hope it helps you..
    Thanks!
    Edited by: Prasanth on Apr 14, 2009 6:30 PM

  • Converting External Ship-to-party number to Internal ship-to-party number

    Hi Friends,
    I am working on Ale idoc scenario in which i need to create sales order from customer purchase order. for this i need to maintain ship-to-party number in advance. Customer is providing me with list of ship to party number, but i dont want to maintain external number. I wan to maintain internal ship-to-party number and assign it to external ship-to-party number coming from idoc from customer PO.
    So Please suggest how can i do this. is there some standard functionality provided by sap for this, coz i think this is standard requirement.
    Thanks ,
    Brijesh Soni

    Hi Brijesh,
    You can maintain the value of external ship to party number in the customer master against a system generated(internal) customer number.
    This can be done in the sales view----partners tab of customer master. The field is called"partner description".
    When you received an idoc,you can match the customer number in idoc to the field KNVP-KNREF and against this field pick value of KNVP-KUNNR. once the system determines the correct sold to party then ship to party will be determined automatically.
    SAP has given KNREF field especially for these kind of scenarios.
    Regards
    Karan

  • IPhoto Calendar - International Shipping with US Billing Address?

    I would like to send a calendar I'm making in iPhoto as gifts to friends around the world.  Can I make the purchases using my US based credit card?  For example I go to preferences -> advanced and change my store to Singapore (to ship to a friend in Singapore).  Would I be able to make the purchase with a credit card with a US billing address? 
    It is my understanding that if I leave the store as United States in preferences, the inputs would not allow for international addresses to be put in and that is why I'm changing the store's country. 

    With some many posts related to "shipping internationally from iPhoto" you would think Apple would chime in by now.  It really is a major failure on Apple's part that international shipping is not allowed.  Instead you force users to go to SNAPFISH or other 3rd party services - thus taking our money elsewhere.
    Its been a problem for YEARS... please fix this Apple.  You can't expect users to open a credit card account in a different country - also its almost impossible to do for most people.
    E

Maybe you are looking for