We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-abap] Internal Structure

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from kerum on Sep 19 at 7:08 AM
You have defined the field FIRST_COLUMN with the same type as the field MATNR in the table MARC. And its definition in Dictionary (Trasaction SE11) is CHAR 18. So why are you suprised?

---------------Original Message---------------
From: Jessie
Sent: Monday, September 18, 2017 6:50 AM
Subject: Internal Structure

Hi,
I defined a structure :

types: begin of TY_F,
first_colum LIKE marc-matnr,
second_colum LIKE marc-werks,
end of TY_F.
data T_F type table of TY_F.

And I would like to do something like "describe data" and get a table with
the fieldname, the table reference, the field reference :

- FIRST_COLUM / MARC / MATNR
- SECOND_COLUMN / MARC / WERKS

Is there any way to achieve this ?


-----

So far, with "cl_abap_typedescr" I get the keys (MATNR and WERKS) and the datatype/ length (C18 and C4)

But What I need is to know WHY it is C18 : it comes from MARC-MATNR

-------

Thanks

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
© 2017 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
kerum  
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language