Address Information

I am trying to write a query that would pull in to a UDF field address information.
Is there away I can pull the full ship to address in and format it properly.
Bill to Name
Street
Block
city, state, zip?
With Gordon's help I was able to get the Address name from the CRD1 table using this query
SELECT Distinct T2.Address, T2.Street, T2.City, T2.State FROM dbo.OCRD T1 LEFT OUTER JOIN dbo.CRD1 T2 ON T1.CardCode = T2.CardCode WHERE T2.AdresType ='S' AND $[OSCL.CUSTOMER] = T1.CardCode
Using Crystal I am having a hard time pulling the full address just using the address name.
Thanks

Thanks Gordon
That was the problem. Here is the final query with the spacong and commas for state and zip code.
SELECT Distinct T2.Address +CHAR(13) + ISNULL(T2.Street, '') + CHAR(13) + ISNULL(T2.Block, '') + CHAR(13) + ISNULL(T2.City, '')+ ', '+ ISNULL(T2.State, '')+ ', '+ISNULL(T2.ZipCode, '') FROM dbo.OCRD T1 LEFT OUTER JOIN dbo.CRD1 T2 ON T1.CardCode = T2.CardCode WHERE T2.AdresType ='S' AND $[OSCL.CUSTOMER] =T1.CardCode
And the even bewtter news was I was able to just drag this field in to the Crystal form and did not have to manipulate.
Appreciate the help and the extra set of eyes.
Steve

