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

call function on click

Former Member
0 Kudos
435

Hello!

I have defined a parameters. Once the user hits

F4 Button this function must be called

and shown in order to select org. units.

FUNCTION RP_PNP_ORGSTRUCTURE.

How can it be implemented ?

Regards

ertas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Kudos
382

pls can you say where must this code

be inserted

Regards

5 REPLIES 5
Read only

Former Member
0 Kudos
382

hi,

AT SELECTION-SCREEN ON VALUE-REQUEST FOR PARAMETER FIELD.

CALL FUNCTION RP_PNP_ORGSTRUCTURE.

RP_PNP_ORGSTRUCTURE

Show a dialog box with the org structure displayed. User is then allowed to choose org units.

Example:

CALL FUNCTION 'RP_PNP_ORGSTRUCTURE'

TABLES

pobjid = l_pobjid.

<REMOVED BY MODERATOR>

Jagadish.

Edited by: Alvaro Tejada Galindo on Apr 14, 2008 1:26 PM

Read only

Former Member
0 Kudos
382

AT SELECTION-SCREEN ON VALUE-REQUEST FOR PARAMETER FIELD.

CALL FUNCTION RP_PNP_ORGSTRUCTURE.

Read only

Former Member
0 Kudos
383

pls can you say where must this code

be inserted

Regards

Read only

0 Kudos
382

Hi,

Between initialization and at selection screen.

Thanks,

Sriram Ponna.

Read only

0 Kudos
382

after , your selection screen definitions, like parameter, select options etc...

before, start-of-selection..