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.

Similar Messages

  • 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

  • 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

  • VA01 : How to add field ship to party to tab Item Overview

    Standard SAP is filling the ship to party on item level by default with the value entered on order header level. In case you added multiple items for an order and you want to change the ship to party for 1 or 2 items, you have to doubleclick on the line and then go to tab Partners and change the ship to party item by item by using the next and previous item button. We would like to add a column including the SH partnervalue to tab Item Overview (sapmv45a 4900) so we will be able to change the ship to party for an item on 1 screen. Is it possible to add a new colum (via a userexit / badi)?
    kind regards
    Angelique Heutinck

    Seems its not possible through standard SAP.we had the similar req in our project so what we did is we append the structure VBAP and added one new z field .... i reckon the same way you can do it for ur req as well.in short you need the access key.
    Please do let me know if u fnd another way to fix the problem i mean without access key.
    Best of luck
    Jess

  • Changing ship to address at line item level in CRM order

    Hi All,
    Is it posible to change the ship to address at line item level in CRM order either at the time of order creation or order change. if yes please let me know if we need to do any settings for this.
    Thanks in advance.
    JM

    I agree with the previous comment, Please go to the Partner Determination procedure attached to the Transaction and in the partner functions associated with the that procedure, find Ship-to-Party and there will be a check box to "make it changeable" once determined. Check that and save it.. You should be all set
    Thanks
    Raj

  • Purchase Order: Ship to location problem - Please help

    Hi All,
    I have come across a problem when publishing Purchase orders where the PO header ship to address differs to a seperate PO line ship to address.
    I have written the following Choose statement to try and show separate ship to locations for each separate PO line.
    <?for-each:G_LINES?>
    <?choose:?>
    <?when:number(//G_HEADERS/POH_SHIP_TO_LOCATION) = number(//G_SHIPMENTS/PLL_SHIP_TO_LOCATION)?>
    <?POL_LINE_NUM?> <?C_ITEM_DESC?> <?LINE_NOTE?>
    <?end when?>
    <?otherwise:?>
    <?POL_LINE_NUM?> <?C_ITEM_DESC?> <?LINE_NOTE?>
    SHIP TO: <?ADDRESS_LINE1?>
    <?ADDRESS_LINE2?>
    <?end otherwise?>
    <?end choose?>
    <?end for each?>
    my logic is that if the header ship to ID is = to the line items ship to ID then just show some basic PO line info.
    Otherwise if the numbers differ then show the individual lines info along with the additional Ship to address which is in ADDRESS_LINE1, ADDRESS_LINE2 etc.
    And repeat this condition for how ever many PO lines exist for the overall purchase order.
    However, when i publish this the "otherwise" condition never gets checked if the first PO line is TRUE and vis versa if the first PO line is false.
    So if the first PO line is true then every single PO line will just show the When condition even if the separate PO lines ship to ID differs to the POH_ship to id.
    any idea why the otherwise condition wont fall true for the 2nd 3rd or however many PO lines there are if the first PO line is flagged as true?
    I hope this makes sense. Many thanks for any help.
    Greg

    I have a PO that we are using that has basically the same requirements. If the line address is different (any of them) then the header prints a message to "see below" and the address line contains the shipping information.
    The way I have done this was to create a variable and compare to see of any of the lines were different when the header was read. Then check the var when the line is processed. The template is quite long as we have many fields that dynamically display/or not so I will post a truncated version below and also please note that on this form we simply gave up using the Oracle's "fantastic" MSWORD plug-in and had to use pure a XML-FO template. However, I think the portions/logic you need should be transferable into MSWORD if you are careful.
    If snipit of code is not enough let me know and I can try to paste the entire thing after my marathon meeting today <ugh!>.
    --------start code-----------
    <xsl:for-each select=".//G_HEADERS">
    <xsl:variable name="SAME_SHIP_TO_ADDRESS_USED" select="count(.//PLL_SHIP_ADDRESS_LINE1[. != current()/POH_SHIP_ADDRESS_LINE1]) = 0" />
    ...(lots of header stuff goes here)
    <xsl:for-each select=".//G_SHIPMENTS">
    <xsl:if test="$SAME_SHIP_TO_ADDRESS_USED" xdofo:ctx="3">
    <fo:block xdofo:xliff-note="if:shipline, eif, if:shipline, ifCountShip>1, PLL_SHIP_ADDRESS_LINE1" padding-bottom="0.0pt" text-align="start" orphans="2" widows="2" padding-top="0.0pt" end-indent="0.0pt" linefeed-treatment="preserve" start-indent="0.0pt" height="0pt">
    <fo:inline height="7.0pt" font-family="Arial" white-space-collapse="false" font-size="7.0pt">Address at top of page</fo:inline>
    </fo:block>
    </xsl:if>
    <xsl:if test="not($SAME_SHIP_TO_ADDRESS_USED)" xdofo:ctx="3">
    <fo:block padding-bottom="0.0pt" text-align="start" orphans="2" widows="2" padding-top="0.0pt" end-indent="0.0pt" linefeed-treatment="preserve" start-indent="0.0pt" height="0pt">
    <fo:inline height="7.0pt" font-family="Arial" white-space-collapse="false" font-size="7.0pt">
    <xsl:value-of select="PLL_SHIP_ADDRESS_LINE1" xdofo:field-name="PLL_SHIP_ADDRESS_LINE1"/>
    </fo:inline>
    </fo:block>
    ...(lots more address fields here!)
    </xsl:if>
    </xsl:for-each>
    </xsl:for-each>
    ------------end code------------
    Good luck,
    Scott

  • Purchase order shipping data change exit in ME59N

    Hi Experts,
    While creating Purchase Order from purchase requisition I need to change the value in field unloading point in shipping tab of Purchase order item. I am coding in exit 'EXIT_SAPMM06E_013' and changing the value of XEKPV-ABLAD. Still the value is not updated in the Purchase Order. Please advise.

    Hi,
    You can update the delivery date , by an customer program in back ground.
    This should be triggered for every PGI done with count in PO delivery date.
    This delivery date should be changed before the shipment is triggered.
    Ask your ABAPER to develop an custom program , based on input logic how to change the delivery date in PO.
    He will develop the program as per your input given to him.
    Rgds,

  • How to copy Customer Sales Order number to Purchase Order for 3rd party sal

    Hi experts,
    We are doing third party sales. So once we create Customer Sales Orders manually via VA01, users also manually create Purchase Req for it.
    We do not automatically create PR from Sales Order, as this is not my clients requirement. So we don't use item category group BANS in the material master.
    In the item level in the PR under the Contact Person tab, the creation indicator shows "V Sales & distribution document". Once PR is created this updates the PR number under the item level Schedule lines in the Sales Order.
    After PR creation, we run a job to create PO's.
    But the new requirement from the client is to automate this PO creation thru EDI.
    Our SAP is 4.6C & the Idoc type we use is ORDERS05 & Message Type is ORDERS. We are using EDIFACT std.
    Once I get the idoc xml file for this PO, I find that my Customer PO number (from the Sales Order) & also the Customer Sales Order number is not copying to the xml output.
    Please advise what needs to be done inorder to have it.
    This will be great help & I will reward for the answers !
    Rgds,
    Pri

    Tables are related.
    MATNR
    WERKS
    MBDAT
    LGORT
    CHARG
    etc fields are common in both VBBS and VBBE.
    May be you can generate a condition a fetch data using this.
    I hope it helps.
    thanks

  • Alternate Ship to party selection in item and header level

    Hi,
    How a alternate ship to party in header level and item level be selected please.
    Best Regards
    RD

    Hi Durai
    I try to make it simple.
    You maintain partner relationship in two places.
    They are,
    1. Customer master data ( sales area data > partner function tab )
    2. In sales document ( at both header & item level ).
    Difference between the two are,
    In Customer master, you can have multiple Partners for  one Partner function, but in Sales documents you can not have more then one Partner for one Function.
    Only, Outline agreement is an exception where you can have more one partner ( alternative SP & SH ) for one Partner function.
    In the customer master, if there are more then one Ship-to-party, then when you create a Sales order, then system will give you a pop-up/a list of SH to choose the one you want.
    Therefore add the  multiple Ship-to-parties in the customer master of your Sold-to-party,so that system will give you a pop-up.
    So you can select the SH you require.
    As beacuse already multiple SH are there in the cust master of SP, so you can change the SH at Item level for some items.
    Select the Item, go to item details, in the partner tab you can change the Ship-to-party (remember you can not add here one more SH ).

  • Sales order ship to party

    Hi all,
    hope you can resolve my doubts.
    how is determinated the ship to code in the sales order? I know it's depending from customer master data, but I don't know the difference between table vbpa and knvp.
    many thanks

    Hi
    The ship-to party in sales order is determined by the partner determination procedure settings in spro. There are 2 levels of partner determination avaliable in sales order at Header level and Item level.
    The partners maintained in the customer master will be copied to the sales orders according to the partner determination settings.
    KNVP
    The table KNVP holds the Customer master partner functions data for a particular customer. That is in customer master if you go to sales area data and to the partners tab page you can see all the partner functions assigned with that customer master. The same information is captured and stored in this database table during customer creation.
    VBPA
    The table VBPA holds the Sales document partner functions. That is whenever you create a sales order the partner functions will be copied in to it from the customer master. This information from sales order is getting stored in this table. In this table you can see all the partner functions of a sales document.
    Hope this helps clarifies your doubt.
    Regards
    Rajkumar K

  • Issue on Purchase order creation with Delivery schedule line items per PR

    Hi
    Note->Developed inbound FM to create PO's in SAP through IDOC.
    We are creating purchase orders from vendor which is coming from Inbound IDOC. Here we are using as BAPI_PO_CREATE1
    to create PO's. before that i am passing all the inbound data of the IDOC and getting some Purchase requisions for plant and material wise from EBAN table where we have open PR's and split the inbound line item qauntity as per Open quantity in Purchase requisions. Problem here we are modifing schdule line data as per purcahse requisitions and post the all the shehduline data into above functional module, we are using creation date as delivery date in the scheduling line for each line.
    Set1- If we have multiple requisions for each material and plant in the inbound IDOC item , while creating PO using  above BAPI
    creating PO with delivery date is taken from Purchase requesion date, this only will happend in the first schudle line item always, second line scheulde has taken correctly from creation data as delivery date.
    Set2-If we have one requisition for each line item, it will creating correctly for schulding line item as with correct delivery , whcih is not taken from requstion delivery date.
    Set 2 is working correctly, but Set1  has problem with delivery date  in the scheduling lines particulary for first schduling line item.
    Please help me on this issue.
    Advance wishes

    Hi Satish
    Thanks for the reply.
    I checked the parameters and it is creating 2 PO when the Indicator Ordering address is set.If I uncheck this Indicator then only one PO is created.
    But now my question is from where is the Ordering address taken because for both line items Vendor is same and ordering address is also same.
    Then why the system is creating new PO?
    Regards
    Vaibhav Mahajan

  • Purchase Orders Ship to Addresses

    When raising purchase Orders  ,how do we select a different ship address in the logistics tab.
    There is only the company address available as the ship to addrress
    I think  SAP does not give you an option to select different ship to addresses in purchase orders unless you are using a drop ship warehouse , is this correct. ?
    Thanks for your help

    hi Pam
    You are right and what gordon saod even thats right i would explain u b1 does not give any option to change the ship to address however we can manually change the adress in the tab ie we can write a different address and could save the document without entering it but in masters it gives only option for the ship to address
    Hope that clarifies
    Regards,
    manish

  • When we create a Purchase order that has PIR in line item, the text is stored in EINA or EINE?

    Hi Friends,
    I have a requirement that, whenever we created the PO that has PIR in line item, the text is getting stored in EINA or EINE table.
    so here the businees need to move the text which storing in EINA /  EINE to ekpo text id up on saving.
    please suggest how i need to proceed with this issue.
    Thanks in Advance,
    kasi.

    Hi Madan,
    Thank you for your reply.
    As per your suggestions I found  BADI  ME_PROCESS_PO_CUST.
    Could you please help me how to read the "Info record PO text" for each line item in the purchase order and i want to save the readed text into EKPO-txz01.
    Thanks in Advance,
    kasi.

  • Purchase Order Ship To Address on Logistics Tab

    The Ship To Address on the Logistics tab for a PO is only showing a City and State.
    Print Preview of the Purchase Order shows the Default Ship To Address for the Vendor.
    Changing the Ship To Address on the Logistics tab of the PO does not affect the Purchase Order as shown in Print Preview.
    This does not seem like correct behavior.  Is this a bug?
    If not, can someone explain it to me?

    Maybe the PO printout is set to print the ship-to address details of the BP instead of the ship-to address of the document?
    In order to find out (or change) where the data on the PO printouts actually comes from: Open a PO, then Tools - Print Layout Designer (PLD), then a doubleclick on the high-lighted row. Select a field in the left hand window, then in Properties window go to 'Content' tab in order to review /change the table+column mappings.
    The default content and layout of Document ship-to and bill-to addresses are defined in Admin - Setup - BPs - Address Formats.
    HTH
    Juha

  • SRM Local Purchase Order with both a standard line item and limit item...

    In SRM is it standard that you can create a local purchase order from the sourcing cockpit that contains a mix of limit items and standard items?
    I know this can be done in R/3.

    Paul,
    I am a functional/business person, and we are running SRM550 in extended classic, linking to ERP backed.
    From our business point of view it makes little sense to mix a limit item with one or more standard catalog item. SAP standard SRM 550 actually stops our users from doing this.
    For those who are not aware of the differences I will elaborate.
    A standard item is either from a Free Text entry process with the process being completed by a professional purchaser or a catalog item either internal to SRM, or maybe from an external website.
    Limit orders are value based and are mostly used for the payment of Utility bills, or for services. We don't use services at all.
    In our business we use limit orders for an Electricity Bill for example.
    When the user confirms a limit order the quantity should always be 1 and the user enters the value of the item.
    The Invoice entry team then needs to match the Invoice to the GR line.  It's at this point that if you have Limit items and standard items mixed our invoice entry team could run into problems.
    We are aware that it is not recommended practice for Limit orders to have GR and if you can avoid this step then you should.  Unfortunately our operating model insist on everything being confirmed and in the case of limit orders this can cause us invoice blocking issues.
    Limit orders are normally set up to run for a full FY so the addition of standard catalog items to a limit order makes little or no business sense.
    If a user added two limit items to a shopping cart for the same supplier our system would produce two PO's for the supplier to use.
    We actually avoid transmitting Limit order details to our suppliers as this would indicate the maxiumum value they could invoice us for, businesses just don't do that.  We just send them the PO number and description of the item. This provides them with a PO Ref number to puton their invoices.
    As we are still running SRM 550 maybe someone with SRM 7 knowledge would care to expand on this analysis?
    Hope this helps?
    Allen
    PS We don't use the Sourcing Cockpit, just read your earlier response
    Edited by: Allen Brooks on Mar 3, 2010 3:22 PM

Maybe you are looking for

  • Partial delivery per items always copy sold to settings

    Hello SAP Consultants, Currently in my clients' business process, there are scenarios where customers (sold to) can have different ship-to parties. Thus, they maintained partial delivery per item specific for ship to party under sales area shipping t

  • Character rotation problem in tiled map

    Hi I am trying to rotate the character in a tiled map. Its is successful but theres problem with moving diagonally. When i pressed for example up and right keypressed, when its moving it will rotate as i wanted but when i released the buttons, it eit

  • Can't view photos and movies emailed to me on new 16GB iPhone

    I'm sure this has been asked here already, but couldn't find it. When someone emails me a photo or a movie I can't view it on the iPhone. All I see is an icon with mime-attachment under it. I'm able to view the photos and videos on my iMac and Powerb

  • BGP Advertised Routes two Peering

    Dear all I have issue with BGP behaviour. I have two BGP peering; from both I receive default route, but one of them, AS 65472 is primary so I setup local preference in 200; it is because I want to use AS 65472 as internet provider. The another one,

  • Is the new Photoshop Creative Cloud compatible with MAc OS X Lion?

    Is the new Photoshop Creative Cloud compatible with Mac OS X Lion 10.7.5?