Skip to Content
author's profile photo Former Member
Former Member

How to convert a Type Pool / Deep Struture to a ABAP Dictionary Structure


I have type pool which has several deep structures declared (QPRE).

I want to pass data using one such deep structure to a FM ( a smart form).

The smart form asks for type declaration of the interface data, and the deep structure does not have a standard type so there is a problem to import the data.

So I thought of creating an ABAP Dictionary Structure which could be used to do the TYPE declaration. ( I read some scn posts, and they seem to suggest this)

I have the following question:

1. Is this a good approach ?

2. Is there another way of passing interface data to a Smart form ?

3. Is there a quick way to convert a Type pool declaration of a deep structure into a ABAP Dictionay Str ?

Many Thanks for your advice in advance.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2013 at 04:46 PM

    Hi sg,

    As you know smartform is some thing like a Function module only, If it is general function module we can include that type pool in Function group's Main group and so that we can refer that types in Interface parameters declaration. But coming to the smartform's function module's function group we can not edit it.

    So there is the only option to create the same types (type pool) in ABAP dictionary.

    There is no such auto conversion of type pools declarations to abap dictionary types.

    Please refer the below thread for more idea.

    SMARTFORM interface parameter TYPEs


    Praveen Chitturi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.