‎2008 Apr 18 6:44 AM
Hi All.
pls explain this code.
Its from SAP script (Edit text)
&j_1iexcdtl-maktx&,,&j_1iexcdtl-Chapid(12)&,,&MENGE1(13)&
Eg: Chapid(12)&,,&,,&MENGE1(13)& what is use of (12) and (13) after symbol?
Pls explain me,
Reward all helpful answers.
Regards.
Jay
‎2008 Apr 18 6:47 AM
hi,
The menge has length of 13 and 3 decimals....
The quantity fields should not exceed the length so we are restriciting the length
Regards,
priya
Edited by: Banupriya R on Apr 18, 2008 7:47 AM
Edited by: Banupriya R on Apr 18, 2008 7:49 AM
‎2008 Apr 18 6:50 AM
Hello Jay,
The number written in ( ) indicates the length of that field
and also ,, indicates one tab space in the output.
Hope its Useful..
Regards,
Kota
‎2008 Apr 18 6:52 AM
Hi,
(12) and (13) is the maximum length that is assigned to the value of both fields.
pls reward points if useful.
‎2008 Apr 18 6:56 AM
Hi Jay @ ,
This is the table for Excise duty availed on a material.i.e if a Material contains some Excise duties then this table comes into Picture, and about (12),(13) is the lenght of the field,
i.e
Chapid(12) means chapter id of material and in output it should only display 12 charecters
&MENGE1(13)& means this field in output ,it displays only 13 charecters.
(12) describes Length of that field at output.
if u change it to Chapid(11) then then at output i can see only 11 charecters of that field.
Hope this solves u r problem.
Reward points if found helpful.
Thanks and regards,
Rajesh.
‎2008 Apr 18 7:22 AM
Depending on the source, the value of a symbol comes from, they can be categorized as follows:
- SYSTEM symbols
- PROGRAM symbols
- STANDARD symbols
- TEXT symbols
FORMATTING of the symbol can be done in following different ways:
&SYMBOL+ 4& = Off set
&SYMBOL(5)& = Length
&SYMBOL(I)& = If the symbol is initial, output nothing
&SYMBOL(Z)& = Suppress leading zeros
&SYMBOL(C)& = Compress blanks
&SYMBOL(R)& = Right-justified output
&SYMBOL(S)& = Suppress +/- sign
&SYMBOL(5,2)& = Decimal place formatting
&SYMBOL(E3)& = Exponential notation
&text1SYMBOLtext2& = Concatenation of symbol and text
Examples :
1. If
data : v_alfa(9) type c default '123456789'.
then
&V_ALFA(5)& will print 12345
&V_ALFA+5(4)& will print 6789
Please Reward, If Helpful
Ajay Jangid
IBM India Pvt. Ltd.