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

Dynpro initialization

gastn_jareo
Active Participant
0 Likes
1,192

Hi folks!

I'm learning (by myself) the use of dynpros and I have a doubt:

If I need an initialization. Where should I put it? I've tried the "Initilization" clause on general data include but it isn't running.

Now I'm doing it into PBO module, but it's executed for every PBO and not only for the first one. So I'm checking a flag for know if it's the first PBO or not. It's working but is not so elegant. Are there a better way?

A link to a good dynpro manual will be also appreciated.

Thanks!

1 ACCEPTED SOLUTION
Read only

gastn_jareo
Active Participant
0 Likes
813

So, anybody con help me with this? I yet don't know how to initialize a dynpro.

Thanks!

5 REPLIES 5
Read only

amit_khare
Active Contributor
0 Likes
813

You can download the cookbook from this SAP Note: 872892.

Also, check this link for complete info on webdynpro -

Regards,

Amit

Reward all helpful replies.

Read only

0 Likes
813

Amit, I'm asking information of windows dynpros. I'm not using Java, Netweaber or Web forms. I'm using only the classic SAP Windows with SAP GUI.

Thanks!

Read only

gastn_jareo
Active Participant
0 Likes
814

So, anybody con help me with this? I yet don't know how to initialize a dynpro.

Thanks!

Read only

0 Likes
813

Hi Gaston,

I have an alternative.

Create a report type program.

say ztest.

in report programs we can have initialization section.

initialization.

  • write your code here.

start-of-selection.

call screen '0100'. "call your screen here.

Regards,

Ravi

Read only

Former Member
0 Likes
813

Hi

the wasy u r initializing is OK and you can restrict it by putting flag only.

there are some good examples at ABAPDOCU transaction

Naresh