Application Development and Automation 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: 
Read only

F140_ACC_STAT_01 script wrong address display

Former Member
0 Likes
783

hi

i am using this as driver program RFKORD to print the form

F140_ACC_STAT_01 problem is i am not able know from where the addresss is being picked from

This is about Account Statement printing output. The Logo has displayed in NZ (correct) but the address is still in Australia (wrong). It should be New Zealand Address.

can u pls help me with a solution

or at least from where the address is being picked in there based on which condition.

with regards

siddhartha

4 REPLIES 4
Read only

Former Member
0 Likes
669

Hi,

I think the problem is that the adress from the logo comes from table t001 and sadrp and the adress comes from structure DKADR that is KNA1/KNB1 or LFA1/LFB1.

Hope it helps...

Regards.

Read only

0 Likes
669

dear mireia santaliestra

i found tht the address is coming from kna1/knb1...lfa1/lfb1 but its takeing wrong address there can u pls tell me based on which conditon its picking the address i found a conditon above it based on ADRNR (address no ) can u pls tell me if it is picking address based on it??

with regards

siddhartha

Read only

0 Likes
669

hi siddhartha,

The Customer / Vendor address is picking up from KNA1 or LFA1 based on Account type i.e BSEG-KOART .

If you don't want to print the customer statements other than your company then you have to change the <u>print program</u> . If it is note possible then in lay out you ahev to add the following IF condition for all windows :

IF RAADR-LAND1(Company Code Country) <> DKADR-LAND1(customer/Vendor Country).

Hope this may help you.

Lanka

Read only

Former Member
0 Likes
669

Hi sid,

Please note for Customer statement F140_ACC_STAT_01 logo is for Company code and address is customer address.

Please check your customer address.

Lanka