Execution of planning sequence
Hello Forum,
Can some one plz tell me How to execute a planning sequence before the execution of my layout.
Im having a layout and i need to execute my planning sequnce each time before my layout gets executed.
Plz suggest.
regards,
KK
Hi,
Do you want this option in Web based Application or in Planning folder?
If in Planning folder, in the edit part of planning folder, drag and drop the required function on the layout.By doing this the function will be displayed as a sub component of layout.Right click on the function and choose function attributes.You will see options like "execute function before layout display" / " Execute function on layout change".
choose the required option and save it.
This should satisfy your requirement.
If in case of web application please foollow a white paper that explains the process in detail.
Hope this helps.
-Raga
Similar Messages
-
Command for planning sequence in analyzer
Hi,
I have some exit variables inside the query columns (dynamic filter). I am reading these variable values in FOX code and this function is in one sequence. Now when i attach the planning sequence in button, and run it, it is not able to read these variable values. How can i do that? I just gave the command as execute planning sequence, sequence name and data provider filter.
Please let me know.Hi,
System will not consider the values that are selected in query for execution of planning sequence even if the filter is same.
What you can do is pass the value of country selected in the query via command range to your planning function using a normal Manual Input variable say ZCNTRY .
Then in your FOX you can read the value of ZCNTRY and based on this can determine the value of currency.You can rather use a custom function module to determine the value for currency based on country than to use exit variable and call this function module using CALL FUNCTION in FOX.
Regards,
Deepti -
Planning Sequence error - You do not have sufficient authorization
Hello Experts,
I am encountering the following error during execution of my planning sequence:
You do not have sufficient authorization
Message no. EYE007
Diagnosis
You do not have sufficient authorization for the requested data records.
Procedure
Either select other data or get the required authorizations from your administrator.
Can anyone please suggest me what could be the possible cause of this error and how can I overcome it?
Thanks in advance,
Nitish.
Edited by: Nitu_0105 on Jan 12, 2012 11:54 AMCheck the planning level on which planning sequence is based for values restriction.Looks like values for which it is been restricted you are not authorized or Roles assigned to you are not restricted with values in planning level.
Also check if level is been restricted with any variable on which authorization is been restricted.Some are user specific example specific business area are assigned to only some users ...so you need to add your user ID to those variable. -
CHAR RELATIONSHIP error in SEM BPS planning sequence
Hi,
I'm executing a planning sequence with 2 planning functions.
1st being "Exit funciton" & 2nd being "Repost funciton".
I've a "characteristic relationship of type attribute" defined at the planning area level.
Am getting CHAR RELATIONSHIP check error when am executing this sequence.
EXIT function gives blank values for a characteristic that is used in "characteristic relationship".
But, REPOST function adjusts this blank characteristic value to actual value which will be correct when "CHARACTERISTIC RELATIONSHIP" is checked.
When I execute sequence, EXIT function gets executed & CHAR RELATIONSHIP errors are being displayed before "REPOST" function is being executed.
Is there any other approach to deal this scenario? like checking CHAR RELATIONSHIP after REPOST funciton execution?
I can execute REPOST funciton from "EXIT FUNCTION" using API_SEMBPS_FUNCTION_EXECUTE, but this doesn't suit my needs.
Please note that I've a need to use 2nd planning function rather deriving characteristic relationship from the EXIT function.
Appreciate any ideas/thoughts.Hari,
each function must produce results that adhere to the rules specified as characteristic relationships. BPS will always execute the char.relationships after the exit function. You might be able to avoid this by adjusting the characteristics in your planning level.
Calling another function (like REPOST) from within an exit is not possible since BPS needs to finish processing the exit first, before it can run the repost.
Regards
Marc
SAP NetWeaver RIG -
BPS planning folder; Scroll to top after execution of planning function
Hi All,
After execution of a planning function, or after saving data in a planning folder, the layout jumps back to the top and displays the first row, even if the user was positioned on another row.
I know BPS does this because it recalculates the data and tries to display it.
However, it is not very user friendly.
Did anyone ever solve this ?
How do you remain positionned on the line you are working on after saving or execution a BPS planning function?
Thanks in advance for your answer,
Points will be rewarded to solutions.
Filip Ledoux<FONT FACE = "Tahoma", Font Color = "Blue">
Hi<br>
There are some APIs which BPS uses internally to save data. You can make a Planning Function of Type EXIT using function moule of your own calling API_SEMBPS_POST (to save data). <br><br>
You can call this EXIT Function as a step next to your copy function in your Global Planning Sequence.<br>
Please refer to Note 422998 - SEM-BPS processing large data volumes if you need further details for implementing this solution.
<br><br>
Hope it helps.<br>
Cheers Abhijit</FONT><FONT FACE = "Verdana", Font Color = "Red">
It's a good habit to reward someone with points in SDN if you think his/her
response was helpful to you
</FONT> -
Re: Executing Planning Sequence using java script.
Hi All,
Can anyone tell me how to execute a planning sequence using a java script.
Regards.
Shafi.Hi Deepti,
i have written a java script which will display the error message from IP in a Pop up window.
For this to work the java script function needs to be called once the planning sequence is done with execution.
I didn't find ways to do it based on the WAD commands.
hence i thought i can run the planning sequence in the same java script that i have written.
Can you help me based on the inpus ihave given ?
Regards.
Shafi. -
How to find what planning sequences/functions update data in a cube?
Hi, Experts:
We have a real time cube being updated by planning sequences/functions. How can I find what planning sequences/functions are updating this cube?
Thanks,
JennyHi,
You can go the transaction code: rsa1 and then select "Meta data Repository" option on the left side.
You can use Meta data repository to view the dependent objects for a infocube or any other BW object.
In your case, you can select "Infocube" option on the left side and then go on selecting your infocube.
Now you will get all dependent objects created on this infocube, which will include your plannign functions also.
Refer top the following link for more details on "Meta data Repository",
http://help.sap.com/saphelp_nw04/helpdata/en/4e/ea683c25e9096de10000000a114084/frameset.htm
Regards,
Balajee -
BI IP Executing planning sequence via process chain not possible
Hi,
we use BI IP and have defined a process chain (RSPC) with value type process planning sequence. When we execute it, we get error message
"Inconsistent input parameter (parameter: <unknown>, value <unknown>)"
When we execute this planning sequence via the modeller or via SE38 RSPLS_PLSEQ_EXECUTE everything works fine. I thougt the cause could be the user of the job itself (job is executed with different user, and variant of planning sequence is user-dependent!), but I changed the user in the job itself as well without results.
any thoughts?
regards
D
nullHi,
I executed with my user and have a SAP_ALL authorization. Perhaps it could be because we use authorisation with the old method (4.0) (-> I'm not sure on this). I also think it has to do with authorization. I'll check this out with our authorization consultant.
D -
Currency Translation in Planning sequence with variable for target currency
Hello ,
i have a requirement, the cube contains multiple data in the Group Currency for multiple company codes. & I want to convert these amounts to another KF as local currency using planning sequence only (not using transformation, as the users want to do this when they require.)
For this, i defined a Aggr level , filter & Planning function with Currency translation selecting the source field as AMOUNT_GC & target field as AMOUNT_LC using the Currency Translation type ZCTGCLC.
The target currency is not know beforehand, as it depends on the company code of each records that comes in.
Hence, Currency translation type uses a Customer exit variable 'Z_R_0026' for target currency.
This is customer exit variable which searches the Master data table of the Company code & replies back with the local currency of that particular company code (derived value from the company code variable also in teh filter).
However, when i execute this planning sequence, it gives me an error saying, "no value found for variable 'Z_R_0026'
1. when edit the CMOD code, to return only say "EUR" the planning sequence runs fine.However when i use this select statement to fetch the corresponding value of the currency using the company code reference from the company code master data table, it gives the above error. it seems to be a problem with the select statement.
below is the code for that exit
when 'Z_R_0026'.
data: l_curr type /BI0/OICURRENCY.
IF i_step = 2.
LOOP AT i_t_var_range INTO loc_var_range
WHERE vnam = 'Z_S_0003'. " Company Code Single
CLEAR l_s_range.
Filling Currency Key from Company Code
select single currency
from /bi0/pcomp_code
into l_curr
where comp_code = loc_var_range-low
and objvers = 'A'.
if sy-subrc = 0.
l_s_range-low = l_curr.
else.
l_s_range-low = 'ABC'.
endif.
l_s_range-opt = 'EQ'.
l_s_range-sign = 'I'.
APPEND l_s_range TO e_t_range.
clear l_s_range.
EXIT.
ENDLOOP.
ENDIF.
2. there is a option of using infoobject for target currency in the RSCUR itself, however, when i try to input the 0COMP_CODE for finding the attribute currency from this infoobject, it doesnt accept.
has anyone tried this earlier ?
Any help/suggestions , guys, pls?
Thanks
JohnHi Praveen ,
Thanks for that.
I have a Question.
If RSCUR were to only accept a Date InfoObject , it would be placed under a differnt heading.
The Tab is "Currrency" & the sub-Tab is "Target Currency"
so i guess, it should accept other infoObjects as well.
Moreover, the help on that InfoObject buttons says
"Specification of an InfoObject (Characteristic) in which a currency
attribute is stored in InfoObject maintenance. At runtime, the
associated currency attribute is determined using the characteristic
value and this is interpreted as source or target currency."
& i have already defined 0currency as a attribute of 0comp_code. so this should work ideally.
almost similiar CMOD code i have used for other too, but i dont know why only this one is getting struck.
any help, pls.
Thanks
John
Edited by: John Lewis on Apr 17, 2009 3:24 PM
Edited by: John Lewis on Apr 17, 2009 3:25 PM -
How to use the same variable value for data entry and the planning sequence
Hi,
the scenario is the following:
Using the WAD template a user enters cost center plan data. The cost center is selected by the chosen value for the variable "V1".
Afterwards he shall push a button which starts a planning sequence (including saving the data and further functions). This planning sequence uses a filter that also contains the variable "V1".
What or where has it to be defined that the planning sequence uses automatically the same value for the variable "V1" as selected for the data entry?You have to define in the planning function. The planning sequence is only a sequence and it read the planning functions underneath it.
Ravi Thothadri -
No Authorization error in executing a planning sequence
Hi,
We are using BI 7.0 Integrated Planning.
We have implemented Mark Bernaud's file upload solution. We have used a planning sequence that uploads the file and stores it in a cube. Using it, we are able to upload files without any problem when executing with a SAP User Id which has all the authorizations (the user id has SAP_ALL specified in its list of profiles). Now, we have a requirement where we need to execute the file upload using a user id which has limited authorizations. When we are trying to execute the file upload with the userid that has limited authorizations, we are getting the following authorization error.
'You are not authorized to execute sequence PL_SEQ_FL_UPLOAD'
where PL_SEQ_FL_UPLOAD is the name of planning sequence we are using. We have also included the authorization variable in the filters being used as suggested in one of the blogs but this didn't help.
Could anyone please let us know the authorization objects to be added to the user id to enable access to this file upload.
Many Thanks,
Narendra.Thank you very much Diogo,
The objects you suggested were already there. We have successfully traced the error by switching on the trace using ST01. We found the reason for the error to be that display authorization is not provided for S_RS_PLSQ whereas execute authorization is already present for that.
Once again thanks Diogo.
Many Thanks,
Narendra -
Using a variable for STS Planning Sequence
Hi guys,
I would like to execute planning sequence when users approves data for Profit Center in STS. The filter used in the planning sequence have a variable for Profit Center. This is not working.
Whats the altenative of using a variable Instead of creating planning sequence for every profit center? Pls assistThe planning sequence runs when the user approves on STS. The planning sequence runs for all profit center (this is a variable in the filter). I want to execute planning sequence for the profit center level selected on STS.
-
Error in execute planning sequence variant in process chain
Hi ,
While creating an Execute planning sequence variant in process chain in Quality system , i am getting an error" variable variant not selected ' though i created a variable variant and selected it in execute planning seq variant.
Transporting it from development system didnt work therefore i am trying to create it directly in Quality .
Any idea what could be the issue.Hi,
Variable variant can be saved for planning sequence in modeler and then cab be used in process chains.
In process chain you can choose "Execute planning sequence"( separate process type) and add planning sequence with variant.
[http://help.sap.com/saphelp_nw2004s/helpdata/en/43/1d000c41130bd5e10000000a422035/frameset.htm]
Thanks
Pratyush -
Planning sequence in Process chain
HI,
I have used Planning sequence in process chain, But while executing it, it throws a following message
"Inconsistent input parameter (parameter: <unknown>, value <unknown>)""
Any Guess??
Regards,
MeiyHI,
I have created a planning sequence in IP. I wanted to execute it in Process chain. While executing in process chain it throws a error which is mentioned above.
Regards,
meiy -
IP: Error in packaged planning sequence in process chain
Hi all,
We run a planning sequence from within a process chain. As the data transferred are quite a lot, we have packaged with setting "automatically" and with 30 packages to be built. Now the function returned (it ran already successfully before!) an error message stating:
Master cannot read return value from subprocess 2
and another error:
An error occurred with the maintenance of the query directory.
Do you have any idea what this could be?
Many thanks in advance,
AndreasHi Rakesh,
It's a BASIS problem. After transport during process chain activation, the background user tries to logon with the password and if it fails the chain will not be activated. The contents will be transported though. You can manually activate the chain. You can request the Basis guys to fix this.
- Ram
Maybe you are looking for
-
Help!
-
Aloha everyone, I just restored my G60-200 notebook with a new power supply jack that was damaged by someone who borrowed it and I had to buy a new power supply, Universal Power Adapter 120w DC24v 5A power supply. I know the battery is still good b
-
What I Learned About Transferring Stuff To A New iMac
Just got the new 21.5" iMac with Fusion drive. First time that I ever attempted transferring from the old to the new. I wanted my excel/word docs and photos in particular to transfer. That was my main goal anyhow. But on the prompts from the new
-
Query on Thread.setDaemon method......
I have a small conceptual problem. I wrote a small program which starts a thread from it's main method and marks it as Daemon. The Thread actually starts an infinite loop. Inside the run method of another Thread I start another Thread which is also a
-
Cannot cancel Business completion
Hi Experts, I am unable to cancel business completion of a PM order as the options are greyed out. The PM order is closed in normal way, still I don't see the options for cancelling or reversing the business completion. Can some one help on this. I c