on 09-21-2015 11:35 AM
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!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It needs to make use of Function module 'Read_text' to retrieve the text via SO10.
So, at the related Text element, call the above FM with the conditions on PO field, kzabs in similar as below:
/: IF&LS_MEPOITEM-KZABS& =' ' - does not display anything
*call 'Read_text'
/: ELSEIF &LS_MEPOITEM-KZABS& = 'X' - displays the value when on PO the flag is set
* do nothing
/: ENDIF.
Regards,
Suren.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.