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

Org Structure selection disappear

Former Member
0 Likes
346

Hi,

Just wondering, did anyone came across this problem...

I am creating a report using a HR Report Category which allows me to do selection by Org Structure. The Org Structure selection is thru' a button that appears together with Futher Selection of HR Report Category.

1. Upon selecting a Org Unit via Org Structure I clicked the tick to accept my selection.

2. The Org Structure button has a Green shade on it.

3. I reenter Org Structure again by clicking the Org Structure button again.

4. This time instead of clicking the tick to accept selection, I click the cross on the right top side of the window to close the window without making any changes to my selection in Org Structure.

5. It turn out all selection has been removed from Org Structure (Green shade disappear)

Hope anyone who has come across this issue can provide me with a solution to have the selection retain despite me clicking on the cross at the top right of the org structure window.

Thanks in advance.

Lawrence

1 ACCEPTED SOLUTION
Read only

suresh_datti
Active Contributor
0 Likes
309

It is Std functionality.. when you close the popup window it amounts to 'cancelling the selection & the 'ticks' are clared.. I don't think you have an easy workaround here.. PL take a look at the code insde the function module RP_PNP_ORGSTRUCTURE & you will understand the situation better. thios is where the selection is cleared out..

 IF SY-SUBRC = 2.                              "L9BK018353       
   CLEAR POBJID[].                             "L9BK018353       
   EXIT.                                       "L9BK018353       
 ELSEIF SY-SUBRC <> 0.                         "L9BK018353       
   MESSAGE ID 'PN' TYPE 'E' NUMBER 016 WITH TEXT-101.            
   EXIT.                                                         

~Suresh

1 REPLY 1
Read only

suresh_datti
Active Contributor
0 Likes
310

It is Std functionality.. when you close the popup window it amounts to 'cancelling the selection & the 'ticks' are clared.. I don't think you have an easy workaround here.. PL take a look at the code insde the function module RP_PNP_ORGSTRUCTURE & you will understand the situation better. thios is where the selection is cleared out..

 IF SY-SUBRC = 2.                              "L9BK018353       
   CLEAR POBJID[].                             "L9BK018353       
   EXIT.                                       "L9BK018353       
 ELSEIF SY-SUBRC <> 0.                         "L9BK018353       
   MESSAGE ID 'PN' TYPE 'E' NUMBER 016 WITH TEXT-101.            
   EXIT.                                                         

~Suresh