Delivery address problem.

Hi guys,
Thanks a lot for your earlier responce.
I posted earlier message just to make sure that i am picking the correct address no, as i am facing a very strange problem.
i am passing adrnr(plant) as parameter to ADDRESS function in sapscript and passing country code as GB. the problem is the function returns me the region along with the country, but in reality the region is not assigned to the plant and the region returned is that of vendor.
if I remove country from the output line, then it is ok, but as soon as i put country in output line in form, region(that of vendor) is displayed in the output
please help me to understand what's going wrong.
please give your views what could be wrong. I had debugged the program and form.
Thanks
Lakhbir

anyone with a solution to my problem
Lakhbir

Similar Messages

  • Problem wih delivery address on print preview

    Dear experts,
    I have a problem with the delivery address on the print preview.
    When i create my PO and i attahced the storage location my delivery address in good in the PO and in the print preview.
    When i'm not attaching the storage location the delivery address in PO is the one of the plant but in the print preview i have the different address that i do not know where its comming from.
    Can you tell me which addreess in used by program as a delivery address when the storage location is not mentioned?
    I thinkits that program SAPFM06P.
    Thanks a lot for your help.

    in case of 3rd party order you have a account assignment which has the sales order number.
    execute VA03 und enter the sales order number. goto the partner tab at header level and obtain which customer number is the ship-to.
    the address for this customer number can be seen with XD03 transaction.
    you can as well check at KNA1 table to find the address number and with address number again get the address from ADRC table.

  • Report to Monitor the change of delivery address on the delivery document

    Is there a report that can show me when a user had changed the delivery address in a sales document or delivery document. The ship to # would stay the same but the address can be changed within the sales document which does not effect Master Data records.
    We are trying to moitor this to find where users have modified the address when shipping a delivery.
    Thanks

    Grant,
    I was unable to find a solution to your problem.  I think it is unlikely that this change
    when a user had changed the delivery address
    is explicitly recorded by SAP.  In the systems I looked at today, address changes in Sales docs are not among those that are automatically recorded.
    You can, however, look in table VBPA.  If an address has been entered manually (vs the normal automatic determination via customer master tables), then VBPA-ADRA is changed to 'E'.  Unfortunately, I can't find any place where this event is time-stamped, or the user responsible is recorded.  You might be able to intuit the user using other means. 
    Regards,
    DB49

  • Need Delivery address , Registered address of Business Partner

    Hi ,
    I would like to read the delivery address, registered address of a business partner along with standard address. Though I could find them in ADRC table the problem is only the standard address is holding an indicator X. If I could even read the other 2 addresses I could not differntiate which of them is a delivery address & which is a registerd address. Is there any sort of indicator to identify it or a BAPI to read them with indications.
    Regards,
    Prabaharan.G

    To update my findings.
    This was an issue caused by implementing SP14. SAP have released a note 1113213. This will correct the issue. Additionally, if you find a problem with sequencing curriculum types after installing SP14 implement note 1128365.
    Thanks,
    Max

  • How to get the Delivery address for PO

    I have a problem.
    I am working on a SAP Script , which is for PO(Zmedruck_po) , which is a copy of
    MEDRUCK.
    I am asked to print the delivery adress in a window .
    The scenario is like this .
    In ME23N , under item details , there is a tab called DELIVERY ADDRESS
    this has option to enter the adress details or a delivery number in the  address text box .
    If the address number is present i have to print that address , else i have to print the address which is entered in the delivery address tab.
    If the delivey address number is there i have no problem in printing it ,But if address number is not there ,I need to know how to get the delivery address,
    is it the plant address, company code address ... ?
    I debuged ,but could not find out.
    Can anyone help please .

    Hi,
    try using the below method:
    Goto TWLAD table with storage location (EKPO-LGORT) as key to get address number (ADDRNUMBER).  then goto ADRC table to get the address of the delivery
    Regards
    Shiva

  • How to get delivery address for PO

    I have a problem.
    I am working on a SAP Script , which is for PO(Zmedruck_po) , which is a copy of
    MEDRUCK.
    I am asked to print the delivery adress in a window .
    The scenario is like this .
    In ME23N , under item details , there is a tab called DELIVERY ADDRESS
    this has option to enter the adress details or a delivery number in the  address text box .
    If the address number is present i have to print that address , else i have to print the address which is entered in the delivery address tab.
    If the delivey address number is there i have no problem in printing it ,But if address number is not there ,I need to know how to get the delivery address,
    is it the plant address, company code address ... ?
    I debuged ,but could not find out.
    Can anyone help please .

    Hi,
    I don't know the table that is used to store the manual address on the PO but if you get your ABAPer to checkl the code in ME21N they should be able to tell you.
    Or better still, if one of the other experts here know the table that is used they will post the solution.
    Steve B

  • 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

  • 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

  • Delivery address in PO Creation through ME21N

    Hi All,
    I want to change the Delivery Address in ME21N. By default this delivery address is the Plant address which we enter at the line item level. Now my requirement is to default the delivery address to other address based on the vendor given at the header level.
    I had tried User exit, MMDA0001 but this is not triggering, then tried BADI ME_PROCESS_PO_CUST method PROCESS_ITEM , even this does not help.
    Can anybody please let me if you had requirement like this and how you solve this problem.
    Thanks n Regards
    Maruthi

    Hi Mr A
    Please tell me which user exit did you use to resolve this issue because I have to also do extra validations and changes to some PO Items when user creates PO with ME21N.
    Thanks

  • Delivery address in PO print

    Hi,
    we have a third party scenario.
    The PO is created  with reference to Sales Order. Delivery address is coming from Customer adress.No problem.
    Now when I alter the PO by adding a line item, then PO is printing plant address as delivery address not the customer's address.
    I  want the customer address should be given priority over Plant address.
    any suggestions
    Thanks
    Sreenu

    Hi,
    Generally delivery address is the plant address for all material procurement where delivery address is hard coded or take from address which there in plant in the PO print which you can find in the PDF/Smartform (with a  logic) linked with PO output type(ZNEU).
    For your case, as PO created WRT sales order, you should have separate PO document type, separate PO output type ( message type YNEU) and link  PO output type YNEU  to new PDF/Smartform with  logic that it should pick delivery address what is there in the field u201CCustomeru201D in Delivery Address TAB in the PO{ not from plant).Just discuss with ABAPer for development of new PDF/Smartform for  third party order
    Regards,
    Biju K

  • Only one delivery address on the Request for Quotation!

    Hello,
    Our company is located in a remote area as it is a mining company. For that reason the delivery is done in two steps:
    First to one of of our Freight forwarder depending on if we want the item to be ship via ship or by air. Those Freight fwder are set up in the system as storage locations. Once they received the item they fwd it to the mining site.
    But the probleme is that on our PReq we have two line items with two different storages location. But when we print the  RFQ it is showing only one delivery address where as the items have to be delivered to two difference addresses. How can we solve this problem.

    Hi, tecmec
    I would recommend making sure that the BIOS and all other drivers are up to date to make sure that the problem doesn't lie there. But if everything else on the dock works except that port, then I would be inclined to think that the dock has an issue with that port. All the ports that you can test on the computer itself work properly, correct?
    Best,
    Adam
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution!" This will help the rest of the community with similar issues identify the verified solution and benefit from it.

  • 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

  • Change of sales order address while changing the delivery address

    Hi,
    Problem: Changing delivery address in outbound delivery is changing the originating sales order address for one user while for a different user id the sales order and delivery has their different delivery addresses.
    Scenario:
    1. A new sale order is created and its address for ship to party is modified (to say A1)
    2. Delivery for the sales order is created and the ship to party address is modified (to say A2).
    While executing this scenario with two different users we are getting different result
    For user 1, after step 2 both the sales order and delivery has shipping address as A2
    whereas for user 2, sales order has address A1 and delivery document has address A2
    How can this difference in behaviour be explained?

    Found the solution myself,
    The standard behavior is being modified in the user exits V09A0001 ( Reference/duplicate decision making manual address). Also refer to note 97832 for detailed solution.

  • SQL query: select billaddress if no delivery address exist.

    hi sql expert,
    The Query shall filter all invoices by date, articles and show the delivery address. Problem: Not every customer has deposited a delivery address. In this case the billing address is to be taken.
    How can this be done ?
    This query
    SELECT T0.[CardName], T3.[ZipCode],T3.[Street], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], (T1.[Price] * T1.[Quantity]) as "Gesamtpreis in €", T1.[FreeTxt],substring(T1.Freetxt,0,5) as "Grundpreis in €",substring(T1.Freetxt,9,6) as "TS-Wert in %", T1.[Quantity] FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN CRD1 T3 ON T2.CardCode = T3.CardCode WHERE CONVERT(nvarchar(8), T1.ShipDate, 112) BETWEEN '[%FromDate]' AND '[%ToDate]'
    and T1.Itemcode = [%0] GROUP BY T0.[DocNum], T0.[CardName], T3.[ZipCode],T3.[Street], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], T1.[FreeTxt], T1.[Quantity]
    UNION ALL
    SELECT T0.[CardName], T3.[ZipCode],T3.[Street], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], -T1.[Price], -(T1.[Price] * T1.[Quantity]) as "Gesamtpreis in €", T1.[FreeTxt], ('-' + substring(T1.Freetxt,0,5)) as "Grundpreis in €",substring(T1.Freetxt,9,6) as "TS-Wert in %", -T1.[Quantity] FROM ORIN T0  INNER JOIN RIN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN CRD1 T3 ON T2.CardCode = T3.CardCode WHERE CONVERT(nvarchar(8), T1.ShipDate, 112) BETWEEN '[%FromDate]' AND '[%ToDate]' and T1.Itemcode = [%0]
    GROUP BY  T0.[DocNum], T0.[CardName], T3.[ZipCode],T3.[Street], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], T1.[FreeTxt], T1.[Quantity]
    Thanks a lot!

    hi,
    I think I got it now :-)
    First: Show me priority all  delivery addresses . Otherwise billing addresses:
    SELECT T1.[CardCode], T2.[Street] FROM OCRD T1  INNER JOIN CRD1 T2 ON T1.CardCode = T2.CardCode WHERE NOT EXISTS
      SELECT *
      FROM CRD1 as T2
      WHERE T2.[AdresType] = 's' and t1.CardCode = t2.Cardcode
    union
    SELECT T1.[CardCode], T2.[Street] FROM OCRD T1  INNER JOIN CRD1 T2 ON T1.CardCode = T2.CardCode
    where T2.[AdresType] = 's'
    secondly:
    Filter all invoices by date, articles and show priority the delivery address else billingaddress and subtract the credits:
    SELECT T0.[Cardcode], T0.[CardName], T3.[ZipCode],T3.[Street], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], (T1.[Price] * T1.[Quantity]) as "Gesamtpreis in €", T1.[FreeTxt],substring(T1.Freetxt,0,5) as "Grundpreis in €",substring(T1.Freetxt,9,6) as "TS-Wert in %", T1.[Quantity]
    FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN CRD1 T3 ON T2.CardCode = T3.CardCode
    WHERE CONVERT(nvarchar(8), T1.ShipDate, 112) BETWEEN '[%FromDate]' AND '[%ToDate]'
    and T1.Itemcode = [%0] and not exists  (
      SELECT *
      FROM CRD1 as T3
      WHERE T3.[AdresType] = 's' and t2.CardCode = t3.Cardcode
    GROUP BY T0.[Cardcode], T0.[DocNum],T0.[CardCode], T0.[CardName], T3.[ZipCode],T3.[Street], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], T1.[FreeTxt], T1.[Quantity]
    union
    SELECT T0.[Cardcode], T0.[CardName], T3.[ZipCode],T3.[Street], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], (T1.[Price] * T1.[Quantity]) as "Gesamtpreis in €", T1.[FreeTxt],substring(T1.Freetxt,0,5) as "Grundpreis in €",substring(T1.Freetxt,9,6) as "TS-Wert in %", T1.[Quantity]
    FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN CRD1 T3 ON T2.CardCode = T3.CardCode
    Where T3.[AdresType] = 's' and T1.Itemcode = [%0] and CONVERT(nvarchar(8), T1.ShipDate, 112) BETWEEN '[%FromDate]' AND '[%ToDate]'
    -- ab hier werden die Gutschriften abgezogen
    union
    SELECT T0.[Cardcode], T0.[CardName], T3.[ZipCode],T3.[Street], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], -T1.[Price], -(T1.[Price] * T1.[Quantity]) as "Gesamtpreis in €", T1.[FreeTxt], ('-' + substring(T1.Freetxt,0,5)) as "Grundpreis in €",substring(T1.Freetxt,9,6) as "TS-Wert in %", -T1.[Quantity] FROM ORIN T0  INNER JOIN RIN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN CRD1 T3 ON T2.CardCode = T3.CardCode WHERE CONVERT(nvarchar(8), T1.ShipDate, 112) BETWEEN '[%FromDate]' AND '[%ToDate]' and T1.Itemcode = [%0]
    and not exists  (
      SELECT *
      FROM CRD1 as T3
      WHERE T3.[AdresType] = 's' and t2.CardCode = t3.Cardcode
    GROUP BY  T0.[Cardcode], T0.[DocNum], T0.[CardName], T3.[ZipCode],T3.[Street], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], T1.[FreeTxt], T1.[Quantity]
    union
    SELECT T0.[Cardcode], T0.[CardName], T3.[ZipCode],T3.[Street], T1.[ItemCode], T1.[Dscription], T1.[ShipDate], T1.[Price], (T1.[Price] * T1.[Quantity]) as "Gesamtpreis in €", T1.[FreeTxt],substring(T1.Freetxt,0,5) as "Grundpreis in €",substring(T1.Freetxt,9,6) as "TS-Wert in %", T1.[Quantity]
    FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN CRD1 T3 ON T2.CardCode = T3.CardCode
    Where T3.[AdresType] = 's' and T1.Itemcode = [%0] and CONVERT(nvarchar(8), T1.ShipDate, 112) BETWEEN '[%FromDate]' AND '[%ToDate]'

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

Maybe you are looking for

  • Problem mapping to unbounded sequence in OSB

    I have a problem with the Xquery transformation editor in Oracle Service Bus. In the source I have an element with maxOccurs="unbounded" and in the target I have a sequence with maxOccurs="unbounded" containing an element with maxOccurs="1". The prob

  • Change page margins to print email

    Is there any way to change the page margins when printing emails? When I print out an email, the page margins are a good 1" on top, left and bottom so I have to reduce the type in order to keep simple emails on one sheet of paper.

  • COMPONENT and equipment serial number

    Hi all, In past thread  COMPONENT and equipment scenario i want to know like 100000301 this equipment have two component i understand the serial number vise but,i don't understand that 2nd component how can we serializes. Equipment--  100000301 and u

  • Media Browser Search Frustration

    I recently moved to Audition from Logic Pro X as I now own a PC rather than a Mac. I want to use Audition for film mixing/sound design. Overall I REALLY like Audition but the inability to use a search function in the media browser to find specific so

  • Audio from headphones gets distorted when switched to "entertainment mode" w

    the sound quality from my headphones gets messed up whenever I switch to "entertainment mode." when i say "messed up," i mean the volume would constantly fluctuate from really high to just noise then high again. however, when i switch it to "game mod