Skip to Content
avatar image
Former Member

SO10 'if' for field KZABS in Purchase Order

Hello Experts,

I'm bit fresh in SO10 commands so I need your assistance. I would like in Purchase order field KZABS if it is set than one text if not other. Currently I have something like this

/: IF LS_MEPOITEM-KZABS = 'X'
B KZABS = is field                                                                       
/: ELSEIF LS_MEPOITEM-KZABS = ' ' * KZABS = is blank
/: ENDIF



Thanks for any help!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Sep 21, 2015 at 10:55 AM

    Hi Tomasz,

    Try below

    /: IF &LS_MEPOITEM-KZABS& = 'X'
    B &KZABS& = &is field&                                  " Pass field or value       
    /: ELSEIF &LS_MEPOITEM-KZABS& = ' '

    * &KZABS& = ' '

    /: ENDIF

    Regards,

    Pratik

    Add comment
    10|10000 characters needed characters exceeded