/:   ADDRESS SHIPPING_POINT PARAGRAPH AS

Hello !
What is here done. I don' t understand this sap script
code fragment.
Can anybody explain that to me?
THX
Ilhan
  ....+....1....+....2....+....3....+....4....+....5....+....6....+....7..         
L    <TI>Shipping point</> &VBPLA-VSTEL&                                                    
/:   ADDRESS SHIPPING_POINT PARAGRAPH AS                                                    
/:     TITLE    &VBPLA-ANRED_VST&                                                           
/:     NAME     &VBPLA-NAME1_VST&, &VBPLA-NAME2_VST&, &VBPLA-NAME3_VST&, &VBP >             
/:     STREET   &VBPLA-STRAS_VST&                                                           
/:     CITY     &VBPLA-ORT01_VST&, &VBPLA-ORT02_VST&                                        
/:     POSTCODE &VBPLA-PSTLZ_VST&                                                           
/:     COUNTRY  &VBPLA-LAND1_VST&                                                           
/:     REGION   &VBPLA-REGIO_VST&                                                           
/:     FROMCOUNTRY &VBPLA-LAND1_VST&                                                        
/:   ENDADDRESS                                                                    

Hello !
What is variable and what are the constants :
L    <TI>Shipping point<> &VBPLA-VSTEL&                                                    
/:   ADDRESS SHIPPING_POINT PARAGRAPH AS                                                    
/:     TITLE    &VBPLA-ANRED_VST&                                                           
/:     NAME     &VBPLA-NAME1_VST&, &VBPLA-NAME2_VST&, &VBPLA-NAME3_VST&, &VBP >             
/:     STREET   &VBPLA-STRAS_VST&                                                           
/:     CITY     &VBPLA-ORT01_VST&, &VBPLA-ORT02_VST&                                        
/:     POSTCODE &VBPLA-PSTLZ_VST&                                                           
/:     COUNTRY  &VBPLA-LAND1_VST&                                                           
/:     REGION   &VBPLA-REGIO_VST&                                                           
/:     FROMCOUNTRY &VBPLA-LAND1_VST&                                                        
/:   ENDADDRESS              

