Using Address..End Address Command in Script ?

Using Address........End Address Command in Script , Is it possible to print without Name filed ? I have tried but w/o name field it is not printing   ..
I liket to print like this
Address paragraph Z3
Street ...........................
PoBox.........................
City........................
End Address
can any1 suggest me?

Hi,
If you want to print country specific then use
/:           ADDRESS PARAGRAPH AS
/:             ADDRESSNUMBER &EKKO-ADRNR(K)&
/:             FROMCOUNTRY &T001-LAND1&
/:           ENDADDRESS
Reward if useful.
Regards,
Nageswar

Similar Messages

  • Address & end address in script

    Hi Experts,
    In address I hv been tryin to print street 2,3 & 4 using address & end address .. but isnt appearing in the window..
    Code used by me is:
    /:   ADDRESS PARAGRAPH AS
    /:   TITLE       &REGUH-ANRED&
    /:   NAME        &REGUH-NAME1&, &REGUH-NAME2&, &REGUH-NAME3&, &REGUH-NAME4&
    /:   STREET      &REGUH-STRAS&
    /:   POBOX       &REGUH-PFACH&
    /:   CITY        &REGUH-ORT01(C)&
    /:   POSTCODE    &REGUH-PSTLZ&
    /:   COUNTRY     &REGUH-LAND1&
    /:   FROMCOUNTRY &T001-LAND1&
    /:   ENDADDRESS
    KIndly guide me..if smthing wrong in this..
    Thanks In advance..
    Edited by: Himayan Das on Jan 10, 2008 10:38 AM
    Edited by: Himayan Das on Jan 10, 2008 10:39 AM
    Edited by: Himayan Das on Jan 10, 2008 10:40 AM

    Hi Himayan,
                       Try specifying the Number of lines..
    ADDRESS [DELIVERY] [TYPE] [PARAGRAPH] [PRIORITY] [LINES]
    ENDADDRESS
    Lines Specifies how many lines may be used for formatting the address. If there are too few lines available to allow all the address data to be formatted, then the data specified in the PRIORITY parameter are omitted. If there is no LINES parameter and if this command is in a form window of a type other than MAIN, then the number of lines available for formatting the address are automatically calculated based on the current output position and the size of the window.
    Reward points if helpful..
    Regards,
    Goutham.

  • Address end address commant...

    hi
    i want to knwo from whre the address is determined once we get the adressnumber from program into thte following code in sap script?
    how the name1 name2 stree etc comes from once we get adrnr in the below command?
    1) we get some number from program say 23456 and this address number adrnr is coming to this address end address command now what does internally happens or what is the process or can i debug that from where the fulll address is shown in the print output lkne name1 name2 street etc as here only adrnr is being populated not individuyal variables ...
    2) And what does bolded portion signifies accurately for the below code
    pls explain
    regards
    Rinku
    ADDRESS DELIVERY PARAGRAPH AD
       ADDRESSNUMBER &ADRNR(K)&
       FROMCOUNTRY   &COUNTRY&
    <b>   NO_UPPERCASE_FOR_CITY 'X'</b>
    <b>   LANG_FOR_COUNTRY &SHIPTO_CTRY_LANGU&</b>
    ENDADDRESS

    Hi nishant,
    The SAPscript address command makes an internal call to the function module ADDRESS_INTO_PRINTFORM, but I'm not sure if you can debug it from the SAPscript debugger.  You can however run the function module from se37 to test how the logic is working for your parameters.  The online help <a href="http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm">http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm</a>
    has some useful information as well as the function module documentation.
    Your SAPscript
    ADDRESS DELIVERY PARAGRAPH AD
    ADDRESSNUMBER &ADRNR(K)&
    FROMCOUNTRY &COUNTRY&
    NO_UPPERCASE_FOR_CITY 'X'
    LANG_FOR_COUNTRY &SHIPTO_CTRY_LANGU&
    ENDADDRESS
    is the equvalent of
    CALL FUNCTION 'ADDRESS_INTO_PRINTFORM'
    EXPORTING
       ADDRESS_NUMBER                       = &ADRNR(K)&
       SENDER_COUNTRY                       = &COUNTRY&
       LANGUAGE_FOR_COUNTRY_NAME            = &SHIPTO_CTRY_LANGU&
       NO_UPPER_CASE_FOR_CITY               = 'X'
    IMPORTING
       ADDRESS_PRINTFORM                    = (address lines returned to the form)
    You can get the SAPscript variables from the debugger and test the module in se37.
    Regards,
    Nick

  • Address-end address

    hi,
    how can i print country specific addresses unsing Address and End Address
    in sap-script.

    Hi Manish,
         ADDRESS and ENDADDRESS is used to specify the address which will
               be formatted according to the target country i.e the recipient country.
               e.g. /:ADDRESS sales PARAGRAPH C
                      /:NAME &KNA1-NAME1&  
                      /:STREET &KNA1-STRAS&
                      /:POSTCODE &KNA1-PSTLZ&
                      /:CITY &KNA1-ORT01&
                      /:COUNTRY &KNA1-LAND1&
                      /:FROMCOUNTRY 'DE'
                      /:ENDADDRESS

  • Exclude Title in Address End Address in Sap Script

    Hi All,
    We are using below code to print address of payer in check form
    but its printing the title also in address, Say Company etc.
    We donot need this. Is there any addition to this statement to remove this.
    ADDRESS PARAGRAPH E1
    NAME        &REGUH-ZNME1&, &REGUH-ZNME2&, &REGUH-ZNME3&, &REGUH-ZNME4&
    STREET      &REGUH-ZSTRA&
    POBOX       &REGUH-ZPFAC&  CODE &REGUH-ZPST2& CITY &REGUH-ZPFOR&
    POSTCODE    &REGUH-ZPSTL&
    REGION      &REGUH-ZREGI&
    CITY        &REGUH-ZORT1&, &REGUH-ZORT2&
    COUNTRY     &REGUH-ZLAND&
    FROMCOUNTRY &T001-LAND1&
    ADDRESSNUMBER &REGUH-ZADNR&
    ENDADDRESS
    Regards
    Ujwal

    Brian, I understand your frustration.
    Just a note. I use QuickSilver a lot, and its Safari plugin module has some form of bookmark and history searching involving page titles. I don't use it myself, but I know that it's available. I understand it's not what you're looking for exactly, but it might be a viable workaround if you care to explore it more than I have.
    Yang

  • Space coming while using address- end address

    hi abapers,
    i m using address and endaddress to display address and while preview a space-line coming in address.
    please tell me how to remove this space.
    thanks,

    hai    Sandeep,
    For Compressing Leading Spaces Use C Option.
    Syntax:
    &symbol(C)&
    Hope this Will Solve U r Problem.
    Regards.
    Eshwar.

  • Using  Address..End Address in Script

    Using Address........End Address Command in Script , Is it possible to print without Name filed ? I have tried but w/o name field it is not printing   ..
    I liket to print like this
    Address paragraph Z3
    Street ...........................
    PoBox.........................
    City........................
    End Address
    can any1 suggest me?

    Hi,
    If you want to print country specific then use
    /:           ADDRESS PARAGRAPH AS
    /:             ADDRESSNUMBER &EKKO-ADRNR(K)&
    /:             FROMCOUNTRY &T001-LAND1&
    /:           ENDADDRESS
    Reward if useful.
    Regards,
    Nageswar

  • How to get the address in last page in script?

    I have the requirement ....in 4 page script i want to print header logo in first page and in last 4 th page i want to print address....how is it possssible?

    use the command address ......end address.......
    The ADDRESS - ENDADDRESS control command formats an address according to the postal convention of the recipient country defined in the COUNTRY parameter. The reference fields are described in the structures ADRS1, ADRS2, or ADRS3, depending on the type of address. Either direct values or symbols may be assigned to the parameters
    The parameter values contain both formatting and address information. The address data are formatted for output according to the data in the following parameters:
    TYPE
    FROMCOUNTRY
    COUNTRY
    LANGUAGE
    PRIORITY
    DELIVERY
    LINES
    Parameters
    DELIVERY
    Means that the address should be formatted as a complete delivery address, using the street name and number rather than the P.O. Box.
    TYPE
    Specifies the type of address. The following types are possible:
    Normal address (ADRS1). This is the address of a company or organization. It corresponds to the address structure that is expected in most SAP applications.
    Private or personal address (ADRS2). This is the address of a natural person, a private or home address.
    Company addressDienstadresse (ADRS3) with contact person. This is the address of a colleague or contact within a company or organization. The company name should be specified in the TITLE and NAME fields; the ATTN: contact person should be named in PERSON and TITLE.
    Should you enter another address type or leave the field blank, then type 1 is used for formatting.
    PARAGRAPH
    Specifies the paragraph format to be used for outputting the address. If this parameter is not given, the address will be output using the default paragraph format.
    PRIORITY
    Specifies which of the address lines may be omitted should this be necessary. Any combination of the following codes may be specified. The order in which you list the codes determines the order in which address lines are left out.
    The codes are as follows:
    A Title
    P Mandatory empty line
    4 Name4
    3 Name3
    R Region
    T Neighborhood, administrative section of a city (CITY2)l
    D Department
    L Country name
    C Post code or zip code
    2 Name2
    B P.O. Box (Japan only)
    S Street name and number or P.O. Box, depending upon DELIVERY parameter
    N Name and form of address of natural person (PERSON and TITLE)
    I Location information in LOCATION
    O City
    LINES
    Specifies how many lines may be used for formatting the address. If there are too few lines available to allow all the address data to be formatted, then the data specified in the PRIORITY parameter are omitted. If there is no LINES parameter and if this command is in a form window of a type other than MAIN, then the number of lines available for formatting the address are automatically calculated based on the current output position and the size of the window.
    TITLE
    Title or form of address. Used only with addresses of types 1 and 3.
    NAME
    Up to four names may be given, separated by commas. Used only with addresses of types 1 and 3.
    PERSON
    Name of the addressee. Used only for addresses of type 2 (private or personal address) or type 3 (company contact address). In type 3 addresses, use PERSON for the name of your contact person: ‘Attn: Mr. Jeffries’. The name fields should be used for the company address.
    PERSONNUMBER
    Personal number. Can be used only for address types 2 or 3 (private or personal address).
    TITLE (with PERSON)
    Title of the addressee. Can be used only for address types 2 or type 3 (private or personal address).
    DEPARTMENT
    Department of the addressee. Can be used only for address type 3 (company address).
    STREET
    Street name.
    HOUSE
    House number for the corresponding street.
    LOCATION
    Additional location information, such as the building, "Upstairs Apartment" and so on. Appears on its own line in the address.
    POBOX
    P. O. Box
    CODE
    The post code / zip code of the P. O. Box if this differs from the post code / zip code of the recipient.
    CITY
    The city in which the destination P.O. Box is located if this differs from the city of the recipient.
    POSTCODE
    Post code / zip code of the recipient.
    CITY
    Addressee’s city. city1 is expected to be the city; city2 is the neighborhood or administrative section, if required.
    NO_UPPERCASE_FOR_CITY
    Default = NO_UPPERCASE_FOR_CITY ‘ ‘
    Usually, the system prints the city and country names of foreign addresses in uppercase ( NO_UPPERCASE_FOR_CITY ‘ ‘ ).
    You can use this parameter to force the system to output city and country name unchanged (uppercase/lowercase).
    ( NO_UPPERCASE_FOR_CITY ‘X’ )
    REGION
    This allows an administrative region, county, province, or state etc. to be specified.
    COUNTRY
    Specifies the recipient country, i.e. the country according to whose postal conventions the address is to be formatted.
    COUNTRY_IN_REC_LANG
    This flag tells the system to use the recipient language for the country name.
    ( COUNTRY_IN_REC_LANG ‘X‘ )
    ( Default: Recipient language is not used: COUNTRY_IN_REC_LANG ‘ ‘ )
    LANG_FOR_COUNTRY
    Default = Space
    Use this parameter to explicitly set the language in which to print the country name of a foreign address. By default, the system uses the language of the sending country.
    LANGUAGE
    Language code of the language of the recipient country, if it differs from that of the recipient COUNTRY. Example: addresses in Switzerland. Standard SAP language codes are used; you can display these in the initial SAPscript text processing screen or in table T002.
    FROMCOUNTRY
    Specifies the language to be used for formatting the name of the recipient country. For most European countries, the recipient country is specified by placing the international car registration letters in front of the post code and separating them from the post code with a hyphen. You must always specify the sender country.
    ADDRESSNUMBER
    The number is used to index a central address file, from which the desired address is read instead of using the set of the above fields. You can find more information on this facility in the documentation for the function module ADDRESS_INTO_PRINTFORM.
    You use this one parameter instead of the set of parameters described before.
    /: ADDRESS
    /: TITLE 'Firma'
    /: NAME 'Schneider & Co', 'Finanzberatung'
    /: STREET 'Kapitalgasse 33'
    /: POBOX '12345' CODE '68499'
    /: POSTCODE '68309'
    /: CITY 'Mannheim'
    /: COUNTRY 'DE'
    /: FROMCOUNTRY 'DE'
    /: ENDADDRESS
    This produces the following output address:
    Firma
    Schneider & Co
    Finanzberatung
    Postfach 12345
    68499 Mannheim
    If the DELIVERY parameter is specified on the ADDRESS command, then the street name and number will appear in the address in place of the P. O. Box number.
    Firma
    Schneider & Co
    Finanzberatung
    Kapitalgasse 33
    68309 Mannheim
    SAPscript makes an internal call to the ADDRESS_INTO_PRINTFORM function module for formatting the address. If the result is not as expected, you should check the settings for this function module
    If DELIVERY is not specified and if a POBOX is specified, then the POBOX is used in an address instead of a STREET.
    reward points if helpful....
    Message was edited by:
            raam

  • "...cannot use the application "Address Book.app" with  'leopard.'...????

    I get the message: "You cannot use the application “Address Book.app” with this version of Mac OS X. "What does this mean, wat do I do? Do I lose my address book.?

    you can do the following to transfer your Tiger addressbookdata file to Leopard if none of your other countermeasures are working.
    Create a new folder and give it a name such as TigertoLeopard data or whatever;
    then drag your Tiger addressbook data file into that folder;
    add .abbu to the end of the name you gave that new folder;
    remember where you placed the folder and use Leopard Mail import command.

  • Address Book back up & Apple Script

    I would like to set my Address Book (and iCal) to back up automatically on my hard drive. I already back it up and sync it to my laptop using .Mac, but I would like to have a back up on my external hard drive, as well.
    Can I create an Apple Script to do this or is there a simpler way that I am missing?

    I posted a script here a few days ago (see Apple - Support - Discussions - Address book save command ...) - it should be fairly easy to modify it for what you want.
    AK

  • How to reset the network IP address from terminal/command line in Mac OSX?

    Do anyone knows how to set the network IP address from terminal/command line in Mac OS X?

    how about a GUI, ever heard of a GUI? it's this really neat thing, where you don't have to worry about remembering long strings of text to do something. Mac OS X actually has a rather decent one (that was sarcasm by the way, Mac is the best) you could have it done in like 30 sec, if you use the network pane of system preferences.

  • Printing address in chinese char- sap script

    Hi
    I have a requirement to print address in chinese(ZH language).
    currently we need to write down the Chinese address manually on envelop if mailing address is in China.
    we would like to have the logic for the output. if there is Chinese name/address maintained in customer master, then use Chinese name/address. otherwise, use original English name/address to print on statement.
    in sap script they are passing address number to get this address
    /:   ADDRESS PARAGRAPH AF PRIORITY P LINES 10
    /:     ADDRESSNUMBER &DKADR-ADRNR&
    /:     FROMCOUNTRY &T001-LAND1&
    /:   ENDADDRESS
    Anyone help me out
    Regards
    Kumar

    Hi,
    you can use this with this format
    /: ADDRESS [DELIVERY] [TYPE t] [PARAGRAPH a] [PRIORITY p] [LINES l]
    /: TITLE title
    /: NAME name1[,name2[,name3[,name4]]]
    /: PERSON name of natural person [TITLE form of address]
    /: PERSONNUMBER number of the personen
    /: DEPARTMENT department
    /: STREET street name HOUSE house number
    /: LOCATION additional location information
    /: POBOX po box [CODE post code / zip code] [CITY city]
    /: POSTCODE post code / zip_code
    /: CITY city1[,city2]
    /: NO_UPPERCASE_FOR_CITY
    /: REGION county / state
    /: COUNTRY recipient country [LANGUAGE language code]
    /: COUNTRY_IN_REC_LANG
    /: LANG_FOR_COUNTRY language key
    /: FROMCOUNTRY sender country
    /: ADDRESSNUMBER address number
    /: ENDADDRESS
    In detail
    COUNTRY_IN_REC_LANG
    This flag tells the system to use the recipient language for the country name.
    ( COUNTRY_IN_REC_LANG u2018Xu2018 )
    ( Default: Recipient language is not used: COUNTRY_IN_REC_LANG u2018 u2018 )
    LANG_FOR_COUNTRY
    Default = Space
    Use this parameter to explicitly set the language in which to print the country name of a foreign address. By default, the system uses the language of the sending country.
    LANGUAGE
    Language code of the language of the recipient country, if it differs from that of the recipient COUNTRY. Example: addresses in Switzerland. Standard SAP language codes are used; you can display these in the initial SAPscript text processing screen or in table T002.
    FROMCOUNTRY
    Specifies the language to be used for formatting the name of the recipient country. For most European countries, the recipient country is specified by placing the international car registration letters in front of the post code and separating them from the post code with a hyphen. You must always specify the sender country.

  • GSS4480 and CSS using RFC 1918 addressing

    We are in the process of testing out a load balancing/redundancy setup using the GSS4480 and a CSS11506. Right now the CSS is setup with RFC 1918 addressing and we NAT out to the internet using a Checkpoint firewall. If I setup my VIP answer file to poll the 1918 address of the CSS, then that will be the answer that is given out when a client requests a name lookup which won't work. There has to be a way to configure this or then all diagrams I have seen are using internet routable name spaces. Looking at the docs and playing with the GUI I don't see any way of configuring it to use RFC 1918 addressing behind the firewall and still give out internet routable domain names. The docs show's the GSS and CSS being behind firewalls. I guess I am just missing something. Can the CSS be configured to link the RFC1918 address to a public address for KAP-AP purposes? Also is there any issues with NATing to RFC 1918 addresses for the health probes to other GSS's. We would like the health probes to go out over the internet not over our back end. Thanks

    our issue really isn't the DNS request as more it is the APP session between the GSS and CSS. We have 2 GSS devices that will be located at different data centers. Going by how the GSS docs say they work, the primary GSS synchronizes its database to the secondary when it comes online. With this the case we can't give our GSS(s) 1918 addresses since they'll be in different locations the secondary won't be able to reach the 1918 address of the primary. We have not proven this, but going on what the documentation says this is how it works. Now if we can configure our GSS(s) with 1918 addresses and just NAT their connection as they go out the FW and that's how they learn of each other then that issue becomes moot.
    Going with our current problem here's the rest. Since the GSS(s) are outside the firewall they are polling CSS(s) that are located behind the firewall. All NAT is done on the FW so the CSS is completely 1918 addressed. The GSS is polling the circuit IP of the CSS which is a real address that the FW NATs to the 1918 address. The problem arises when the GSS queries the CSS the request is received, however it's for a real address and not a 1918 address.
    We thought about duplicating all the content rules with the real addresses as the VIP; this works, but since the users aren't going through those rules the GSS is never going to get anything more than 2 on the load.

  • USB Mouse:usb 2-2: new low speed USB device using uhci_hcd and address

    usb 2-2: new low speed USB device using uhci_hcd and address 2
    usb 2-2: new low speed USB device using uhci_hcd and address 2
    usb 2-2: new low speed USB device using uhci_hcd and address 2
    usb 2-2: new low speed USB device using uhci_hcd and address 2
    usb 2-2: new low speed USB device using uhci_hcd and address 2
    usb 2-2: new low speed USB device using uhci_hcd and address 2
    usb 2-2: new low speed USB device using uhci_hcd and address 2
    usb 2-2: new low speed USB device using uhci_hcd and address 2
    usb 2-2: new low speed USB device using uhci_hcd and address 2
    again , again...
    My mouse not working.
    Please help me.Thank you.

    I have same problem. The command "lspci" return for audio card:
    00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
    When "modprobe oss_hdaudio" system freeze.

  • IP Address Ending in Zero

    Today the light on my Airport Express began flashing amber and when I launched the Airport Utility, it indicated that the device was unable to obtain a valid IP Address.  I looked under Internet -> TCP/IP and the Gateway and DNS Servers had valid IPs, but the IP address of the device has been assigned a link-local 169.254 address, which usually means that DHCP failed to respond.  So I unplugged the Airport and hooked up my computer directly to the DSL modem.  My computer received the same Gateway and DNS addresses along with a valid public IP.  The only oddity was that the public IP ended in zero.  Next I dragged out my old wired router.  It also received the same x.x.x.0 IP address and worked fine.  Then I hooked up the Airport and once again got a valid gateway IP but it failed to assign an IP to the device.  I manually entered the IP ending in .0 and it worked, then went back to DHCP and it failed once more.  Finally, I reset the modem, received a new IP that didn't end in zero, and the Airport was happy.  Does the Airport not support IP addresses ending in zero?  It used to be uncommon to assign these out, but with IPs in short supply, ISPs are doing everything they can to make the most of what's left. 
    I was going to contact Apple Support, but the site is claiming that my complimentary support has expired even though I purchased the device within the past 90 days.  I don't feel that I should have to pay Apple to inform them that their product is buggy.

    IPs ending in zero are sometimes acceptable to assign and sometimes they aren't.  It depends on whether or not it is the network identifier.  If my IP was the network identifier, then AT&T is to blame, not Apple.  Looking up info about the netblock, I found the following.
    SBC-108-68-140-0-22-1009261615 (NET-108-68-140-0-1)
    108.68.140.0 - 108.68.143.255
    If I'm not mistaken, it should be acceptable to hand out IP addresses ending in zero besides 108.68.140.0, which was not my IP at the time. 

Maybe you are looking for