on 10-15-2007 7:25 AM
im developing excise invoice script
Code No.,,&J_1IREGSET-J_1IEXCCD&
Reg. No.,,&J_1IREGSET-J_1IEXCRN&
Range. ,,&J_1IREGSET-J_1IEXCRG&
Division,,&J_1IREGSET-J_1IEXCDI& with SM as paragraph format.
when im giving print,im getting data as this:
Code No. 1234567
Reg. No. 456789
Range. c/o dukes & sons
LTD . RANGE 2 ANDHERI
Division CHEMBUR .
I want Range the same alignment as remaining fields
ie; .LTD . RANGE 2 ANDHERI should start from where ' c/o dukes & sons' is starting. please help.
Define a paragraph format.with tab positions.
The second tab position should be equal to the start point of where you want to start the display of the second line of the address.
Then call that tab,So that your address will be aligned as per your requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To get the output as per your requirement.
First split the content of variable J_1IREGSET-J_1IEXCRG
into 2 variables.in the driver program of this sapscript
wrk_range1 = J_1IREGSET-J_1IEXCRG+0(15).
wrk_range2= J_1IREGSET-J_1IEXCRG+ 15(30).
Then in the sapscript
change the code as
Code No.,,&J_1IREGSET-J_1IEXCCD&
Reg. No.,,&J_1IREGSET-J_1IEXCRN&
Range. ,,&WRK_RANGE1& ****to display first 30 character
,,&WRK_RANGE2& ****to display rest.
Division,,&J_1IREGSET-J_1IEXCDI&
Message was edited by:
joffy john
Hi
ADDRESS and ENDADDRESS is used to specify the address which will
be formatted according to the target country i.e the recipient country.
e.g. /:ADDRESS sales PARAGRAPH C
/:NAME &KNA1-NAME1&
/:STREET &KNA1-STRAS&
/:POSTCODE &KNA1-PSTLZ&
/:CITY &KNA1-ORT01&
/:COUNTRY &KNA1-LAND1&
/:FROMCOUNTRY 'DE'
formatting address
http://help.sap.com/saphelp_46c/helpdata/en/d1/803238454211d189710000e8322d00/frameset.htm
http://help.sap.com/saphelp_40b/helpdata/en/d1/803238454211d189710000e8322d00/content.htm
Reward if usefull
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Please check your variable and paragraph format. If necessarily check font size how you are using.
please reward ponts if it is helpful
thanks & regards
venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U check the variable .As in the varaible it is like that its printing like that.
change the variable.
if u want to print like this
c/o dukes & sons LTD .
RANGE 2 ANDHERI.
change the width of window.
If this is not correct clearly send me how to print
Assign points if useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.