Similar Messages

  • ADDRESS DELIVERY PARAGRAPH AS - Issue

    Hi Experts,
    I am facing the following issue with ADDRESS DELIVERY PARAGRAPH AS. The address used to be properly displayed, but suddenly the postal code and region is being duplicated, the reason is that this function now is returning, in the field CITY1, the city, postal code and region, to be more clear:
    It used to be:
    City: Miami
    Region: FL
    Postal code: 123456
    But now this function is returning:
    City: MIami FL 123456
    Region: FL
    Postal code: 123456
    So now in my form I see:
    MIami FL 123456 FL 123456
    This is something that happens only in one environment (development) but this is not happening in quality environment, so it makes me suspect that this may be related to data or configuration.
    I know how to fix this, but if I leave only the field CITY1, when I move this to Quality, I may have problems.
    By the way, this is happening in a Z form which is a copy of a standard form (MEDRUCK), and this code comes from the standard part:
    ADDRESS DELIVERY PARAGRAPH AS
      TITLE    &ADRC-TITLE&
      NAME     &ADRC-NAME1&, &ADRC-NAME3&, &ADRC-NAME4&
      STREET   &ADRC-STREET&
      CITY     &ADRC-CITY1&
      POSTCODE &ADRC-POST_CODE1&
      COUNTRY  &ADRC-COUNTRY&
      REGION   &ADRC-REGION&
      FROMCOUNTRY &LFA1-LAND1&
    ENDADDRESS
    Any suggestion will be appreciated.
    Thanks,

    Nop, it is exactly the same code above. Debugging I noticed that actually the field CITY1 comes wrong:
    Miami FL 123456 FL 123456
    This happens in function ADDRESS_INTO_PRINTFORM.
    This is odd.

  • SAP Script - delete paragraph between two lines or move address one line up

    Hi all,
    i have a problem concerning SAPscript and formating.
    In the address window i have an include, which provides a text in a line. after that i have a command line with address and paragraph, which sorts and formats the address. Problem is that there is a gap between my Text from the Include and the address. Is there a way to move the address one line up or any other way to delete the paragraph there?
    SAPscript looks like this:
    include ....
    endif.
    adress paragraph zz
    name  Testname
    street teststreet
    Postalcode 98788
    City  Town
    Print Form:
    Text from the include
                                          <----
    how can I get rid of this empty line?
    Testname
    teststreet
    98788 Town
    Any Suggestions?
    Thanks,
    Denis

    Hi there,
    no results yet. nothing worked so far. What does PB mean?
    The CODE looks as follows:
    /: if ....
    /: include ........ new-paragraph SA
    /: endif
    /: if ....... OR ....
    /: address Paragraph AS
    /: name  ......
    /: street ......
    /: endaddress
    Print::
    Text blablabla
                                  <---- empty line
    Name .....
    Street .....
    The include has no empty line in the end.
    I have no more clues how to delete the empty line in between the address and the include text.
    regards,
    denis

  • Regarding Address EndAddress in SAP Script

    <i>Hi Abapers,
    I am having a problem while displaying the address in SAP Script through Address EndAddress.
    Problem is it is displaying the data correctly but it display the Region Code. Now the requirement is to display the Region Description instead of the Region Code.
    Can you please provide me any solution for this.
    I am sending the Address EndAddress which I have written in my code.</i>
    /:          ADDRESS DELIVERY PARAGRAPH ZC
    /:            NAME     &VBDKL-ZBTNAME1&, &VBDKL-ZBTNAME2&, &VBDKL-ZBTNAME3&, &VBDKL-
    /:            STREET   &VBDKL-ZBTSTRAS&
    /:            CITY     &VBDKL-ZBTORT01&, &VBDKL-ZBTORT02&
    /:            POSTCODE &VBDKL-ZBTPSTLZ&
    /:            COUNTRY  &VBDKL-ZBTSLAND&
    /:            REGION   &VBDKL-ZBTREGIO&
    /:            FROMCOUNTRY &VBDKL-ZBTLLAND&

    Hi
    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'
    formatting address
    http://help.sap.com/saphelp_46c/helpdata/en/d1/803238454211d189710000e8322d00/frameset.htm
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803238454211d189710000e8322d00/content.htm
    <b>Reward if usefull</b>

  • Ship to Party address is missing country name in SAPScript FORM

    Hi All,
    i had modified the form for displaying the address of the Ship - to - party address, but the country name is missing in the FORM output, can any body suggest a solution for this..
    here is the code that i had written...
    FORM get_addr TABLES intab TYPE t_intab
                  out_tab TYPE t_outtab.
      DATA : wa_intab LIKE itcsy,
             w_outtab LIKE itcsy.
      DATA v_adrnr_we TYPE adrc-addrnumber.
      READ TABLE intab INTO wa_intab INDEX 1.
      v_adrnr_we = wa_intab-value.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = v_adrnr_we
        IMPORTING
          output = v_adrnr_we.
      SELECT SINGLE * FROM adrc WHERE addrnumber = v_adrnr_we.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME1'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name1.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME2'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name2.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME3'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name3.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME4'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name4.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_STREET'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-street.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_CITY1'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-city1.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_CITY2'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-city2.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      CLEAR adrc.
    ENDFORM.                    "GET_ADDR
    and in the form editor it was like this.....
    PERFORM GET_NAME IN PROGRAM ZSD_SDPACKLI
    USING &VBPLA-ADRNR_WE&
    CHANGING &Z_NAME1&
    CHANGING &Z_NAME2&
    CHANGING &Z_NAME3&
    CHANGING &Z_NAME4&
    CHANGING &Z_STREET&
    CHANGING &Z_CITY1&
    CHANGING &Z_CITY2&
    ENDPERFORM
    ADDRESS DELIVERY PARAGRAPH AS\
    NAME     &Z_NAME1&, &Z_NAME2&, &Z_NAME3&, &Z_NAME4&
    STREET   &Z_STREET&
    CITY     &Z_CITY1&, &Z_CITY2&
      POSTCODE &VBPLA-PSTLZ_WE&
      COUNTRY  &VBPLA-LAND1_WE&
      REGION   &VBPLA-REGIO_WE&
      FROMCOUNTRY &VBPLA-LAND1_VST&
    ENDADDRESS
    Thanks in advance..!

    Hi Abaper,
    In ADRC table,you will have a field by name COUNTRY.This holds the country key.
    Using this country key LAND1 in ADRC table,you will have to fetch the Country name from T005T table.The field in the T005T which holds the Country name is LANDX.
    You will have to write select querries for this.
    By using LANDX from T005T table ,you can display the country name.
    Regards,
    Kashyap Ivaturi

  • REGION is not shown in Address to be printed in SAPSCRIPT

    Hi,
           I am trying to print the address within a sapscript .Everything is being displayed except the 'regio' ie region field. but when i replace the label region with city or something else followed by the field name it prints fine.
    The code is as follows:
    ADDRESS DELIVERY PARAGRAPH L
      TITLE    &VBDKL-KUNWE&
      NAME     &VBDKL-NAME1&, &VBDKL-NAME2&, &VBDKL-NAME3&,&VBDKL-NAME4&
      STREET   &VBDKL-STRAS&
      CITY     &VBDKL-ORT01&
      POSTCODE &VBDKL-PSTLZ&
      REGION   &VBDKL-REGIO&
      COUNTRY  &VBDKL-LAND1&
      FROMCOUNTRY 'FR '
    ENDADDRESS

    Check this out once -
    Formatting Addresses: 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.
    Syntax:
    /: 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
    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
    For more information, see the documentation for the SAP function module ADDRESS_INTO_PRINTFORM.
    If DELIVERY is not specified and if a POBOX is specified, then the POBOX is used in an address instead of a STREET.
    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:
    1.     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.
    2.     Private or personal address (ADRS2). This is the address of a natural person, a private or home address.
    3.     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 (see the function module documentation).

  • Change the address in the right hand side of purchase order form

    Hi all,
    I am new to forms and scripts. I have to modify the output of Purchase Order form/script such that the Ship to and Bill to address that they have now on top right corner must be modified with the address that I have.
    How should i be doing this?
    I found that they copied the program SAPFM06P into ZSAPFM06P and the form name is some thing called ZABC_PURCHASEORDER . Now I want to figure out how should i be changing the purchase order form so that the Ship to and Bill to address that they have now on top right corner must be modified with the address that I have.
    the output type is named as ZNE7.
    Some one please direct me how to figure out. i dont even know if it is a sap script or smart form.
    also please help me in whihc places i should look to change the the Ship to and Bill to address that they have now on top right corner must be modified with the address that I have.
    Regards,
    Jessica Sam

    Ok karthik..i found that there is a windo called ship to where they have stored the following in Text Elements
    HEADER_DELADDRESS
    * <B> ABC Corporation </>
    *DDRESS DELIVERY PARAGRAPH AS PRIORITY
    *   TITLE                  &SADR-NAME2&
    *   NAME                 &SADR-NAME1&,    &SADR-NAME2&
    *   STREET              &SADR-STRAS&
    *   CITY                   &SADR-ORT01&,     &SADR-PSTLZ&
    *   POSTCODE        &SADR-PSTLZ&
    *   REGION             &SADR-REGIO&
    *   COUNTRTY        &SADR-LAND1&
    *ENDADDRESS
    *   FROMCOUNTRY &LFA1-LAND1&
    *   POSTCODE        &SADR-PSTLZ&
    *   CITY                   &SADR-ORT02&,    &SADR-ORT01&
    *   POSTCODE                                     &SADR-PSTLZ&
    *   COUNTRY          &SADR-LAND1&,   &SADR-PSTLZ&
    *   REGION             &SADR-REGIO&
    *   FROMCOUNTRY &LFA1-LAND1&
    *   ENDADDRESS
    BILL TO:
    ABC Corporation Inc,
    6000 Street1
    SUITE # 700, City1
    Country1   789045
    +1 (999) 999-9999(Phone)
       (999) 999-9999(Fax)
    * ABC Company     "AS
    * 5678 Street2        "AS
    * CITY1, State1, 99999 " AS
    * 999 999 9999 " AS
    SHIP TO:
    HEADER_DELADDRESS
    * <B> ABC Corporation </>
    *ADDRESS DELIVERY PARAGRAPH AS PRIORITY
    *   TITLE                  &SADR-ANRED&
    *   NAME                 &SADR-NAME1&,    &SADR-NAME2&, &S
    *   STREET              &SADR-STRAS&
    *   POBOX               &SADR-PSTLZ&
    *   COUNTRY          &SADR-LAND1&
    *   REGION             &SADR-REGIO&
    *   FROMCOUNTRY  &SADR-LAND1&
    *   ENDADDRESS
    HEADER_DELADDRESS_3RDPARTY
    BILL TO:
    ABC Corporation Inc,
    6000 Street1
    SUITE # 700, City1
    Country1   789045
    +1 (999) 999-9999(Phone)
       (999) 999-9999(Fax)
    SHIP TO
    *ADDRESS DELIVERY PARAGRAPH AS
    ABC Corporation Inc,
    6000 Street1
    SUITE # 700, City1
    Country1   789045
    +1 (999) 999-9999(Phone)
       (999) 999-9999(Fax)
    BILL TO:
    ABC Corporation Inc,
    6000 Street1
    SUITE # 700, City1
    Country1   789045
    +1 (999) 999-9999(Phone)
       (999) 999-9999(Fax)
    SHIP TO:
    So to chjange the Bill to and Ship top address that appear in the right hand side top most corner of the purchase order, what should i be changing in the text elements of the PO?
    please guide me..i am very new to sapscripts and i have to finish this task as soon as possible as this is a production support issue.
    Will be waiting for some clues
    Regards,
    Jessica Sam

  • Address - endaddress  - Blank line comming in betweeen

    I am printing an address in sap script using
    ADDRESS DELIVERY  PARAGRAPH DF LINES 14
      ADDRESSNUMBER &Z_ADRNRPO(K)&
      FROMCOUNTRY   &Z_ALAND1&
    ENDADDRESS
    I am getting the output something like .
    Firma
    Schneider & Co
    Finanzberatung
    Postfach 12345
    68499 Mannheim
    See after ,Postfach 12345', there is a blank space comming.
    Is there any way to remove it .
    The address  should print like
    Firma
    Schneider & Co
    Finanzberatung
    Postfach 12345
    68499 Mannheim
    That is without a blank line in between.
    Thanks in advance .

    Check the paragraph format that is applied on this address and in paragraph format select check boxes called No blank line.
    I guess it will solve your issue.
    Reward points to all useful answers.
    Regards,
    SaiRam

  • Control command Address in sapscript

    Hi experts ,
    Can any one explain me how Address and Endaddress work .
    I have the below script  in window presently
    ADDRESS PARAGRAPH Z1
           TITLE    &VBDKR-ANRED&
           NAME     &VBDKR-NAME1&, &VBDKR-NAME2&, &VBDKR-NAME3&, &VBDKR-NAME4&
           STREET   &VBDKR-STRAS&
           POBOX    &VBDKR-PFACH&  CODE &VBDKR-PSTL2& CITY &VBDKR-PFORT&
           POSTCODE &VBDKR-PSTLZ&
           REGION   &VBDKR-REGIO&
           CITY     &VBDKR-ORT01&, &VBDKR-ORT02&
           COUNTRY  &VBDKR-LAND1&
           FROMCOUNTRY &VBDKR-SLAND&
           ADDRESSNUMBER &VBDKR-ADRNR&
         ENDADDRESS
    I would like to know the difference between the top  and one below .
    ADDRESS DELIVERY PARAGRAPH Z1
    FROMCOUNTRY &VBDKR-SLAND&
    ADDRESSNUMBER &VBDKR-ADRNR&
    ENDADDRESS
    Is there that we set the format  For "delievey address" somewhere in system .
    If so please can I have inputs for doing
    Thanks
    Vinay

    Hi,
        If DELEVIRY is specified then the address should be formatted as a complete delivery address, using the street name and number rather than the P.O. Box.
        If DELIVERY is not specified and if a POBOX is specified, then the POBOX is used in an address instead of a STREET.
    Example
    /: ADDRESS
    /: TITLE 'Firma'
    /: NAME 'Schneider & Co', 'Finanzberatung'
    /: STREET 'Kapitalgasse 33'
    /: POBOX '12345' CODE '68499'
    /: POSTCODE '68309'
    /: CITY 'Mannheim'
    /: COUNTRY 'DE'
    /: FROMCOUNTRY 'DE'
    /: ENDADDRESS
    Without specifying DELIVERY output will be
    Firma
    Schneider & Co
    Finanzberatung
    Postfach 12345
    68499 Mannheim
    With specifying DELIVERY, 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
    Regards
    Bala Krishna

  • Country not displaying in Ship-to Address

    Dear All,
    In the billing document SAP Script output Country is not getting display for Ship-To customer.
    In SAP Script form, I have two addess window, one for Sold-to and another for Ship-to. For the Ship-to Country is not getting display. Both Sold-to and Ship-to customer are same. Both address window use same control statement as follows ;
    /:   ADDRESS DELIVERY PARAGRAPH AS                                                  
    /:     TITLE    &VBDKR-ANRED_WE&                                                    
    /:     NAME     &VBDKR-NAME1_WE&, &VBDKR-NAME2_WE&, &VBDKR-NAME3_WE&, &VBDKR- >     
    /:     STREET   &VBDKR-STRAS_WE&                                                    
    /:     POBOX    &VBDKR-PFACH_WE& CODE &VBDKR-PSTL2_WE& CITY &VBDKR-PFORT&           
    /:     POSTCODE &VBDKR-PSTLZ_WE&                                                    
    /:     CITY     &VBDKR-ORT01_WE&, &VBDKR-ORT02_WE&                                  
    /:     REGION   &VBDKR-REGIO_WE&                                                    
    /:     COUNTRY  &VBDKR-LAND1_WE&                                                    
    /:     FROMCOUNTRY &VBDKR-SLAND&                                                    
    /:     ENDADDRESS
    Kindly let me know how to display country for ship-to customer.

    Hi!
    I think your ADDRESS window is too small to display the data. Try raising its height.
    If it is not working, you can forget the ADDRESS command and print it manually...
    A1 Name: &VBDKR-NAME1_WE&
    Here's the documentation about ADDRESS command.
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/803238454211d189710000e8322d00/content.htm
    Regards
    Tamá

  • Contry not displaying in Ship-to Address

    Dear All,
    In the billing document SAP Script output Country is not getting display for Ship-To customer.
    In SAP Script form, I have two addess window, one for Sold-to and another for Ship-to. For the Ship-to Country is not getting display. Both Sold-to and Ship-to customer are same. Both address window use same control statement as follows ;
    /:   ADDRESS DELIVERY PARAGRAPH AS                                                  
    /:     TITLE    &VBDKR-ANRED_WE&                                                    
    /:     NAME     &VBDKR-NAME1_WE&, &VBDKR-NAME2_WE&, &VBDKR-NAME3_WE&, &VBDKR- >     
    /:     STREET   &VBDKR-STRAS_WE&                                                    
    /:     POBOX    &VBDKR-PFACH_WE& CODE &VBDKR-PSTL2_WE& CITY &VBDKR-PFORT&           
    /:     POSTCODE &VBDKR-PSTLZ_WE&                                                    
    /:     CITY     &VBDKR-ORT01_WE&, &VBDKR-ORT02_WE&                                  
    /:     REGION   &VBDKR-REGIO_WE&                                                    
    /:     COUNTRY  &VBDKR-LAND1_WE&                                                    
    /:     FROMCOUNTRY &VBDKR-SLAND&                                                    
    /:     ENDADDRESS
    Kindly let me know how to display country for ship-to customer.

    Problem solved by using Perfom address to display ship-to customer. I have checked all possilbity of Address window but doesn't workout. Using perform i am selecting ship-to customer country from customer master and displaying. Kind regards, Nilesh Shete

  • PRoblem in SAP Script Address Comand

    HI Frnds,
    I am using Address command to display Vendor Address in SAP Script.
    But I am facing problem like that vendor's post code is display first rather then City name and after PO code.
    I have change alignment to display format for City and PO Code display. But it also gives same error.
    Kindly Help me out for this problem.
    Regards,
    PRiyank

    I am using same format.. then also gives such display in output as: First City then POstal code
    my code:
    /:   ADDRESS DELIVERY PARAGRAPH AN                      
    /:   NAME    &LFA1-NAME2&, &LFA1-NAME3&, &LFA1-NAME4&   
    /:   STREET   &LFA1-STRAS&                              
    /:   CITY     &LFA1-ORT01&, &LFA1-ORT02&                
    /:   POSTCODE &LFA1-PSTLZ&                              
    /:   COUNTRY  &LFA1-LAND1&                              
    /:   REGION   &LFA1-REGIO&                              
    /:   ENDADDRESS

  • Address printing issue in SAPSCRIPT

    Hi All,
    I am getting address printing issue in address in sapscript .
    Here is my address format in the script.
    /: ADDRESS DELIVERY PARAGRAPH ZA LINES 10
    /:    TITLE                &KNA1-ANRED&
    /:    NAME               &KNA1-NAME1&,  &KNA1-NAME2&,  &KNA1-NAME3&,  &KNA1-NAME4&
    /:    STREET            &ADRC-STREET&
    /:   LOCATION        &ADRC-STR_SUPPL1
    /:   POBOX             &KNA1-PFACH&  CODE  &KNA1-PSTL2&
    /:   POSTCODE       &KNA1-PSTLZ&
    /:  REGION              &KNA1-REGIO&
    /:  CITY                   &KNA1-ORT01&,  KNA1-ORT02&
    /:  COUNTRY          &KNA1-LAND1&
    /:  FROMCOUNTRY &T001-LAND1&
    /: ENDADDRESS
    Here in the above code I had added LOCATION and modified the STREET field value.
    Moved the changes to QAS server along with the driver program., confirmed all the related transports are moved.
    While testing in QAS , i noticed that after LOCATION print I am getting blank space and then the remaining fields are printed.
    For example:
         casa velas boutique hotel
         Attn:  Marie John
         AV.  cocoterosss
        63550 Nuevo Vallarta, Nayarit,
        MEXICO.
    In the above example the third line the LOCATION data.
    The surprise here is that I am not getting blank space in DEV , I had checked all the transports, and all are ok.
    Please advice me where I am wrong, ie why i am getting blank space in QAS whereas it not showing in DEV.
    Thanks in advance.
    Vengal Rao.

    Hi Jay,
    I fully agree with you that the address printed will be as per SAP standards.
    Currently I am looking into the country configuration in DEV - I hope may be the reason,
    I have to use the existing ADDRESS....ENDADDRESS format as our client is using  4.6 version,  he just print the financial reports using the common script.
    So anything away from the orginal one may lead to more trouble in other reports.
    Once I get a reason behind the issue, I shall definetly post them.
    Thanks,
    Vengal Rao.

  • ADDRESS ENDADDRESS IN SAPSCRIPT

    Hi,
    Can we rearrange the fields being printed in PO layout? The form used the ADDRESS ENDADDRESS syntax. Only the Addressnumber was populated. After printing the form, the arrangement of fields were
    STREET CITY
    COUNTRY POSTAL_CODE CITY2.
    I want to rearrange it to be:
    STREET
    COUNTRY POSTAL_CODE CITY.
    How can I do this? And where can I do this if this is possible?
    Thanks in advance.
    Lalyn

    Hi,
    the formatting of an adress depends on the value belonging tot COUNTRY.
    SO i do not think the way you want is possible.
    Below include some help. Read and take the best solution for it
    ADDRESS: Formatting of addresses
    The command ADDRESS - ENDADDRESS formats an address according to the postal standards of the destination country defined in the parameter COUNTRY. The reference fields are described in the structure ADRS. Both constants and symbols can be assigned to the parameters.
    Syntax:
    /: ADDRESS [DELIVERY] [PARAGRAPH a] [PRIORITY p] [LINES l]
    /: TITLE title
    /: NAME name1[,name2[,name3[,name4]]]
    /: STREET street
    /: POBOX PO box [CODE zip code]
    /: POSTCODE zip code
    /: CITY town1[,town2]
    /: REGION region
    /: COUNTRY country
    /: FROMCOUNTRY from country
    /: ENDADDRESS
    Both formatting data and address data are parameters. Address data is formatted for output based on the COUNTRY, PRIORITY and LINES parameters. As the default, the P.O. Box is used, if it is available, rather than the street address.
         DELIVERY defines the street address.
         If this parameter is selected, the system prints the street address on the layout output instead of the P.O. Box.
         PARAGRAPH defines in which paragraph format the address is output.
         If the parameter is not defined, the address is output in the default paragraph format.
         PRIORITY defines which address lines can be omitted if there is not enough space on the output.
         You can enter a combination of the following values:
         A     form of address
         P     mandatory blank line 1
         Q     mandatory blank line 2
         2     name2
         3     name3
         4     name4
         L     country name
         S     line for the street
         O     line for the city
         LINES define how many lines are available to format the address.
    If the address data cannot be completely formatted due to an insufficient number of lines, the data entered in the parameter PRIORITY is omitted. If the LINES specification is missing and this command is in a form window whose type is not MAIN, the lines available for the address layout are automatically calculated with the current output line item and window size.
         TITLE is a required form of address.
         NAME means that up to four separate names, separated by commas, can be defined.
         STREET means the street specification, including address number.
         POBOX is the Post Office box number.
         CODE is the P.O. box, postal, or zip code, if this code is different from the postal code of the city.
         POSTCODE is cityu2019s postal, or zip, code.
         CITY means that up to two place names can be defined.
         REGION determines the administrative area.
         COUNTRY specifies the country based on specific postal standards and the address format.
         FROMCOUNTRY defines in which language the destination countryu2019s name is formatted. In EEC countries, only the international country identification letter is placed, with a hyphen, before the postal code.
    Gr., Frank

  • ADDRESSNUMBER to print address  in sapscript.

    Hi all,
    This is the code in my sapscript, currently it is printing the 'PO Box Addresss'. I know this method calls the function module 'address_into_printform' for printing address. In FM 'address_into_printform' there is a parameter through which we cans set 'Priority to street address' . Is there a way i can pass the same parameter here in the sapscrip to 'ADDRESSNUMBER', so that it prints 'Street Address' with higher priority.
    I dont want to write an extra perform and call the FM 'address_into_printform'.
    Thanks

    Hi,
    This is format of the command.
    /: ADDRESS [DELIVERY] [PARAGRAPH a] [PRIORITY p] [LINES l]
    /: TITLE title
    /: NAME name1[,name2[,name3[,name4]]]
    /: STREET street
    /: POBOX PO box [CODE zip code]
    /: POSTCODE zip code
    /: CITY town1[,town2]
    /: REGION region
    /: COUNTRY country
    /: FROMCOUNTRY from country
    /: ENDADDRESS
    PRIORITY tells program which address lines can be omitted if there is not enough space on the output.
    Values for Prioirty
         A     form of address
         P     mandatory blank line 1
         Q     mandatory blank line 2
         2     name2
         3     name3
         4     name4
         L     country name
         S     line for the street
         O     line for the city
    Hope this helps
    Regards
    Abhi

Maybe you are looking for

  • Navigation & Photo Page not displaying within some browsers

    Hello, I am using iWeb '08 and am having great difficulties trying to get my site cross browser compatible. The site is working perfectly on the Mac in Firefox 2 & Safari but not Firefox 3. It is also not displaying correctly in Firefox 2.0.0.13 and

  • Xpath condition in interface determination

    Hi all, I have a scenario where i have two Interface mappings between same source and target. I need to define a condition based on if a field exists, then first one should be executed and if the field doesn't exists, then second. How should i define

  • Creative Sound Blaster Audigy Value/SE/LS Driver 01.04.0

    Creative Sound Blaster Audigy Value/SE/LS and Sound Blaster Li've! 24-bit Vista Beta Driver 0.04.0055 Yeah, 32-bit, wooo. When will a 64-bit version be available?

  • Can't run in Firefox

    I can run Flash Player in IE, but in my Firefox browser I can't. I have tried downloading, and it looks like it completes it, but then it doesn't run. Any ideas?

  • Adobe premiere unable to playback the video

    I'm using adobe primeier CS 5.5 and I can hear one of my videos but instead I see black screeen.also instead I see yellow bar. Please help. here is the screenshot. http://s2.postimg.org/rzrxh6bmh/Untitled.png