Skip to Content
avatar image
Former Member

How to print delivery address in samrtforms

HI,

How can i print on a smartform the below given delivery address.

Delivery Adress (*) CHAR 8

VBAK-KUNNR (Customer)

KNA1-NAME1 (via KNA1-KUNNR) (Name)

KNA1 NAME2 (Name)

KNA1-STRAS (Street)

KNA1-NAME3 (tav. Person)

KNA1-PSTLZ (Postal Code)

KNA1-ORTO1 (City)

KNA1-LAND1 (Country)

KNA1-TELF1 (Phone Number)

pls pass some example or qurey so that i can make it use of that in my req.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Sep 10, 2009 at 07:31 AM

    Hi,

    Either you fetch all the details from KNA1 by matching KUNNR and print using text elements or

    create an adress window and from KNA1 fetch ADRNR of the customer by matching KUNNR.

    Pass the ADRNR to the address window and the other details will be printed automatically.

    Regards,

    Ankur Parab

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 10, 2009 at 07:33 AM

    Can you please tell, what data are you getting from interface.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 10, 2009 at 08:12 AM

    Hi,

    Create a window in smartform and create address window and pass the adrnr number to it .

    It displays the address details.

    Or

    Pass these variables from the driver program and then display them.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 10, 2009 at 09:29 AM

    for your address format standard ADDRESS not support, because the standard Address format have options like Street address or Postcode address. for your address format need a select query from ADRC table and pass it.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 10, 2009 at 09:43 AM

    Hi Deepti,

    Try this out,

    1. Declare variable ADRNR in Import Parameters like ADRNR TYPE ADRNR.

    2. Create a seperate Window to display Address.

    3. Create a Address Node in that window,

    4. Assign an address number as &ADRNR&.

    5. In the Conditions tab maintain as ADRNR space

    6. Get Data for ADRNR variable in Print Program and pass that value in Smartform Function Module for ADRNR Parameter.

    Best of Luck !!

    if u find the information useful please ack it .....

    Thanks

    Ravi

    Add comment
    10|10000 characters needed characters exceeded