Incoterm to be derived from Ship to party in sales order creation via va02

Hi Experts,
I have a requirement.
When a new sales order is created from the screen va02, the inco term flows from the sold to party.
It should infact flow from the ship to party.
So standard SAP  SAP derives the incoterms from the sold-to -party when creating saloes order from the va02 screen.
we should implement user exit for this.
I just did a little bit of search and got the info that the euxt should be done in MV45AFZZ. in the FORM USEREXIT_MOVE_FIELD_TO_VBKD
If anyone has worked on this please share your code details of things to be considered.
Regs,
SuryaD.

Hi Experts,
Found the solution.
TCode SE38,
In program MV45AFZZ, in FORM USEREXIT_MOVE_FIELD_TO_VBKD:
IF us_posnr = 0 AND svbkd-tabix GT 0 AND NOT kuwev-inco1 IS INITIAL.
    vbkd-inco1 = kuwev-inco1.
    vbkd-inco2 = kuwev-inco2.
ENDIF.
SVBKD_TABIX = 0 means that you are in the creation mode (VA01),
SVBKD_TABIX>0 means we are in the change mode(VA02)
US_POSNR = 0 means that there is no position number for the item yet.
Regs,
SuryaD.

Similar Messages

  • Line item Ship-to Info is not the same in Header Ship-to Party During Sales Order Creation via IDOC

    We have observed that during creation of sales order using idoc, the line item ship-to party is not the same with header ship-to. The ship-to party info in line item is equivalent to the header's sold to party. To give you a quick background, Sold to party info is given in idoc and ship to party is being determined using table EDPAR. In this specific scenario, sold to customer is not the same with ship to customer.
    Initial checking on the code leads us in function module VIEW_KUAGV. This FM populates partner details of sales order header and line item in program LVEDAF1Z
    Below is the code for Sales order Header. Notice that WE_INPUT parameter which contains Ship to party is passed as exporting parameter in FM VIEW_KUAGV. This is the reason why Ship to Party is populated correctly in sales order header but not in sales order item.
    Initially, it first set to Sold-To Party. However, if WE_INPUT is given or provided, partner details is set to Ship-To Party.
    Please advise on how we can make the ship to party info in header and line item be consistent. This is SAP Standard program which why we are hesitant to make change on the program. If there is a configuration to make this happen, kindly advise.
    Regards,
    Rommel

    Hi Jayesh,
    If I understand you correctly, you want that when creating SO from Quoatation
    the Ship to Party also follow/copy Ship to Party from Quotation, right?
    Just to confirm with you, when you creating SO reference from Quotation, you
    use copy/follow-up function, am I right?
    You can do this by setting in configuration of Copy Control (like mentioned by Hui).
    Step as follow :
    1. Go to IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions
    2. Create your BAdi (Business Add-In for Copying Control), such as get Ship to
        Party value from source document and use it in current document
    3. Use this Rule you have created in BAdi (no. 2), in copy control transaction type
        IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions-> Define Copying Control for Transaction Types
    4. Here you set Copying Routine for your transaction types (put name of your Badi
        created in step no. 2)
    Or alternatively, you can set it on access sequence in Partner Function
    Ship to Party in configuration. You can define access sequence the Ship
    to Party is taken from Preceeding Document -> Ship To Party
    1. Go to Partner Function access sequence :
        IMG->CRM->Basic Functions->Partner Processing->Define Access Sequence
    2. Create new access sequence with following entry :
        - Source COM_PARTNER_A (PrecedingPartner)
        - Check Mapping for Partner Being search
        - Partner Function in Source  = Ship To Party
    3. Assign this Access Sequence in you Partner Function used in Sales Order Transaction
       Type.
    Tell me if this is what you looking for
    Gun.

  • Determine Partner from Ship to Party in Sales Order

    Hi All,
    I am in need of help. I have following requirement for Partner Determination.
    1. In Ship to Party I have a Partner ZI
        I need system to get that ZI partner in my Sales Order.
    I have setup the Origin Field to SH. But still it doesn't get it from it.
    Thanks

    I have good a partial solution. Here it is.
    I have following customers:
    Sold-to      Ship-to                      Additional Partners
    Cust01       Cust01                      5001, 6001 (in Cust01)
    Cust02       Cust02, Shp02.          2001, 3001 (in Cust02),  2201, 3301 (in Shp02)
    Now When I creat a Sales order for.
    Sold to = Cust02
    Ship to = Cust02
    Then System determine 2001, and 3001. (OK)
    ======================================================
    Now when I creat a Sales order for
    Sold to = Cust02
    Ship to = Shp02
    Then System determine 2201, and 3201. (OK)
    ======================================================
    Now Suppose the following >>>>>>>>>>
    IN SHIP TO PARTY Shp02  Partners 2201 and 3301 ARE NOT MAINTAINED.
    Now when I creat a Sales order for
    Sold to = Cust02
    Ship to = Shp02
    System determines 2001 and 3001. (which is in Sold to Party) THIS IS IN CORRECT.
    System should not Determine anything.
    =======================================================
    How Can I Do this. I think User Exit is needed.

  • Enabling sold to party and ship to party on Sale order creation....

    Friends,
    When i start creating a sale order,
    1 .Iin Sale order screen the sold to party and ship to party are in the disable mode, i could not able to enter any value...how to make it to enable...
    2. but  allowing  me to enter the item and qty, and after entering these value i tried to check for the pricing condition using the condition tab, but i could  not able to see any procedure or condition type...though i defined the pricing procedure(V/ov8) assinged through OVKK...
    Thanks
    Ramesh

    HI,
    Check the Following Configuration
    SPRO -->Sales & Distribution -- > Basic Function >Partner Determination>Set Up Partner Determination-->Set up Partner Determination for Sales Document Header
    Check and all Five Steps i think you didn't assign the Partner Determination Procedure to Sales Document type
    Assign TA to your Sales Document Type or if you create any own partner determination Procedure assign that to Sales Document type
    Check & Revert
    Regards,
    Prasanna
    Edited by: prasanna_sap on Sep 7, 2011 12:12 PM

  • Ship to party in sales order

    Hi All,
    I have few doubts about sales oder in SAP.
    Ship to party is customer where we want to ship the goods.
    1)The code which i see in Ship to party in not available in SAP APO.
    Any idea how to check the ship to party of sales order in APO.
    Thanks,
    Krishna

    Hi Ada,
    Thanks for the reply but in my case this field is empty.
    Where as in R3 there is Ship to party information.
    Thanks,
    Krishna

  • Change of Ship to Party on sales order after invoice

    Hi all,
    I have created a sales order, created a despatch advice and then created an invoice. After that i opened sales order and changed ship to party there. System is allowing me to change ship to party on sales order after invoice. I want that system should not let me change ship to party on sales order after invoice.
    How can i do that as this is an audit issue as we have different prices for different ship to parties.
    Please respond.
    Best Regards,
    AI.

    Hi
    You have two options
    1. create a transaction variant in T.code SHD0 for VA02 and make the field as display in the variant. But remember that you will not be able to use standard T.code VA02 after this, you need to make and use a "Z" t.code like ZA02
    2. Take the help of your ABAPER and ask him to find a screen exit in the sales order PBO module, where he will be able to grey out the ship to party field.
    Hope this helps
    Chandra Kiran

  • More than one ship to party in sales order

    Hi All,
    Can anyone tell me , could we have more than one ship to party in sales order if no then why not?
    Regards,
    Ashima

    Hi Ashima,
    One order can have any no.of ship-to-parties.If an order contains more than one item,there is a possibility to maintain different ship to parties for each and individual item.We can do this while processing the sales order,at item level.In order to do this we have to follow the menu path
    In the overview of saled doc use the menu path Goto-Item-parner.
    Here u can find default ship to party for all items.Here u can change your desired ship to party particulat to that item.
    Like wise u can maintain any no.of ship to parties in a single order.
    But one thing is imp all these ship to parties must be assigned to that sold to party,Which is entering at the header level.
    Basing on the no of ship to parties we are maintaining at the item level during the creation of order, delivery splits into more than one.

  • Re: Pricing for more than one ship-to-party in sales order

    Hi Gurus,
    Currently I am facing a problem regarding pricing the shipping charge for a sales order having more than one ship-to parties in it.
    Our business process is having a pricing condition type which calculates the shipping charge based on the total value of the order.
    The technical details of the condition type are as follows:
    ZSHH
    Cond. class =    A  Discount or surcharge                  Plus/minus  =  A Positive
    Calculat.type =  B  Fixed amount
    "Group cond" & "RoundDiffComp" are "checked"
    GrpCond.routine 1  Overall Document
    Scale basis = value
    Now due to this depending on the entire order value the shipping cost is calculated.
    However when there are 2 ship-to-party the system should group the items to be shipped to each ship-2-party and calculate the prices accordingly.
    Now as the "GrpCond.routine 1  Overall Document" -- it is taking the total order value while calculating the shipping price even if there are 2 ship2party in the sales order. I am just wondering how to go about this situation.
    There is no value in the pricing formula that calculates the price based on ship-2-party.
    Can anyone help me with this?
    Does this mean that I have to create a new scale formula in VOFM?
    Also how is the shipping price charged when the customer requests partial deliveries?
    Thanks in advance
    Vinit

    Vinit,
       You need to create a new GrpCond.routine. You can do this in VOFM-> Formulas -> Structure of group key. You will need to have the carrier available in the communication structure komp. So assuming you do this, create a formula like 050(RV65A050). Enter code that would look like(I am assuming your carrier code is 10 in length):
    FORM FRM_GRUPPENKEY_050.
      xvakey      = '050'.
      Xvakey+3(10) = komp-carrier.
    ENDFORM.
    Then assign 50 to the condition type(v/06) as the new GrpCond routine. This should give you your desired results.
    Partial deliveries will only take the portion of delivery charges shipped from the line. Eg if 10$ freight on the line and 1 of 2 is shipped, you will only see 5$ on that invoice as long as your pricing rule is copy unchanged.
    Edited by: Matthew Menzies on Jan 21, 2009 11:26 PM

  • Change log of document address for Ship to party in sales order

    hi experts,
    There is a case where Ship to party address is diffferent at sales order level and custome rmaster level.Can anyone help to find the  log of data inserted /updated in the customer address at sales document level. We tried CDHDR and CDPOS tables with object Adresse.But this is not giving correct information.

    Hi,
    In your case,I hope the Customer number is same at both levels.i.e. at Sales Order level and Customer master level but the address is different.
    Goto the T.Code "SE16".Enter the table Name as "KNA1".Enter the Custoemr Number and get the value from the field "Adress".
    Now Enter the table name as "VBPA".
    Enter the Address numebr you have noted from table "KNA1" and enter the select option as "Not Equla to".Pass the Ship-To-Party number under the field "Customer" and select the partner function as "WE/SH".
    Execute.
    You will receive all the list of sales orders where teh address is differed from master data.
    Regards,
    Krishna.

  • Item partners for Ship-to-Party in Sales order for Free goods items.

    Dear All
    After Creation of Sales order, there are 4 line of items in which 2 line of items having same Ship-to-party (Chargeble and Free)and remaining two line items having different Ship-to-Party chargeble and free items.
    We have tried to change the Item partners of Ship-to-party in chargeble item of the 3rd line item it is changing  but in free item the item partners not updating.
    Pl.advice
    Venkatesh

    Dear Venkates,
    Kindly deactivate the check box Not Modifiable of the corresponding partner function by selecting Partner determination procedure - Partner Functions in procedure
    Do this change if you have maintained partner proc. for sales document type or item category in
    SPRO - Sales and Distr. - Basic Functions - Partner Determination
    Hope this would solve you problem. If not kindly elablorate your problem.
    Regard,
    Sagar

  • How to populate the ship-to-party in Sales Order at the header level

    Hi Config experts,
    I created Sales Order. I entered the Sold-to-party number, item and Qty and when I press ENTER, the ship-to-party field does not get populated with Business Parter number. I am expecting the same sold-to-party number to get populated automatically in ship-to-party field too. But it is still empty.
    Any clues how to get BP no. automatically in ship-to-party field.
    Thanks,
    John

    Hi John,
    The partner is determinated by access sequences on your partner function in partner determination procedure. For example, if you set the access sequence 0017 'Current Partner: Sold-To Party' on ship-to party on your partner determination procedure, you can see the ship-to is set as sold-to when you enter the sold-to.
    Regards,
    Masayuki

  • Ship to party in Sale Order

    Hi all,
    In sale Order when we are manually changing the Ship to party, even though that SH is not maintained in the Customer Master Record, the system is allowing that SH and saving the sale order.
    The system is allowing all the SH in same sales area in sale oder even its not in the Customer Master Record. How to block this.
    Please Help..
    Thanks and Regards,
    Sam

    hi sam,
    I have understood ur problem.
    I'll give a solution ......but it work for only at header level.
    Tick the Not modifiable check box while placing the partner functions in the partner determination procedure which assigned to Customer Account group.
    And save.
    Afterwards place another ship to party in the customer master.
    ex. in customer master data of 101 customer u assign another shipt to party partner 102 in addition to 101 and save.
    If u try to create order then after entering the sold to party in the order the system shows a pop up box for the selection of the ship to party partner function among these two ship to parties which assigned to customer master 101.
    Select any one ..to who u want to ship the goods.
    Then at header level and for all items the same partners will be copied.
    And all partner functions are indisplay mode only. It is not possible for u to change the partner function.
    The disadvantage is that u cannot have different ship to parties in one order.
    i hope u got something....i know it does not fulfill ur requirement.
    regards
    raj

  • Shipping point error in sales order creation

    Dear Friends,
    I'm new into customizing in SD. I just crested a new plant, distribution channel, shipping point and have assigned the shipping point to the plant. while trying to create sales order i get this warning message "DOCUMENT /00010 HAS NO CHECKING GROUP (MATERIAL MASTER - PLANT DATA) MESSAGE N0 : W083.
    Also, if i edit for incomplete log it is indicating the following as being missing- SHIPPING/RECEIVING POINT, NO LOADING DATE, NO MATERIAL AVAILABLE DATE, TRANSPORT PLANNING DATE, NO GOODS ISSUE DATE.
    What else do i need to maintain in the customizing  to make it work well
    Thanks in advance

    Dear,
            It is showing because u have not maintained PLANT in MATERIAL MASTER DATA but no need to do so u can directly put into S.O. Iin each line item.
            It is just a warning nmessage just press enter and pass it.
            If still u want to do so then use TCODE ( MMO2) and select SALES ORG1 and under GENERAL DATA u will find PLANT FIELD
            where u can maintain PLANT for matarial but once u maintain data here MATERIAL is restricted to that PLANT so will not allow u to sell it from other PLANT thats why itb is always advisable to keep it blank if you are suppose to sell same MATERIAL from two or more PLANT.
    Regards
    AJIT K SINGH
    HAPPY TO HELP U

  • Question on ship to party in sales order

    Hi experts,
       I have an invoice (already posted to FI in March), with billing date (let say 03.03.2008) in last month, which found to be incorrect in April. Can I cancel the invoice with billing date as of 03.03.2008? Currently, I got an error "Billing Date cannot be last month". Thanks and point will be awarded for answers.

    To cancel the Invoice of March in April, following implication are to be taken care, which are as under:
    1. If Financial year ending is march, in that case it is not recommended to Cancel the Invoice, instead raise a Debit or credit memo for the difference.
    2. If Invoice is to be cancelled, check whether the posting period is open or not.
    To cancel invoice, T.Code: VK11.
    Regards,
    Rajesh Banka

  • Bill to party should be pulled from ship to party.

    Hi
    I have scenario in which I want to pull bill to party from ship to party and not from sold to party in sales order. Business requirement have one sold to party say A . This sold to party has 4 ship to party say B,C,D,E.  Every ship to party has one Bill to party respectively say L,M,N,O.  This scenario is only for one customer and not for all. When ship to is entered in the sales order it should give options to select the bill to party .
    I want to know the config steps alongwith the name of the user exit (if it is required for)
    Thanks in advance.
    James.

    Before answering this question, I would like to thank Lakshmipathi for his compliment and James for this interesting scenario.
    Lets say your new ship to parties are 90 & 91.
    Lets say your new bill to parties are 110 & 111.
    So your new requirement is when you enter ship to party 90 or 91, bill to party 110 or 111 has to be determined from sold to party.
    Am I correct? That's how I understood your question(If this is not you are not looking for, please advise).
    In case yes, you  could do the following.
    In your sold to party record, partners Tab, enter the details of your new ship to parties and bill to parties.
    In sales order, enter ship to party and system would pop a box listing bill to parties. You can select one of the bill to parties.
    Once selected, system would populate sold to party record field.
    This is happening because when you enter ship to party record in sales order, system accesses sold to party from ship to party. Once it accesses sold to party, it lists bill to parties available in this sold to party record.

