Application Development and Automation 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: 
Read only

Build container help

Former Member
0 Likes
1,629

Hi,

There is transaction to build container ?

i need some example for that .

Best Regards

1 ACCEPTED SOLUTION
Read only

andrea_galluccio2
Contributor
0 Likes
1,603

Hi,

what does you mean with container ?

Usually (in ABAP) containers are used in control programming.

Bye

Andrea

16 REPLIES 16
Read only

andrea_galluccio2
Contributor
0 Likes
1,604

Hi,

what does you mean with container ?

Usually (in ABAP) containers are used in control programming.

Bye

Andrea

Read only

0 Likes
1,603

Hi Andrea,

I see in some place that the use some transaction to build data container and there

u have a place to declare value range data for data types and etc...

Regards

Read only

0 Likes
1,603

Hi,

can you be more explicit please??

The value ranges (for example) usually are defined in the value table connected to a domain or in a search help (based on table or view) or in a type-pools (a group of data declarations). But they aren't container both.

Do you have an example of the transaction you speak about?

Thank you

Andrea

Read only

0 Likes
1,603

HI Andrea,

I think about TR. DWDM (i am not sure) .

I need example how to build there container and use it in program.

Best Regards

Read only

0 Likes
1,603

Hi,

in the transaction DWDM you cannot create any container.

DWDM transaction, show some example about containers programming with ABAP.

Double clik on the examples on the left to watch some very good example programs about container programming.

If you tell us what you have to develop in more depth, probably will are able to give you better suggestion or where to look.

Bye

Andrea

Read only

0 Likes
1,603

Yes, DWDM is the transaction which gives you examples about the control framework.

Regards,

Rich Heilman

Read only

0 Likes
1,603

Hi,

Sorry my mistake maybe u now what i am looking for?

Regards

Read only

0 Likes
1,603

HI Rich,

Sorry it's my mistake,maybe u now about what i am looking for?

Regards

Read only

0 Likes
1,603

You mentioned containers, the control framework uses screen containers to embed the control into. The example are there. You need now not "create" a container via some other transaction. You simply add UI element in screen painter to your screen, it is called "Customer Container". You give it a name, and then in the PBO of your screen, you create the container object by using the CREATE OBJECT statement. Then embed the control(ALV, text editor, picture, etc) into this container. The examples will show this coding.

Regards,

Rich Heilman

Read only

0 Likes
1,603

HI Rich,

Sorry but i don't want container for the screen ,i want to build data container ,

to use in unit test.

Best Regards

Read only

0 Likes
1,603

No idea about that, sorry.

Regards,.

Rich Heilman

Read only

0 Likes
1,603

Are you talking about system data container in eCATT? If so, go to transaction STWBM, there you will have options to create a system data container.

Regards,

Rich Heilman

Read only

0 Likes
1,603

HI Rich,

Yea, i think so ,i want to build container and use it in unit test ,

Maybe u now which guide can help me to learn it?

Best Regards

Read only

Former Member
0 Likes
1,603

Is this related to your other questions? Are you trying to build a test script for a FM?

Rob

Read only

0 Likes
1,603

HI Rob,

Yea, This exactly what i want.

Best Regards

Read only

0 Likes
1,603

Go to SE37 and execute your FM.

Enter the data you want to use as test on the 'Test FM' screen.

Press the save button and and enter something in the comments box

Any time you want to test the FM, you can then press the 'Test data directory' button when you execute it and get the data you just entered.

Rob