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

POP_WITH_TABLE issue ?

Former Member
0 Likes
1,977

Dear All,

I am having an issue with the output of FM POPUP_WITH_TABLE .

A strange issue is occuring .

Popup is coming fine in my system but in functional consultant's system , there is issue with this popup .

Issue Description :

When the popup appears and we click on the Tick button , it doesnt close. Even if we click multiple times it just stays there .

Only when they select any line item in the table display and then click on tick, it closes .

Whereas in my system it closes in one click on the tick and i dont need to select any line item ,

Is this happening because of GUI issue ?

Have tried POPUP_WITH_TABLE_DISPLAY and same issue .

Any alternative FM or any other solution ? Please suggest .

Regards,

Hemant

Dear All,

I am having an issue with the output of FM POPUP_WITH_TABLE .

A strange issue is occuring .

Popup is coming fine in my system but in functional consultant's system , there is issue with this popup .

Issue Description :

When the popup appears and we click on the Tick button , it doesnt close. Even if we click multiple times it just stays there .

Only when they select any line item in the table display and then click on tick, it closes .

Whereas in my system it closes in one click on the tick and i dont need to select any line item ,

Is this happening because of GUI issue ?

Have tried POPUP_WITH_TABLE_DISPLAY and same issue .

Any alternative FM or any other solution ? Please suggest .

Regards,

Hemant

12 REPLIES 12
Read only

Former Member
0 Likes
1,792

Hi

Try to place the cursor on the popup before clicking on tick button: that popup return the selected line

Max

Read only

0 Likes
1,792

Hi Max,

Issue is the Functional team is suggesting that they dont want the user to select the line before clicking the tick . They want to just give it as an information popup .

Since it will a purely information popup , they dont want the whole list of users to be educated about the usage of it . It has to be a simple click and close .

Have used this FM so as to display the tabular format data .

Kindly suggest .

Regards,

Read only

0 Likes
1,792

Hi

Try to use function like POPUP_DISPLAY_MESSAGE or POPUP_TO_DISPLAY_TEXT

Max

Read only

0 Likes
1,792

Hi,

For your case, I would go with a simple CL_SALV_TABLE object and use the method SET_SCREEN_POPUP....

Kr,

Manu.

Read only

0 Likes
1,792

Hi Max,

Have to display an internal table data and not a message alone .

That too the popup heading should be a text having 7-8 words message .

Regards,

Read only

0 Likes
1,792

Hi Manu,

That i tried but there is some 50 characters text also to be displayed as the popup heading.

Regards,

Read only

0 Likes
1,792

Hi

If no standard popup is good for you, you can create a custom one, if fm POPUP_WITH_TABLE was good for you except for the ticked button, you can copy and correct that fm

Max

Read only

0 Likes
1,792

Well, then you just need to handle the header as well with the help of method set_top_of_list... This is no big deal (and you can also remove the toolbar if you don't need it) or just like Max said, copy and change an existing FM... even if I prefer the object approach for such a basic requirement...

Cheers,

Manu.

Read only

0 Likes
1,792

Well Thanks Manu and Max,

I guess , will go for OOPS approach and set header and Footer as per the requirement .

Was actually Looking for Standard FM , anyways Standard Class will do .

Also i guess , that 1 click is executing fine in my system as its on GUI 720 release with auto-focus enabled.

Guess this makes the line in table display auto- selected

and other team members have an older version of GUI without auto-focus so they have to select the line item.

Regards,

Hemant

Read only

MariaJooRocha
Contributor
0 Likes
1,792

Hi,

HELP_VALUES_GET_WITH_TABLE ?

Regards,

Maria João Rocha

Read only

0 Likes
1,792

Hi Maria,

This FM is rather for an F4 kind of popup interface .

Here a very simple popup was required which as suggested by manu would probably be through oops methods .

Max also suggested for FM re-implementation, that can be done also but i'll rather go for Classed/Objects .

Anyways thanks for the suggestion Maria.

Regards,

Hemant

Read only

0 Likes
1,792

Hi

Yes of course...every solution solve your problem can be good, it's important to do by ourself if there isn't a standard one

Max