Updation of partner address data in sales order

Hi,
   I am trying to create a sales order using an Idoc of the message type ORDERS.
   Within this Idoc, the street number for the Sold-to partner is blank.
   However, by the time the Idoc is processed and the order is created, the street address
   for the Sold-to partner gets picked up from the customer master where this field is not
   blank for the partner.
   Is there any way to avoid this so that the sales order reflects the partner address
   details as it is in the IDoc and this street address remains blank.
Regards,
Sudeep

Hi Sudeep,
You could try the below solution(as i cant think of a straight forward solution) to this.
Export the value of street in one of the customer exits in IDOC_INPUT_ORDERS, and then implement the implicit enhancement option in the FM "SD_PARTNER_READ", in this enhancement import the value that you earlier exported, if the import succeeds then the call is via "IDOC_INPUT_ORDERS"(hence this enhancement will not affect dialog users/other interfaces), then check if the imported value is blank, if so then clear the value in I_XVBPA.
Note: If the program doesnt get into SD_PARTNER_READ, the you can try with user exit for VBAP/save_document_prepare.
Regards,
Chen

Similar Messages

  • Is there any method to stop rescheduling of the PO Need By date from ATP if there is any holiday specified in shipping calender. The requirement is to update the schedule ship date on Sales Order but the lead time of  Purchase Order should not increase

    We are currently not able to manage schedule ship date proposed by ATP when our warehouse is closed. For example , we would like that ATP doesn't propose any schedule ship date for the first of May , which is a non working day in France. The constraint is that we don't want our purchase need by date to be impacted by the process.
    I tried to closed one day in FR1 calendar and, after testing with order management, it appears that ATP didn't propose the closed day, so that's fine, but, our purchase order lead time was increased of 1 day and this is not what we expected.
    Can you help us to find the right process.
    Thanks

    Hi Sandeep,
    when we try to Rescheduled out the PO and the request is errored out the with the error:-
    Start of log messages from FND_FILE
    reschedule fails
    old date in planner workbench: 19-MAY-11
    new date: 07-JUN-11
    header: 417474
    line: 605652
    po number: 2049031859
    shipment no: 1
    The need by date/promised date in the source instance is not the same as the need by date/promised date in the destination instance.
    In the source instance,
    The need by date is 19-MAY-11, and the promised date is 19-MAY-11
    End of log messages from FND_FILE
    ---------------------------------------------------------------------------

  • Partner function change in sales order

    Hi,
    I have partner function ZR (sales employee) defined for customer master. I enter a particular employee no 100 in the customer master. and subsequnetly the partner function ZR gets copied into a contract with value 100.
    now another user is trying to change the value to 200 from 100, but the system is giving a message that partner function ZR not defned for partner procedure.
    If i go to partner determination for  sales order , then i see that there is no partner function ZR assigned for a patner procedure.
    my question is that the above is happening due to lack of master data for emploee id 200 from HR module or is it that we have to maitain partner function ZR for sales order (I have seen that ZR is not maintained for sales order. ).Iam assuming that for contracts aslo, the config needs to be done in parnter determination for sales order.
    regards
    sachin

    Hi Sachin,
    I assume that you have configured the partner functions for Customer master including ZR, also enabled ZR for the partner procedure applicable for the sales document type.
    If this is done, then the partner function ZR should be available for entry in the sales order.
    Now the problem is that
    You shoudl have assigned the partner function ZR to some account group, while creating this partner function, and customer 100 shoudl have belonged to this account group.
    However the customer 200 whom you want to update as the new ZR doesnt belong to this account group.
    You can use only those customers belonging to the account group which is linked to the partner function ZR as sales employees.
    So find out the customers belonging to the account group, which is linked to the partner function ZR. Make sure their masterdata is correct for the sales area which you wnat to use. If all the things satisfy, then you should be able to use them as ZR partner in your sales document.
    This should solve your problem.
    Pls reward if this helps you to solve the problem

  • Changing proposed delivery date in sales order for one specific sales org

    Hi All,
    I want to change proposed delivery date in sales order automatically for one specific sales org only without changing lead time in VOV8.
    For that can I use MV45AFZZ. But it is asking access key to make changes. Is there any other user exit for the same. And how does exactly change it.
    Thanks in advanced.
    Points will be awarded.
    Regards,

    EXIT_SAPFV45E_001 has nothing to do with this - it is meant to update the purchase order from a sales order. It might not even be triggered if the sales order has no link to a purchase order.
    USEREXIT_SAVE_DOCUMENT is not really good for this either, because the delivery date has to be changed before that. If memory serves, it also influences the schedule lines and probably the ATP check and such. I would strongly advise against it. One of the other routines in MV45AFZZ should do just fine, USEREXIT_MOVE_FIELD_TO_VBAK for example.

  • Determination of First Date in Sales Order

    Hello SAP Friends, 
    Below is the issue we realised during the testing. The issue is with First date in the Sales Order which is not updated as per Unloading Point Calendar .
    As per details I received, it should refer Unloading Point Calendar for ShiptoParty and populate the next working day as First date into Sales Order.
    How is First Date determined in the sales order?  Is there any config settings which is based on Route to do this? Or Is it controlled purely based on settings done in Tcode: VOV8, Leadtime days? I do not think VOV8 settings is controlling that in our APO system.
    I have checked MAD, Pick/Pack, GI date all are populated correctly, But First Date did not follow the logic Unloading Point Calendar of ShiptoParty.
    Please let know your inputs in this regard.
    Thank you
    Satish Waghmare

    Satish,
    I unfortunately don't have a solution for you.  However, here are a few observations, and a question.
    My experience is that 'First Date' in R/3 is not determined.  In every sales order I have ever seen, First Date is proposed (matches the requested delivery date in the Sales order header) by the system, but can be overridden by any changes that the user may elect to make.
    Generally, then, after First Date is entered, the R/3 system then may be configured to determine certain master data:  Shipping Point, Unloading Point, Route, Route Schedule.  From this master data, if you are performing ATP in R/3, the system will then also calculate various dates (if configured) for the confirmed schedule proposal:  Normally these calculated dates are Delivery Date, Goods Issue Date, Loading Date, Material Availability date, Transportation Planning Date.  If you have configured Route Schedules in R/3, other dates may be determined.
    If you are performing ATP in APO, then any such scheduling must be performed in APO.  Relevant Master data that was determined in R/3 is carried across to APO during the ATP check and is then used to calculate appropriate durations.  This does not happen automatically, you have to configure the scheduling technique you wish to use in APO.
    So, my first question:  Are you performing ATP in APO?  If not, then you should probably close this post, and re-enter in one of the SD forums, since it is an SD issue.  If you are performing ATP in APO, then what scheduling technique are you using?
    Best regards,
    DB49

  • Partner Function Structure in Sales Order

    Hi All,
    What is the Partner Function Structure in Sales Ordere (Item Level)?
    (In which structure the partner functions are displays in sales order item level?)
    Thanks in advance.

    HI Raja,
    Thanks for your replay.
    I did the same thing what ever u said, but the thing is while doing debugging the values are not showing in that structure. Like header and item data will available in KOMK and KOMP structurs, not in screen field strucuture. I am thinking that there may be some structure for partner functions like KOMP, KOMK.
    Thanks

  • Update the material quantity in the sales order using LSMW...

    Hi Guru's,
    I created one sales order using BAPI..now i wanted update the material quantity in the sales order using LSMW...
    could you please provide the step by step process....
    if anyone of you provide the program logic similar to requirement that would be helpfull to me...
    thanks in advance
    Srinivas....

    Hi Sri,
    Hope it may help you.
    First do the recording for VA02 transaction, in that give the existing sales order number
    and update the Quantity and save it. Remaining steps are same what we used(LSMW) to upload data to applications.
    Regards,
    Vishvesh
    if helpful, rewards it.

  • Creating multiple partner function for a sale order @ header level

    Hi All,
    I have a requirement where in i have to create more than one partner funtion for a sale order @ header level. But the system did not allow this sort of scenario and i got the error,
    Partner function ZZ can only occur  1 times in procedure TA (Sales Document Header)
    the function module that was giving this error was SD_PCHECK_PARVW_COUNT_OK
    here the function module checks if a partner function already exists if so it throws that error. This also updates the VBPA table where partner function is one of the key fields.
    Our issue is that we have to allow the system to enable posting 2 or more partner function for the same sale order. It was also verified that the unique key was unchecked during configuration.
    is there any other way of over coming this issue as we are updating the standard table. Is it possible??
    Thanks a lot in advance for your reply....

    I believe this is a configuration setting, based upon the details of your post.  Typically, a sales order can have multiple partner functions, but usually the partner type is not duplicated at a single level (header or one item).  For example, it would not be logical to have multiple ship-to partners at the header level...these would be unique at the item level, if required.
    Speak to your SD functional specialist about the configuration controls for partners, if you must have more than one partner with parvw = ZZ, for the entire order (header level).
    Edited by: DaveL on Aug 23, 2011 3:00 PM

  • Delivery Date in Sale Order

    Dear All
    Delivery date in sales order should automatically changed or by defalt it should be after 2 days of creating the sales order.
    I have tried with lead time period and the ways given in the forum, but the schedule line/delivery date is by default coming as the day of sale order creation.
    Please guide me how to do it.
    Regards
    SB

    Hi,
    Goto Tcode: VOV8
    select sales document types
    goto request delivery date tab
    remove tick mark or uncheck propose delivery date
    and maintain lead time 2 days.
    thanks.

  • Two Delivery dates in Sale Order against one item

    Dear All
    I need two delivery dates in sale order. one is default at the time of creation sale order. second i need actual delivery date which will be confirmed by production planning department after analysis the order whether material can be ready on that delivery date or it need to change. Actual delivery date may vary from original delivery date and both need to preserve in system. kindly provide solution. best regards.
    Manjit

    You need to select the Availability & Transfer of Req. check box in Schedule Line Configuration.It will transfer the req. to PP.So while creating the sale order , schedule Lines will be confirmed as per the Available Stock.
    System will give you the Default Delivery Date as the Date added after Lead Time in days in the Configuration.Else system will give the Current Date.
    Best regards,
    Ankur

  • Schedule Delivery Date in Sale Order

    Dear All,
    I have an order on 03.11.2009 (today) and its last delivery date is 15.11.2009. It means that I have to deliver the complete order on or before 15.11.2009.
    So where can I put this date in Sales Order?
    Regards,
    Vishal

    Hi Vishal,
    Your Last Delivery Date can be entered in the "Requested Delivery Date" field in the sales order.
    By doing so, the system will give us a confirmation that whether the delivery can be made possible on the Requested Delivery Date or NOT (The status can be seen by going in to the Schedule Line Level of your line item).
    The system also gives us the NEXT POSSIBLE DELIVERY DATE with the confirmed  Quantity as a Second Line item in the Schedule line level.
    The System considers mainly the Material Available Date to come to a conclusion on the Delivery Date of the goods. Also, there are other activities (Loading Time, Transporation Planning Time etc) for which some time will take and that also need to be considered (The same can be seen by going in to the Schedule Line Level of your line item and then click the Shipping button).
    Your Scenario: In your case, the delivery can happen ON OR BEFORE the Last Delivery Date.
    So for that follow the steps:
    Step 1: Put the Last Deliv Date in to the "Requested Deliv Date" field in Sales Order.
    Step 2: After enetering the other necessary details in the sales order then Save it. Now go the Schedule Line level of your line item and look for the Confirmation of the Delivery Quantity on the Requested Delivery Date.
    If Yes: Then its your wish that you can Prepond the Delivery Date by giving the required Delivery date during your delivery document creation.
    If No:
    Then you have look for the Next Possible date. OR Make sure that you can manage all your other activities like Loading, Transporation Planning etc. in 10 - 12 days time and make your material Availabilty today and do the delivery.
    Reagrds

  • How to syatem determine delivery date in sales order

    hi sap gurus
    how to syatem determine delivery date in sales order
    Thanks and regards
    ram

    Hi Friend,
    There are many things which determines the delivery dates.
    01. PICK TIME+ PACK TIME +LOADING TIME
    02. LEAD TIME in days (VOV8)
    03. Shipping point
    04. Scheduling line
    05. Kind of availblity check
    06. If the above things are maintained as blank then the current date will be the delivery date
    However whether it must be proposed by the system or not is determined by one check box there find in VOV8 in requesteed delivery date determination tab.

  • How system determine delivery date in sales order

    Hi, sap gurus
    I am new to sdn forum please help me regarding my question
    1) how the system will determine delivery date in sales order
    2) what are factors effects to conform sales order stock
    3) what is different between static check and damanic check in credit mgt
    Thanks and regards
    nishad

    hi,
    Reg question:1 - System determines the Requested Delivery Date based on the Scheduline assigned to the item category of the item in sales order.the schedule line in the order transfers the requirements trhu MRP (can be individual or collective) . If its ruch order , you configure the order type "Deliver Immediately".
    In Detail:
    The TOR depends on the Requirement Type (MMR), Requirement Class(MMR), Checking group(MMR) and the Sc line category (Line Item). For the TOR to happen u need Plant at line item, scheduline category markd for TOR, Requirement Class marked for TOR and Checking group in MMR (Availability check)
    What all stocks need to be checked during Availability check is controlled by using the checking rule.. for example for AV -02 Ind Requirements a checking rule will be assigned and this checking rule- and then what all stocks need to be considered to determine the delivery can be maintained here.
    Rgds
    Sai

  • Change Delivery date in Sales Order

    Hi all
    I want to change Request Delivery Date in Sales Order. But when I changed Request Delivery Date system appear" The default date is not copied into existing schedule lines"
    And Delivery Date didn't change.Could you tell me how to change Delivery Date ?
    I setup Request Delivery Date - September 21th but Availability Date is September 19th. Could you tell me how to setup loading time, picking time, packing time ?
    Thank and Best regards,
    Thang

    Hi,
    When you change the Request Delivery Date, it automatically changes the schedule line date of all the materials, but by default does not change the schedule line date of the ordered material.
    So just check the ordered material schedule line date and change it manually in the order.
    Similarly maintain the same date in all the resp fieldsi in the delivery, wherever you see the date.
    Regards,
    Siddharth.

  • Schedule line date in Sale order for backward sched.

    Dear Experts,
    In my MTO Scenario, I want to Use Backward Scheduling, so as any change in Schedule line dates in Sale order shall take effect at least in planned order Stage, i.e in output of MRP,
    But not happening so..
    I  have customized OPU5 and checked OPU3 as well,
    Please suggest...
    Regards
    Raghu

    HI Mario,
    Thanks for reply,
    I have not worked in this strategy but will try,
    What i found was, in Planned orders detailed scheduling tab, the Scheduling type appeares to be Forward, but when i convert it to Production order it shows backward scheduling.
    This duel behavior is difficult to understand.
    Regards
    Raghu

