Skip to Content
Author's profile photo Priyesh Shah

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.

STEP-1.JPG

STEP-2.JPG

STEP-3.JPG

STEP-4.JPG

STEP-4.JPG

STEP-6.JPG

STEP-7.JPG

Thanks & Regards

Priyesh Shah

Assigned Tags

      22 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Mayur Priyan
      Mayur Priyan

      Hi Priyesh,

      Thanks for the update. This surely will be helpful. 🙂

      Author's profile photo Priyesh Shah
      Priyesh Shah
      Blog Post Author

      Thanks for the Reply

      Author's profile photo Chandra Shekhar Agarwal
      Chandra Shekhar Agarwal

      Good Man. New innovation for me 🙂 .. It will help me code my task and will save my time and effort also 🙂

      Thanks for sharing 🙂

      Author's profile photo CH Raman
      CH Raman

      Good information. its useful for Non ABAPers. thanks for sharing.

      Author's profile photo Priyesh Shah
      Priyesh Shah
      Blog Post Author

      Thanks bro...

      Author's profile photo Former Member
      Former Member

      Old wine in a new bottle.

      Older systems used to do this using Call Pattern > Structured Data Object option.

      Author's profile photo Custodio de Oliveira
      Custodio de Oliveira

      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 😉

      Author's profile photo Former Member
      Former Member

      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.

      Author's profile photo Ramesh .
      Ramesh .

      Good Thanks for sharing......

      Author's profile photo Uwe Fetzer
      Uwe Fetzer

      Unfortunately it doesn't work in ABAP for Eclipse yet.

      (Short Dump, ADT 2.16, NW 7.40 SP4) cc Thomas Fiedler

      Author's profile photo Thomas Fiedler
      Thomas Fiedler

      Hi Uwe,

      I will create a support ticket for that.

      Thanks and Best Regards,

      Thomas.

      Author's profile photo Former Member
      Former Member

      great one dear...........

      thanks

      Author's profile photo Former Member
      Former Member

      This feature is provided by SAP as on NW 7.3

      It seems to work my system which has release SAP_ABA 702 patch 11.

      STEP 3 : Keep Pressing SHIFT BUTTON & Doble click on TYPES : a ABAP Type Builder Dialog Screen will appear.

      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.

      Author's profile photo Sander Boers
      Sander Boers

      It's a pity that it doesn't import the exact types but refer to the table field as a reference.

      Author's profile photo Former Member
      Former Member

      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.

      Author's profile photo Custodio de Oliveira
      Custodio de Oliveira

      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.

      Cheers,

      Custodio

      Author's profile photo Fabio Pagoti
      Fabio Pagoti

      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)

      Author's profile photo Former Member
      Former Member

      Not possible.

      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.

      Author's profile photo Fabio Pagoti
      Fabio Pagoti

      Got it. It's not much effort. Thanks for the answer.

      Author's profile photo Gaurang Gujar
      Gaurang Gujar

      Hi Priyesh,

      Really Helpful Blog.

      Regards,

      Gaurang

      Author's profile photo Priyesh Shah
      Priyesh Shah
      Blog Post Author

      Thanks Gaurang

      Author's profile photo Silent Visitor
      Silent Visitor

      This can also be done simply by calling the structure from Pattens.

      🙂