Determine Default Delivery Addresses

Hi
I want to determine the delivery addresses at the time of creating PO. For this an user exit is there. Can any one explain the scenario?

Hi,
If u are creating PO from PR , System automatically picks Devlivery Address from PR , in the same way u can do for PO without PR , thru Config.
so check in SPRO .
Regards
Prabhu

Similar Messages

  • Default delivery address values in ME21n

    Hi all,
    When i create a PO, i get a default delivery address. Even when i remove that address number and change the address values and press enter am getting some other address automatically.
    This is working for few users and not for others. Is there any configuration settings?.
    Kindly guide me to resolve this issue. i searched other forums but i dnt get any solution.
    Regards,
    Vijay

    Hi,
    I was encountering the same issue and came to this post looking for the solution. Since it was not there, I tried many variations and got it! The problem lies in ADRC value not being same across items. Here's what to do:
    The PO will have multiple line items. Reset address in all line items.
    Then go to ADRC table. The value should be same across all line items. If not, reset the address in all line items one by one. SAVE.
    If only default address it to be maintained, then issue is solved.
    If manual address has to be maintained, then further proceed by choosing any line item and clicking "Address details" under "Delivery address". Maintain the address here. If you get any prompt, click on "yes".
    Now maintain any other information you require under "Delivery address". Click "Yes" to any prompt and SAVE.
    Delivery address will be consistent across all items now.

  • Default delivery address in goodsreturn

    Hi,
    is there a way to get  the default delivery address from BP in goodsreturn on tab logistic. Maybe FMS??
    thx
    Mark

    Hi Taimor,
    I changed it a little bit.
    select isnull(t0.street,'')' 'isnull(t0.zipcode,'')' 'isnull(t0.city,'') from crd1 t0,ocrd t1 where t0.cardcode=t1.cardcode and t0.cardcode=$[$4.1.0] and t0.adrestype='S' and t1.mailaddres=t0.street
    Is it possible to give the result of the query in 2 separated lines.
    street
    zipcode + city
    country
    THX
    Mark
    Edited by: M. Hageman on Jun 7, 2010 3:30 PM

  • Default delivery address parameter in ME21N

    Hi all.
    If I have a delivery address number specified, I have to manually put it in every PO I create - is there any way of making this delivery address number default? Perhaps there is a parameter for this? It would be nice to be able to use the address number as default instead of the plant address.

    I have come across this issue as well and was looking for a solution, since we have a scenario where 2 different buildings are represented by a single storage location.  So even if we put 2 addresses on the storage location in configuration, the default will just be the first address in configuration.  As has already been mentioned, there is no link between either purchase organization or material and a default delivery address, and SAP does not provide a parameter ID on the address field in the PO.
    A possible solution appears to be the creation of your own parameter ID, which is then assigned to the delivery address data element (ADRN2).  If that is done, then a user may enter a default address number as a parameter ID in their user setup.  Note that this is a development activity, and some may consider it a customer modification because you are making a change to a SAP standard data element.  However, it is a very small change, and I do not see how it could conflict with an upgrade or application of OSS notes.  The process for doing this is explained in the following forum thread which I found on SDN:
    Error while creating Parameter Id
    I am going to pursue this option and see how it comes out.

  • Default Delivery Address in PO at plant level,vemdor level or material leve

    Hi
    Suppose my Plant address is XXXXX .
    For each PO created for that plant I want to  delivery address as YYYY comes as default ( No selection under item delivery address tab)
    or Same for particular material. or particular material.
    How to achieve this.
    Edited by: Sanjay  Shah on Jan 15, 2010 5:58 PM

    Dear Jurgen,
    If there are more than 1 adreess at the storage location customizing, when the PO is created the 1st one is copied at the delivery address of the order.
    Is there a way to choose another one or an automatic way to determine the appropriate one (let's say if the Communication language of the PO is EN choose 2nd address or the 3rd).
    Thanks in advance.
    BR,
    Elly

  • Shopping cart default delivery address based on company code

    Hi All,
    As a standard behaviour of SRM, currently delivery address in shopping cart is defaulted from attribute (ADDR_SHIPT). But in our case we use cross company purchasing where requisitioners buy for different company codes.
    Some times, they forgot to change the default dlivery address and shopping carts are getting created with wrong delivery address.
    Is there any way, the we can default the delivery address based on company code selected by the user instead of defaulting from user attribute?
    Suggestions would be greatly appreciated.
    Regards,
    Krish

    Hi Krish,
    Am looking for a same solution but instead of delivery address, we are looking for change in invoice recipient address
    ADDR_BILLT. For this i have identifed a FM: BBP_GET_BILL_TO_PARTY from which system pulls the defaulted attribute of user profile. Now we are in a change of pulling the attribute defaulted to the company code entered in SC rather than the user's defaulted ADDR_BILLT.
    Similarly i guess for your issue you can use the FM: BBP_GET_ORG_SHIPTO_ADDR implementing a enhancement in DOC CHANGE BADI
    Regards,
    Nihar

  • Logic for determining the delivery address in PO

    Hi,
    We have a requirement (for a enhancment ) to get the country updated in the delivery address of a purchase order.  Would be highly helpful if someone provide me the logic for getting the country key from the delivery address tab.
    Our landscape involves SRM PO & ECC PO's and hence getting the details from Plant & s.loc will be o.k for ECC PO's , but for SRM PO's the details are updated from ship tp address.
    Regards
    Sudhakar

    Hi,
    U can get the country key ( LAND1)  in T001W table, by giving plant code, which u can get in EKPO ( WERKS) by giving PO no.
    Also u can get in ADRC table, thr u need to input ADRNR no. which u will get from T001W table by giving plant code.

  • Delivery Address coming as a default in the home screen for creating a SHC

    Dear Experts
    I have done some changes in the delivery address and while saving it was asking to maintain as a default address otherwise it was not able to save the changes I made.So I maintained it as a default and saved the changes.
    Now the issue is when we are in the home screen for creating a SHC this delivery address is coming as default.As we dont want this dekivery address to be default on  the screen and the requirement is that user should be able to search the delivery address.
    So we dont want that defaulted address.The other reasons were also checked and no where in the attributes we ahave maintained this default delivery adress.
    Can you please help us how can we remove this defaulted delivery addres in the SHC creation screen.
    Thanks and Regards
    Vikas

    HI Muthu
    Thanks for the reply.
    I again repeat I think you have not understood my question.These are very basic things you are mentioning about how to change the delivery address.i know all about this and in my query I have clearly asked that during the change option its asking to maintain the default delivery address and even if I dont select it my changes wont be saved.Second is even if I maintain another delivery address only then from the first delivery address the default screen will be unticked.
    Because the issue here is that what ever the delivery address is maintained its defaulting in the shop screen for the creation of the SHC.
    So my reequirement is how to set this.I have checked attributes and nowhere this delivery address has been maintained.
    Brief about Issue:
    We have done some changes in the delivery address (Transaction Edit
    internal addresses in the URL screen)and during the save it was asking
    us to maintain it as a default address without which it was not able to
    save.So after saving on the creation of the shopping cart screen this
    delivery address is coming as a default value.
    We dont want this to be defaulted and the user should have the search
    functionality for the delivery address.This problem is happening for
    the org id for which I have done the changes.When i assign my user id
    to the other org id the defaulted delivery address is not shown on the
    shopping cart creation home screen.
    We have checked in the attributes of the user and the org id and
    nowhere this delivery address has been maintained.
    I have checked the settings for the other org id for which it was not
    showing as defaulted on the shopping cart creation screen and compared
    these two and was not able to find any difference.Could you plase let
    us know the problem in this case.
    Regards
    Vikas

  • User exit/BADI for Return PO item delivery Address

    Hi Guyz,
    We have a requirement where in when a PO item is marked as return PO item(In ME21n/ME22n/ME23n We have check box at item level) and click on enter/Check/Save, In delivery address of item details we have to populate Vendor address. By default SAP populates Plant address. If we manually give Vendor number in item details=>Delivery address tab then it populates vendor address. We want to automate this functionality.
    Is there any Exit/BADI which serve this purpose.
    Note: We need this functionality for few doc types(i.e PO doc type should also be available in the exit).
    Any ideas could be really helpfull.
    Thanks,
    Vinod.

    Hi,
    there are some user-exit & enhancements....
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N
    MEVME001                                WE default quantity calc. and over/ underdelivery tolerance
    MM06E001                                User exits for EDI inbound and outbound purchasing documents
    MM06E003                                Number range and document number
    MM06E004                                Control import data screens in purchase order
    MM06E005                                Customer fields in purchasing document
    MM06E007                                Change document for requisitions upon conversion into PO
    MM06E008                                Monitoring of contr. target value in case of release orders
    MM06E009                                Relevant texts for "Texts exist" indicator
    MM06E010                                Field selection for vendor address
    MMAL0001                                ALE source list distribution: Outbound processing
    MMAL0002                                ALE source list distribution: Inbound processing
    MMAL0003                                ALE purcasing info record distribution: Outbound processing
    MMAL0004                                ALE purchasing info record distribution: Inbound processing
    MMDA0001                                Default delivery addresses
    MMFAB001                                User exit for generation of release order
    MRFLB001                                Control Items for Contract Release Order
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.
    AMPL0001                                User subscreen for additional data on AMPL
    LMEDR001                                Enhancements to print program
    LMELA002                                Adopt batch no. from shipping notification when posting a GR
    LMELA010                                Inbound shipping notification: Transfer item data from IDOC
    LMEQR001                                User exit for source determination
    LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001                                Customer-Specific Source Determination in Retail
    M06B0001                                Role determination for purchase requisition release
    M06B0002                                Changes to comm. structure for purchase requisition release
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)
    MEETA001                                Define schedule line type (backlog, immed. req., preview)
    ME590001                                Grouping of requsitions for PO split in ME59
    M06E0005                                Role determination for release of purchasing documents
    M06E0004                                Changes to communication structure for release purch. doc.
    M06B0005                                Changes to comm. structure for overall release of requisn.
    M06B0004                                Number range and document number
    M06B0003                                Number range and document number
    Some BADI s:
    ME_PROCESS_PO                           Enhancements for Processing Enjoy Purchase Order: Intern.
    ME_PROCESS_COMP                         Processing of Component Default Data at Time of GR: Customer
    ME_PO_SC_SRV                            BAdI: Service Tab Page for Subcontracting
    ME_PO_PRICING_CUST                      Enhancements to Price Determination: Customer
    ME_PO_PRICING                           Enhancements to Price Determination: Internal
    ME_INFOREC_SEND                         Capture/Send Purchase Info Record Changes - Internal Use
    ME_HOLD_PO                              Hold Enjoy Purchase Orders: Activation/Deactivation
    ME_GUI_PO_CUST                          Customer's Own Screens in Enjoy Purchase Order
    ME_FIELDSTATUS_STOCK                    FM Account Assignment Behavior for Stock PR/PO
    ME_DP_CLEARING                          Clearing (Offsetting) of Down Payments and Payment Requests
    ME_DEFINE_CALCTYPE                      Control of Pricing Type: Additional Fields
    ME_COMMTMNT_REQ_RE_C                    Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_REQ_RELE                    Check of Commitment Relevance of Purchase Requisitions
    ME_PROCESS_PO_CUST                      Enhancements for Processing Enjoy Purchase Order: Customer
    SMOD_MRFLB001                           Control Items for Contract Release Order
    MM_EDI_DESADV_IN                        Supplementation of Delivery Interface from Purchase Order
    MM_DELIVERY_ADDR_SAP                    Determination of Delivery Address
    ME_WRF_STD_DNG                          PO Controlling Reminder: Extension to Standard Reminder
    ME_TRIGGER_ATP                          Triggers New ATP for Changes in EKKO, EKPO, EKPV
    ME_TRF_RULE_CUST_OFF                    BADI for Deactivation of Field T161V-REVFE
    ME_TAX_FROM_ADDRESS                     Tax jurisdiction code taken from address
    ME_REQ_POSTED                           Purchase Requisition Posted
    ME_REQ_OI_EXT                           Commitment Update in the Case of External Requisitions
    ME_RELEASE_CREATE                       BAdI: Release Creation for Sched.Agrmts with Release Docu.
    ME_PURCHDOC_POSTED                      Purchasing Document Posted
    ME_PROCESS_REQ_CUST                     Enhancements for Processing Enjoy PReqs: Customer
    ME_PROCESS_REQ                          Enhancements for Processing Enjoy PReqs: Internal
    ME_COMMTMNT_PO_REL_C                    Check for Commitment-Relevance of Purchase Orders
    ME_CCP_BESWK_AUTH_CH                    BAdI for authorization checks for procuring plant
    ME_CCP_ACTIVE_CHECK                     BAdI to check whether CCP process is active
    ME_BSART_DET                            Change document type for automatically generated POs
    ME_BAPI_PR_CREATE_02
    ME_BAPI_PR_CREATE_01
    ME_BAPI_PO_CREATE_02
    ME_BAPI_PO_CREATE_01
    ME_BADI_DISPLAY_DOC                     BAdI for Internal Control of Transaction to be Invoked
    ME_ACTV_CANCEL_PO                       BAdI for Activating the Cancel Function at Header Level
    MEGUI_LAYOUT                            BAdI for Enjoy Purchasing GUI
    EXTENSION_US_TAXES                      Extended Tax Calculation with Additional Data
    ARC_MM_EKKO_WRITE                       BAdI: Enhancement of Scope of Archiving (MM_EKKO)
    ARC_MM_EKKO_CHECK                       BAdI: Enhancement of Archivability Check (MM_EKKO)
    ME_CCP_DEL_DURATION                     Calc. of Delivery Duration in CCP Process (Not in Standard)
    ME_COMMTMNT_PO_RELEV                    Check for Commitment-Relevance of Purchase Orders
    ME_COMMITMENT_STO_CH                    BadI for checking if commitments for STOs are active
    ME_COMMITMENT_RETURN                    Commitment for return item
    ME_CIP_REF_CHAR                         Enables Reference Characteristics in Purchasing
    ME_CIP_ALLOW_CHANGE                     Configuration in Purchasing: Changeability Control
    ME_CIN_MM06EFKO                         Copy PO data for use by Country version India
    ME_CIN_LEINRF2V                         BADI for LEINRF03 excise_invoice_details
    ME_CIN_LEINRF2R                         BADI for CIN India - Delivery charges
    ME_CHECK_SOURCES                        Additional Checks in Source Determination/Checking
    ME_CHECK_OA                             Check BAdI for Contracts
    ME_CHECK_ALL_ITEMS                      Run Through Items Again in the Event of Changes in EKKO
    ME_CHANGE_OUTTAB                        Enrich ALV Output Table in Purchasing
    ME_CHANGE_CHARACTER                     Customer-Specific Characteristics for Product Allocation
    No.of Exits:         35
    No.of BADis:         55
    Arunima

  • PR delivery address

    In purchase requisition Delivery Address  is determined automatically as a Plant Address.
    We want to use a  Single plant but could have a number of delivery addresses depending on where the Requisitioner is ordering.
    We cannot use Storage Location to determine the Address as Coustomization allows S.Loc per plant.
    We want default Delivery Address per Requisitioner

    Hi.
    You can create the address the in the transaction MEAN. This address you can the delivery tab in PR.
    Create a address for each requisitioner and enter the address no in the delivery tab view of the PR.
    Hope this will help you.
    Cheers
    Umakanth

  • Change Delivery Address In PO

    Hi Experts,
    I want to change the delivery address in PO for a particular Account Assignment Category. When the category is 'Z', I want to fetch the sales order ship to party address which is mentioned in Account assignment tab by clicking more button. I have found the enhancement MMDA0001 - Default delivery address where i can pass the adrnr . But i am not getting the account assignment tab values in the debugger.
    Its urgent.
    Awaiting your responses.
    Thanks & Regards
    Akshay J

    Hi Akshay,
    BADI ME_PROCESS_PO_CUST may helpful you to achive this.
    Regards,
    KAUSHIK SAVALIYA

  • Delivery Address in ME23n

    Hi Friends,
    I need to find the table where the delivery address gets stored, when delivery address is entered manually in the delivery address field while creating the PO.
    Thanks in advance.
    Regards,
    Prabhu

    Hi
    In this code you will get the address no. for the manually entered address in PO.
    With that address no. fetch the data from ADRC table..
    DATA ls_cmmda TYPE cmmda.
      DATA ls_cmmda2 TYPE cmmda.
      DATA ls_ekpo  TYPE ekpo.
      data im_ebeln like ekpo-ebeln value '4500000005'.
      data im_ebelp like ekpo-ebelp value 00010.
      DATA lt_cmmda TYPE TABLE OF cmmda.
      REFRESH lt_cmmda.
    Select the PO Item data (all fields need to be selected here!)
      CLEAR ls_ekpo.
      SELECT SINGLE * INTO ls_ekpo FROM ekpo
      WHERE ebeln = im_ebeln
      AND   ebelp = im_ebelp.
    Populate the relevant global parameters from the
    function group MMDA
      REFRESH lt_cmmda.
      CLEAR ls_cmmda.
      MOVE-CORRESPONDING ls_ekpo TO ls_cmmda.
      APPEND ls_cmmda TO lt_cmmda.
      CALL FUNCTION 'MM_DELIVERY_ADDRESS_INIT'
    EXPORTING
      IM_NO_REFRESH       = ' '
        TABLES
          it_cmmda            = lt_cmmda
    Get the address number and/or more details required to
    determine the delivery address
      CALL FUNCTION 'MM_DELIVERY_ADDRESS_FOR_BAPI'
        EXPORTING
          im_ebeln = im_ebeln
          im_ebelp = im_ebelp
        IMPORTING
          ex_cmmda = ls_cmmda2.
    write: ls_cmmda2-adrnr,
            ls_cmmda2-werks,
            ls_cmmda2-emlif.
    Thanks your replies...
    Regards
    Prabhu

  • Delivery Address in ME23n (PO)

    Hi Friends,
    I need to find the table where the delivery address gets stored, when delivery address is entered manually in the delivery address field while creating the PO.
    Thanks in advance.
    Regards,
    Prabhu

    Hi
    In this code you will get the address no. for the manually entered address in PO.
    With that address no. fetch the data from ADRC table..
    DATA ls_cmmda TYPE cmmda.
      DATA ls_cmmda2 TYPE cmmda.
      DATA ls_ekpo  TYPE ekpo.
      data im_ebeln like ekpo-ebeln value '4500000005'.
      data im_ebelp like ekpo-ebelp value 00010.
      DATA lt_cmmda TYPE TABLE OF cmmda.
      REFRESH lt_cmmda.
    Select the PO Item data (all fields need to be selected here!)
      CLEAR ls_ekpo.
      SELECT SINGLE * INTO ls_ekpo FROM ekpo
      WHERE ebeln = im_ebeln
      AND   ebelp = im_ebelp.
    Populate the relevant global parameters from the
    function group MMDA
      REFRESH lt_cmmda.
      CLEAR ls_cmmda.
      MOVE-CORRESPONDING ls_ekpo TO ls_cmmda.
      APPEND ls_cmmda TO lt_cmmda.
      CALL FUNCTION 'MM_DELIVERY_ADDRESS_INIT'
    EXPORTING
      IM_NO_REFRESH       = ' '
        TABLES
          it_cmmda            = lt_cmmda
    Get the address number and/or more details required to
    determine the delivery address
      CALL FUNCTION 'MM_DELIVERY_ADDRESS_FOR_BAPI'
        EXPORTING
          im_ebeln = im_ebeln
          im_ebelp = im_ebelp
        IMPORTING
          ex_cmmda = ls_cmmda2.
    write: ls_cmmda2-adrnr,
            ls_cmmda2-werks,
            ls_cmmda2-emlif.
    Thanks your replies...
    Regards
    Prabhu

  • Delivery address to be defaulted to that of vendor address in returns PO.

    Hi mates,
    My client is using sap 4.7 . His requirement is that the delivery address in the delivery address tab (item details) during the returns PO should be defaulted with that of the vendor given at the header. At present it is defaulted with the plant address from which the goods are returned. Is there anyway we can do this ?
    Thanks in advance,
    Sriram.
    Edited by: sriramkadiyam on Jun 10, 2010 11:51 AM

    The delivery address tab gets its information from your plant record or from your storage location record (if you have maintained an address for storage location and entered the storage location in the PO). The delivery address has nothing to do with the vendor of the PO.
    In case of a return PO, the delivery address is the address from where the vendor shall pick up the material.
    if you organize the delivery, then you usually do this with SD delivery (having flagged the return vendor field in vendor master and a corresponding customer master). In this case you get the address in the delivery document from the customer master address. The PO (as return PO) does not really play a big role, except that you tell your vendor that there is some good coming back to him.

  • How to default an address number delivery address in the PO item

    Hi All,
    I have some combination of certain Material / Vendor / Delivery address.
    I have created some address numbers from transaction MEAN.
    I can successfully assign these in PO detail manually. Then the address gets updated from it
    for plant or storage location if specified.
    What I need to know is how to "default" this address number in the PO detail.
    I couldn't fine appropriate field in info record, but I have a feeling that it should be possible.
    Could anyone help me on this please?
    Thanks,
    ATO

    Hi Nadia,
    Thank you for your reply.
    The plan is that storage location gets default on the PO by material master setting.
    I have configured the storage location address, so this defaults in the delivery address tab.
    This storage location is our warehouse to receive goods.
    Sometimes we delivery goods directory to the vendor without receiving into the warehouse.
    In this scenario, we are using the address number to print the vendor address on the PO output.
    The combination of material and vendor is unique when we need to deliver directory.
    So the expectation is to default this address number in this certain case.
    Do you mean this will be possible without user exit?
    Thanks,
    ATO

Maybe you are looking for