Breakpoint in CRM to jump to BW-BPS plan function code?
I have a BW-BPS planning exit function that runs on the Costs Tab of marketing planner.
Does anyone know where in CRM to set the breakpoint to let me jump across instances to the breakpoint in the planning function?
Hi AStine,
Given the situation that one does not know the CRM codings where the RFC is placed, you may always set a breakpoint on RFC, this will enable the debugger to be stopped at every remote function calls during the execution:
/h
Breakpoint at->statement->
fill 'rfc' in the popup text box
Then maybe after several debugger stop, you will be able to find the one you want.
Then use F5 button to step into remote system, please ensure that the remote communication user is set as dialog user.
Hongyan
Similar Messages
-
SEM BPS - Planning function to distribute total value over months
Hello,
We use SEM BPS. In fact we use the integration of SEM BPS in the CRM opportunity component as opportunity planning.
Now we want to distribute the total value of certain key figures over the months. Either equal distribution or increasing distribution like 1% increase every month. What would be the best way to do that with a planning function?
We need to take into account that the number of months depends on the start and end date of the transaction (opportunity).
Best regards,
ThomasHi Thomas,
I would probably create a fox formula, do a foreach in selection loop over the months and distribute the values within that formula.
If you want to use a standard distribution function, you need to create the reference data somewhere before, which could be a bit difficult if the timeframe changes according to user selections.
regards
Cornelia -
BPS Planning Function Performance
Dear all,
In our projects we've faced the following problem.
We have BPS user-exit planning function. This function should process a large amount of data. And, of course, performance of this processing is very critical!
To increase performance we divided whole data amount into subsets and launch mentioned PF for each subset in background within separated thread ([http://help.sap.com/erp2005_ehp_04/helpdata/EN/c4/3a7f1f505211d189550000e829fbbd/frameset.htm], [http://help.sap.com/erp2005_ehp_04/helpdata/EN/fa/096e92543b11d1898e0000e8322d00/frameset.htm])
But now the problem:
Processing time for first thread is more, than 15 minutes of 35.000 records.
For second one - 5 sec(!!!) for 25.000
Third thread - 4 sec for 20.000
and so on...
In some threads calculation time also increases to 10-15 minutes for one thread. Statistic of calculation is below
Thread - Ecex. Time - Total read - Changed - New
1 - 0:12:46 - 33124 - 16317 - 1252
2 - 0:00:03 - 12936 - 2202 - 264
3 - 0:00:05 - 17108 - 6072 - 468
4 - 0:00:03 - 8540 - 2184 - 402
5 - 0:00:03 - 0 - 0 - 0
6 - 0:00:03 - 448 - 56 - 180
7 - 0:00:04 - 8344 - 2250 - 390
8 - 0:00:04 - 14112 - 4184 - 404
9 - 0:00:05 - 24388 - 10190 - 560
10 - 0:00:03 - 11482 - 4728 - 606
11 - 0:00:04 - 11508 - 4740 - 616
12 - 0:00:04 - 0 - 0 - 0
13 - 0:00:03 - 5936 - 1168 - 180
14 - 0:00:03 - 15036 - 4900 - 662
15 - 0:00:04 - 17640 - 5516 - 366
16 - 0:07:18 - 18284 - 8810 - 572
17 - 0:07:05 - 17752 - 8064 - 436
18 - 0:00:00 - 19966 - 6018 - 384
19 - 0:00:00 - 0 - 0 - 0
20 - 0:00:01 - 19992 - 6016 - 384
21 - 0:00:01 - 336 - 82 - 180
22 - 0:00:00 - 0 - 0 - 0
23 - 0:00:00 - 11228 - 2302 - 444
24 - 0:00:03 - 224 - 64 - 180
25 - 0:00:03 - 7952 - 3510 - 180
26 - 0:00:03 - 8288 - 2058 - 390
27 - 0:02:30 - 11928 - 5292 - 180
28 - 0:00:04 - 19096 - 3964 - 486
29 - 0:00:00 - 1568 - 490 - 180
30 - 0:02:29 - 11452 - 2428 - 444
31- - 0:00:01 - 12656 - 3436 - 504
32 - 0:00:00 - 0 - 0 - 0
33 - 0:00:09 - 336 - 126 - 180
34 - 0:00:08 - 4648 - 1086 - 180
35 - 0:00:07 - 0 - 0 - 0
36 - 0:00:06 - 0 - 0 - 0
37 - 0:00:05 - 336 - 24 - 180
What is a reason of such behaviour of PF?
Where is a bottleneck and how to eliminate influence of bottleneck on execution time of whole data amount?
Your advicesHello Dmitry,
take a look at the runtime statistics in transaction BPS_STAT0 (You might have to turn them on and re-run your process). This will show you where the time is spend (database or BPS).
If it's database time, then get your Basis Team involved. Check that DB stats are up-to-date, check that InfoCube requests are rolled-up/compressed, do SQL trace and analyze the DB execution plan, etc.
If it's BPS time, then it's probably something in your exit function. An ABAP trace (SE30) should help to nail down the root cause.
Processing packages is parallel is in general a good way to make it run faster. However, if the packages are too small the overhead will actually reduce performance. I would start with 5 parallel processes.
Regards,
Marc
SAP NetWeaver RIG -
Execute BPS planning function on opening of web planning layout
Hi all,
Does anyone know how to execute a planning function automatically at the moment of opening a web planning layout in a BPS web planning folder(tx code BPS_WB/BPS_WIF0)?
This was possible in the old BPS planning folder, but does not seem possible in the web planning folders?
Thanks,
RaelHello Rael,
Basically you have 2 options:
- Use the same trick as in the how to paper "How to call a BPS Web Interface with predefined variable values" (see service market place, alias BW, then BI Planning). In the BSP page you do not set a variable value but use the BPS API to execute a planning function (just call the function module API_SEMBPS_FUNCTION_EXECUTE). When using the url parameters in a similar way as in the how to paper you can call different function modules for different web applications.
- You can use the application class in the web interface builder and call the function in the "on load" method. There is a how to paper describing how such a application class can be used (Validate key figure values in manual planning - web). Note that there another event is used and thus a check AFTER input is done.
Well - the second option might be a little more elegant but I think the first one is definitely less complicated and less work...
Best regards,
Gerd Schoeffl
SAP NetWeaver RIG BI -
Integrated Planning vs BPS - Planning Function and filters
Hi,
I'm trying to create a planning function previously defined in a BPS system into a new system with Integrated Planning. Some considerations:
BPS:
- I define first a planning level on a planning area. In this level I set some selection values.
- Then I define a planning package that can contain other further filter values
- Then I create my planning function
- Then I create a parameter group that contain parameter values the function will use.
Integrated Planning:
- I can create a planning level and, separately, I can define more than one group of filters;
- Then, I can create a planning function, where I can set some fixed values in the "field used for condition" tab. These values are common for every user that launch the function.
So, from my point of view, it seems that:
BPS: I have 3 points where I can set filter parameters (level, package and parameter group), and I can launch for example the same function selecting different packages or different parameter groups;
IP: I have only one point where I can set filter parameters (Filter, defined on level)
Is all right? In this case, I don't exactly know how to migrate the same function defined in BPS in the Integrated Planning environment.
Any ideas?
Thanks for the support!
GianlucaHello Gianluca,
BPS: I have 3 points where I can set filter parameters (level, package and parameter group), and I can launch for example the same function selecting different packages or different parameter groups;
IP: I have only one point where I can set filter parameters (Filter, defined on level)
In IP you have 2 places, Filter and the function itself. In the function you will get characters for conditions where you can again filter. Migration is simple.
And in BPS? If I define a planning package with a filter (example: Country = Italy) and I select this filter during the launch of the function, do I see records with country = Italy in my reference data?
I guess you are mentioning package as filter. If yes then yes you will only get Italy data in your reference.
The parameter group restrictions in BPS are done in planning function itself in IP. But one difference is in BPS it allowed multiple parameter groups.
And I think even in BPS FOX brought reference data that were subsets of restrictions made in packages and planning level. I dont think in BPS also we were able to read reference data out of the planning level and package.
Regards,
T-Bird. -
SEM 4.0 - BPS Planning Function - Currency Translation (Account Based) !
Hi,
Currently we are migrating from SEM 3.1 to SEM 4.0 and we are using Currency Translation (Account Based)and would like to use the same functionality, but for some reason the CT functionality is not working properly. It is throwing garbage numbers in SEM 4.0.
Is anyone out there facing similar problem on the Currency Translation (Account Based) functionality on SEM 4.0. Appreciate your help.
Thx,
JayHi,
We are working on Integrated Planning(IP). We are currently using a key figure based model, where in we have 0amount, 0amocac and 0amoccc for transactional currency, controllling area currency and object currency amounts.
If we go with account based model for keyfigures, i.e by taking currency type as 00, 20, 10 , we have a problem with the currency translation functions.
Could you please let us know, how we can handle currency translation with the account based model?
Thanks,
Srini. -
Hello
When running a planning layout in the GUI, it is possible to go the edit menu and undo the planning function. When I create a function, I do not see 'Undo' as a standard function. Is it possible to undo a planning function on the web ?
ThanksHello,
if I understood your question alright you want to execute the undo function in the web interface without "click".
Did you try to "Generate class" (attribute of Webinterface)? In the class (name also in the attribute) you can find the functions name and in the "on input processing" you will find:
" when 'UndoButton1'. " -
UndoButton1->submit( ).
So the execution is to add or assign this line to the event you want
regards
Eckhard -
Variables in BPS planning function
Hi all;
I dont if this is possible but Im trying to do the following formula:
DATA OV TYPE 0SALESORG.
DATA CD TYPE 0DISTR_CHAN.
OV = VARV ('ZORGVE').
CD = VARV ('ZCANDI').
FOREACH OV, CD.
{ZOV_QTD,CD,OV,L,V_PL_EST,020,ZMERCOVCD,ZPAOV03} =
{ZOV_PERC,CD,OV,#,VTP,010,ZMERCOVCD,ZPAOV03} *
{ZOV_QTD,#,#,L,V_PL_EST,020,ZMERCADOSF,ZPAOV03}.
ENDFOR.
In the level there arent any restrictions to the variables assign to OV and CD.
If I restrict the variables to only one value the formula runs, but if I inserted 2 values or an interval a message appears telling there isnt possible because the variables arent restricted to one value (notice that the values of this characteristics are blank in the condition ZMERCADOSF).
My question is: Are any way to run this formula with 2 or more values assign to the variable OV?
Thanks in advance.
RicardoHi Mayank;
The formula works for all the OVs.
The error no longer appears but it didnt respect the values assign to the OV (runs for all OVs)
This is what I use:
DATA OV TYPE 0SALESORG.
DATA CD TYPE 0DISTR_CHAN.
DATA N TYPE I.
DATA I TYPE I.
N = VARC(ZORGVEND).
I = 1.
DO N TIMES.
OV = VARI(ZORGVEND, I).
I = I + 1.
ENDDO.
Im not sure N and I are declared correctly. Are they Type I?
Regards; -
Hi All,
I've implemented couple of Planning functions in the Planning Package but for some reason they are not showing up in the layout.
Am I missing any settings or something???
Did anyone faced a similar issue before.
Thanks
Vani.Where are you trying to see the functions, in planning folder or in web interface?
-
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> -
Regarding planning function & data entry in SEM BPS ..
Dear All,
Basically i'm new in BPS & planning function .. :).
But ..
Do you know whether there is program that's enable to input data within BPS and planning function ???
Or ..
Could we create customized program to input data for its ??
Could you tell me how to make it ?
Thanks in advance
Best regards,
Niel.Hi,
We have manual layouts to input data in bps. planning functions are used to modify or calculate results from the entered or already available data in the cube.
Regards,
sekhar reddy -
SEM Planning functions (Already checked the BPS Forum)
We installed BW 3.5 which I now see the BW-BPS planning functions.
Then we installed SEM 4.0 and I see another BPS menu item.
Does the BPS0 transaction now contain all the SEM planning functions or just those limited to BW-BPS.
Will reward points as always!
RichardYou would be able to see the additional Planning Functions one you are using the Planning Workbench(BPS0).
When using the Planning functionality in this transaction, you would be able to use the additional Planning functions that come as part of SEM.
Bye
Anurag -
CRM fields not populating in BPS layout for opportunity Planning 0crm_order
Hello Support,
We are using SAP CRM 5.0 SP09 with BW 7.0 SP 09.
When creating an opportunity in CRM, the product data ( quantity ,
values) are not appearing in Planning tab( SEM-BPS Layout) .
Kindly let us know what needs to be done to resolve this issue.
Thanks and regards,
Rajiv JainIn your CRM system, check your mapping from CRM to BW are correct.
You can do this in transaction SPRO. Menu path 'SAP Implementation Guide --> Integration with other mySAP components --> SEM --> Change mapping between CRM fields and InfoObjects'. Select planning application 'OPP' and click on 'Mapping table - system entries' on the left.
In here you should see the mapping from the InfoObject to the CRM field (eg. Infoobject 0CRM_EXPREV uses structure CRM_BW_OPPT_H and field name EXP_REVENUE).
In order for the value to be passed to planning you must tick the 'Empty' checkbox on.
Regards,
Adrian -
BW SEM-BPS API functions from a Web Dynpro project in Netweaver
Hi,
Rather than using the standard Web Interface Builder in BW SEM-BPS (3.1B), we have to use SAP Netweaver to create a Web Dynpro project which accesses all the API_SEMBPS functions, such as GETDATA, SETDATA, FUNCTION_EXECUTE etc. Has anyone done this before? If so, do you have any examples, hints?
Regards,
Linda LeeHello Linda,
let me add some more remarks on this topic from the BW-BPS development perspective:
I completely agree with Marc's statement.
Thechnically it is possible to build a planning application UI on top of the BW-BPS API functions and we have some customers that are live with such a solution. However, I would recommend this only in 2 cases
1. You need to create a tightly integrated application with BPS being only one part of several other components (including transactional UI, e.g. running against a CRM system).
2. You prefer a UI technology that is not provided by SAP (e.g. Java Swing based).
In all other cases, I would say that one should stick to the Web Interface created with Web interface Builder, mainly for cost reasons. If this tool does not fulfill all your needs there are several possibilities to enhance and extend the generated web interfaces by custom specific coding (see also several How-To guides in this area; e.g. "How to integrate a BEx Web Template into a BPS Web interface").
Another possibility is to loosly couple several web UIs with the help of the portal.
To my knowledge, it is not true that BSP web technology will be obsolete shortly.
In general, I would always prefer a tool supported, model driven approach compared to a heavy custom coding. This is also in sync with SAPs general strategy to a more pattern based approach to create UIs.
Regards,
Tobias Hagen
Dev. Manager BW-BPS
SAP NetWeaver BI -
Attachment in BPS Planning Layout
Hi,
The attachment option in the BPS planning template allows us to upload a file in System.
Can anyone help me how and where the file is stored? Is it in the cube or somewhere in KMHello Shailesh,
the documents are stored on the BW Server in KPRO (orange part):
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/42/594e3c6bf4233fe10000000a114084/frameset.htm
You can view them in the Admin Workbench for example.
If you want to see some ABAP to read documents, check function module UPC_BW_DOCUMENT_GET.
Regards,
Marc
SAP Techology RIG
Maybe you are looking for
-
How to create a Group in AD from OIM
Hi all, I am using AD connector in OIM 11g R1, According to the documentation (About the Connector) I should able to create group in AD from OIM. Can any bady help me how to do that. Thanks Tamim Khan
-
iOS Ver: 5.1.1 Model: MC497LL As advised in many forum thread, I had it set to factory default and without any content or app, it's still crashing. I am feeling frustrated. Should I downgrade it from 5.1.1 to original iOS? I don't care if I don't get
-
Javascript function did't get item value
Hallo, I setup the HTML Form Element Attributes from an select list: style="width:265px" onclick="javascript:load('&P3_LOAD.')" The problem is that the javascript function "load()" did't get the value of the item P3_LOAD. Maybe I forgot some '' ? Tha
-
How to set block to Outbound delivery?
Hello Dear Experts, We are creating sales order and creating outbound delivery for that order. This delivery will be distributed (via automatically generated iDoc type DELVRY03) to NONSAP(warehouse management). The problem is that the "Distribution s
-
Hello Dont know if this is the correct forum, if not please advise. I need to learn how to open, and read the parameters of an mp3 file so I can read in segments and play them back out with the proper sampling and bit depth. I can read the entire fil