on 10-24-2014 10:38 PM
Hello All,
I have a quick question in ABAP and hopefully one of you experts will be able to help answer it.
I am currently writing a FM in CRM that takes all the open service orders by:
READ TABLE gt_status INTO gs_status WITH KEY guid = gs_order_head-guid
user_stat_proc = 'ZSOSTH'
txt30 = 'Open'
active = 'X'.
How do I make it so I can also read Open AND Deliver Solution AND ... AND .. service orders. I would like the FM to output more than one status other than 'open'.
Any help or direction would be appreciated.
thanks.
Hi James,
You can using
Loop at gt_status into wa_status where guid = gs_order_head-guid
and user_stat_proc = 'ZSOSTH'
and txt30 = 'Open'
and active = 'X' and .and . and..
Append wa_status into itab. "(destination internal table with you wanted status).
Endloop.
Regards,
Archer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.