Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Address printing problem in Proforma invoice

Former Member
0 Kudos

Hi,

I am facing funny address printing problem. Actually I have created proforma invoice with BILL TO and SHIP TO PARY as same.....

In master data I have maintained name1, name2, name3 and name4, street 1 , street 2 and street 4 and street 4, fax no etc....

But when i print Pro-invoice

In Bill-to party address its showing full address...

But in Ship-to party its showing some of fields only ... i.e its truncating name3 , street 3....

Why the difference...

Here is code in my form:

/E HEADER_CONSGNEE

H1 Ship To:,,&VBDKR-KUNWE&

/: ADDRESS DELIVERY PARAGRAPH H2

/* TITLE &VBDKR-ANRED_WE&

/* NAME &VBDKR-NAME1_WE&, &VBDKR-NAME2_WE&

/* STREET &VBDKR-STRAS_WE&

/* POBOX &VBDKR-PFACH_WE& CODE &VBDKR-PSTL2_WE& C

/* POSTCODE &VBDKR-PSTLZ_WE&

/* CITY &VBDKR-ORT01_WE&, &VBDKR-ORT02_WE&

/* REGION &VBDKR-REGIO_WE&

/: ADDRESSNUMBER &W_SHIPTO_ADRNR&

/: COUNTRY &W_SHIPTO_LAND1&

/: FROMCOUNTRY &VBDKR-SLAND&

/: ENDADDRESS

/E HEADER_CONSGNEE

H1 Bill To:,,&VBDKR-KUNRE&

/: ADDRESS DELIVERY PARAGRAPH H2

/* TITLE &VBDKR-ANRED_WE&

/* NAME &VBDKR-NAME1&, &VBDKR-NAME2&, &VBDKR-NAME3&, &VBDKR-NAME4&

/* STREET &VBDKR-STRAS&

/* POBOX &VBDKR-PFACH& CODE &VBDKR-PSTL2& CITY &VBDKR-PFORT&

/* CODE &VBDKR-PSTL2& CITY &VBDKR-PFORT&

/* POSTCODE &VBDKR-PSTLZ&

/* REGION &VBDKR-REGIO&

/* CITY &VBDKR-ORT01&, &VBDKR-ORT02&

/: ADDRESSNUMBER &W_BILLTO_ADRNR&

/: COUNTRY &W_BILLTO_LAND1&

/: FROMCOUNTRY &VBDKR-SLAND&

/: ENDADDRESS

Is they maintained address formats differently for SHIP TO AND BILL TO PARTIES?????? If so where we will maintain that??????

Thanks & Regards,

Rayudu

3 REPLIES 3

naimesh_patel
Active Contributor
0 Kudos

Hello,

If you want to display full address on the script, try to facth the address data from ADRC based on the Addressnumber.

Regards,

Naimesh

PS: Reward points, if you find useful...!!

Former Member
0 Kudos

Hi,

All the ship-to party and bill-to party addresses are maintained in SADR Table.

What you can do is find out how you are populating your varaibles i.e from which table in your driver program,then at run time get the corresponding values by debugging your driver program.And cross check the value from the SADR table using the Address number(ADRNR).

Do reply if u need more info.

Please Reward if it's helpful enough.

Former Member
0 Kudos

Try to find out address number for the ship-to and bill-to then go to ADRC table and search for the fields which you u need to print(name 3,street 3)in the form.

If address data is there in ADRC table for those 2 fields it wil disply in the form also.