‎2010 May 25 1:13 PM
Hi All,
I have a problem with the script form please find below coding
ADDRESS DELIVERY PARAGRAPH AS 6 LINES
ADDRESSNUMBER &PEEKO-ADRNR(K)&
ENDADDRESS
in the address window for the field value of STRAS not printing correctly. it is trucation first 4 values and it is printing remaining text .
ex : actual text : 44, sidney road.
it was printing : sidney road....
Please guid me how to print first 3 vaules.
Advanced Thanks for you all
Regards
Sudhakar
‎2010 May 25 3:46 PM
You probably should specify the fromcountry parameter.... Check table ADRC contents for the failing and the work addresses. You may find that the house number field is being used inconsistently in your master data....e.g., sometimes house number may be populated but not included in ADRC-STREET, and sometimes populated into ADRC-STREET.
SAPScript uses FM ADDRESS_INTO_PRINTFORM....test that with your address number and look at what the FM is returning...
‎2010 May 25 1:29 PM
Hi sudhakar
what's the code you use for print stras???
Regards
marco
‎2010 May 25 1:40 PM
‎2010 May 25 1:42 PM
The code is below
ADDRESS DELIVERY PARAGRAPH AS 6 LINES
ADDRESSNUMBER &PEEKO-ADRNR(K)&
ENDADDRESS
The above code is printing entire address except STRAS
‎2010 May 25 1:49 PM
hi sudhakar v
maybe the address is printed in the country format...you not see 44 because it is on the footer of the
address and the window is not large enough for all the text
regards
Marco
‎2010 May 25 2:29 PM
Hi,
Yes you are correct the address is printing by passing country..
some text of STRAS is truncating... but same window for SOME PO'S it is printing correctly
Regards
Sudhakar
‎2010 May 25 2:36 PM
Maybe because the text is smaller then your example...try to make larger the window..
best regards
Marco
‎2010 May 25 3:46 PM
You probably should specify the fromcountry parameter.... Check table ADRC contents for the failing and the work addresses. You may find that the house number field is being used inconsistently in your master data....e.g., sometimes house number may be populated but not included in ADRC-STREET, and sometimes populated into ADRC-STREET.
SAPScript uses FM ADDRESS_INTO_PRINTFORM....test that with your address number and look at what the FM is returning...
‎2010 May 26 2:18 PM
Hi,
Just go to the function module addr_get.
Execute the function module n click on address _selection.
Enter ur address number go back n again execute.
Now u wil get ur output in sadr.Click on sadr n jus check what is coming in stras field.