Address using FM ADDRESS_INTO_PRINTFORM

Hi experts,
I am using the function module ADDRESS_INTO_PRINTFORM to fetch the address by passing the ADRNR as address_number, address_type as 1,sender_country and street_has_priority as 'X' and fetching the address from address_printform. When i am doing this for US addresses i am getting the city, region and postal code concatenated in a single line whereas for UK address city, region and postal codes are appearing on different lines. I want the UK addresses also to have city, region and postal code concatenated in a single line. Can anyone tell me the reason for this and how to solve this.

Hi,
Using that ADRNR field value, u can write a select query
Select field(city)
          (country)
          (postalcode) into table it_adrc
          where ADRNR = v_adrnr(Your ADRNR value)...
Using this internal table, u can print whatever u want with the help of work area..
if u want country in the particular line, give your work area as &wa_adrc-country&
like wise u can acheive your result
regards
vijay

Similar Messages

  • Sending email to multiple address using Utl_Smtp

    Hi,
    I want to send email to multiple address using the Utl_Smtp feature.
    When I am sending email to one email address in the To:Field it works fine.However, when I send
    to multiple address I am getting the below error.I am using a table(Email_test) to store all email id.
    Error report:
    ORA-29279: SMTP permanent error: 501 5.1.3 Invalid address
    ORA-06512: at "SYS.UTL_SMTP", line 20
    ORA-06512: at "SYS.UTL_SMTP", line 98
    ORA-06512: at "SYS.UTL_SMTP", line 240
    ORA-06512: at line 48
    29279. 00000 - "SMTP permanent error: %s"
    *Cause:    A SMTP permanent error occurred.
    *Action:   Correct the error and retry the SMTP operation.
    I am trying two options both ways I am getting error
    Option 1:
    Selecting two email id indivually in the select query as below
    select email into v_Recipient1 from Email_test where Key_name='U1';
    select email into v_Recipient2 from Email_test where Key_name='U2';
    v_Recipient := v_Recipient1||';'||v_Recipient2;
    Option 2:
    Is there a way to use option
    select email into v_Recipient1 from Email_test where Key_name='U4';
    ===========================================================
    Create table Script
    ===========================================================
    create table Email_test (Email varchar2(100),Key_name varchar2(10));
    insert into Email_test values ('[email protected]','U1');
    insert into Email_test values ('[email protected]','U2');
    insert into Email_test values ('[email protected]','U3')
    insert into Email_test values ('[email protected];[email protected];[email protected]','U4');
    select * from Email_test
    [email protected]                         U1
    [email protected]                         U2
    [email protected]                         U3
    [email protected];[email protected];[email protected]     U4
    select * from Email_test where Key_name in ('U1','U2','U3')
    [email protected]     U1
    [email protected]     U2
    [email protected]     U3
    select * from Email_test where Key_name='U4'
    [email protected];[email protected];[email protected]
    =======================================================
    PL/SQL Block
    ===========================================================
    declare
    v_From VARCHAR2(80) := '[email protected]';
    v_cc VARCHAR2(80);
    v_Recipient VARCHAR2(80) ;
    v_Recipient1 VARCHAR2(80) ;
    v_Recipient2 VARCHAR2(80) ;
    v_Subject VARCHAR2(80);
    v_Mail_Host VARCHAR2(50);
    v_Mail_Conn utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    begin
    --Mail Host name
    select VALUE into v_Mail_Host from Server_info where server_name = 'SMTPServer';
    select email into v_Recipient1 from Email_test where Key_name='U1';
    select email into v_Recipient2 from Email_test where Key_name='U2';
    v_Recipient := v_Recipient1||';'||v_Recipient2;
    --for CC
    select email into v_cc from Email_test where Key_name='U3';
    v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
    utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
    utl_smtp.Mail(v_Mail_Conn, v_From);
    utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
    utl_smtp.Rcpt(v_Mail_Conn, v_cc); -- To CC recepient
    utl_smtp.Rcpt(v_Mail_Conn, v_BCC); To BCC recepient
    utl_smtp.Data(v_Mail_Conn,
    'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
    'From: ' || v_From || crlf ||
    'Subject: '|| v_Subject || crlf ||
    'To: ' || v_Recipient || crlf ||
    'Cc: ' || v_cc || crlf ||
    'Content-Type: text/html;' ||crlf ||
    --'Hello this is a test email');
    crlf || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf );
    utl_smtp.Quit(v_mail_conn);
    end;
    Any suggestion how to approach this issue.
    Thank you

    Simple Mail Transfer Protocol RFC 5321 specifications.
          RCPT TO:<forward-path> [ SP <rcpt-parameters> ] <CRLF>
       The first or only argument to this command includes a forward-path
       (normally a mailbox and domain, always surrounded by "&gt;" and "&lt;"
       brackets) identifying one recipient.In other words, you can only define a SINGLE mailbox address at a time. Multiple addresses requires multiple repeats of this command verb, once per maibox.
    Do not confuse this and the To: tag line in the Mime header that contains a comma delimited list of recipients. That tag line can contain anything - it is not parsed, not checked, and not verified as matching the actual recipient mailboxes as specified via the RCPT TO verb.

  • When initiating an e mail to someone with several addresses used in the past the one I use most often does not come up in the first position.  How can I get these multiple e mails prioritized?

    When initiating an e mail to someone with several addresses used in the past the one I use most often does not come up in the first position.  How can I get these multiple e mails prioritized?

    We are talking about the Mail app, right? In the Mail menubar, click on Window and then Previous Recipients:
    That eliminates the previous recipients. If you are talking about the suggestions because there are 10 people with the name 'Steve' in your Contacts, then I do not know how to eliminate those unless you change the name slightly or wait until you type the last name or some other differentiator.

  • How can I make my Kerio WebMail memorize email addresses used previously?

    How can I make my Kerio WebMail memorize email addresses used in the past?

    Have you checked with Kerio support for answers? <br />
    http://support.kerio.com/index.php?_m=knowledgebase&_a=view

  • I have an I pad2, an iMac desktop and an I phone 5, how do I get them all to be bale to face time with each other, do I need different email addresses, use the phone number, or the sim number in the iPad ? Ay help gratefully received !!

    I have an I pad2, an iMac desktop(2012) and an I phone 5, how do I get them all to be able to face time with each other, do I need different email addresses, use the phone number, or the sim number in the iPad ? Any help gratefully received !!

    Graham,
    For the iPad, iMac you need to create verifyible e-mail addresses created with one of the providers such as Yahoo, Gmail,etc.  For the iphone you should use it's phone number, but an e-mail could be used for it too.  If you want to associate these e-mail addresses with a single ID, I'm including a link to give you info about how you can do that. Read it carefully, as it can be a bit confusing.
    http://support.apple.com/kb/HE68

  • Can someone please help me figure out how to "clear" recent email addresses used in Mail?

    Can someone please help me figure out how to “clear” recent email addresses used in Mail?  For example, as I begin typing a name/email address in the “To:” field, Mail begins suggesting addresses that I’ve previously used.  I don’t want any suggestions unless they are in my contacts. 
    Another example:  When using MS Outlook, it will also remember and suggest email accounts previously used, but I can arrow down and delete an account from the list so it won’t automatically popup or suggest in the future. 
    I appreciate any guidance in this matter. 

    The iOS email app stores all email recipients in a list of previous recipients which cannot be turned off. The email address autofill feature when addressing an email pulls from contacts and from the list of previous recipients which can't be prevented. There is no option to clear the list of previous recipients - not at the present time anyway.
    If you don't want any suggestions, select from contacts instead when addressing an email.

  • How to set endpoint address using UTL_DBWS

    Hi,
    I have been struggling to invoke a web service in the Oracle 10g database using UTL_DBWS. Now I reached a point where I need to set an endpoint address using UTL_DBWS to complete the invoking process, I try to use UTL_DBWS.Set_Target_Endpoint_Address to do this, but SQL*Plus is returning an error saying Set_Target_Endpoint_Address must be declared.
    Am I calling the wrong function? If so which function should I call to set endpoint address in UTL_DBWS? I have all the necessary jar files installed and the right grants to access this package.
    any hint would be appreciated.
    Thanks.

    Did you try using 'UTL_SMTP.WRITE_DATA'?
    Like:
    DECLARE
    con UTL_SMTP.CONNECTION;
    BEGIN
    con := UTL_SMTP.OPEN_CONNECTION('alpha.beta.com');
    UTL_SMTP.HELO(con, 'gamma.com');
    UTL_SMTP.MAIL(con, '[email protected]');
    UTL_SMTP.RCPT(con, '[email protected]');
    UTL_SMTP.OPEN_DATA(con);
    UTL_SMTP.WRITE_DATA(con,'Importance: HIGH'||UTL_TCP.CRLF);
    END;I have not tested the code. I am not sure if it is going to work in your case.

  • My secondary e-mail address used on my daughter's ipod can no longer work.  It states, that it is already in use with another apple id.  She used it for weeks before this happened.

    My secondary e-mail address used on my daughter's ipod can no longer work.  She uses this as her imessage texting.  First it needed to be verified.  Once I tried to verify it on appleid support, It states, that it is already in use with another apple id.  She used it for weeks before this happened.

    Maybe:
    iOS: Troubleshooting FaceTime
    iOS: Troubleshooting FaceTime and iMessage activation

  • Tor resolves ip address using port 80 [SOLVED]

    Hey everyone,
    I'm trying to provide a service to fellow internet users that don't like their internet traffic to be snooped on. To explain my situation I'll tell something about my setup.
    I use a router to access the internet. I let a router set up a vpn connection to my vpn provider. Then I tell it, using iptables, to redirect all http and https traffic through the VPN tunnel and let all other traffic go over the standard WAN. Not entirely true, I also redirect all udp and icmp traffic through the vpn tunnel.
    I have a server that I want to act as the TOR relay. I want it to use the WAN acces and not go over the VPN. This makes sure I don't burden my vpn provider with a bunch of traffic that can just use my WAN acces.
    When setting up the TOR relay I use port 4436 as the relay port and port 9030 as the Directory port. My router directs all this traffic over the WAN. I also port forward these ports in the router towards the server.
    The TOR relay seems to work but not entirely. I have the following message log: (I have replaced the ip addresses that belong to my WAN and VPN tunnel with "<wan-ip>" and "<vpn-ip>" to make it clearer. )
    sep 04 17:29:48.164 [Notice] Self-testing indicates your DirPort is reachable from the outside. Excellent.
    sep 04 17:35:08.532 [Notice] Our IP Address has changed from <wan-ip> to <vpn-ip>; rebuilding descriptor (source: 154.35.32.5).
    sep 04 17:35:09.883 [Notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor.
    sep 04 17:55:08.476 [Warning] Your server (<vpn-ip>:9030) has not managed to confirm that its DirPort is reachable. Please check your firewalls, ports, address, /etc/hosts file, etc.
    sep 04 18:15:08.476 [Warning] Your server (<vpn-ip>:9030) has not managed to confirm that its DirPort is reachable. Please check your firewalls, ports, address, /etc/hosts file, etc.
    sep 04 18:26:44.664 [Notice] Our IP Address has changed from <vpn-ip> to <wan-ip>; rebuilding descriptor (source: 128.31.0.34).
    sep 04 18:26:45.117 [Notice] Our IP Address has changed from <wan-ip> to <vpn-ip>; rebuilding descriptor (source: 194.109.206.212).
    sep 04 18:26:49.342 [Notice] Our IP Address has changed from <vpn-ip> to <wan-ip>; rebuilding descriptor (source: 76.73.17.194).
    sep 04 18:26:58.255 [Notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor.
    sep 04 18:33:01.221 [Notice] Self-testing indicates your DirPort is reachable from the outside. Excellent.
    sep 04 18:36:52.096 [Notice] Our IP Address has changed from <wan-ip> to <vpn-ip>; rebuilding descriptor (source: 212.112.245.170).
    sep 04 18:37:10.626 [Notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor.
    sep 04 18:56:51.965 [Warning] Your server (<vpn-ip>:9030) has not managed to confirm that its DirPort is reachable. Please check your firewalls, ports, address, /etc/hosts file, etc.
    sep 04 19:16:51.967 [Warning] Your server (<vpn-ip>:9030) has not managed to confirm that its DirPort is reachable. Please check your firewalls, ports, address, /etc/hosts file, etc.
    sep 04 19:27:44.011 [Notice] Our IP Address has changed from <vpn-ip> to <wan-ip>; rebuilding descriptor (source: 128.31.0.34).
    sep 04 19:27:44.092 [Notice] Our IP Address has changed from <wan-ip> to <vpn-ip>; rebuilding descriptor (source: 171.25.193.9).
    sep 04 19:27:44.095 [Notice] Our IP Address has changed from <vpn-ip> to <wan-ip>; rebuilding descriptor (source: 128.31.0.34).
    sep 04 19:27:44.098 [Notice] Our IP Address has changed from <wan-ip> to <vpn-ip>; rebuilding descriptor (source: 194.109.206.212).
    sep 04 19:27:50.211 [Notice] Our IP Address has changed from <vpn-ip> to <wan-ip>; rebuilding descriptor (source: 76.73.17.194).
    sep 04 19:27:55.398 [Notice] Self-testing indicates your DirPort is reachable from the outside. Excellent.
    sep 04 19:28:08.914 [Notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor.
    sep 04 19:29:45.764 [Warning] We just marked ourself as down. Are your external addresses reachable?
    sep 04 19:37:51.966 [Notice] Our IP Address has changed from <wan-ip> to <vpn-ip>; rebuilding descriptor (source: 212.112.245.170).
    sep 04 19:37:55.358 [Notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor.
    What I think will fix the problem is that TOR should not resolve my ip address using http or https since that will provide the wrong ip address. When trying to access that ip address at another port (in this case 9030) will obviously not work. However there is no setting to do that. Is there any way to archieve this?
    Please ask if anything is unclear.
    Regards,
    Berend
    --edit--
    I was able to set the Address field in the torrc file. This means I can hardcode the ipaddress I want it to use (WAN). However that address can change every 6 months or so. If someone has a better solution that would be very welcome.
    Last edited by Berend (2013-09-05 00:47:25)

    Berend wrote:@progandy
    I don't have any experience with that.
    I guess I can tag them with a TOS so my router knows what to do with it. But how would I give that tag?
    Select the packtes with owner and then depending on what your router supports you can set either DSCP or TOS. dscp is the current standard, tos is deprecated.

  • Getting this message when trying to access our cameras, how to fix? This address is restricted This address uses a network port which is normally...

    Just installed Firefox for my boss, and ran into something I've not seen before. When trying to access our private camera system, that uses specific ports, I got this message: "This address is restricted - This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection."
    Cannot find a setting in Firefox to correct this problem. Please help.

    Hello,
    Can you please check if either of these links help in the resolution of the issue
    # [http://kb.mozillazine.org/Network.security.ports.banned.override Firefox ports override]
    #[http://blog.christoffer.me/post/2012-02-20-how-to-remove-firefoxs-this-address-is-restricted/ Remove Firefox this address is restricted error]
    Thank you

  • How can i change the name in imessage from the full email address used as apple id on ipod touch?

    I used my full email address to create an apple id - but on imessage it uses my apple id as my name as sender + i dunno how to change it so ppl dont get a messsage showing my full email address!
    Can anyone help?

    Open the Contacts app. List All Contacts and find the email address used by iMessage. Select the email address and tap the Edit button in the top right corner. Add your name to the top two lines. Tap Done.

  • How to send mail to multiple mail address using mail pkg?

    Hi All,
    How to send a mail to multiple mail addresses using Mail package. I tried by giving multiple mail addresses separated by semicolon(as well as comma) to the To field of the Mail Package structure, it gives Invalid Address error in Message Monitoring. But if i give a single mail address it works. How to address multiple email addresses.
    Regards,
    Sundar

    HI,
    With semicolon for mulitple email ids it worked for me (long back). Anyway cross check with this aprt of SAP help-
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
    Regards,
    Moorthy

  • Change ship to addresses using VD02

    Hi All,
    I have to change ship to addresses using VD02.  I have all ship to addresses in excel format. The program should separate the new shiptos and give it as a file and existing shiptos should be changed from the file. Can you please give me an idea on how to do this program? If you have any example please send me.
    Thanks,
    Veni.

    Hi,
    Can we do this program using BDC VD02 or I have to do this using BAPI. Please help me.
    Thanks,
    Veni.

  • Change vendor address using bapi

    Hi all,
    How to change vendor address using bapi.
    The address,and vendornumber coming from XL file.
    Based on the vendor number I want to change the address.
    Please give me the example.
    regards,
    rakesh.

    Hi Vijay,
    Please help me in the following.
    As Vendor/Customer Master dont have all the address fields ( like Street4-5), we use FM BAPI_ADDRESSORG_SAVEREPLICA to overcome this problem.
    In my case i have created one Custom load program to upload address data using
    BAPI_ADDRESSORG_SAVEREPLICA and then LSMW project to upload rest of the data.
    In this case when i upload rest of the data by LSMW using BI standard program ( having NODATA indicator "/" in my source file for the fields already uploaded using BAPI above) , address data which uploaded through FM should get populate automatically (by concept of Central Address management) but in my case <b>for some of the Account Group it is not getting populated,</b> please suggest.
    regards
    Sonal

  • How to store WWW Address using OAOR

    Dear all,
    I want to store the WWW Address using BDN. when i double clicking the standard Doc. Types 
    (Document class HTM) means
    Its opening the POP UP (BDN file selection).
    In the POP UP (BDN file selection). IF i give this URL means
    http://www.google.co.in/search?hl=en&q=tamil+news&meta=
    its getting saved and displayed fine. but, if i give this URL means
    Generic object services (GOS) - in Background - Part II
    means its getting saved but when i try to open this means Its getting Internet explorer script error. 
    please give some solution. <<text removed>>
    Thanks in advance.
    Thanks,
    Hema.
    Edited by: hemachandran r on Nov 20, 2008 2:56 PM
    Edited by: hemachandran r on Nov 20, 2008 3:06 PM
    Edited by: Matt on Nov 20, 2008 3:10 PM - Urgent not allowed

    closed

Maybe you are looking for

  • Can I have 2 accounts opened to itunes.

    I would like to transfer my current library to the new ipod nano, hopefully using my original account. Then I would like to take the old nano generation 3 and set it up with new account, erase what is on it and let my granddaughter choose make up her

  • Nota Fiscal Return for Non PO invoice

    Hi I am trying to create a Credit Memo thru MIRO for a non PO original inovice. How ever I am getting this error that NF number is not unique. This means that this vendor has already a inovice document with the same NF number. I am not getting this e

  • Error in actual template allocation for Business Process

    Gurus, I am facing a strange problem in actual template allocation for business process (T-code: CPAS). When I am doing a test run, the system gives the result with a message "Processing completed with no errors", However when I have unchecked the te

  • Printing ⎮ 10 x 15 big problem

    hi, this is a desperate plea for help. i am a european user of aperture and i am having big trouble printing 4 in x 6 in prints. we use the same format it france, and we call it 10 cm x 15 cm even though the exact measurements are 10.159 cm x 15.238

  • Is there a cond. tab in Consignment P.O ?

    Dear All ,                                                                Can u guide that is there a cond. tab in Consignment P.O at  item level & at Header level .? Thanx n Rgds , sap11