Maybe you are looking for

  • Automatic Track of Wtax (TDS) Balance Amt

    Hi, Client has deducted TDS  @2% on Rs. 1000/- while making advance  payment to vendor , then he raised invoice Rs.3000/- & now he wants to deduct tds on on remaining balance amount i.e, Rs.2000/-...is it possible that  system will keep this track &

  • IMac 5k won't link aggregate above 100mbs speeds

    We have a iMac 5k link aggregated using the ethernet port and a thunderbolt to Ethernet adaptor. The speed tops out at 100mbs, even though if you connect the same two cables to a 2010 Mac Pro and you get over 200mbs. This looks distinctly like a hard

  • Data Access Error in OIM Scheduler

    I have a scheduler task in OIM,which fetches the "*Manager Employee ID*" custom field from OIM and if that is not empty then updates the Manager ID for that user. The scheduler task when run throws an Data Access error, every time it starts and close

  • Oracle Service Bus (OSB), Eclipse --- and statement of direction

    Can somebody please explain what this means in: http://www.oracle.com/technology/products/integration/service-bus/docs/Oracle-Service-Bus-SOD.pdf +...The web-based console was complemented in the 3.0 release with full IDE support in Eclipse. The Ecli

  • RDBMSRealm problem

    Hi Everyone, I am implementing an EJB application with Weblogic5.1, RDBMSRealm security realm. My application requires user and group select/delect/update dynamically for "users" and "groupmembers" tables in the database. It is my understanding that