Similar Messages

  • Automate the creation of Active Directory users with organization/address information

    On one of our Domain Controllers we regularly have to create new users with fully populated organisation/address information, as they use a server-side application which appends email signatures at the end of all of their emails created from this information.
    At the moment we have to fill this information out manually and it can sometimes cause inconsistencies if the information is not uniform or is typed incorrectly.
    Is there any way to automate this/do it in bulk?

    This is another Powershell script that can be used:
    http://www.wictorwilen.se/how-to-use-powershell-to-populate-active-directory-with-plenty-enough-users-for-sharepoint
    Note that you have two ways to do that:
    Create a new User account Provisioning script and include the Street update as part of it
    Have a daily scheduled script that will run against your users OUs and update the Street address for user accounts having it wrong or missing
    From my point of view, option 2 would be the best as it will make a Bulk update and Bulk correction if required.
    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Why can't I edit all of address information for Siri to use?

    I have been playing around a lot with Siri lately.  Unfortunately she doesn't seem to want to play with me.  I have been trying to find a way for Siri to remind to complete a task after I leave from a location other than my home or work address.  At first I realized that I did not have other addresses other than my home and work address stored under my contact information in my address book.  After I tried to tell Siri to remind me to complete a task after I left my gym for example, Siri told me that this information was not entered and that I should edit my information which I tried doing.  The problem is that I was not able to change the name of the address information in my address book from "other" to "gym".  Is there anyway to get around this? 
    I have also noticed that when I ask Siri to remind to complete a task after I leave a location (e.g. "work") she reminds me to complete the task when I arrive at the location.  There must be a way for Siri to distinguish between me arriving at a location and me leaving that location.
    My final gripe is that Apple does not have anywhere for me to submit feedback on Siri or its Maps services.  I do not understand how Apple expects to improve these two critical areas of their user experiences without allowing people to provide suggestions for improvement.

    So I read through some feedback posted on here and was able to answer my first question.  The second issue remains a problem however.

  • Building Address Information

    Hi All,
    Looking for some help with what should be an easy question.   I am running an Infoset Query (Ad-hock) to extract the Building address where an employee as worked since being defined in SAP.     When I run the query, it collects and shows the date ranges, the Centres and all other information correctly, but populates the same Address information for all entries (Even though they are clearly meant to be different).
    as anyone came across this in the past and if so, how do you work round it??
    Cheers
    Dave

    Hi,
    It looks like the adhoc query is throwing the only available result from the cache memory.
    You need to go the Query designer and build the Query based on the infoset and redefine the Query structure.
    Hope this gives an understanding of the problem.
    Ravi Sundaresan

  • Alternative Payer Address information stored in REGUH table

    Hi
    Is there a setting that would tell the system to use Alternatine Payer Address information to be used and stored in table REGUH?
    Whenever there is a Payer that has the Alternative Payer set, the system is using its Address information instead of Address from Original Payer.
    Any help on this topic is very much appreciated.
    Best regards, Maikol M.

    Alternative payers are maintained in the vendor master data or can be entered in a document from the list maintained in vendor master. Payment program uses the alternative payer instead of the original vendor info while creating the check.

  • Address information on BP General ledger

    hi experts,
    How we can get address information related to the particular Business partner in BP's general ledger screen.
    Am getting the BP code and name in the standard PLD itself, but i can not fetch address information to the PDL.
    If am trying to do so, system will pick the first record information and list it out in print preview.
    any possibilities to get address  information on PLD ?
    regards,
    Sanju M S

    Hi Sanju,
    It is not possible in SAPB1. Check the thread,
    Re: Business partner address
    Try to Create QPLD.
    sorry, now i'm out of station & i dont have any database
    so now i can not test your requirement in my database.
    SELECT distinct T1.[RefDate], T1.[BaseRef], T1.[Memo], T0.[Debit], T0.[Credit],T1.[LocTotal],
    T2.CardCode, T2.CardName, T2.Address, T2.Balance
    FROM JDT1  T0
    INNER JOIN OJDT  T1 ON T0.TransId = T1.TransId
    LEFT JOIN OCRD T2 on T2.CardCode = T0.ShortName
    WHERE T2.[CardName] =[%0]
    Regards,
    Madhan.

  • Need to pull vendor address information from PO

    Hi Friends..
    I am creating a shipper instructions smartform and need to display shippers address in the form.. For that purpose i need to pull the vendor address information from the PO...
    Can some one tell me the data extraction logic involved here like what tables i need to access to get the required vendor address and flow of it...
    Here the client is creating the PO and also sending the shippers instruction form when PO is created as far as i my understanding...
    Thanks,
    Kanthi..

    Hi
    When a PO is created, at that time you need to enter vendor number (LIFNR).
    The details of different vendors are maintained in table LFA1.
    The tables for PO are EKKO (header table) and EKPO (line item table).
    But, if you want to capture the vendor address for printing, you only need to know the PO number (EBELN field). And, then you can proceed like:
    Select LIFNR from EKKO into <yourDefinedVAR> where EBELN = XYZ.
    Select <requiredAddressFields> from LFA1 into (....) where LIFNR = <yourDefinedVAR>.
    So, finally, if you know the PO number, you can find rest of the things.
    Regards
    Ashish

  • Ship To Address Information

    Hi All,
    We have an issue with the way SAP handles address informaion in the SAP Ship -To address field on the Sales Order. SAP applies the country address formatting and stores the ship-to address in the header of the sales order as one long string of text. This means it loses all structure and meaning ie. the country code, post code etc are lost so no analysis can be carried out.
    This may be fine for the example where the address information is already stored on the Business Partner record which we can reference, however for 1 off addresses where the user just enter details into the Address2 field there is no guarenteed way to extract the information.
    My proposal is for SAP to keep the ship-to address as a series of fields in the sales order header and to apply the country address format in the print layout designer thus keeping the address structure and meaning.

    Hi Sekar,
    In Address tab of business partner master , when you define a new ship to address there is a button Excise Information .
    Just click on that and feed the required information. That will serve your purpose.
    Thanks
    Malhaar

  • Copying Account Address Information to a Contact

    Is there a way that the associated Account Address information can be copied to the Contact Address area on a Contact by Contact basis without doing it for all Contacts?
    Is there a button or anything that can be pressed on a Contact screen?

    Contact Address have two address fields. Account Address field is coming from Account and Contact's Address (which can be different).
    I don't think it is possible to populate Account's Address into Contact's Address automatically.
    -Mani

  • Bank/Address information update/payslip Generation

    Hi Experts......
    i got a following requirement in portal can any of u guys provide ur inputs for the following queries......
    1) Should allow annuitants (retirees who get annuity payment) to access their payslips / monthly statement online
    2) Should also allow them to update their bank and address information
    3) Should provide a feature for them to download the annuity control declaration form
    Thanks in Advance
    Jasmine

    I would appreciate your help and advice. thank you very much.

  • HOw do I update my address information in autofill

    How do I change my address or add another credit card to the autofill feature?

    Just change your Contact address information card in Contacts.

  • Getting the Address Information based on the Partner Number & Partner Role

    Hello,
             I have a requirement where in I am populating the Address into a Custom Segment Z1E1ADRM1 where I am reading the Partner Data from E1ADRM1 Segment. It has the PARTNER_Q which contains the Partner Role (WE,AG,RE,RG etc...) and PARTNER_ID which contains the Partner Number. Now, using VBPA Table, I am populating the STREET4 and STREET5 manually by passing the Address Number got from VBPA Read.
            Instead, is there any Function Module / BAPI which can be used to get the Address Number / Address Information based on the Partner Role and Partner Number as Input Parameters? Please Let me know.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

    Try
    /SPE/BUPA                      SPE Business Partners             
    /SPE/BP_STORE_ADDRESSES        Business partners store addresses 
    BPAR_P_PARTNERS_WITH_ADDRESS                                     
    SD_ADDRESS_KEY_GET_FROM_VBPA                                               
    SD_ADDRESS_TYPE_GET                                                        
    SD_PARTNER_ADDR_DIALOG_INTERN                                              
    VELO01_GET_PART_ADDR_FOR_VBELN   get the partners and their address details
    WS_LM_ADDRESS_READ                                                         
    WS_LM_CONTACT_ADDRESS_DISPLAY                                                                               
    ^Saquib

  • How do i find the ftp server address information in business catalyst, adobe technical support says

    how do i find the ftp server address information in business catalyst, adobe technical support says mine are wrong. I haven't changed nothing and it used to connect. someone please meassge me, not too sure how to use a forum and do not know how to get catalyst support.

    Hi Michael,
    I think you are referring to the changes switching from regular FTP to SSH connection which is now required. 
    Please review the article below covering this recent update and the changes needed to establish your connection via (DW or FTP client).
    - http://forums.adobe.com/docs/DOC-2841
    Kind regards,
    -Sidney

  • HT1918 hello i have moved countries from uk to australia  i can not change credit card and address information nas it says 1 incomplete pass? i dont know how to delete that so i can move forward on this subject please can you assist me? thanx jason buckha

    hello i have moved countries from uk to australia  i can not change credit card and address information nas it says 1 incomplete pass? i dont know how to delete that so i can move forward on this subject please can you assist me? thanx jason buckham  [email protected]

    You'll need to contact support to have your account checked
    https://expresslane.apple.com/GetproductgroupList.action

  • Wireless analyzer that displays MAC ADDRESS inform...

    i there, i have a nokia e71 and i am looking for a Wireless analyzer applications that displays MAC ADDRESS information of the ESSID of the broadcasting routers. is there such thing for symbian OS?

    Hi akramy. Have you checked the Mac addresses that are listed in the router, if the Mac address of your extender (WAP300N) is included on the list?

