Address In Smartforms

Hi Experts,
I am using the standard feature for displaying customer address in my Smartforms.
Is there any way I can change the font for the address?
Thanks and Regards,
Ravi

Hi Ravi,
In the New Style, you need to create a paragrapgh format, there in that paragraph format, give the perfect font size, then use this Smartstyle and the paragrapgh format for your Address in the Smartform
Regards
Sudheer

Similar Messages

  • Address in smartform

    Hi Friends,
    I have the following code in SAPScript but I need to change it to SmartForms. Can anybody tell me how to handle?
    /:   ADDRESS PARAGRAPH AS
    /:        TITLE             &SERVICE_ADDRESS-ANRED&
    /:        NAME            &SERVICE_ADDRESS-NAME1&,
                                   &SERVICE_ADDRESS-NAME2&,
                        &SERVICE_ADDRESS-NAME3&,
                                   &SERVICE_ADDRESS-NAME4&
    /:        STREET        &SERVICE_ADDRESS-STRAS&
    /:        POBOX         &SERVICE_ADDRESS-PFACH&
    /:        CITY             &SERVICE_ADDRESS-ORT01&,
                                  &SERVICE_ADDRESS-ORT02&
    /:        POSTCODE  &SERVICE_ADDRESS-PSTLZ&
    /:        COUNTRY    &SERVICE_ADDRESS-LAND1&
    /:        REGION       &SERVICE_ADDRESS-REGIO&
    /:        FROMCOUNTRY &SERVICE_ADDRESS-SLAND&
    /:  ENDADDRESS
    I have created one text element under address window of my smartform and I inserted above code.
    it's not displaying in the smartform. I checked in debug mode untill smartform calling by the function module. The data is there in that structure.
    I don't know how to debug address window.
    Could you pls help me. can we use ADDRESS and END ADDRESS in smartform.
    Thanks in advance.
    Regards
    Raghu

    Thanks robert !
    In my situation the data is comming from form interface. So, no need to write the select statement again.
    What my question is...
    if you want to display address in proper format in sap script, will use the below code in the text element editor. am I right? The same way I want to paste the below code in smatform in address window. how?
    text node is enough or we have to create program lines code in address window. hope my question .. you understtod.
    /: ADDRESS PARAGRAPH AS
    /: TITLE &SERVICE_ADDRESS-ANRED&
    /: NAME &SERVICE_ADDRESS-NAME1&,
    &SERVICE_ADDRESS-NAME2&,
    &SERVICE_ADDRESS-NAME3&,
    &SERVICE_ADDRESS-NAME4&
    /: STREET &SERVICE_ADDRESS-STRAS&
    /: POBOX &SERVICE_ADDRESS-PFACH&
    /: CITY &SERVICE_ADDRESS-ORT01&,
    &SERVICE_ADDRESS-ORT02&
    /: POSTCODE &SERVICE_ADDRESS-PSTLZ&
    /: COUNTRY &SERVICE_ADDRESS-LAND1&
    /: REGION &SERVICE_ADDRESS-REGIO&
    /: FROMCOUNTRY &SERVICE_ADDRESS-SLAND&
    /: ENDADDRESS
    Thanks in advance.

  • Change Address in SmartForms

    Hai,
    i have a doubt in smartforms   'if u want to change the address in smartforms what can i do? is there any event or not.
    plz tell me.
    Edited by: Alvaro Tejada Galindo on Apr 2, 2008 6:10 PM

    hi reddy,
    It seems like you are using an address node, and not a free-form text node with explicit address fields, which was the way things used to be done in SAPscript. This is good. The key strength in address nodes is the standardized way they rely upon address numbers and a few other key pieces of information to format addresses properly and consistently. However, a minor negative is that we lose some of the fine-tuned control available to us with explicit address formatting from SAPscript (e.g. deliberately suppressing certain lines).
    Here is a simple test to simulate how a vendor address will look on output:
    Go to vendor display (transaction FK03)
    Select a vendor
    Click on the address option under 'General data' and press enter
    On the next screen, click the 'print preview' icon
    The address which appears should resemble the one you see on your Smart Form output. From here you can click on the 'change parameters' icon to tweak the settings. One of these settings, maximum number of lines, is something which you have control over in your Smart Form's address node. Perhaps reducing this number will squeeze out the blank lines you currently see. Once you determine the proper value, update it within your form's address node. If the address appears fine in vendor display, but not on your form, double-check the address node to see if something else might be wrong with it (e.g. sending country).
    regards
    karthik
    <REMOVED BY MODERATOR>
    Incidentally, the 'print preview' and 'change parameters' icons are available for other address types in SAP as well. They provide a quick diagnostic to determine if addresses are printing correctly on a form
    Edited by: Alvaro Tejada Galindo on Apr 2, 2008 6:10 PM

  • Name of the standard FM called for displaying address in Smartform.

    Hi all..
    Wat is the name pf the standard FM that is called wen we use address in smartform,inputting the address number...
    Regards
    Rudra

    Hi,
    if we Inclue Address in Address Node, System reads address data directly from the data base tables.
    Inserting addresses:
    One can use the address node to insert an address into the form. This guarantees that the address is formatted according to the postal rules of the sender country.
    1) To create an address node , call the context menu for that node in the tree structure that one wants to contain the text and choose create->text
    2) Enter a name for the node and a description
    3) Determine the address type on the general attributes tab
    4) For organizational addresses one has to specify the address number, for any other one has to specify the person number and the address number
    5) In the box additional addresses one can maintain other attributes to specify how to display the address
    Addresses are printed using the ADDRESS_INTO_PRINTFORM function module.
    To enable the ADDRESS_INTO_PRINTFORM function module to call existing versions of an address for print output, the application program has to transfer the address number for address type 1, or the address number and person number for address types 2 and 3, to the function module or to SAPscript/SAP Smart Forms.
    If SAPscript/SAP Smart Forms are used for printing, the address number (or address number and person number) is to be specified here as a parameter. The ADDRESS_INTO_PRINTFORM function module then controls internally which version of an address is printed:
    In the standard system, printing of address versions is only supported for Japan. Besides the default version, the versions Kanji (K) or International (I) can also be printed.
    follow these links for brief information.
    http://www.sap-press.com/downloads/h955_preview.pdf
    Regards,
    Omkar.

  • Company Address and sold party address in smartforms

    Hi Experts,
    How to fetch the Company Address in Heading window based on Plant . Sold to party address in smartform
    How to do this .
    Pls helpme
    Thanks in Advance
    purnaneelu

    Hi,
    Plant address you can get from table T001W by passing the plant name ( WERKS ).
    Sold-to-party is nothing but customer, so you have to fetch the ADRNR from table KNA1 passing customer number ( KUNNR ), and pass ADRNR to table ADRC to get all address details.
    Regards
    Karthik D

  • Customer address in smartform

    hi all,
    i need to show customer address in the smartform for tht i need to fetch address no from table vbpa on the basis of vbeln n according to tht address no i need to fetch address from adrc
    how to write the query for this

    Hi,
    data:v_adrnr type adrnr.
    select ADRNR
    from vbpa
    into v_adrnr
    up to 1 rows
    where vbeln = '0000010106'
    and parvw = '1A'.
    endselect.
    if sy=subrc eq 0 and V_adrnr is not intial.
    Select <Fields>
           from adrc
           into table <Internal tbale>
           where adrnr = v_adrnr.
    endif.
    Regards
    Jana

  • Query on inserting Address in SMARTFORMS.

    Hi All,
    In my Smartform there is an Address Node of type( Organization Address ) which fetches the Address of Sold-to or Ship-to party based on Country..
    Now we want that the Address which is fetched should all be converted to upper-case irrespective of the entry.
    Is there any tab in the standard Address node in smartform through which we can convert the address fetched to upper-case.
    OR
    Is it possible to check out for the fields which have been used in Organization Address so as to code it with variables from tables.
    Please let me know for the most appropriate solutions for this.
    Thanking you in advance.
    Sudip.

    Hi Sree,
    This is a standard Address-node which is being used.If you have seen any standard Address-node then you will remember.
    It appears as I have described below in the SMARTFORM Address-Node.
    Address         CUSTOMER_ADDRESS
    Description     Customer Address
    Type : Organization Address (Radio-button)
               Personal Address(Radio-button)
               Workplace Address(Radio-button)
               Determine Dynamically (Radio-button)
    Address Number       &Z_CUST_ADDR_NUMBER&
    Person Number
       Output Starts with Paragraph             *
       Number of Lines to be Used               4
       Sending Country                          US
       If PO Box and Street Exist:
       Fixed Language for Country Indicator
       Different Recipient Language
       Priority of Lines
    This is what is there in the SMARTFORM.I need to convert the Address fetched to uppercase.Is there any option in the Address node where we can convert to uppercase or any other way.If not then I need to get the exact fields from the Organization Address and code it.But as there can be many customers or Addressee from different countries like US or Africa then they can use different formats for Address like some can use Region in there Address some might not use it.
    So how do I code it also.
    Thanking in advance,
    Sudip.

  • Select statement to capture the vender address in SMARTFORM ?

    Hi All,
    I need help,i want to Capture the address and have to keep that address in vender address window of the smartform,
    For this I want to show the field form LFA1 that are NAME1,STRAS,ORT01,ORT02,PSTLZ,REGIO.
    I already kept address text for that but it is not collecting full Address and is collecing one field extra like "Republic Of India".
    Please any body send me the Coad for THIS .....
    Advence Thnks.

    Types: begin of TY_LFA1,
         NAME1 type LFA1-NAME1,
    STRAS type LFA1- STRAS,
    ORT01 type LFA1- ORT01,
    ORT02 type LFA1-,
    PSTLZ type LFA1- PSTLZ,
    REGIO type LFA1- REGIO,
         End of TY_LFA1.
    Data: WA_LFA1 type TY_LFA1.
    Parameter: lifnr TYPE lifnr.
    Select NAME1 STRAS ORT01 ORT02 PSTLZ REGIO
    into corresponding fields of WA_LFA1
    from LFA1
    Where Lifnr = Lifnr.
    If you are already getting Lifnr from some where remove the parameter statement and replace the where condition with the corresponding WA holding the lifnr value.
    Now while calling your Smart Function Module.
    add the WA in the Exporting part.
    Eg:
    CALL FUNCTION FM_NAME
    EXPORTING
    wa_lifnr = wa_lifnr.
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.IF SY-SUBRC <> 0.
    Now you will be able to use the Vendor data on the smart form

  • Regarding  Display of Invoice address in Smartform

    Hi  we are displaying invoice address in Smartfrom(ZBBP_PO)(Purchase Order Output). But it is displaying only in English.Even if the communication language of the user is DE(German),I debugged the program what i found is in ADRC(Addresses (Business Address Services)) table they are maintained particular address number
    in EN only.So to display the Invoice address in both language what can i do now?
    can i insert the table entry manually?
    wafting for help.
    Regards
    Channappa Sajjanar.

    Hi,
    You could log on in German and enter the invoice address.  However, my thought is that addresses don't translate.  For example, the address for SAP UK is
    Clockhouse Place,
    Feltham,
    Middlesex
    TW14 8HD
    ENGLAND
    In German this is;
    Clockhouse Place,
    Feltham,
    Middlesex
    TW14 8HD
    ENGLAND
    Regards,
    Nick

  • Address printing pb in smartforms

    hi all,
    I have problem in printing address in smartforms
    In customer master if i choose country US, address is printing properly
    If I choose Country IN, it is not printing.
    please guinde me how to solve this issue.

    Hi
    Are you using an Address Node in the Smartform to print Addresses? Use an address node, in the address node pass the Address Number and it will display the address.
    You can retreive the address number from the master table based on customer number and pass that variable to address node. You can use Program Lines to retreive the address number.
    Regards,
    Vishwa.

  • Printing address dynamivally on smartform

    Hi ,
    I have requirement to print address on smartform but not through vendor number.
    Header
    First 2 lines is Corporate Address     
    Read TVKO where VKORG= IS_BIL_INVOICE-HD_ORG-SALESORG and extract TVKO-ADRNR.
    Read Address Table (ADRC) where ADRC-ADRNR =TVKO-ADRNR
    Retreive
    - Name (NAME1 )
    - Street Name (STREET)
    - Street 2 (STR_SUPPL1)
    - City (CITY 1)
    - State (REGION)
    - Postal Code (POST_CODE 1)
    - Telephone (TEL_NUMBER) (Print this against Tel:Corp Off)
    Header
    3 line is Plant Address     
    Read V_T001W where WERKS= IS_BIL_INVOICE-HD_ORG-WERKS and extract WERKS-ADRNR.
    Read Address Table (ADRC) where ADRC-ADRNR = V_T001W -ADRNR
    Retreive
    - Street Name (STREET)
    - Street 2 (STR_SUPPL1)
    - City (CITY 1)
    - State (REGION)
    - Postal Code (POST_CODE 1)
    - Telephone (TEL_NUMBER) (Print this against Factory)
    this is my requirement. i should print address with the above logic

    Hello Madhavi,
    Look into these forum threads..
    Printing of address in smartforms
    More detail on Smartforms printing..
    Need information on SMARTFORMS
    br,
    Pushkar

  • Hyperlink in Smartforms not vworking in Lotus Notes

    Hi,
    I want to add a hyperlink (e-mail address), in smartforms that get triggerred through Action Profiles. I am facing a problem where in the smartform is opened in Lotus Notes.
    While opening the e-mail in Lotus Notes and placing the cursor on the e-mail field in the smart form, it does not provide the hyperlink kind functionality.
    Text:
    Your request has been forwarded to the following team:
    Team:          Support team, e-mail address
    Contact person:     Message processor (Full name, internal phone number)
    The e-mail address field as shown is not populated as a hyperlink in Louts Notes.
    Please help.
    Thanks,
    Rinkal

    Thank you Abhilash. Yes I tried those. This  is what i did:
    1. Created a text element in the smartforms with text 'MY URL'. Using the 'Insert URL' button (in the extreme right of the list of buttons) assigned hyperlink to it. The word changed to underline and in blue colour.
    2. I called function module HR_RCF_SF_URL_PREPARE_CALLBACK, in smartform. Also i tried calling in the report.
    3. Assigned the function module HR_RCF_SF_URL_CALLBACK in the URLCALL field of the FM that is calling the SF.
    Please let me know if i missed any steps.
    Thanks in advance,
    Karuna

  • Address in  script

    Hi folks,
      In Script, there is <b>no window</b> for the company address to display. but  my comany address is comming in the UPPER RIGHT hand side of the form.
       i checked in form painter. it is blank, where that script is displaying company address. i also checked in script editor. there is no INCLUDE text for that.
       how is it possible ??? how they are showing that address there??i want to display the same address in smartform as well.
    plz advice. i will reward points.
    Thanks
    madhu

    HI
    for smartform
    DATA ADDRESS LIKE ADRC OCCURS 0 WITH HEADER LINE .
    ADDRESS-ADDRNUMBER = '0000012345'.
    ADDRESS-NAME1 = 'ASHOK KUMAR P'.
    ADDRESS-NAME_CO = 'ASHOK ELECTRICAL'.
    ADDRESS-CITY1 = 'BANGALORE'.
    ADDRESS-CITY_CODE = '574241'.
    ADDRESS-PO_BOX_REG = 'ASH'.
    ADDRESS-COUNTRY = 'IN'.
    ADDRESS-REGION = 'KAR'.
    ADDRESS-TEL_NUMBER = '080252222'.
    APPEND ADDRESS.

  • Can't send smartform to external mail address

    Hi, everyone.
    Now, after creating some self-defined smartforms, we want to send its
    PDF copy to
    our external mail address. From this point, I had some try.
    Reference to SAP Library, I make a testing program named 'YPDF_TEST'.
    However, one exception always exists when running and error message id
    is 'XS806' - means
    "No delivery to &, invalid recipient address"
    I filled the address with following fields.
    [ dev_mail_recipient-logsys = 'CLNT600'.
    dev_mail_recipient-objtype = 'RECIPIENT'.
    dev_mail_recipient-objkey = '[email protected]'. ]
    I just can't understand the real reason why it doesn't work.
    Through debugging, I found the error occurs when handling the following
    codes
    in function "SX_ADDRESS_TO_DEVTYPE".
    [ swc_create_object o_recipient 'RECIPIENT' recipient_id-objkey.
    swc_get_property o_recipient 'CommunicationType' m_recipient-type.
    get_property_longvalue o_recipient m_recipient-address. ]
    On the current situation, if can't come over this problem,
    we may not build the connection and don't provide information in time.
    Failed to send, I yet try another function - added the tail but on earthdidn't get it ~~~
    Would you give me some hints or advice ?
    Any help is appreciated.
    ====================
    <i>REPORT ypdf_test .
    DATA: fm_name TYPE rs38l_fnam.
    DATA: my_control_pars TYPE ssfctrlop. "for CONTROL_PARAMETERS
    DATA: my_output_info TYPE ssfcrescl. "for JOB_OUTPUT_INFO
    DATA: output_options TYPE ssfcompop.
    DATA: e_devtype TYPE rspoptype.
    DATA: gw_lcprint TYPE ziebsflc001.
    DATA: bin_file TYPE xstring,
    bin_filesize TYPE i,
    ndiv TYPE i, offset TYPE i,
    nmod TYPE i.
    DATA: BEGIN OF bin_table OCCURS 0,
    x TYPE xstring,
    END OF bin_table.
    DATA: lines LIKE tline OCCURS 0.
    DATA: dev_mail_sender LIKE swotobjid, "B20K061818
    dev_mail_recipient LIKE swotobjid.
    DATA: dev_mail_applobj_tab LIKE swotobjid OCCURS 10 WITH HEADER LINE.
    DATA: param LIKE itcpp.
    my_control_pars-no_dialog = 'X'.
    my_control_pars-getotf = 'X'.
    Get genereated function name of Smartform
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'ZDEMO_SMART_FORM_PPF'
    IMPORTING
    fm_name = fm_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
    ENDIF.
    Get Device type
    CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
    EXPORTING
    i_language = sy-langu
    I_APPLICATION = 'SAPDEFAULT'
    IMPORTING
    e_devtype = e_devtype
    EXCEPTIONS
    no_language = 1
    language_not_installed = 2
    no_devtype_found = 3
    system_error = 4
    OTHERS = 5 .
    IF sy-subrc <> 0.
    ENDIF.
    output_options-tdprinter = e_devtype.
    set needed mail option
    my_control_pars-device = 'MAIL'.
    dev_mail_sender-logsys = 'CLNT600'.
    dev_mail_sender-objtype = 'RECIPIENT'.
    dev_mail_sender-objkey = 'CHI_DEV03'.
    dev_mail_recipient-logsys = 'CLNT600'.
    dev_mail_recipient-objtype = 'RECIPIENT'.
    dev_mail_recipient-objkey = '[email protected]'.
    CALL FUNCTION fm_name
    EXPORTING
    control_parameters = my_control_pars
    mail_recipient = dev_mail_recipient
    mail_sender = dev_mail_sender
    output_options = output_options
    ip_carrid = 'ID'
    ip_connid = '8290'
    ip_fldate = sy-datum
    ip_bookid = '12345678'
    ip_customid = '09876521'
    ip_luggweight = 90
    ip_wunit = 'KG'
    ip_smoker = 'X'
    IMPORTING
    job_output_info = my_output_info
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Another try ***
    *DATA: param LIKE itcpp.
    *DATA: BEGIN OF off_obj.
    INCLUDE STRUCTURE soodk.
    *DATA: END OF off_obj,
    ok TYPE c,
    msgid TYPE symsgid,
    msgno TYPE symsgno,
    msgv1 TYPE symsgv,
    msgv2 TYPE symsgv,
    msgv3 TYPE symsgv,
    msgv4 TYPE symsgv.
    *DATA: dev_mail_applobj_tab LIKE swotobjid OCCURS 10 WITH HEADER LINE.
    *CALL FUNCTION 'CONVERT_OTF_AND_MAIL'
    EXPORTING
    mailoptions = param
    mail_sender = dev_mail_sender
    mail_recipient = dev_mail_recipient
    IMPORTING
    office_objid = off_obj
    mail_ok = ok
    msgno = msgno
    msgid = msgid
    msgv1 = msgv1
    msgv2 = msgv2
    msgv3 = msgv3
    msgv4 = msgv4
    TABLES
    mail_application_object_ids = dev_mail_applobj_tab
    otf = my_output_info-otfdata.</i>

    Hi,
    You can follow a different approach. Send the output of the Smartform to the spool.
    You have a Function Module to read the spool and convert it to PDF . Then there is one more function module to attach the PDF and send it as a mail.
    You need to configure SMTP in Tcode : SCOT.
    Search the forum with emailpdfattachment
    You have umpteen postings available.
    Pls reward if useful.
    Regards,
    Laxman Nayak

  • In smartform address element ?

    hi guru's.
                  i am doing purchase order smartform in that address window displaying like this
                                   The Post Office
                                   Post Office Headquarters
                                   33 Grosvenor Place
                                   London
               but i want to modify like this
               ADDRESS:     The Post Office
                                     Post Office Headquarters
                                     33 Grosvenor Place
                                     London
    please let me how to proceed for this requirement.
    regards,
    satheesh.

    Hi Satheesh,
          Are you using ADDRESS WINDOW to display the address????
    If Yes ...
    Then CREATE two windows and allighn it side by side .
    Create one Text element on the left side Window and write "ADDRESS" inside the text.
    The Right side window will contain the ADDRESS .
    It will be displayed as given below.
    ADDRESS:  The Post Office
               Post Office Headquarters
               33 Grosvenor Place
               London.
    If U are not using ADDRESS window,
    then the only way to display like this is
    to create a TEMPLATE with 4 columns, create TEXT elements for each columns
    and in the text element of FIRST column write ADDRESS: &wa_post_office&.
    The advantage when we use Address is we need to just pass the address number , but if we use
    template then we need to write select statement , and fill some workarea with
    the address  details and display those work area fields in the TEMPLATE.
    Regards.
    Avi....

Maybe you are looking for