Skip to Content
avatar image
Former Member

urgent

Hi experts,

what is the difference betwenn

vbak-meins

and vbak-meins(C) in sapscripts

thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    May 29, 2008 at 06:32 AM

    Hi,

    meins(c) condence the spaces before the value display,where as meins not like that.

    Like:

    &symbol(Z)& Omit Leading Zeros

    &symbol(S)& Omit Leading Sign

    &symbol(<)& Display Leading Sign to the Left

    &symbol(>)& Display Leading Sign to the Right

    &symbol(C)& Compress Spaces

    &symbol(.N)& Display upto N decimal places

    &symbol(T)& Omit thousands separator

    &symbol(R)& Right justified

    &symbol(I)& Suppress output of the initial value

    Regards,

    Shiva Kumar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 29, 2008 at 06:35 AM

    Hi ,

    vbak-meins pritnts what ever the data in vbak-meins where as

    VBAK-MEINS in sapscripts compresses leading spaces if there any spaces in

    for suppose

    the value in VBAK-MEINS is ' BB' if you use &VBAK-MEINS& directly it prints as it is if you want to compress leading space you have to use &VBAK-MEINS(c)&

    Thanks,

    NN.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 29, 2008 at 06:55 AM

    Hi Karthick

    when u display

    -> vbak-meins

    The output will include blank spaces

    for eg: if the value is 9000, but the field can have a value of 16digits, so, it will take the include the blank spaces while displaying it in output.

    ->vbak-meins(C)

    In dis, it will compress 12 blank spaces to one.

    Output if the value is 9000 then

    vbak-veins will display "____________9000"

    vbak-meins(C) will display "_9000"

    consider "_" as blank spaces.

    Basically it is used in formatting..

    ->Hope this info will help you.

    ->Regards with Points if you find this info helpful.

    Karan

    Add comment
    10|10000 characters needed characters exceeded

  • May 29, 2008 at 07:04 AM

    hi,

    it is used to condense the output field

    &symbol(C)& Compress Spaces

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 29, 2008 at 09:39 AM

    Hi

    This is a formatting option.

    (C) means condence

    It makes multiple spaces int single space

    eg. 'abc----


    def' to 'abc-def' - is a space

    points if useful

    Cheers

    Vamshi

    Edited by: vamshi dhar on May 29, 2008 11:40 AM

    Add comment
    10|10000 characters needed characters exceeded