09-16-2008 5:59 AM
Hi ,
There's a requirement to read the values of the following fields OUTTX,OUTDE,OUTDF from the Structure Q0743.
Please guide me in how to go about in retrieving these values.
Thanks and Regards,
Priyanka
09-16-2008 6:06 AM
I guess, you can read values using simple SELECT statement.
Edited by: S Hariharan on Sep 16, 2008 7:06 AM
09-16-2008 6:10 AM
Hi,
The structure doesn't contains any values/records. Can you explain what do you mean by reading values?
09-16-2008 6:19 AM
Hi,
Iam not sure but check teh followign tables:
T5RPBS10DT - For outtx field
PA0743 - For outde and outdf fields
Fields for OUTDE :
OUDE1,OUDE2,OUDE3
Fields for OUTDF :
OUDF1,OUDF2,OUDF3
Hope this will be useful.
Regards,
Swarna Munukoti
Edited by: Swarna Munukoti on Sep 16, 2008 7:20 AM
09-16-2008 6:27 AM
hi ,
pls try this...
**Code to read internal table of type BDCMSGCOLS.
TABLE T100 HAS FOLLOWING FIELDS
SPRSL TYPE SPRAS (Language)
ARBGB TYPE ARBGP (BUSINESS AREA)
MSGNR Message number (3C)
TEXT Message Text (Type 73C)
LOOP AT MESSTAB. "Int Table of TYPE BDCMSGCOLS
SELECT SINGLE * FROM T100 WHERE SPRSL = MESSTAB-MSGSPRA
AND ARBGB = MESSTAB-MSGID
AND MSGNR = MESSTAB-MSGNR.
IF SY-SUBRC = 0.
L_MSTRING = T100-TEXT.
IF L_MSTRING CS '&1'.
REPLACE '&1' WITH MESSTAB-MSGV1 INTO L_MSTRING.
REPLACE '&2' WITH MESSTAB-MSGV2 INTO L_MSTRING.
REPLACE '&3' WITH MESSTAB-MSGV3 INTO L_MSTRING.
REPLACE '&4' WITH MESSTAB-MSGV4 INTO L_MSTRING.
ELSE.
REPLACE '&' WITH MESSTAB-MSGV1 INTO L_MSTRING.
REPLACE '&' WITH MESSTAB-MSGV2 INTO L_MSTRING.
REPLACE '&' WITH MESSTAB-MSGV3 INTO L_MSTRING.
REPLACE '&' WITH MESSTAB-MSGV4 INTO L_MSTRING.
ENDIF.
CONDENSE L_MSTRING.
WRITE: / MESSTAB-MSGTYP, L_MSTRING(250).
ELSE.
WRITE: / MESSTAB.
ENDIF.
ENDLOOP.
SKIP.
ENDIF.
09-16-2008 6:32 AM
hi priyanka,
u can see the following tables for your query
PA0743
T5RPBS10DT
thanks.
09-16-2008 6:33 AM
Structure can't be used to read values.
But if you want to read the values of above mentioned fields then go to
to the structure.Double click on the data elements of the fields.Then click on 'where-used' icon from the menu.By trial and error, you can find the values for the same.Look for tables where the respective fields are used as primary keys.
Regards,
Jeet Bhatt