How to Initiate Demantra Workflw from EBS SPP ?
Hi ,
I need to know ;
1. How to kick start a "Demantra Workflow " from within EBS ? ( A step wise approach is appreciated) ( opening Demantra workflow manager and manually doing starting is workflow is not an option for me)
2. When we kick start the workflow from SPP , I need to pass a parameter to the workflow ( the first step of workflow is a Stored procedure Step) , Is that possible , and how to do that ?
Hi,
Please find the answers inline
1.We can use the package utl_http.request to call demantra workflows from EBS. Develop a custom procedure similar to msd_dem_collect_history_data.run_load (this standard procedure has all the logic required to launch demantra workflow) and register it as a concurrent program in EBS which accepts workflow name as a parameter.
Using this concurrent program you can launch any demantra workflow just by passing the workflow name as a parameter to the concurrent program. No need to log in to workflow manager to launch a workflow :)
2.We can only pass arguments to workflow through methods but to use methods one needs to login to collaborator workbench , but to pass an argument from SPP(EBS) without logging into Workflow Manager or Collaborator workbench , you can follow below workaround
a.Hard the parameter in the workflow(procedure step) as P_PARAM
b.Accept the parameter which you want to pass to the workflow say ACT_PARAM from the concurrent program which launches workflow
c.update the table wf_schemas (this stores the workflow definition)
UPDATE wf_schemas
SET schema_data = replace (schema_data,'P_PARAM','ACT_PARAM')
WHERE schema_name='xx_workflow_name';
commit;
d.Launch workflow using the custom procedure developed to launch workflows
e.Rollback the changes done to the wf_schemas
Please try this workaround on a test instance thoroughly before progressing it to Prod.
Thanks,
Sudeep.
Edited by: Sudeep Bemidigi on Aug 26, 2012 11:45 PM
Similar Messages
-
How to Initiate the Workflow from Java webdynpro?
Hi All,
I am developing Customized WD application for ESS, which in turn having integration with Workflow.
Now How to Initiate the Workflow coding part in Webdynpro Development.
Through Adaptive RFC Model, i created model using sap_wapi_start_workflow RFC
Can anybody provide the sample code on this!!!
What are the stpes i have to follow to this Workflow Initiation from WD Java..
Thanks In Advance
KrishnaKrishna,
What Alejandro is mentioning that create a RFC which accesses you workflow on ABAP end. At your Java side just make the call the BAPI.
So you need a BAPI say ZMYBAPI which accesses your ZWORKFLOW. Now on Java side create a WD project which accesses ZMYBAPI.
For information on how to connect to a BAPI please refer this [link|https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#15]
Chintan -
How to call Siebel wsdl from EBS R12
Dear Gurus,
Is there anyone knows how to call Siebel wsdl file generated from EBS R12, directly without using middleware/weblogic ?
Please help
Thanks in advance
EldinHi Eldin,
From where do you intend to invoke the WSDL?
Through SQl, PL/SQL - By implementing Web Service Call-Out in the database. Refer http://download.oracle.com/docs/cd/B32110_01/web.1013/b28974/devdbase.htm#BDCGJJHD.
From Forms/OAF page - By using Jdeveloper to develop the proxy/stub, which can subsequently be used in the OAF page/ Forms
Refer: http://www.oracle.com/webfolder/technetwork/tutorials/obe/forms/webservicefromforms/ws_10_1_3_from_forms.html
Hope this helps.
Pls update the thread with your progress.
Regards,
Sujoy -
How to initiate the workflow from pa40?
dear experts
I wanted to know how to trigger or initiate my workflow from PA40. in PA40 if i givet he hiring process then the empid given there has to be passed to my customised workflow & ini tiate my workflow.
please help me out.
Thanks & regards
Nigeshcheck this answer to a previous question of you:
how to initiate workflow from PA30
basically it's the same, procedures are infotype 0.
Kind regards, Rob Dielemans -
How to call different templates from EBS 11i?
Hi,
I have three templates having same layout but different page width and heigth.
How can i call these three templates conditionally from main template in EBS.
Need urgent help
Thanks,
MaheshRegister them as subtemplates in Main template using syntax given below
<?import:xdo://SDS.SDSCOMINVHDBG.en.US?>
(<?import:xdo://<Application short name>.<Template name as registered>.<language>.<Territory>?>)
and call them in main template based on condition as relevant.
Thanks
Kamalakar.G -
How to initiate copy/paste from menu in projector?
I have a projector that uses a MenuMember to create a
standard menu across the top i.e.:
FILE EDIT HELP
I have several text, (not field), but text members that are
editable where the user inputs text information. Pretty basic and
simple. If they use the keyboard commands for Copy, Paste, Select
All & Cut those commands work fine in the text field and behave
as you would normally expect.
My question is, under my EDIT menu, I want to have the normal
CUT,COPY,PASTE,SELECT ALL selections that you would expect to find.
Right now I have no behaviors attached to them in my menuMember so
they don't do anything if you go to EDIT -> PASTE.
I have been looking for a handler to attach to the menuMember
that would perform those functions. For example my menuMember text
would look like this:
menu: File
Save/S | SaveHandler
Quit | quit
menu: Edit
Copy/C | CopyHandler
Paste/V | PasteHandler
Select All/A | SelectAllHandler
Cut/X | CutHandler
So far I haven't been able to figure out any handler that
would perform those functions upon the text field that has the
focus. Oh sure, the manual keyboard equivalents WILL work, but most
people also expect to see those choices in the edit menu as well
and expect them to behave the same way.
Any ideas on how to accomplish this?
Thanks,
DanHi,
There's a 'publish' settings (or maybe a movie setting)
called "editShortcutsenabled' - if true, command-c (etc) will work.
There might be some tricky way of evoking these functions with
Lingo (not sure if DMX2004 has some new lingo), but you can do it
manually using Valentin's free clipboard xtra (
http://staff.dasdeck.de/valentin/xtras/clipboard/)
. For example, try these functions
on SelectAll()
whichSprite = the keyBoardFocusSprite
if whichSprite > 0 then
whichMember = sprite(whichSprite).member
if voidP(whichMember) then exit
mType = whichMember.type
case (mType) of
#field, #text:
whichMember.selection = [0, whichMember.text.length]
otherwise
put "Dont know how to 'select all' in the case of a"
&& mType
end case
end if
end
on CopySelection ()
whichSprite = the keyBoardFocusSprite
if whichSprite > 0 then
whichMember = sprite(whichSprite).member
if voidP(whichMember) then exit
mType = whichMember.type
case (mType) of
#field, #text:
s = whichMember.selection
txt = whichMember.text.char[s[1]..s[2]]
clipSetData("TEXT", txt)
otherwise
put "Dont know how to copy from a" && mType
end case
end if
end
on CutSelection ()
whichSprite = the keyBoardFocusSprite
if whichSprite > 0 then
whichMember = sprite(whichSprite).member
if voidP(whichMember) then exit
mType = whichMember.type
case (mType) of
#field, #text:
s = whichMember.selection
txt = whichMember.text.char[s[1]..s[2]]
clipSetData("TEXT", txt)
oldtext = whichMember.text
if s[1] > 0 then
newtext = oldtext.char[1..s[1]]
newtext = newtext & oldtext.char[s[2]..oldtext.length]
else
if s[2] = 0 then
newtext = oldtext
else if s[2] = oldtext.length then
newtext = ""
else
newtext = oldtext.char[s[2]..oldtext.length]
end if
end if
whichMember.text = newtext
otherwise
put "Dont know how to copy from a" && mType
end case
end if
end
on PasteClipboard ()
whichSprite = the keyBoardFocusSprite
if whichSprite > 0 then
whichMember = sprite(whichSprite).member
if voidP(whichMember) then exit
mType = whichMember.type
case (mType) of
#field, #text:
txt = clipGetData("TEXT")
InsertText(whichMember, txt)
otherwise
put "Dont know how to paste into a" && mType
end case
else
put "what do I paste into?"
end if
end
on InsertText (inMember, txt)
s = inMember.selection
oldtext = inMember.text
if s[1] > 0 then
newtext = oldtext.char[1..s[1]]
newtext = newtext & txt
newtext = newtext & oldtext.char[s[2]..oldtext.length]
else
if s[2] = 0 then
newtext = txt & oldtext
else if s[2] = oldtext.length then
newtext = txt
else
newtext = txt & oldtext.char[s[2]..oldtext.length]
end if
end if
inMember.text = newtext
end -
How to create new page from EBS
Hi
I want to create new page through EBS
is that possible
and
how?HI
Now page is run successfully
but when it opens then It gives an error like:
Exception Details. >oracle.apps.fnd.framework.OAException: Application: ICX, Message Name: Could not find the specified responsibility.
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(Unknown Source)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(Unknown Source)
at runregion.jspService(_runregion.java:132)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595) -
Can anyone share how to integrate Demantra Demand Management to EBS R12?
Hi all,
Can anyone suggest how to integrate Demantra Demand Management to EBS R12?
I use Demantra 7.2 and EBS R12.
I search in Manual and in some blogs but not much data support. If possible, I want step-by-step starting from set up such as setup the instance.
More of my concern are;
- Is Demantra can integrate with MRP, without APS or ASCP?
- Is that necessary to integrate by using seed data? If I implement my series with all new series, how can I suppose to link them to EBS?
Thank you in advance.
Best Regards,
Tanya T.Hi Tanya,
To begin with, you can refer to the Metalink doc 434991.1 for an in-depth explanation on the integration from a technical perspective. Apart from this, there is an ocean of knowledge in the Demantra Documentation libraby in the metalink.The Implementation Guide provides an overview of the integration processes that synchronize or move data between Oracle Demantra and E-Business Suite applications.
Now coming to your concerns:
- Can Demantra be integrated with MRP, without APS or ASCP?
After going through the above mentioned documents on Demantra, if you still want an integrated instance of Demantra and MRP without using APS, then it will have to be a highly customized solution.This scenario will obviously have a great impact on various business aspects,which is out of scope of this discussion.
- Is it necessary to integrate by using seeded data?How to link new series to EBS?
The Demantra - EBS integration adds two new responsibilities for Demand Management viz. i)Demand Management System Administrator and ii)Demand Analyst.
The System Administrator creates a new user in the E-Business Suite with the relevant responsibility for which the user is automatically created in Oracle Demantra.
The user with "Demand management system Administrator" responsibility can create new series that get added in the Demand management component on creation. This series can then be used as per requirement.
I hope my comments help.Feel free for further discussions.
Regards,
Shekhar -
How to initiate the call JDBC_Sender adapter from BPM?
Hello,
I have a periodicall proccess in BPM. After receiving some message in BPM I check some fileds of the message.If condition is true I need to initiate SQL request to external DB, to receive the message and send it after transformating to SAP.
How to initiate the call JDBC_Sender adapter from BPM? As I understand I need to use JDBC Sender adapter and once.
How to construct the correct BPM?
Thank Youthe message comes into BPM. You check for some conditions and if true use a send step (Sync) that would query into DB table and as a reponse retrieve the related data. After the send sync step have the transformation step and another send step to SAP.
U would not configure sender jdbc but u wud need to config for recv jdbc. this wuld service the request and in response return the set of data from the table
Message was edited by:
Prabhu S -
How To Generate And Print Reports In PDF Format From EBS With The UTF8 Char
Hi,
I want to know How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set in R12.0.4.
RegardsRefer to Note: 239196.1 - PASTA 3.0 Release Information
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=239196.1
Or, you can use XML Publisher.
Note: 551591.1 - Need Latest XML Publisher / BI Publisher Patches For R12
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=551591.1 -
How to upgrade DB node from 11.0.1.7 to 11.2.0.2 with EBS 12.1.2
Is Note 1367644.1: Interoperability Notes Oracle EBS R12 with Oracle Database 11gR2 (11.2.0.2) (Doc ID 1367644.1) can solve this issue?
In this note, the instruction as:
Instructions for upgrading an Oracle E-Business Suite Release 12 database server and instance from Oracle 10g Release 2 (10.2.0), Oracle Database 11g Release 1 (11.1.0), or earlier versions of Oracle Database 11g Release 2 (11.2.0) to the latest version of Oracle Database 11g Release 2 (11.2.0).
Is this suitable for DB 11.0.1.7?
Thanks,
JackieHow to upgrade DB node from 11.0.1.7 to 11.2.0.2 with EBS 12.1.2
Is Note 1367644.1: Interoperability Notes Oracle EBS R12 with Oracle Database 11gR2 (11.2.0.2) (Doc ID 1367644.1) can solve this issue?
In this note, the instruction as:
Instructions for upgrading an Oracle E-Business Suite Release 12 database server and instance from Oracle 10g Release 2 (10.2.0), Oracle Database 11g Release 1 (11.1.0), or earlier versions of Oracle Database 11g Release 2 (11.2.0) to the latest version of Oracle Database 11g Release 2 (11.2.0).
Is this suitable for DB 11.0.1.7?The document is applicable and you can use it to upgrade the database from 11.1.0.7 to 11.2.0.2
Please note that you can upgrade to 11.2.0.3 (latest patchset certified with R12) as per (Interoperability Notes EBS R12 with Database 11gR2 [ID 1058763.1]).
Thanks,
Hussein -
How to initiate process from Java?
Hello,
Does anyone knows how to initiate Process from java code???
or Which API can start a new instance of Business process??If you are on Oracle BPM 10g, here's a link to a thread on this forum that might also help. It is a step-by-step.
Creating a new work item instance in a process using PAPI
Dan -
Requesting an overview of how to call a Java program from EBS.
Hi,
I am an experienced Java developer in the middle of an implementation of EBS 12g. I am very new to EBS and I'm not sure where to start on this. I need to provide users the ability to call a Java program that prints a report from EBS. I would be grateful if somebody would outline the general approach that should be used. Links to documentation/tutorials are appreciated also.
Thanks,
MikeHi,
I need to provide users the ability to call a Java program that prints a report from EBS. Are you referring to Java concurrent programs? If yes, please see the documents referenced in this thread.
Java Concurrent Programs
Java Concurrent Programs
Regards,
Hussein -
How to select multiple values from the Parameters in the concurrent program
How to select multiple values from the Parameters defined in the concurrent program...and i believe multiple selection is not a direct feature of EBS, but is there any workaround solution to acheive mulitple selection?
I think there's no way to do that using standard feature.
Some workaround I use :
1. If the number of selections are fixed, you could use multiple parameters for the same valueset. For example :
Selection1 : <choose first selection>
Selection2: <choose 2nd selection>
..etc.
If you don't use it then leave it empty.
2. Use text varchar valueset and enter it manually and separate by comma (or other value) , eg : selection1,selection2,selection3....etc. -
Login from ebs to apex directly .
Hi All,
I have been using the Cabot consulting paper for login to apex from ebs directly .
i placed the following code as onload process
BEGIN
wfa_sec.getsession(:P101_USERNAME);
:P101_PASSWORD :=
XXAPX_SECURITY_PKG.generate_hash
(FND_GLOBAL.user_name);
IF :P101_PASSWORD IS NOT NULL THEN
APEX_CUSTOM_AUTH.login(
P_UNAME => :P101_USERNAME,
P_PASSWORD => :P101_PASSWORD,
P_SESSION_ID => v('APP_SESSION'),
P_APP_PAGE => :APP_ID||':1'
END IF;
EXCEPTION WHEN OTHERS THEN NULL;
END;
But the wfa_sec.getsession(:P101_USERNAME); is not working properly , its redirecting me to ERP home page .
Kindly! help me.
Regards,
Nandini Thakur.This is how we do it...
1) Call a function from apps, passing in the app number and page separated by a pipe symbol:
PROCEDURE launch_application(app_page IN VARCHAR2)
IS
l_url VARCHAR2(256);
l_page NUMBER;
c OWA_COOKIE.cookie;
l_application NUMBER;
BEGIN
l_application := TO_NUMBER(SUBSTR(app_page, 1, INSTR(app_page, '|') - 1));
l_page := TO_NUMBER(SUBSTR(app_page, INSTR(app_page, '|') + 1));
OWA_UTIL.mime_header('text/html', FALSE);
OWA_COOKIE.send(
name => 'APEX_EBS_' || l_application,
VALUE => fnd_global.user_name
|| ':'
|| generate_hash(fnd_global.user_name)
|| ':'
|| fnd_global.user_id
|| ':'
|| fnd_global.resp_id
|| ':'
|| fnd_global.resp_appl_id
|| ':'
|| fnd_global.resp_name
|| ':'
|| fnd_global.application_short_name,
expires => SYSDATE + 1 / (24 * 60 * 6), --Expire in 10 seconds
PATH => '/'
l_url :=
fnd_profile.VALUE('APPS_FRAMEWORK_AGENT')
|| '/pls/apex/f?p='
|| l_application
|| ':'
|| l_page
|| '::LAUNCH';
OWA_UTIL.redirect_url(l_url);
END launch_application;Then the APEX login page has a on-header process:
DECLARE
c OWA_COOKIE.cookie;
a wwv_flow_global.vc_arr2;
BEGIN
c:=OWA_COOKIE.get('APEX_EBS_'||:APP_ID);
a:=apex_util.string_to_table(c.vals(1));
:P101_USERNAME:=a(1);
:P101_PASSWORD:=a(2);
:GBL_USER_ID:=a(3);
:GBL_RESP_ID:=a(4);
:GBL_RESP_APPL_ID:=a(5);
:GBL_RESP_NAME := a(6);
:GBL_APPLICATION_SHORT_NAME:=a(7);
wwv_flow_custom_auth_std.login(
P_UNAME => :P101_USERNAME,
P_PASSWORD => :P101_PASSWORD,
P_SESSION_ID => v('APP_SESSION'),
P_FLOW_PAGE => :APP_ID||':1'
EXCEPTION WHEN OTHERS THEN NULL;
END;We set up the globla variables you see above.
We then have an authentication scheme which calls an authentication function:
RETURN xxfnd_apps_to_apex_pk.authorise_userwhich looks like this:
FUNCTION authorise_user(
p_username IN VARCHAR2,
p_password IN VARCHAR2
RETURN BOOLEAN
IS
BEGIN
IF fnd_web_sec.validate_login(p_username, p_password) = 'Y' --This part not really requried but kept in for compatibility
OR validate_hash(p_username, p_password) THEN
RETURN TRUE;
ELSE
RETURN FALSE;
END IF;
END;Our validate hash function is checking hashes over a period of time against the calculated hash. This means that the hash is only valid within 10 seconds of being generated - makes things more secure. We also use a salt value which is based on a hash of the apps password. You will have to chose what level of complexity to go into.
Then we have a VPD entry in the APEX Application Security definition:
BEGIN
fnd_global.apps_initialize(NVL(:gbl_user_id,0),
NVL(:gbl_resp_id,0),
NVL(:gbl_resp_appl_id,0)
END;This ensures that apps context is maintained throughout the application.
Maybe you are looking for
-
-How to restrict Description into single row in the report
Hello Colleagues I have a report which shows Material number versus Revenue. In the row, material is displayed with Technical name and description. Here, the view of the report shows the description in single line. While, in the report, description o
-
Report - Date wise Actual Expenditure, Committment, Available Budget
Hi Experts, We have SAP PS in place. We are using the same for our Internal Investment Projects. We allocate budget as an " Overall " value & not for a specific " Period ". Our Management wants a report which should give an information as per details
-
HT4528 after upgrading to IOS 7.1 the camera on my 5s no longer works
after upgrading to IOS 7.1 the camera on my 5s no longer works. Prior to the upgrade, I had no issues with the camera
-
How do I recover lost data in Outlook 2011
I have a nearly new 15" MacBook Pro, recently upgraded to Lion 10.7.1. I'm running Outlook 2011. I've imported five years of historical email in folders and many large distribution lists from Outlook 2007 running on a PC, Windows 7. Tonight I let
-
I received the upgrade OSX disc and did the upgrade. It appeared to go smooth but I got the login password issue and I can't seem to fix it. Does anyone know if with this disc I can do a total clean install? I can't seem to figure out how to do that.