cancel
Showing results for 
Search instead for 
Did you mean: 

adress in smartform

Former Member
0 Kudos

I m fetching from adrc table as

name1

name2

street

str_suppl1

city,

region.

in getting there r no values for name2 and str_suppl1 in table

so i am getting space there.

so i hav to remove those spaces and i hav to get address without spaces.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

hi,

even i got the same problem.

solution is plesase check the last tab (conditions). and give the proper condition , i will definetly sove your problem..........

thanks

pradeep

Former Member
0 Kudos

Hi,

first you will check name2 and str_suppl1 retrieved from

ADRC table.

For removing spaces for those fields, in text editor you will give

&i_adrc-name2(C)&

&i_adrc-str_suppl1(C)&

pls award the points , if help ful

Thanks & Regards

Bhupal.

Former Member
0 Kudos

You must be trying in development. Please check in quality and production . All your fields get filled and no gaps will be found(provided if data exist).

Swetha.

Former Member
0 Kudos

i m getting the error like"Error in address output (name not filled)."

Former Member
0 Kudos

In case you are not using address window and you are going for manually printing with field names in a secondary window then please check for the sign & and also check what field you are passing. In your print program better you debug to find whether name is getting filled there.

Swetha

Former Member
0 Kudos

Hi,

As you are not using ADDRESS and ENDADDRESS functionality, you have to check whether NAME1 or NAME2 or initial.

ex: IF &NAME1& is not &SPACE&

print Name1

ELSEIF &NAME2& IS NOT &SPACE&

NAME 2

I hope there is no solutions with

IF

ELSEIF

ENDIF

Reward if helpful.

Bye

Former Member
0 Kudos

hi

Create an address window and pass the address no to it....this will solve the problem. System will handle all the formatting needed.

Former Member
0 Kudos

even if i m passing the address number i m not getting any address in the printpreview

Former Member
0 Kudos

It should have worked(did you use &V_adress_no& in the address no parameter)?..ne way you can try this:

/: ADDRESS [DELIVERY] [TYPE t] [PARAGRAPH a][ PRIORITY p] [LINES l]

/: TITLE form of address

/: NAME name1[, name2[, name3[,name4]]]

/: PERSON name of natural person [TITLE form of address]

/: PERSONNUMBER number of the person

/: DEPARTMENT department

/: STREET strno HOUSE house number

/: POBOX pobox [CODE code]

/: POSTCODE postal code

/: CITY city1[,city2]

/: REGION district

/: COUNTRY recipient country

/: FORMCOUNTRY sender country

/: ENDADDRESS

Former Member
0 Kudos

i didnt get wat u did for address.

how to give adress no in adress parameter in adres window

i m getting error like error in output address.

how to solve this?

Former Member
0 Kudos

while selecting from ADRC table u r using adress number right??

pass that adress no in the address window

\You create a adrres window by right clickg on the main window node>create>address.

There u will find adress number parameter...

if u use a variable for adress no. put that variable in '&' and pass it to the parameter.

like &v_add_no&