ABAP TYPE Builder
Dear User / Experts, We can use ABAP TYPE Builder in ABAP Workbench to minimize our efforts in custom TYPES Creation in our report .
Below are the steps to use ABAP TYPE Builder effectively. This feature is provided by SAP as on NW 7.3
STEP 1 : To create a structure we normally go to T-Code SE11 & copy all the Structure / Table fields & paste it in our report.
But you can avoid it by the following ABAP Type Builder. Inupt a ABAP Key Word for e.g Type
STEP 2 : Press Control + Space to let the workbench List the possible Keywords starting with Typ*
STEP 3 : Keep Pressing SHIFT BUTTON & Doble click on TYPES : a ABAP Type Builder Dialog Screen will appear.
STEP 4 : Provide a structure name For e.g like VBAK or any structure you have created in ABAP DATA Dictionary.
STEP 5 : Click on Preview TYPE button & all fields of that structure will appear.
STEP 6 : You can Select or deselect any of the fields you wish for your structure in your report & at the end press ok.
The structure will be generated in your report.
Thanks & Regards
Thanks for the update. This surely will be helpful. 🙂
Thanks for the Reply
Good Man. New innovation for me 🙂 .. It will help me code my task and will save my time and effort also 🙂
Thanks for sharing 🙂
Good information. its useful for Non ABAPers. thanks for sharing.
Old wine in a new bottle.
Older systems used to do this using Call Pattern > Structured Data Object option.
The nice thing about the "new bottle" is the preview being displayed as you select/unselect the check-boxes. Oh, and the UI is better 😉
The UI is nice, could have been better.
I work on a relatively slow internet connection, and don't like the fact the every select/unselect of field in type builder shows me the spinning wheel because of server call done to update the preview.
Good Thanks for sharing......
Unfortunately it doesn't work in ABAP for Eclipse yet.
(Short Dump, ADT 2.16, NW 7.40 SP4) cc Thomas Fiedler
I will create a support ticket for that.
Thanks and Best Regards,
great one dear...........
It seems to work my system which has release SAP_ABA 702 patch 11.
There is an easier way, keyboard centric.
Type TYPES, do Ctrl+Space, do Shift+Enter.
(This gives you exactly one result in popup instead list of possible entries)
Shift+Enter does same thing as Shift+DoubleClick.
It's a pity that it doesn't import the exact types but refer to the table field as a reference.
I think it better to refer to table fields as eventually the coder will do a select on that table to retrieve the field values.
Not necessarily. First, you have other means to retrieve values other than from SELECT statements and second, even if you use select one filed such as customer_id (KUNNR) might be referred from different sources. I prefer using types, but have no problem if table-field.
I guess I won't be able to test it very soon as it is for NW 7.3 but I was wondering:
Is it possible to refer more than one source? (In case I need some fields from 2 different structures)
Type builder can be called twice to get required code lines, and then manual code change can be done to convert/merge two types definition into one.
Got it. It's not much effort. Thanks for the answer.
Really Helpful Blog.
This can also be done simply by calling the structure from Pattens.