on ‎2020 May 07 3:52 PM
Dear All,
We are developing a locking program to avoid the user lock for the batch jobs in APO. Here we are facing the below issues.
1. Issue with the FM : TH_POPUP, when we are running the program and randomly encountering issues with the FM i.e.,
" Object XXXXX of class RE and language EN does not exist". Hence, we are unable send the pop up to users.
Further checked with SAP on this FM and this is a test FM, SAP will not support on this. Do we have any alternate FM is available for POPUP ?
2. If any new user who enters into /SAPAPO/SDP94 after the planning area is locked, they are not able to switch to change mode because the change icon itself is not appearing but for the users who are in the planning book in display mode will be able to switch to change mode because the change icon is appearing.
Please let me know in case if you have encountered same kind of issue.
Thanks,
Sri
Request clarification before answering.
Hi Brahmankar,
Are you using any FM for RFC destination ? To get RFC destination details can we use FM "OWN_LOGICAL_SYSTEM_GET" ?
Thanks,
Srikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
We are not using OWN_LOGICAL_SYSTEM_GET. Why do we need this we are not calling other system or client.
This message for APO system users who are logon in system.
CALL FUNCTION 'TH_POPUP'
DESTINATION <ls_linusers>-apserver
EXPORTING
client = sy-mandt
user = <ls_users>-bname
message = 'Please log off system in 5 minutes"
Best Regards,
R.Brahmankar
Hi Brahmankar,
Thank you for the quick reply.
Point 1: yes, we have used the same FM in my previous client and do not see any issue. But in my current project and we are facing issue with the FM.
Point 2: We have developed a program to disable/enable the change button in planning book with TVARVC table to avoid the login into the Planning book. Here we have the below issue –
If any new user who enters into /SAPAPO/SDP94 after the planning area is locked, they are not able to switch to change mode because the change icon itself is not appearing but for the users who are in the planning book in display mode will be able to switch to change mode because the change icon is appearing.
Thanks,
Srikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
During the planning run it is recommend that user should not use planning book/planning area. So before the planning run start put Pop up message of logoff and then execute your locking program. And end of planning process unlock all planning user and send SAP email notification.
For changes in planning book implement SAP note
1955476 - Changes of data possible despite the fact that the planning area and planning version is already locked
Function module TH_POPUP error could be related to GUI too make sure latest GUI is implemented.
Best Regards,
R.Brahmankar
Hello,
Point 1-
FM TH_POPUP should work we are using the same.

Point 2-
Thats a standard SAP system behaviour
Changes of data not possible when the planning area and planning version is already locked by report like /SAPAPO/TS_PAREA_INITIALIZE, /SAPAPO/TS_LCM_CONS_CHECK, please refer SAP note 1955476
Best Regards,
R.Brahmankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 15 | |
| 7 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.