CAPTURE RUNTIME REGION VALUE ITEM DELIVERY ADDRESS TAB IN PO

Hi Friends,
I am working on P.O enhancement which updating a custom field in custom tab in P.O item as below.
if docuement type 'ZY' ,, account assignment category 'A' or 'K' material group '35' and delivery address REGION 'CA'.
then update the flag as P,, same value will store in EKPO also.
the issue is i am not able capture the run time value of REGION,, i dont want go to using adrnr in ADRC table..
very importantly user may change the delivery address region, so how can i capture,, please help me.
i dont see any any User exit is not holding the region value

Hi,
we have another option to get the delivery address details.
1) use the above procedure to get the delivery address details
2) If there is no address number in EKPO table, just they are showing the address of the plant. That is they are displaying the address data from T001W for the given plant.
may be it will work.
Thanks,
Rajinikanth G

Similar Messages

  • Plant name missing in PO line item details (Delivery address tab)

    Hi
    We are facing issue with ECC PO migration to SRM SUS client due to missing line item delivery address field name. We have PI integration. Name exist in PO XML on ECC interface but not copied on to PO line delivery address details (ME23n)
    Impact:
    We have 3 way channel between SRM client --> ECC ---> to SRM SUS client.
    When we create PO in SRM it flows from SRM to ECC using Purchase order request_V1 sevice request. This part works PO get replicated successfully. But when this PO is pushed to SUS client we are facing error message : "Name details missing for the partner address" found from proxy debugging. Second part of PO migration from ECC to SUS is not working due to missing plant name details in ECC
    When I copy PO (with missing details) to new PO and manually enter the details, scenario works with out any issue.
    Please comment.
    Regards
    Prashanth K Saralaya

    Hi Prashant
      Did SRM--> ECC PO have address details updated properly. It seems the address did not get updated when the PO is coming from SRM to ECC and when you manually update it, it goes to SUS Perfectly.
    For Delivery address , Name field is mandatory and ECC PO has to have the Name updated in Delivery Address.....
    If ECC PO has Name field updated in delivery address tab, then check the XMLs between ECC and SUS whether XML has carried Name field to SUS or not
    Regards
    Virender Singh

  • 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

  • How to fetch PO item delivery address from ME23n

    Dear Experts,
           From ME23n, I have to fetch the delivery address for the po items ( at item level). This is mentioned in the 'Delivery Address' tab at item level details.
    I think this is the plant address, but if the user goes to ME22n and deliberately changes the address,  I have to select this modified address.
    How to do this?
    Thanks in advance

    Hi Shweta,
    If Address is not changed, then extract address information as below.
    Select <adrnr> from t001w where werks = <ekpo-werks>.
    Select <required columns> from adrc where adrnr = <t001w-adrnr>.
    If address is changed, then extract information as below.
    Select <required columns> from adrc where adrnr = <ekpo-adrnr>.
    Column adrnr in EKPO will be blank if no changes has been made to the address, and if address is changed this column will have the value of new address number
    Regards
    Vinod

  • Tax Jurisdiction code is not replicating from Delivery address tab to Invoi

    Hi Gurus,
             when i trying to change the value i.e tax jurisdiction code in the  delivery address tab that value is not replicating to the Invoice tab in the transaction ME22N.
    How to resolve this ???
    thanks in advance.

    Hi,
    Make use of this BADI  ME_TAX_FROM_ADDRESS in this use method  GETTXJCD_
    You will get the delivery address number using function modeul  MM_DELIVERY_ADDRESS_TXJCD_GET
    Regards,
    Pravin

  • Address no. in delivery address tab of purchase order

    I want to know where is delivery address maintained. I am creating a po with item category K.
    I want to change the delivery address. When I save po. it gives address no. in delivery address tab of purchase order.
    I want to know what is the tcode for maintaing address.
    Is this customisation or master data maintenance.

    Hi,
    I am working on CR in which I need to change the delivery address.
    The purchase order I am referrring is having account assignment category K, without material no. & storage location.
    Plants and storage locations have addresses in the system.
    With what respect we will maintain address in tcode MEAN.For example plant. ?????
    Because in MEAN I create address and save but how this address will pick up in PO.
    Edited by: KiranCG on Dec 8, 2011 7:41 AM

  • Changing line item delivery address in shopping cart need to reflect same in all line items

    Hi All,
    Need help on below,
    I have a requirement that when we change the shopping cart line item delivery address same needs to reflect all line items.
    Suppose a shopping cart having 3 line items 1, 2 and 3. if i change the delivery address of line item 1, the same needs to reflect the line item 2 and 3 as well.
    In my case  if we change the 1's delivery address, after processing its genrating the IDOC on line item wise not in the header wise. And same having the different delivery address.
    Thanks in advance.
    regards:
    Ramesh

    Hello Ramesh,
    we can do this changes in BBP_DOC_CHANGE_BADI . Create a Implementation for the above BADI and Inside that Implementation BADI method just call the function module BBP_PD_SC_GETDETAIL for SC item details by passing the Header GUID.
    Once you get the Partner table(E_PARTNER) details.. Keeping a loop on SC item(E_ITEM) and change address number(ADDR_NO) in Partner table when Partner function eq X( X is an partner function values which you define in SPRO.).
    pseudo logic:
      CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
        EXPORTING
          i_guid    = l_guid
        TABLES
          e_item    = lt_item
          e_partner = lt_partner.
    * Check for all the line items if vendor is assigned
      LOOP AT lt_item INTO lwa_item.
        READ TABLE lt_partner INTO lwa_partner
                          WITH KEY partner_fct = '00000019'
                                   del_ind     = space
                                   p_guid      = lwa_item-guid.
        IF sy-subrc eq 0 .
       * modification of address number logic here in partner table
        ENDIF.
      ENDLOOP.
    All the best.
    Regards,
    Sankarbabu

  • Make the address field in delivery address tab as mandatory

    Hi, I want to make the address field in delivery address tab as mandatory for the combination PO type NB and accouting type F. The customer exit EXIT_SAPLMMDA_001 is not getting triggered for this. So could you please help me with this. I am trying to find a BADI.

    I assume you are not in a global working company.
    There are many countries in the world which do not have formal region codes and do not use tax jurisdiction codes.
    So making all the fields mandatory would disturb others that are not even able to fill something.
    I do not really understand the rational behind this, because the address fields are always filled, either from your plant address or (if maintained) from the storage location address, or from address of ship-to party of sales order in case of third-party POs.

  • How to populate VENDOR in Delivery ADDRESS tab durinG PO creation/Change

    Hi Expert,
                     which structure is used to populate VENDOR in Delivery Address TAB in PO creation /Change  using BAPI (BAPI_PO_CREATE1/BAPI_PO_CHANGE).
      VENDOR SCREEN FIELD NAME IS CMMDA-EMLIF. Actually  this field is available in EKPO and I have been asked to modify this filed only corresponding to PO. But direct modification of EKPO is not good practice . what I'm trying is, using BAPI_PO_Change to make this change. can we do this at time of PO creation using BAPI_PO_Create1?
    Thanks in advance

    Hi,
    You can use the above BAPI's and fill the structure -POITEM  with the field : SUPP_VENDOR{Vendor to be supplied/who is to receive delivery}
    Simultaneously you need to update the field SUPP_VENDOR  to X of the BAPI structure POITEMX
    Hope this helps
    Regards
    Shiva

  • Customer Field in 'Delivery address tab of PO - ME22n

    I am seeing customer field entered for some PO's and the field is hidden for few in delivery address TAB. How to enter customer in delivery address TAB? Kindly help me.
    Thanks

    Hi
    Can you tell me the resolution
    Regards
    rajeev

  • PO printout is not coming after changing only line item Delivery Address

    Hi
    Can anybody suggest a solution for the problem?
    Using ME22N , if I change the line item delivery address details to the already generated manual address number ( Not generated using Transaction MEAN)
    If I save the PO then PO Printout is not coming but output message log showing " No print-relevant changes to document XXXXXXXXX exist"
    We can read CDHR and CDPOS table for changes .
    Is there a way to pass the parameter to the print program to Print the changes?
    Thanks
    sanath
    Edited by: sanath kumar sarvepalli-venkata on Nov 2, 2010 11:23 PM

    Hi,
    In IMG - Materials Management- Purchasing-Messages - Fields relevant to Print out of changes
    Enter Table EKPO , Reference Field LOEKZ, tick on change print relevant for purchase order,in routine enter 03.
    Now your Output will be triggered with a change indicator and you can process it using ME9F.
    Regards
    Chandra Shekhar

  • Use of Address field in Delivery Address tab of Purchase Order

    Hi,
    In Purchase Order, there is field Address in Delivery Address tab.
    How can we maintain Address in SAP.
    Also in what scenario we use the Address.
    My understanding is:
    We have marinated the Plant Address as Sec-59, Gurgaon and while creating the Purchase Order, the System picks up the same address as mentioned in the Plant Configuration. Now we to deliver the Material in , say, Sec 69 in Gurgaon,  in this case the concept of Address is used.
    Please correct/ confirm my understanding
    Regards,

    Hi,
    Thanks for the reply.
    I have created the address and is working fine.
    Here we have got some confusing scenario:
    We have created a Company Code 1000 & Plants 1001 (in Delhi) & 1002 (in Mumbai) under Company Code 1000.
    We (our client) want to create purchase Order from Plant 1001 (Delhi) but we the Material to be delivered to Plant 1002 (Mumbai).  Is this possible? To be my knowledge, the Material is received in the Plant from where the Purchase Order is being generated. Also there will a Tax related problems.
    What can we suggest to convince the Client?
    Regards,

  • SRM 7.0 Shopping Cart Item - customizing Delivery Address Tab fields

    Hi experts,
    I have to make the fields of tab Delivery Address in the Shopping Cart (Item detail) only readable.
    In other threads I found similar questions: in SRM 7.0 I have to go in Customizing
    SAP Supplier Relationship Management -> SRM Server -> Cross Application Basic Settings -> Extensions and Field Control (Personalization) -> Configure field control
    and add fields for which I want properties to be changed.
    The problem is that at start of the SC creation the fields are blank again, they became gray only if, for example, I take an address with the match code on NAME field, that populate the other field of the tab. Or if I check the document after I've insert the address Name.
    Thank you in advance.
    Enrico Righetto

    Hello,
    Check here how the delivery address determination works:
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=230261594
    If field is made as read only when address is maintained, the best option would be to maintain a standard address number in ADDR_SHIPT attribute in PPOMA_BBP.
    Regards,
    Ricardo

  • POs and delivery address tab

    Hi,
    in trx MM02 I cannot find where are stored information in tab "delivery address".
    I tried to change the delivery address of a vendor but system doesn't update the printout of the PO I'm modifying with the new delivery address
    Regards

    SAPBUG wrote:
    Hi,
    >
    > in trx MM02 I cannot find where are stored information in tab "delivery address".
    > I tried to change the delivery address of a vendor but system doesn't update the printout of the PO I'm modifying with the new delivery address
    >
    >
    > Regards
    In MM02 (change material master) you will certainly not find any field with delivery address.
    In a PO the delivery address is defaulted from your plant address, or from storage location address if the storage location is entered in the PO item line. ((both addresses are maintained in customzing)
    You can then overwrite the delivery address manually in ME22N.
    if this new address is not printed, then your print program is probably modified and does not follow the standad logic, in this case you have to contact your developer.

  • Subcontracting PO from Sales order = Delivery address tab = customer

    Hi,
    We have a Sales order which saves a PR.
    If I transfer the PR to the subcontracting PO.
    The delivery address is equal to my company.
    But I want to send the goods directly to the end customer.
    I will post a dummy receipt. I need a customer field in the
    tab delivery address (same as with third party).
    How can I solve this problem?
    Thank you,
    Eric van Zundert

    this is possible however you have to some configuration.
    1.you have to maintain combination item category -L and acct assignment category - 1
        spro-->mm->purchasing--->Account assignment here you have to maintain
    2.you have to allow to create PO with item category 'L'  when PR item category is 'S' .
        spro->mm->Purchasing->PO->document types
        for std order NB you have to maintain above combination
    3. now if PR is converted into PO ,the system automatically  take item category --S
        acct assignment category--1 from Sales order.In PO you have manuallly change the item category from 'S' to 'L'.
       now the delivery address will not be changed from customer address.
       this will solve you problem
      reward if useful

Maybe you are looking for