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: 

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

Former Member
0 Kudos

Hi,

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.

SG

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

Regards,

Praveen Chitturi

3 REPLIES 3

Former Member
0 Kudos

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.

Regards,

Praveen Chitturi

0 Kudos

Dear Praveen,

Many Thanks for your kind response.

Another small question. Is there some way to download a ABAP Dictonary Structure and use it to upload it to a new system ?

Regards

S G    

0 Kudos

Please refer the below link.

Regards,

Praveen Chitturi