Validate ship to party- VA01 at header level

I am adding some validation logic to userexit routime USEREXIT_MOVE_FIELD_TO_VBKD in MV45AFZZ.
While testing, I have noticed that while entering the ship to party in the screen (VA01) in VBAK  i could not able to find ship to party. But i can see sold-to-party.
where can i find ship-party at header level?

Solved.
Its available in screen field KUWEV-KUNNR.

Similar Messages

  • Purchase order ship to party no at item level

    Hi All,
    I am able to get Ship To Party Address from ADRC table(Iam getting ADRNR from EKPO) But my client requirement is to get the KUNNR and not the address.
    Is there any way to get KUNNR based on ADRNR at item level .I have search through the (KNA1 , LFA1 , VBPA , EKPA , EKPV ) But I couldn't get the relationship (KUNNR).
    Actually Iam not able to get who the Ship To Party is at item level.
    If we take it as shipping address of the purchasing party i could't find it in T001W.Where as if it is header it is maintained in T001W.
    Do we have to take it as Third Party Ship to Party (i.e purchasing for a third party and shipping it directly to them).
    Can anybody help me on this.PLZ.This is very urgent.
    Thanks,
    Saritha.

    Hi,
    Thank you for ur response.
    ADRNR address value is not maintained in  KNA1 table.
    Thanks,
    Saritha.

  • Validate ship to party depending on sold to party

    i need Validate ship to party depending on sold to party from the table knvp in which userExit should i write the  code??

    Hi,
    sold to party is the partner who ordered , and the shipt o party is where actually the goods to be delivered.
    if in an organization it has one sales department and one manufacturing department then sales Dept orders goods on behalf of Manufacturing plant and the good will be delivered at plant premises. here sales dept is sold to party and Manufacturing plant in ship to party.
    Go through this link it is very useful for u
    https://forums.sdn.sap.com/click.jspa?searchID=12912281&messageID=3626601
    Thanks&Regards,
    Naresh

  • Ship-to party details at item level

    Hi friends,
                 I am using SAP version 4.7. In a sales order, Ship-to party is different at header level and item level. When I go to the sales order item overview and click on a particular item and in the partners tab, I see a different customer under ship-to party partner function. The problem here is that though the partner no. is different, details such as name, street are getting picked from header level ship-to-party. Suppose, at header level, ship-to party is '1', and at item level ship-to party is '2'. In the details of ship-to party at item level, I am getting '1's name and street details.
                 I have checked OSS notes but,could not find any relevent note for my sap version and  package,
      Please suggest what could be the solution.
    Thanks & Regards,
    Vishnu Priya

    Hi Vishnu,
    In sales, ship-to party is never mentioned in header..( u can chk out in table VBAK-->header sales table)..only sold-t party is mentioned..this is because one sale can have many different consignees for different items but for the same customer... also, ship-to party can also be same as te sold-to party...so that may be the reson u r getting the same address for both...
    hope it helps,
    Regards,
    Bikash

  • How to define multiple ship-to parties at contract header level

    Hi Gurus,
    Could anyone advise me if it's possible to have multiple ship-to parties at quantity contract header level?
    Thank you!

    Hi
    It is not possible to have multiple ship to parties. Please explain your business requirement for this so that altenatives can be suggested by any member to fulfull your requirement.
    Thanks,
    Ravi

  • Ship Complete at the order header level

    Hi all,
    how do we configure the system to force a sales order to be shipped complete? I think that we have two requirements:
    1) The instructions from some of our customers is that all the item / schedule lines on a sale order MUST be shipped at the same time. 
    2) And once the order is shipped, nothing can be shipped on that order again. 
    (I am not talking about fill rates or percentages, I am referring to the complete order.)
    We are on 4.6C and AFS 3.0B
    TIA.

    Hi,
    In the customer master data > sales area data > shipping view , check the " Complete delivery required by law " box.
    This indicates whether a sales order must be delivered completely in a single delivery or whether the order can be partially delivered and completed over a number of deliveries.
    And once the order is totally shipped, there would not be any more items left to be shipped as we are configuring it for complete delivery. However, in order to restrict the user not to enter any more materials in the change mode, write an exit program in USEREXIT_FORM_SAVE to disable any changes to the existing order.
    Hope it helps.
    Thanks & Regards
    Sadhu Kishore

  • BAPI_SALESORDER_CHANGE for Ship to party header text updation.

    hello gurus,
    My requirement is to update SHIP to PARTY text at header level using BAPI_SALESORDER_CHANGE.
    exisiting logic is updating same through below parameter to BAPI for line item with pop up to change the SHIP to party text..
    partnerchanges   = tb_partnersc
    But to the same parameter if i am passing header record also long with Line item , header data is not updated but line item is updated,
    ITM_NUMBER = '000000'.  "header line item = 000000
    headerx-update = X is also passed.
    Please help me .
    regards,
    Jayant.

    pradeep,
    I still see this thread as open.  Please review this code as a more clear solution.
    REPORT  ZR_SANDBOX_PROG.
    data: vb like BAPIVBELN-VBELN.
    data: cl like BAPISDH1X.
    data: rt type table of BAPIRET2 with header line.
    data: rt2 type BAPIRET2.
    data: pt type table of BAPIPARNRC with header line.
    vb = '0000153147'.     " your sales order here
    cl-updateflag = 'U'.
    pt-DOCUMENT = vb.
    pt-ITM_NUMBER = '000000'.  "header line item = 000000
    pt-UPDATEFLAG = 'U'.
    pt-PARTN_ROLE = 'WE'.
    pt-P_NUMB_OLD = '0003300744'.
    pt-P_NUMB_NEW = '0003300074'.
    append pt.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        SALESDOCUMENT               = vb
        ORDER_HEADER_INX            = cl
      TABLES
        RETURN                      = rt
        PARTNERCHANGES              = pt.
    loop at rt.
      write: / rt-MESSAGE.
    endloop.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'
    IMPORTING
       RETURN        = rt2.
    Reward points accordingly.

  • Header Text should redetermine on ship to party change

    Hi Folks,
             Please advice me on the below issue.
    in an existing sales order(or while creation) if we change the ship to party then the header texts should be redetermined.
    I know the standard behavior that when you change sold to party(in VA01 or VA02) the text re-determination happens but it will not redetermine for ship to party change.
    Please advice a spot where I can make modifications.
    Below user exit and include are not proper ones please don't send them as I have already tried with them.
    User Exit - V45T0001 AND Include FV45KFAK_VBAK_FUELLEN_TEXTE
    Thanks in Advance.
    Mady
    Edited by: mmmady on Jul 12, 2011 12:00 PM

    Hi,
    This is very much possible by configuration itself.
    In VOPA, in the sales order partner determination procedure, go to the partner function Z1 and then define the value of the source field as C. Also include Z1 as a partner function in the partner determination procedure of the ship to party but not in sold to party. (Assuming that SH not equal to SP, if both can be same, then you have to maintain the partner function in the PDP of both the acct groups.
    Now while creating sold to party or ship to party, you can include this partner as applicable.
    Once you create the sales order, you can see that the values are getting updated from SH when SH not equal to SP. When SH=SP, it can come from SP master itself.
    Hope it helps you

  • 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.

  • Plant and shipping point is determined at Header or item level?

    Hi,
    Shipping point is determined at Header level or item level of Sales order?
    How about Plant??
    Thanks!!

    Both Shipping point & Plant are determined for each Item in the Sales order automatically by the system.
    For determining Plant, system first search the CMIR,
    if not found the Plant there or CMIR is maintained then system searches Customer master of the SH, i
    f here also not found then system sarches the Material master.
    This is called Priority rule which is hard coded in SAP and can be changed by customisation.
    For determining Shipping point, system takes three fields into consideration, they are
    1. Shipping condition (first check Sales doc type , if not found then takes from Customer master of SP)
    2. Loading group ( material master> sales org group 2)
    3. Delivering Plant
    So, they are (Shipping point & Plant ) item specific data in sales order.

  • Ship to party partner function

    HI,
    A customer having 10 nos of ship to party location,please give me the solution how to define in customer master partner function & during delivery how to choose right ship to party location.
    Thanks,
    Miku.

    Hi,
    Customer Master
    - First create your Sold to Party in Tx; XD01 using Account Group "Sold to" (Eg:  001)
    - Then create those 10 ship to parties in Tx: XD01 using Account Group "Ship to" (Eg: 0002)
    - Go to XD02 transaction and call your sold to party number.
    - Go to sales area data and go to partner function tab.
    - Enter all those 10 ship to parties there under partner function "SH"
    - Save
    Sales Order
    Now go to VA01 to create the sales order.
    - When you press enter after entering the sold to party, system will give a pop up with those 10 ship to parties. Select relevant one for the sales order header.
    - When create new line items, same ship to party (From the header) will get copied as well.
    - You can change the ship to party (one out from those 10) in the line item level partner tab. (Delete the ship to party number appear under partner functions "SH" and enter relevant number there)
    In that manner you can have one sales order with multiple ship to parties in different line items.
    Delivery
    In delivery creation, you have to give the sales order line item. (In other words, delivery is for one ship to party in that line item)
    - If you have to do combine deliveries (For multiple sales order line items in one delivery), all those line items should have same ship to party.
    Best regards,
    Anupa

  • Ship to party Jursidiction code change at line item leve in Sales order

    Hell Gurus,
             Here is requirement for enhancement in Sales order. For determining tax following logic is requird to modify jursidiction code of ship-to party at line item level.
    after entering header details and line item, then user exit should be there(which user exit??) and i need to compare countries of Ship-from(Plant i believe) and Ship-to party(customer) if country is same, then jursidiction code of Ship-to party at line item level should be changed with value from Jursidiction code of Ship-from party(plant this value will come from <b>T001W</b>) table. this should happen before save(while entering line items, user may go and check jursidiction code change)
    what i need here is which user exit is triggerd ater line item entry, and how to change jursidiction value( i believe we need XVBAP, XVBPA, might be XADRC(Jursidiction code) . if some one provide user exit and logic with structure details then it would be of great help.
    hoping to get reply
    Thanks in Advance
    Siva

    Can you check in MV45AFZB Include but i am not sure
    FORM USEREXIT_FILL_VBAP_FROM_HVBAP.
    VBAP-zzfield = HVBAP-zzfield2.
    ENDFORM.
    FORM USEREXIT_SOURCE_DETERMINATION.
    set source
    VBAP-WERKS          = zzfield1.
    set item category
    VBAP-PSTYV          = zzfield2.
    ENDFORM.
    *eject
    Reward Points if it is helpful
    Thanks
    Seshu

  • Ship to party at line item using BAPI_BUSPROCESSND_CREATEMULTI

    Hi all,
    I am using BAPI_BUSPROCESSND_CREATEMULTI to create a sales order in CRM. The sales order is successfully generated in CRM.
    I am inputting Sold to party, Ship to part, bill to and payer at header level. I am also inputting different ship to party for each line item.
    But when i create the order, i observe that every line item is having the same ship to party that i provide for order header. i.e ship to party at header is being copied to each line item...but i dont want that to happen..i want to give a different ship to party at each line item.
    I used the crm_order_read report to find out how partner table is filled and incorporated the same in my code....
    still i am unable to populate different ship to party at line item level
    here is my code...i had been trying to figure this out since 3 weeks and i am unable to find out why i am unable to put different ship to party for each line ite m.....
    some one please help me if they encountered this earlier...
    kindly help..this is my sample code
    Ship to at header level
    ls_logical_key-ref_partner_handle        =       '0002'.
          clear ls_input_fields.
          ls_input_fields-ref_guid                 =         lv_guid_h.
          ls_input_fields-ref_handle               =         lv_handle_h.
          ls_input_fields-ref_kind                 =         gc_object_ref_kind-orderadm_h.
          ls_input_fields-objectname               =         gc_object_name-partner.
          ls_input_fields-logical_key              =         ls_logical_key.
    _set_field         ls_partner           REF_GUID                   lv_guid_h.
    _set_field         ls_partner           REF_KIND                   'A'.
    _set_field         ls_partner           KIND_OF_ENTRY              'C'.
    _set_field         ls_partner           PARTNER_FCT                '00000002'.
    _set_field         ls_partner           PARTNER_NO        wa_header-SHIP_TO .                 
    _set_field         ls_partner           NO_TYPE                    'BP'.
    _set_field         ls_partner           DISPLAY_TYPE               'BP'.
    _set_field         ls_partner           MAINPARTNER                 'X'.
    move-corresponding ls_partner to ls_logical_key.
    append ls_partner to lt_partner.
    Ship to at item level
    ls_logical_key-ref_partner_handle        =       '0002'.
          clear ls_input_fields.
          ls_input_fields-ref_guid                 =         lv_guid_i.
          ls_input_fields-ref_handle               =         lv_handle_i.
          ls_input_fields-ref_kind                 =         gc_object_ref_kind-orderadm_i.
          ls_input_fields-objectname               =         gc_object_name-partner.
          ls_input_fields-logical_key              =         ls_logical_key.
    _set_field         ls_partner           REF_GUID                   lv_guid_i.
    _set_field         ls_partner           REF_KIND                   'B'.
    _set_field         ls_partner           KIND_OF_ENTRY              'C'.
    _set_field         ls_partner           PARTNER_FCT                '00000002'.
    _set_field         ls_partner           PARTNER_NO         wa_item-SHIP_TO .      
    _set_field         ls_partner           NO_TYPE                    'BP'.
    _set_field         ls_partner           DISPLAY_TYPE               'BP'.
    _set_field         ls_partner           MAINPARTNER                 ' '.
    Some one please help me and tell me what i am missing...
    regards,
    Jessica Sam
    Edited by: jessica sam on May 10, 2009 10:52 PM
    Edited by: jessica sam on May 10, 2009 10:52 PM
    Edited by: jessica sam on May 10, 2009 10:53 PM
    Edited by: jessica sam on May 10, 2009 10:54 PM

    I know how to trace the Ship to party at line item. When i create an order manually on CRM then the table CRMD_PARTNER has the required entries and the Ship to party at line item is getting populated correctly. Also if i open the order in CRMD_ORDER the ship pto party are being populated correctly at line item..
    But if i am trying to replicate this programatcally using the BAPI, i see that the ship to at header is being copied to each line item and this is not what is expected.
    If i go and check in the CRMD_PARTNER the data is not filled
    correctly as I dont have any ship to party at line item
    So finally I even tried to insert the data manually in the CRMD_PARTNER table using an
    INSERT statement and even that doesnt work...
    https://www.sdn.sap.com/irj/scn/forums
    So i am unable to ficgure out what is going wrong
    Any body if they have any idea on poulating ship to party programatically in
    sales order for each line item please help
    I am unable to figure out how to fill PArtner table of this BAPI to populate ship to at line item level
    Kindly Help..
    Regards,
    Jessica Sam

  • List of Sales Orders wrt SHIP TO PARTY through T Code VA05.

    Hi Experts,
    Please let me know how can we extract list of Sales Orders wrt SHIP TO PARTY through T Code VA05. We can select Ship to Party option through Partner function tab in selection screen, but while executing transaction, we get list for SOLD TO PARTY.
    Please advise.
    Thanks,
    Abhishek Agrawal

    Hi,
    In the VA05 report selection screen, you have the option of selecting the relevant partner function that needs to be considered. Click on the "Partner Function" button and change it to "SH"
    Then given the ship to party number you want to analyze and execute the report.
    In the report output screen, you will see the  Ship-to Party in the header.
    In the detail level, you see the sold to party numbers. Since the report can be executed for one ship to or sold to at once, there is no requirement to see the ship to party in the line level.
    If you double click on the line, you can go to the sales order and verify your sold to and ship to details.
    Best regards,
    Anupa

  • Ship to party queries

    Dear Experts,
    I had created a sale order with 3 line items.
    Line item 1    Material xxxx  qty 10      delivery date as 18th may          ship to party  a
    Line item 2    Material xxxx  qty 20      delivery date as 19h may           ship to party  b
    Line item 3   Material xxxx  qty 30        delivery date as 20th may          ship to party c
    In Customer master i had assigned all the ship to party.
    When i create the sale order for the first line item  a pop up is coming to select the required ship to party.
    When i try this for the second or third line item , no pop is coming for me to select the required ship to party.
    I had done the    ship to party  changes in the item level patner data  for line item 2 and 3.
    Questions:
    Even though while creating delivery for the 2 and 3 line item system is taking the line item 1 ship to party why?
    In delivery also system is taking the line item 1 date ( ie) 18th May.? why change of delivery date  in sale order does not have an impact in deliver
    Kindly advice me on this.
    Sruthi.

    Try and maintain ship to party b & ship to party c along with ship to party a at Sales Doc header level in Partner Tab and correspondingly desired ship to party at each Item level.
    For instance,
    HEADER
    SP-sold to party a
    SH-ship to party a
    SH-ship to party b
    SH-ship to party c
    BP-sold to party a
    PY-sold to party a
    ITEM 1
    SP-sold to party a
    SH-ship to party a
    BP-sold to party a
    PY-sold to party a
    ITEM 2
    SP-sold to party a
    SH-ship to party b
    BP-sold to party a
    PY-sold to party a
    ITEM 3
    SP-sold to party a
    SH-ship to party c
    BP-sold to party a
    PY-sold to party a
    Thanks & Regards
    J Prakash

Maybe you are looking for

  • HT201441 what if the user also forgot id apple? how to solve this problem? whether the iPhone can still be used?

    what if the user also forgot ps apple? how to solve this problem? whether the iPhone can still be used?

  • Printing in Word for Mac: strange result

    Today I tried a simple thing like printing a word page from app Word for mac. Usually I obtain a normal print. But today the result is quite strange: the page is printed in an over stretched form, characters seem stretched in vertical, but with some

  • Udm_specialist - Partial Payment (Not residual)

    Hi All, I have posted an invoice of $1000 (FB70) and posted partial payment (F-28) $400 for that invoice. I can see both line items as open items in FBL5N. Here my question is why the partial payment is not reflecting in Amount Paid column in Udm_spe

  • Unplanned delivery costs in LIV

    My company has a requirement to block users from entering the unplanned delivery costs in LIV when entering an invoice.  I have stopped the invoices from posting by setting the config to post a separate line item for the unplanned delivery costs and

  • Since ios7 Major Music Issues

    I have an iPad 2 and ever since I updated to ios7 my iTunes library has been a mess it will not play, there are these red boxes with red circles on each song and every time I try to play a certain album, it deletes it from my library. I have lost ove