cancel
Showing results for 
Search instead for 
Did you mean: 

subscreens and custom controls in screen painter

Former Member
0 Kudos

Hi,

I was wondering if it's possible to have a program load into a subscreen or custom control in screen painter, based off of information submitted from a table control.

I have a table control with a list of options. When a row is selected, a button is pressed and the abap program in the subscreen or custom control reloads with the new information. It would work just like PZ11_PDF.

TIA!!!

Kevin

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I think the way I understood from your post is that upon certain action after selecting a particular row, you need to execute a certain part of program...

If this the case, yes - it is possible. In PAI, you need to capture the record that is selected (part of table control internal table) for which once the user executes certain action (OK CODE), carry out an code operation where you can have the specific logic...

Regards

Anjaiah

Former Member
0 Kudos

Hey,

To answer the Poornanand's question... PZ11_PDF is part of the HR module (I believe). You select a pay period from a table control, press a submit button, and in a custom control in the bottom, a PDF appears with your time statement for that period.

And Anjaiah is right. This is the way I see the program working.

When the program first loads, it uses the current pay period, and in the custom control at the bottom, populates it with a report based on the period. Now if an employee wants to view another period, then they select another period from the table control, press the submit button, and the custom control/container underneath refreshs the report with the select criteria based on the table control.

I found a class last night called CL_REPORT_VIEWER, and was wondering if this could be used for displaying the report. The report is NOT a drilldown report, what you see is what you get...

TIA!!

Kevin

Former Member
0 Kudos

Hi Kevin,

Of late, I have been working on custom controls and sub-screens. Reading your post, I think I can probably answer your question if you were a little more clear and specific about your requirement.

Regards,

Anand Mandalika.

<u>

P.S :</u> I haven't found anything called <b>PZ11_PDF</b>. Is that supposed to be a program? If yes, in which version of SAP ?