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

Standard dynpro fields in a control (BADI)

Former Member
0 Likes
731

Hi,

I have to implement a BADI that allows to put on a certain screen what requires the user: a tree, grid, html ... and in general all that can be placed in a control. But what happens if the user wants simply a standard dynpro?

Can be a standard dynpro attatched to an object control? Or there is some way for display standard dynpro fields inside an object control?

Thanks in advance,

Sandra

Hi,

I have to implement a BADI that allows to put on a certain screen what requires the user: a tree, grid, html ... and in general all that can be placed in a control. But what happens if the user wants simply a standard dynpro?

Can be a standard dynpro attatched to an object control? Or there is some way for display standard dynpro fields inside an object control?

Thanks in advance,

Sandra

4 REPLIES 4
Read only

Former Member
0 Likes
642

You cannot call screens from ABAP Objects. You can however call a Function Module(FM) and the FM can then use the CALL SCREEN command to invoke a screen that is defined as part of the Function Group. Code CALL SCREEN 100 in your FM and then double click the line to build the screen.

-


Charlie...<a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=jvmiygdzb%2fyqmtolryqkmq%3d%3d">[BC]</a>

Read only

0 Likes
642

Hi Charlie,

thanks for your reply.

But I want see the standard dynpro fields "on" the control, and calling a FM I will see the fields on another dynpro.

Bye,

Sandra

Read only

ssimsekler
Product and Topic Expert
Product and Topic Expert
0 Likes
642

Hi Sandra

If the SAP architects did not hide the treasure somewhere, it is <b>not</b> possible to include standard dynpro elements on controls.

Regards

*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

Read only

0 Likes
642

I agree with Serdar that you cannot include standard dynpro fields "on" the control. However, ABAP does support mixing standard dynpro fields and controls on the same screen. The control would appear in a container that is only a piece of the screen. The rest of the screen can have standard dynpro fields. Unless there is a subscreen with an exit defined in the screen you are referring to, you would have to modify the screen to achieve what you are looking for.