Maybe you are looking for

  • Triggers to insert the record in a table

    I have two table 1. Holiday 2. Attendance. When I insert the record    in holiday table for his  advance holiday   with empid, the same time I want to insert it attendance table  automatically for the same date using a trigger Insert into attendance

  • Spatial query runs slow on view

    Hello, I have two tables and one of them has geometry column. I created view to join those two tables based on id column which has been indexed for both tables. t1( id number(9), name varchar2(20) t2( id number(9), geom MDSYS.SDO_GEOMETRY CREATE VIEW

  • Parental Controls time limit ends too soon

    For Time Limits in Parental Controls, how does OS X decide when the account is in use? I setup a managed account for my son on a MacBook Pro running 10.6.8. It is set to 3 hour limit on weekdays. Problem is that sometimes the timer gives its usual 15

  • Call selectlist inside select query

    Can i call selectlist in side select query. example: select empno,p1_job,sal from emp; in this job_lov is having the following query. select job from emp; this lov is attached one text item p1_job. p1_job should be called as drop down in side the que

  • Install dual OS in S10e

    Hey... I bought a S10e with Windows XP preinstalled. I want to install a Linux distro (Suse) as a second OS. I tried to find some help from this forum, but without result. Can anyone help me on this? Thanks a lot in advance. Jejeje