on 2005 Jul 25 10:38 PM
Hi,
I am trying to fetch data from transaction cc03 for SAPScript. There is a field called "Status" whose data I want to fetch.
When I click F1 , I get the data element from technical specification as CO_STTXT and structure as CAUFVD.
I click on data element CO_STTXT, and go to where used option.
But that data element is not associated with any table field but with some structures.
If I know the table name I can extract the data from the table by declaring the table in program but how do I fetch the data whose data element is associated with only structures but not with any tables ?
Points will be awarded...
Thanks.
Tushar
Use FM STATUS_TEXT_EDIT.
CALL FUNCTION 'STATUS_TEXT_EDIT'
EXPORTING
FLG_USER_STAT = 'X'
OBJNR = CAUFV-OBJNR
ONLY_ACTIVE = 'X'
SPRAS = SY-LANGU
BYPASS_BUFFER = 'X'
IMPORTING
LINE = W_STTXT
EXCEPTIONS
OBJECT_NOT_FOUND = 01.
where w_sttxt is the status and CAUFV-OBJNR is the object number for the order from view CAUFV.
enjoy! Guess points are in order!
Rishi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
13 | |
11 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.