Maybe you are looking for

  • SPAM/SAINT update error patch 23 - 640

    Hi: I´m recieving the following dump when updating SPAM/SAINT patch 23 under 640: Syntax error in program "SAPLOCS_UI " Error in ABAP application program. The current ABAP program "SAPLSPAM" had to be terminated because one of the statements could no

  • Fluid Grid Layout - Please help

    Hello, I would sure appreciate help asap! I have made a draft of a website and although I used the Fluid Grid layout I seem to be having issues.  Layout is has header/nav, main, rightsidebar and footer. I do realize that I put a table into the header

  • MIGO for GRN against Outbound delivery

    Hi, I have a requirement for creation of GRN against outbound delivery using MICO tcode, i have used the FM 'BAPI_GOODSMVT_CREATE but in table T158G for MIGO tcode there is no number assigned in our system landscape as it is std table, but respective

  • Upgrade for Custom objects

    We are planning to upgrade our system to BI 7.0 next week. We will do technical upgrade only. Appreciate if you can clarify few doubts 1. We have lots of custom Infocubes, ODS and update rules that are created as copy of standard objects. What impact

  • Repeating Photos in Slideshow

    Hi, I am trying to make a slideshow in iPhoto '08 which is quite short, about 8 slides. I want to have a background track which is of course much longer than it takes to show the 8 slides. If I view the slideshow in iPhoto it works fine, the pictures