IP - Is it possible to call exit planning function from ABAP Report..

Advertisement

Hi All,
Greetings.
Is it possible to call exit planning function from ABAP Report (t-code SE38) ? Or I mean is not limited only to be called from ABAP Report, perhaps from BSP / Web-Dynpro / Function Module.
If somebody here has been doing it before, I'm keen to ask to kindly share it. Particularly how to call and transfer data to that exit function.
Or if somebody has done in BPS, appreciate if it can be shared too .
Thanks a lot and have a good day,
Best regards,
Daniel N.

Advertisement

Hi.
You can achive this as suggested by Mattias in your previous post.
Lets say you have next data structure:
CostCenter | Amount | PercentForDistibution |
Create input ready query in this format. Restrict cost center by variable type range.
Create WAD with analysis item.
When you run web page you enter range of cost centers (lets say you will enter 101004 to 101010).
I assume you have data only for 101004 in your cube (lets say 1000).
You will see only one record in your webpage.
CostCenter | Amount | PercentForDistibution |
101004       | 1000     | NOTHING
When you create WAD in analysis item properties set "NUMBER_OF_NEW_LINES" to lets say 1 (so in WAD you will see always one blank line for entering new data).
Just add 6 new records:
CostCenter | Amount   | PercentForDistibution |
101005       | NOTHING| 10
101006       | NOTHING| 30
101007       | NOTHING| 20
101008       | NOTHING| 25
101009       | NOTHING| 5
101010       | NOTHING| 10
Then run planning FOX function like this:
FOREACH Z_COST_CENTER.
IF {Amount, Z_COST_CENTER} <> 0
Z_AMNT_TO_DISTRIBUTE = {Amount, Z_COST_CENTER}.
ENDIF.
ENDFOR.
FOREACH Z_COST_CENTER.
IF {PercentForDistibution Z_COST_CENTER} <> 0.
{Amount, Z_COST_CENTER} = Z_AMNT_TO_DISTRIBUTE * {PercentForDistibution Z_COST_CENTER}.
ENDIF.
ENDFOR.
It is not perfect FOX, but as an idead, it should work.
Regards.

October 11, 2015

IP - Is it possible to call exit planning function from ABAP Report..

Hi All, Greetings. Is it possible to call exit planning function from ABAP Report (t-code SE38) ? Or I mean is not limited only to be called from ABAP Report, perhaps from BSP / Web-Dynpro / Function Module. If somebody here has been doing it before,

Calling Procedure or Function from Interative Report

Hi All - Is it possible to call a procedure/function from "Region Source" of Interact Report page. Basically the report I want to show would be little difficult if I use SQL alone. So wanted to check is there is a way I can call a SQL procedure/

Call a Java Function From Abap

Hi, I need to call a java function from ABAP,  I have a WAS 640 to deploy the module. I have found this tutorial... [ABAP calls Java via RFC|/people/thorsten.franz3/blog/2008/11/21/abap-calls-java-via-rfc-1-introduction] The problem is that it uses a

Calling custom Infotype method from ABAP report

Hi Experts, I am working on an application where i need to call a method of a custom defined infotype. I have done this --> 1. Create a custom infotype 9111 2. SAP creates a class of that infotype ZCL_HRPA_INFOTYPE_9111 3. Inside this method there ar

Is it possible to call a java function from plsql?

I have a plsql script which loads data in to a table. One of the fields is a notes field. I would like to use advance offerings of java to manipulate the data before inserting. Is there away I can pass the data to a java function and have it return t

How to call a SQL function from an XSL expression

Hi In R12, in Payroll Deposit adivce/Check writer, We need to sort the earnings tag <AC_Earnings> in to two different categories as regular and other earnings. In the DB and form level of element defintiion we have a DFF which differentiates between

How to call a javascript function from XSL

I'd a requirement to take an action each time a page loads I called the javascript function from addLoadEvent() available in javascript. But my reviewer commented that it should be called using XSL as we are using XSLT, What is preferred? To pass fun

Method class for calling/executing VB script from abap

Hi All, I need to call a vb script from abap. This vb script performs some function then. For executing this VB script i use the method CL CL_GUI_FRONTEND_SERVICES=>Execute. Now i need to pass data to the vb script in the from of a structure/workarea

Error when calling Java Web Services from ABAP.

Hello experts:     In my project, I will call Java Web Services with ABAP coding. With WSDL, I generated a proxy class and created a HTTP connection (t-code: SM59) and a logical port (t-code:lpconfig) for this proxy class. But when running, I would r

How do you call a CreateJS function from Edge?

Say you need a slightly more sophisticated animation and used a CreateJS from Flash. I've placed the CreateJS in a container, and I've been able to communicate from CreateJS to Edge symbol with no problem: /* js     this.onClick = function () {      

Calling a BSP page from ABAP programme

Dear Friends...         I am cslling a BSP... from an ABAP program... for that I have used this class and also a function module to ckeck.. actually from the abap program it invoks the BSP page very nicely and as my logic for invoking the BSP is a pa

Calling CANoe CAPL function from labwindows

I have managed to open the CANoe application and to run it from a LabWindows software. I would like now to call a CAPL function but it does not work.I have managed to open the CANoe application and to run it from a LabWindows software. I would like n

Calling external web service from ABAP Program

Hi All, Can somebody point me to the documentation where how to call an external (3rd party) web service from ABAP program is explained? Thanks & Regards, -Smitawhich version of R/3 you are using. if you are on was 6.40 its very simple, there are del

BSP App call from ABAP report.

Hello, I need to call /IRM/GCRM_WS BSP application through ABAP Report. Call trnasaction '/IRM/GCRM_WS' does work fine. How can i call it for a particular document as we do it with set parameter before call transaction? pls provide ideas. Rgds.Hi, th

Calling SQL Server Function from Oracle Database link

Hi , i have some data from a old SQL server i would i can access with a database link but i cant call function from my database link. i would like to do something like @SPAN_PROD = Database link _EnerttObtApReelBassSys is a Table function from my SQL

Calling PL/SQL function from OCI?

Hi, How do I execute a PL/SQL function from OCI? My test function: CREATE OR REPLACE FUNCTION GetNodeQuery(TypeId IN INTEGER) RETURN VARCHAR2 IS Query VARCHAR2(500); BEGIN Query := 'Select * from Logical_Name'; RETURN Query; END GetNodeQuery; char SQ

Can we call a bdc program from a report?how

hi experts can u help me for thisHi Yes, You can call a BDC program from Report. see the sample report in which it is used REPORT zm_reservation_alert NO STANDARD PAGE HEADING MESSAGE-ID zm_msg. D A T A B A S E T A B L E S D E C L A R A T I O N T Y P

Cannot call ANY stored functions from my Java program

My problem is that I cannot call ANY stored procedure from my Java program. Here is the code for one of my stored procedures which runs very well in PL/SQL: PL/SQL code: CREATE OR REPLACE PACKAGE types AS TYPE cursorType IS REF CURSOR; END; CREATE OR

Calling a PP03 BDC  from abap webdynpro throws an exception from the class

Hi Experts, I am calling a BDC FM for PP03 TCPDE form abap webdynpro. When i run the standalone FM, it works fine and When called from Webdynpro its giving a dump saying an exception is raised in the class CL_GUI_SPLITTER_CONTAINER. Can you please le

How to call PL/SQL function from JSP ?

We have the JSP application developed using the JDeveloper 3.0. I am trying to call the PL/SQL DB function. I'm trying to use the method of ApplicationModule: .getTransaction().executeCommand(sCommand) The problem is that I can not get the function r