‎2006 Dec 08 5:59 AM
hi all,
my
SELECT-OPTIONS : s_prctr FOR bseg-prctr.
as PRCTR length is 10 so in selection screen disply also
it is taking 10 only.but my client require that
in selection screen disply it should display its length should be 8.
bcoz there PRCTR (profit centre) is of 8 digits only.
he wants that it should display only 8 spaces not 10.
whether it is possible.
‎2006 Dec 08 6:04 AM
tables:mara.
SELECT-OPTIONS: sel FOR mara-matnr VISIBLE LENGTH 8.
‎2006 Dec 08 6:04 AM
HI Sanjeev
You can try using Additions VISIBLE LENGHT <len> to the select-options.
SELECT-OPTIONS : s_prctr FOR bseg-prctr visible length 8.
Though in selection-screen the display is for only 8 characters, it can take input for 10 chars.
Alternatively, you can declare your own variable and give the match code for reference.
Kind Regards
Eswar
‎2006 Dec 08 6:33 AM
hi eshwar,
thanks for the reply.i have given u points for the same it has solved my purpose.but i want to know
how
you can declare your own variable and give the match code for reference.
plz give me steps for the above so that i can go with that also.
hope u will reply me
‎2006 Dec 08 6:36 AM
‎2006 Dec 08 6:04 AM
tables:mara.
SELECT-OPTIONS: sel FOR mara-matnr VISIBLE LENGTH 8.
‎2006 Dec 08 6:05 AM
Hi,
Just give
SELECT-OPTIONS : s_prctr FOR bseg-prctr VISIBLE LENGTH 8.
‎2006 Dec 08 6:06 AM
HI Sanjeev,
The offset specification with select options is not allowed.
U can search for any other related field for PRCTR of length 8.
Hope this help[s.
‎2006 Dec 08 6:07 AM
try this
tables bseg.
SELECT-OPTIONS : s_prctr FOR bseg-prctr visible length 8.
regards,
vijay
‎2006 Dec 08 6:07 AM
Hi,
SELECT-OPTIONS : s_prctr FOR bseg-prctr VISIBLE LENGTH 8.
‎2006 Dec 08 9:24 AM
Hi sanjeev,
U can easily do it...u have an opton called visible length option which u can type in ur select options code so that u can do wat u require...
SELECT-OPTIONS : s_prctr FOR bseg-prctr VISIBLE LENGTH 8.
regards
Rajkumar.G