Skip to Content
avatar image
Former Member

fields value character type to convert to interger type .

Hi

In internal table fields name are department , degination , workers .

degination values are ex- manager , workers , senier manager .

so i want to perticular date in one department how many worker are working , traine , manager are in interger value .

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 06, 2007 at 10:21 AM

    Sorry Dear ... i am unable to understand urr Question kindly be more specific..

    for what i have understood is that u want to convert int to date or vice verse

    for this you need two variable of each type(date var_D and char var_I)

    u can use move statement to do this

    move var_D to var_I..

    or move var_I to var_D..

    -


    if u are accepting some date from the user better accept in date format..

    parameters : var_D type D.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 06, 2007 at 11:03 AM

    Hi

    In internal table fields name are department , degination , workers .

    dept. degination

    IT manager

    ass. manager

    IT officer

    IT officer

    IT officer

    mines workers

    workers

    workers

    workers

    manager

    manager

    so i want to output is

    dept . manager officer workers

    IT 2 3

    mines 1 3

    what is the syntax pls tell me quickly ...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 06, 2007 at 11:08 AM

    Hi

    In internal table fields name are department , degination , workers .

    dept. degination

    IT manager

    ass. manager

    IT officer

    IT officer

    IT officer

    mines workers

    workers

    workers

    manager

    manager

    so i want to output is

    dept . manager officer workers

    IT 2 3

    mines 1 3

    what is the syntax pls tell me quickly ...

    Add comment
    10|10000 characters needed characters exceeded