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: 

adding field to screens

Former Member
0 Kudos

Hi All!

How to add custom field to the existing screen/graphical layout.Can u please explain me briefly.I understood the logic part i.e. PAI and PBO.Just physically how to add these fields to the screen.

Regards

Praneeth

11 REPLIES 11

Former Member
0 Kudos

Hi Praneeth,

Just go to SE51 create a screen ,drag & drop what you want in the layout.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

You can do this with screen painter. In the screen, just click layout, you should see the Graphical Screen Painter starting up, if not, then it is not loaded on to your machine. the old screen editor will fire, I really don't think that you want to use the old one. You can get the screen painter loaded from the SAPgui installation cd. You just add the component under the development tools folder. Once you have the screen painter loaded, you just click a screen element on the left and drag/drop it into your screen layout. Double click on the element, to get the attributes tab, fill in the data. That's it.

Regards,

RIch Heilman

0 Kudos

Many thanks, Rich!

Former Member
0 Kudos

If u are using custom fields from program, then there will be a option of getting fields from dictionary/program in screen painter , u have to choose from program and proceed as u do for normal dictionary fields .

0 Kudos

Step by step process -

1. Go to transaction sE51. Give program name and screen no you want to modify.

2. Select Layout Editor radio button and go in change mode

3. Click On Dictionary Program fields window icon.

4. If you need a custom variable on screen, give variable name and click on Get from Program.

5. Select record and click OK, you will see the same on screen. You can change position if you want.

6. Same step follows for the directory table fields.

Let me know if you have any more issues.

0 Kudos

Hi All!

Thanks very much for the help.

After drawing the text and I/O buttons.When I activate I am getting an syntax error saying Field KNVV-ZZKVGR6 is defined differently in screen (ABAP/4 field,Dictionary field).

What does this mean.

Also if i activate with a SAP standard field instead of the custom it is getting activated.

But for both the ways I could not able to see the output on the actual transaction.Also the new drawings which i am drawing are in brown color(different form the existing one)

Please advise.

regards

Praneeth

Message was edited by: Praneeth kumar

0 Kudos

Hi

Have you added this field ZZKVGR6 to KNVV table ? which field you want place on the screen.

Laxman

0 Kudos

Hi

Yes i indeed added this field to that table and also activated the same and this is available in a custome append structure.I want to place KNVV-ZZKVGR6

regards

Praneeth

0 Kudos

Hi Praneeth,

You declare the table in the program using TABLES statement,then you go to the screen layout & press F6 which is Dictionary/program fields.Now give KNVV there & press enter & then select the field ZZKVGR6 from the list.

0 Kudos

Hi,

still you have problem with newly added field , check your table consistency with the system program RSDDCHECK.

if any inconsistency is there , then activate that structure.

Laxman

former_member188685
Active Contributor
0 Kudos

Hi Praneeth,

Please check this SAP help for Screen Painter.

http://help.sap.com/saphelp_nw04/helpdata/en/d1/801b50454211d189710000e8322d00/frameset.htm

Regards

Vijay