cancel
Showing results for 
Search instead for 
Did you mean: 

How to print delivery address in samrtforms

Former Member
0 Kudos
114

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

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

former_member555112
Active Contributor
0 Kudos

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