Authorization In IDP - (/SAPAPO/SDP94)
Dear Gurus,
We have created one authorization object which has 7 fields. This object will be assigned to roles and roles in turn will be assigned to users.
<i>Now when the user goes In the Interactive Demand Planning (/SAPAPO/SDP94) transaction he will be seeing the first screen.
The user can click on the shuffler and makes some selection and fills the values in the fields below and clicks the TICK button , at that time it checks the authorization object and if the values are there in those fields(Authorization Object Fields) then it allows him to go in , otherwise it says NO AUTHORIZATION.</i>
This was done by using BAdi.
<b>
Now if the user only makes the selection only on the shuffler and clicks TICK all the values are getting displayed in the Selected Object list.
How is it possible to restrict the value in the ALV list based on his Authorization Object.</b>
Is there any Enhancement available for this, if yes please explain how to use that.
Thanks & Regards
Rajiv Roshan
Hi Rajiv,
You can use the same BADI definition /SAPAPO/SDP_SELECTOR (Method : SELECTION_CHECK) for performing this. Based on the your output from the Authorization Object modify the parameter IT_SELECTION accordingly. Pls let me know if you have any issues.
Regards,
Siva.
Similar Messages
-
Changing labels in /sapapo/sdp94.
Hi,
Changing labels in /sapapo/sdp94.
I want to change the labels in /sapapo/sdp94 for the same i found an exit EXIT_/SAPAPO/SAPLMCP2_006 (APODM006).
Problem is the control is not reaching the EXIT; i set up a breakpoint over there but still it doesn't reach there.
Thanks
APHello, make sure you activated the user-exits properly. Then you set a BP at FM /SAPAPO/MC_PERDY_GET in SE37 in below coding:
* User-Exit?
if i_perly eq 'U'.
* Evtl. wurde keine PERID mitgegeben:
if i_perid is initial.
call function '/SAPAPO/MC_PERIODE_ZUM_DATUM'
exporting
idate = i_vontg
iperkz = i_perkz
iperiv = i_periv
importing
eperid = i_perid.
endif.
call customer-function '006'
exporting
i_vontg = i_vontg
i_bistg = i_bistg
i_perkz = i_perkz
i_periv = i_periv
i_perid = i_perid
importing
e_perdy = e_perdy.
If the user-exit is applied OK, it will jump into your customizing coding at statement [call customer-function '006'] -
Shortcut for /N/SAPAPO/SDP94
Dear Techsperts,
some sensible guys asked if there is a way I can create a short cut like "ZIDP" for loading interactive demand planning without having to type this long ugly name on command prompt or expand the menu
Tried some gimmicks on SE93 but can't figure out what dialog or report program name should I enter.. but none worked.
Is there a way out ?.Dear BS
You can also try to set the /SAPAPO/SDP94 - Interactive Demand Planning as start transaction.
Whenever planners log into APO system, they will directly to jump to planning book without clicking any favorites or putting the long T-code.
You can go to header -->Extras -->set the start transaction --> /SAPAPO/SDP94.
It´s one time setting for each user then nobody require to remember anything.
Please let us know of these ideas helps you.
Amol -
Sapapo/sdp94 - GR/GI issue problem
Dear Experts,
After doing a deployment run by sapapo/sdp94, it is creating a process goods issue record. Actually it shouldnt create as per standard. Because in /sapapo/mat1 GI processing time filed is blank. When it has value it should show the process goods issue record.
Can any one have idea why it is creating process goods issue in sdp94 when we look product view.
My observation is that there is one field activity type is setting with "i" what does it mean?
Please respond , its very urgent
Thanks
CrisThanks for your reply...Exactly i am doing as you said.
As per my knowledge without GI issue time in mat01 it shouldn't create the process goods issue in sdp94 when we run the deployment.
But for me it is creating, I couldn't find why it is happening>
Pls welcome your suggessions.....
Thanks
Cris -
Running SCM 5.0 transactions via winGUI: problems with /SAPAPO/SDP94
I am able to access the following system fron winGUI 640
System-ID: HU8
Client: 800
Application type: SAP SCM 5.0
Application Server: iwdf2053.dmzwdf.sap.corp
System No.: 02
but when I try to launch the "interactive demand planning" (transaction /SAPAPO/SDP94) the system does not respond (the system shows a "sandglass" for ever...)
If I logon on the ERP 2005 system all transactions work fine.
Can you help ?
ThanksHi Marco,
I am also trying to use APO planning transactions in the ES Workplace. Did you find a solution?
Best regards,
Chris Gibson
Philadelphia -
Process to find user exit for transactions /sapapo/snptlb or /sapapo/sdp94
Hi All,
Can you help me out with the approach to find out user exits for transactions /sapapo/snptlb or /sapapo/sdp94?
What I am looking for is the approach, i mean how to proceed with?
Win full points for detailed answer !!
Thanks a lot - ChandanHi Chandan - this is the same as in any module of SAP:
1) check SPRO
If nothing is found then do the following:
1) Goto SE24 and display class cl_exithandler
2) Enter method GET_INSTANCE and create a break point at Line 25 (CASE sy-subrc)
3) Execute SAP standard transaction and invoke the process for which you need to create custom coding
4) Your break point will stop the process in debug mode - check the values of variable 'exit_name', it will contian the name of the BADI currently being executed.
5) Continue to debug by pressing F8 to see other BADI's
6) Repeat steps 3 thru 5 for each process that you want to find a BADI for
Regards
Andy -
Dump in TCOD /SAPAPO/SDP94 ... any Idea ?
Hi forum,
have you got any idea about this dump ?
Regards.
Runtime Errors DBIF_DSQL2_SQL_ERROR
Exception CX_SY_NATIVE_SQL_ERROR
Date and Time 13.03.2008 11:30:34
Short text
An SQL error occurred when executing Native SQL.
What happened?
The error 600 occurred in the current database connection "LCA".
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
How to correct the error
Database error text........: "POS(1) Work rolled back: BAD_ALLOCATION in
SAPTS_SET_DAT"
Database error code........: 600
Triggering SQL statement...: "EXECUTE PROCEDURE SAPTS_SET_DATA_RIW"
Internal call code.........: "[DBDS/NEW DSQL]"
Please check the entries in the system log (Transaction SM21).
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DBIF_DSQL2_SQL_ERROR" "CX_SY_NATIVE_SQL_ERROR"
"/SAPAPO/SAPLOM_TIMESERIES" or "/SAPAPO/LOM_TIMESERIESU86"
"/SAPAPO/OM_TS_DATA_SET_RIW"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"/SAPAPO/OM_TS_DATA_SET_RIW" "(FUNCTION)", or its possible occurrence must be
declared in the
RAISING clause of the procedure.
To prevent the exception, note the following:
System environment
SAP-Release 700
Application server... "server"
Network address...... "10.1.1.111"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "2x AMD64 Level"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 0
Shortdump setting.... "full"
Database server... "server"
Database type..... "ORACLE"
Database name..... "NSD"
Database user ID.. "SAPSR3"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Jan 29 2007 00:36:16"
create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
Database version. "OCI_10201_SHARE (10.2.0.1.0) "
Patch level. 95
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory consumption
Roll.... 16192
EM...... 37708560
Heap.... 0
Page.... 114688
MM Used. 26913728
MM Free. 6600800
User and Transaction
Client.............. 100
User................ "MYUSER"
Language key........ "I"
Transaction......... "/SAPAPO/SDP "
Transactions ID..... " "
Program............. "/SAPAPO/SAPLOM_TIMESERIES"
Screen.............. "/SAPAPO/SAPMMSDP 0100"
Screen line......... 42
Information on where terminated
Termination occurred in the ABAP program "/SAPAPO/SAPLOM_TIMESERIES" - in
"/SAPAPO/OM_TS_DATA_SET_RIW".
The main program was "/SAPAPO/SAPMMSDP ".
In the source code you have the termination point in line 51
of the (Include) program "/SAPAPO/LOM_TIMESERIESU86".
The termination is caused because exception "CX_SY_NATIVE_SQL_ERROR" occurred
in
procedure "/SAPAPO/OM_TS_DATA_SET_RIW" "(FUNCTION)", but it was neither handled
locally nor declared
in the RAISING clause of its signature.
The procedure is in program "/SAPAPO/SAPLOM_TIMESERIES "; its source code
begins in line
1 of the (Include program "/SAPAPO/LOM_TIMESERIESU86 ".Hi Ganimede Dignan
Regarding on your short dump, it occur during DB access (live Cache access).
<If you look at FM /SAPAPO/OM_TS_DATA_SET_RIW,
you can see COM routin SAPTS_SET_DATA_RIW . This indicate liveCache access>.
Normally kind of your dump occur due to memory shortage of you liveCache heap area.
So I recommend you to contact your liveCache administrater and check parameter setting of OMS_HEAP_LIMIT and historical heap consumption.
(If your liveCache administrater check livecache kernel log like knldiagerr, he or she will see error message of heap shortage).
I hope this information help you.
Best Regards
Keiji -
APO-DP - Characteristic Description in /SAPAPO/SDP94
Is it possible to have the same characteristic (e.g. 9AMATNR) be called with different names in different planning object structures.
The requirement is as follows. For example 9AMATNR is used in 2 different PLOBS. In one PLOBS it is called "Material" and in another PLOBS is is called "Component".
We do not want to create too many similar characteristcis just for the sake of descriptions. The custom descriptions are allowed for Key Figures however I haven't found anything similar for Characteristics.
Thanks!!Dont think this is possible - having POS specific char descriptions. The best bet is to create a Z copy or a Y copy of a characteristic and start using it.
however you should explore /SAPAPO/SDP_IOBJNM BAdI where it should be possible to change Infoobject texts based on a specific criterion. (The 'ENABLE_STD_IOBJNM_CHANGES' method enables modification of SCM Info Objects with the prefix '9A' that have been delivered by SAP. Changing these Info Objects is not advisable, since this can lead to problems in the application (see note 495027). -
Reducing column width in /sapapo/sdp94 planning book
Hi ,
I would like to reduce the width of the column for field APO Location . But I am not understanding where we can change these setting for fields . Fileds like SNP Plan , APO location , unit , W30.2010 , W31.2010 like so on but I need to reduce the column width for filedl APO location please guide me.I am talking about the option of reducing the column width manually by selecting that specific column and then use 'Save column Width' option by right click of grid/worksheet(Just below 'Load data' button where Planning book name appears and where we can change UoM).
This setting remain for the time you remain in planning book and can work with all possibilities of drill down etc..
Please let me know if this helps to understand..
Regards,
Digambar -
Forecast Disappearing in /sapapo/sdp94!!!!
Guys,
We have a strange issue. We released forecasts from DP to SNP. The forecast released successfully (CAtegory FA).
Now in SNP whenever we add any additional demand (Category FA) or change the value of Forecast (FA) and save,
the entire row of forecast just disappears! We dont understand this behavior at all.
What we noticed is that these forecast values have the FIX flag checked ("X"). We deleted this forecast and rereleased
and the new values didnt have the fixing indicator. Also the issue was no more there. Whats more is that even for these "corrected" values the issue replicates after some time on its own. We are in process of upgrading to SCM 7.0.
I am sure that this has to do with the "FIXING" of the forecats values. Has anyone experienced this? Does anyone know how and why would forecast values be fixed in SNP? Also how do we UNFIX them?
Help is always appreciated.
Regards,
AbhiHi,
The note 1304385 is causing the issue.This note is included in your system via support packs.To solve the issue apply note 1317608.After that delete all the forecast orders and then re-release the forecast again.this should solve the issue.Eventhough the content of note is not directly releated to your issue apply this note.
Regards,
Sunitha -
Planning Stucture authorization issue in SCM
Hello Experts,
Need your help.
In our SCM7.0 system, we have implemented FM: /SAPAPO/MCP_PERMISSION_CHECK2 for authorization check to Planning Structure Infocube. That is working fine.
Now Users are facing authorization issue in Prodcution when they executed transaction /n/SAPAPO/SDP94 with below message.
Error message: You do not have authorization for all the characteristic values selected Message no. AUTHORITY041
Analysis authorization trace message: " Message EYE001: You do not have sufficient authorization for InfoProvider ZDM_PLN1 with activity 03.
We have assigned customized analysis authorization and that is maintained with InfoProvider "0TCAIPROV" as " * ".
Earlier this was working fine in production but now users are getting authorization issue. When we tested in other systems, it is working fine.
I appreciate your help in this issue.
Regards
Ravi
Edited by: Ravi K on Jul 5, 2011 6:04 PMRavi
Verify the selections in the Production system v/s the test system. Are they exactly the same ? I can think of two possibilities -
1. User is attempting to access a selection where he/ she does not have access to at least one of the CVC's filtered by the CVC.
2. The selection definition should (but does not in your case) contain the characteristic on which the authorization is setup.
Rishi Menon -
APO - Demand Planning: Tracing Analysis Authorizations
Hi,
I was wondering if there is a way to trace analysis authorizations for demand planning?
I have an APO concept that uses analysis authorizations. A user gets blocked in transaction /SAPAPO/SDP94
If I run ST01, the missing value is in S_RS_AUTH, meaning Analysis Authorizations are missing.
However,
I can't seem to find a way to trace transaction /SAPAPO/SDP94 as another user with RSECADMIN.
Any advice?
FYI - I do NOT want to assign 0BI_ALL.
Thanks for your helpHello Mariano,
ST01 and SU53 tells me it's Analysis Authorizations that are missing.
It's asking for S_RS_AUTH object 0BI_ALL. If I assign 0BI_ALL everything works; but that is NOT what I want to do.
Hence I know it's related to Analysis Authorizations and I would like to know HOW to trace WHAT analysis authorizations are missing.
Best regards,
Tom -
SNP - Planning Book/Data View not showing up in /SAPAPO/SNP94
Hi All:
I created a planning Book out of a custom SNP planning area. While I could see the Planning Book in the list of Planning Book in the /SAPAPO/SDP94 - Interactive Supply Network Planning (all Books) I could not see the custom planning book in /SAPAPO/SDP94 - Interactive Supply Network Planning (all Books) . I could ony see the SAP supplied PB there. Will SDP94 transaction display only the standard SNP Planning book? How can I make sure that the custom PB is displaed in /SAPAPO/SDP94?
pl. help
Thanks
RyanHi Narayanan,
a couple of simple checks..
can you please check that you have not set a filter critera in the shuffler in planning book/data view?
you can also check if by mistake only a limited number of users are assigned to this planning book and data view ?
else you may want to check note : , 327371
Let me if this helps.
Rgds, Sandeep -
Dump for custom planning books in SDP94
Hi,
We are having a fresh SCM APO 5.0 installation. We used to get a dump whenbever the SDP 94 transaction was executed. We found a SAP note 889989 and applied. Now the problem is it is dumping for any other planning book except the standard SAP delivered ones when the SDP94 transaction is executed. I found a note 498861 but does it help?
Here is the dump:
Runtime Errors MESSAGE_TYPE_X
Date and Time 10/10/2007 16:39:31
Short text
The current application triggered a termination with a short dump.
What happened?
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
Error analysis
Short text of error message:
Control Framework : Error processing control
Long text of error message:
Diagnosis
An error occurred when the system tried to process the commands
from the Automation Queue on the presentation server.
There are several possible reasons for this:
- The installation of the SAP GUI on the presentation server is
faulty or obsolete.
- There is an error in the application program
- There is an error in the SAPGUI or an integrated control
Procedure
1. Make sure that you have imported the appropriate Support
Package, the current kernel, and GUI patch for the release of your
system
2. Check whether the error occurs locally on one or a few PCs, or
generally on all PCs. Note whether the error only occurs for some
users, for example because of a specific Customizing setting.
If it only occurs locally, this suggests an installation problem
with the PC. Check the installation; if necessary, reinstall thesoftware. In the dump, search for the SY-MSGLI field, since it may
point to the cause of the error.
3. Activate the Automation Trace (in accordance with SAP Note
158985).
4.Start the transaction and continue until the screen immediately
before the dump.
5. From the System -> Utilities menu, choose Autom. Queue,
Synchronous Processing.
The status bar of the GUI displays the text:
"Automation synchron flush mode on"
6. If you now proceed with the application, the short dump will
display the ABAP call that caused the error; the Automation Trace
will contain the error on the presentation server.
7. If necessary, load the short dump and trace files on to
sapservX, so that SAP can analyze them.
Trigger Location of Runtime Error
Program SAPLOLEA
Include LOLEAU02
Row 29
Module type (FUNCTION)
Module Name AC_SYSTEM_FLUSH
Can any one suggest me a solution please?
Thanks.hi Raj,
this normally happens for all the new installations when opening the planning books with tcode /SAPAPO/SDP94. every new installation gives different dump with the above tcode. the best option is to contact the SAP team.
regards, -
Badi /SAPAPO/SDP_SELECTOR.
Hi Techies ,
I need to add some extra selection fields in the selection window using this badi /SAPAPO/SDP_SELECTOR,and the method used for the selection is F4 .
Now kindly let me know how to implement this standard badi so that i can do my custom changes to the method .
In addition to the standard fields available in selection profile, we add these fields for selection in the planning book.
Implement the definition /SAPAPO/SDP_SELECTOR. Method F4 is triggered when the user clicks on the value help for the additional fields. Method INIT_OBJECT_LIST is triggered when the planning book is loaded using the transaction /SAPAPO/SDP94. Method LOC_PROD_VALUE_LIST is triggered when the user enters the selection criteria in the selection profile and hits ENTER.
Now let me know how to proceed with this modification using this BADI , swift responses would be really appreciated !!
Thanks,
PKP.Hi PKP,
Its not very clear what issue you are facing.
You need to use the method INIT_OBJECT_LIST if you want to add more selection criteria to the shuffler than the ones available in standard. You can use the method ADD_FIELD_TO_SELECTOR within INIT_OBJECT_LIST to add the new selection criteria.
By default, you won't see any F4 help against these newly added selection criteria. If you want to add the same, you would need to add code in F4.
Thanks - Pawan
Maybe you are looking for
-
Hi All, I have created an agent and scheduled to run for specific time with analysis as my delivery content. It appears in my homepage as well as i can able to receive through email. But in the attachment i am getting the error below: State: HY000. C
-
Variable used in Table Rename SP
Hello, I have been trying to use a variable in an ALTER TABLE SP and I am receiving various errors. SP looks like this: alter table xx_dev_stage.TEST_FACT rename to '#CREATE_NEW_FACT_TABLES'; I am receiving the following error message: 903 : 42000 :
-
Adobe Flash Media Encoder (Free Version) Setup
I have Windows 7 64 bit. I used Windows Media Encoder and the pull method. I dedicated a port for the stream and knew how to advise people how to access the stream. I installed your Media Encoder, but I don't know how to make it a pull version. W
-
GridControl & RMAN repository Schemas on one DB
Is this good practice, what would be pros & cons? What are the best practices?
-
¿Alguien sabe algo sobre el tema y me intenta ayudar por favor?