on 06-24-2009 8:32 AM
Hi Guru's,
I need to find the object status(STAT) in run time environment (active/inactive) for the respective Object number at item levels(OBJNR) in a user exit for transaction VA01 and VA02 to get the result of legal check as u201CCompliantu201D or u201CNon-compliantu201D sales order.
Tnanx
Sanjit
try to use SAP FM to retrieve current object status (all statuses, then you can check if inactive flag is set for your status)
NOTE: status text is stored in tj30t, field TXT04. (you may also select from jest table, but I would try to get it from buffer first)
call function 'STATUS_BUFFER_EXPORT_TO_MEMORY'
exporting
i_memory_id = 'BSVA_VBK_STATUS'
exceptions
others = 1.
No need to check the return code
Retrieve the user status internal table from memory
import jest_buf to jest_mem
from memory id 'BSVA_VBK_STATUS'.
free memory id 'BSVA_VBK_STATUS'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.