Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

To read the fields from the structure Q0743

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

I guess, you can read values using simple SELECT statement.

Edited by: S Hariharan on Sep 16, 2008 7:06 AM

Former Member
0 Kudos

Hi,

The structure doesn't contains any values/records. Can you explain what do you mean by reading values?

former_member217544
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

hi priyanka,

u can see the following tables for your query

PA0743

T5RPBS10DT

thanks.

Former Member
0 Kudos

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