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

input/output display

Former Member
0 Likes
1,037

hi screen masters,

i have screen with 12 input and output fields

1st 3 fields come from dictionary where i dont have any problem when i displa the data.

but other 9 screen fields do not come from any dictionary but as a result of my select statements.

for ex : i have : field : kna1 -kunnr = 100 i display it on the screen output.

mara-meins = KG i display it on the screen output.

NOW :

GROUP = I1 where it is not coming from any of the tables

GROUP TYPE = I009 where it is not coming from any of the tables

i have those two values on : variables ex : GROUP = I1 and GROUP TYPE = I009.

so in this case how can i display GROUP and GROUP TYEP on the output of the screen?

i hope you understand my explanation. THANKS IN ADVACE,

thank you all,

pasala.

8 REPLIES 8
Read only

Former Member
0 Likes
935

Hi,

If i understand your query correctly.. YOu want to group the fields on O/p to 2 section.

For the same you can use "Group" (you can specify upto 4 groups for variable) on the field.

Just double click on field/variable and assign group.

Let me know if i am not clear or if u need more info..

Nag

Read only

0 Likes
935

hi Naga,

can you please be little more clear please?

because i have never done befor like this so your brief explanation will help me alot.

thank you for your valuble time.

pasala.

Read only

0 Likes
935

Hi Pasala,

We can use "Groups" option in screen attributes to combine/group the fields on Screen.

Select the varibale and Go to its attributes (Double Click on The Variable)

You will see option like Groups -- Just below Height.

There are 4 fields - Neter G1 on first... and Do the same for all the first 3 fields u want to group.

lly add G2 for rest of 9 fields.

Thats all from screen side.

Coming to Coding .

In LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'g1'

  • you can hide or display the variables

ENDIF.

Hope this is clear.. Let me know if u need more info..

Nag

Read only

0 Likes
935

thank you i will get back to you soon after my meeting

Read only

0 Likes
935

hi nag,

i have sorted the issue... where am displaying the values on the output screen. thank you so much for your input.

another problem which am facing is.....

in screen am using a FM Where am getting the data from a Classification.

this is how i get the valus using the FM

CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'

EXPORTING

CLASSTYPE = '001'

OBJECT = OBJECT

TABLES

T_CLASS = T_CLASS

T_OBJECTDATA = OBJECT_data

So now i have data in OBJECT_DATA :SO

*---->get the group type

READ TABLE OBJECT_data INTO WA WITH KEY ATNAM = 'CC-GROUPTYPE'.

IF sy-SUBRC eq 0.

var3 = wa-ausp1.

endif.

When i have value in WA-AUSP1 i move to VAR3 and display it.

now my reqirment is that

if user on the screen changes some value for VAR3 it has to be UPDATED or MODIFED.

SO how can i do this is there any FM which updates the values?

can i please have some info pls?

thank you,

pasala.

Read only

former_member217544
Active Contributor
0 Likes
935

Hi Pasala,

Check this example: DEMO_DYNPRO_MODULE

Regards,

Swarna Munukoti

Read only

0 Likes
935

thank you swarna.... i have sorted the issue.

Read only

Former Member
0 Likes
935

answered by self