IMPORT OF INSTALLATION DETAILS USING API
We have got orders in the existing 11.5.10 system now we want to import the systems from our legacy system and link them to the orders. I know we can create the systems using CSI_SYSTEM_PUB but how do we link them to order lines so that they are visable in order line installation details. Is there a api to do this? Please help.
Thank you,
Nag.
Nag
There is no public API but a group API is available. Assuming that you have already created transaction lines (using CSI_T_TXN_DETAILS_GRP) you can use CSI_T_TXN_SYSTEMS_GRP to assign systems. So first you create transaction lines and then systems.
Thanks
Nagamohan
Similar Messages
-
Order Import - Populate Installation Details
Hi,
Can we populate the IB Installation Details screen (IB Transaction) details automatically, while creating an order through order import?
My requirement is to create an IB Transaction automatically i.e populate CSI_T_TXN_LINE_DETAILS while importing the order.
I got below records in oe_lines_iface_all
1. IB_OWNER
2.ib_location
3. ib_installation_location.
However, these do not seem to be creating IB transactions.
Please advise
Regds,
JCYou can use API call 'csi_t_txn_details_grp.create_transaction_dtls'
-
Back order Delivery Detail using API
Hi All,
Is there any API to back order the Delivery detail?.. Please let me know what is the API and how it can be done.
Thanks and Regards,
MaheshI used WSH_INTERFACE.Update_Shipping_Attributes to backorder the lines.
Thanks and Regads,
Mahesh -
Import/Export Analyzer views using API
Hi,I need a solution for export/import views using the Analyzer API.
Got the answer from helpdesk:apiApplet.run("ImportReportGroup", "", "", "", "");apiApplet.run("ExportReportGroup", "", "", "", "");
-
How can I import the Batch details after a Good Receive PO is posted?
Hi,
My situation is, I will receive the exp.date after I have posted the Good Receive PO, can I import the batch details using the DTW after the Good receive PO is posted?
Please help.
PaddyHello Paddy
The Batch completion window is not exposed by the DI and the only way to
create/modify Batch numbers via DI API is when creating new documents.
Once the document is added, it cannot be modified therefore no batch can
be added afterwards.
Thus It is not possible to add/modify batch numbers to Business One
using the DI API or DTW once the GRPO has been added already.
Regards,
Syn Qin
SAP Business One Forums Team -
How to import order from Interface table using Api Order Import
Hi All
I am using oracle EBus R12.
I was working in Data migration in Order management.
I have manually entered data in Interface table ie (oe_header_iface_all) and (oe_lines_iface_all)
And i have given the order_source_id as 2 and order_source as COPY.
And after that i ran the concurrent program with parameter as COPY but the concurrent program does'nt picks the order in the interface.
Can any one please tell the steps in OM.
Thanks & Regards
Srikkanth.MHi;
please check:
http://sureshvaishya.blogspot.com/2009/04/order-import-using-api.html
Also i suggest see:
http://irep.oracle.com/index.html
API User Notes - HTML Format [ID 236937.1]
R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
Technical Uses of Customer Interface and TCA-API [ID 269121.1]
http://www.google.com.tr/#hl=tr&source=hp&q=Api+Order+Import+&oq=Api+Order+Import+&aq=f&aqi=&aql=&gs_sm=e&gs_upl=469l469l0l1l1l0l0l0l0l0l0ll0&fp=87c57485fd170fd2&biw=1259&bih=793
Regard
Helios -
Getting completed process details using BPM API
Hi Experts,
is there any way to get the completed process details using BPM API or Analytics API for a specific process definition (in 7.31 SP10)?
my observations:
1. using getRunningProcessInstances(process_def_id) of ProcessInstanceManager, I can fetch running process instances.
but I need completed process instances.
Thanks in advance.
Best Regards
-Trimseems no way
-
Need syntax for remap tablespaces for Import datapump using API
Good day all,
I am not able to find an example for remap_tablespaces for import datapump using API. I am not able to perform the import as it complains it doesnt have grant to the exported tables's tablespace. I created a new user with new table spaces associated with it to import tables and other objects.
I have remap_schema in API procedure but not remap_tablesapce. Could you please tell me how to accomplish it.
Thanks a lot.
MaggieHi Maggie,
The other parameter is 'OBJECT_TYPE'
so you could have
DBMS_DATAPUMP.METADATA_REMAP (handle => k1, name => 'REMAP_TABLESPACE', OLD_VALUE =>'+ORIGINAL_TABLESPACE_NAME+', VALUE =>'+NEW_TABLESPACE_NAME+',OBJECT_TYPE=>'TABLE');The full list of options from the oracle docs is suposedly this:
TABLE, INDEX, ROLLBACK_SEGMENT, MATERIALIZED_VIEW, MATERIALIZED_VIEW_LOG,TABLE_SPACE
ref http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_datpmp.htm#i1007115
As for an example with table - here is one i did which also includes remap_data - you can ignore that part - the rest of the code shows you how to do a table level export based on a list of tables returned from a SQL query.
http://dbaharrison.blogspot.de/2013/04/dbmsdatapump-with-remapdata.html
Cheers,
Harry -
Datapump exp and imp using API method
Good Day All,
I want to know what is the best way of error handling of datapump export and Import using API. I need to implement in my current project as there lot of limitations and the only way to see the process worked is writing the code with error handling method using exceptions. I have seen some examples on the web but if there are practicle examples or good links with examples that will work sure way, I would like to know and explore. I have never used API method so I am not sure of it.
Thanks a lot for your time.
Maggie.I wrote the procedure with error handling but it does not out put any information of the statuses while kicking off the expdp process. I have put dbms_output.put_line as per oracle docs example but it doesnt display any messages, just kicks off and created dumpfiles. As a happy path its ok but I need to track if something goes wrong. I even stated set serveroutput on sqlplus. It doesnt even display if job started. Please help me where I made a mistake to display the status . Do I need to modify or add anything. Help!!
CREATE OR REPLACE PROCEDURE SCHEMAS_EXPORT_TEST AS
--Using Exception Handling During a Simple Schema Export
--This Proceedure shows a simple schema export using the Data Pump API.
--It extends to show how to use exception handling to catch the SUCCESS_WITH_INFO case,
--and how to use the GET_STATUS procedure to retrieve additional information about errors.
--If you want to get status up to the current point, but a handle has not yet been obtained,
--you can use NULL for DBMS_DATAPUMP.GET_STATUS.http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_api.htm
h1 number; -- Data Pump job handle
l_handle number;
ind NUMBER; -- Loop index
spos NUMBER; -- String starting position
slen NUMBER; -- String length for output
percent_done NUMBER; -- Percentage of job complete
job_state VARCHAR2(30); -- To keep track of job state
sts ku$_Status; -- The status object returned by get_status
le ku$_LogEntry; -- For WIP and error messages
js ku$_JobStatus; -- The job status from get_status
jd ku$_JobDesc; -- The job description from get_status
BEGIN
h1 := dbms_datapump.open (operation => 'EXPORT',job_mode => 'SCHEMA');
dbms_datapump.add_file (handle => h1,filename => 'SCHEMA_BKP_%U.DMP',directory => 'BKP_SCHEMA_EXPIMP',filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_DUMP_FILE);
dbms_datapump.add_file (handle => h1,directory => 'BKP_SCHEMA_EXPIMP',filename => 'SCHEMA_BKP_EX.log',filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE);
---- A metadata filter is used to specify the schema that will be exported.
dbms_datapump.metadata_filter (handle => h1, name => 'SCHEMA_LIST',value => q'|'XXXXXXXXXX'|');
dbms_datapump.set_parallel( handle => h1, degree => 4);
-- Start the job. An exception will be returned if something is not set up
-- properly.One possible exception that will be handled differently is the
-- success_with_info exception. success_with_info means the job started
-- successfully, but more information is available through get_status about
-- conditions around the start_job that the user might want to be aware of.
begin
dbms_datapump.start_job (handle => h1);
dbms_output.put_line('Data Pump job started successfully');
exception
when others then
if sqlcode = dbms_datapump.success_with_info_num
then
dbms_output.put_line('Data Pump job started with info available:');
dbms_datapump.get_status(h1,
dbms_datapump.ku$_status_job_error,0,
job_state,sts);
if (bitand(sts.mask,dbms_datapump.ku$_status_job_error) != 0)
then
le := sts.error;
if le is not null
then
ind := le.FIRST;
while ind is not null loop
dbms_output.put_line(le(ind).LogText);
ind := le.NEXT(ind);
end loop;
end if;
end if;
else
raise;
end if;
end;
-- The export job should now be running. In the following loop, we will monitor the job until it completes.
-- In the meantime, progress information is displayed.
percent_done := 0;
job_state := 'UNDEFINED';
while (job_state != 'COMPLETED') and (job_state != 'STOPPED') loop
dbms_datapump.get_status(h1,
dbms_datapump.ku$_status_job_error +
dbms_datapump.ku$_status_job_status +
dbms_datapump.ku$_status_wip,-1,job_state,sts);
js := sts.job_status;
-- If the percentage done changed, display the new value.
if js.percent_done != percent_done
then
dbms_output.put_line('*** Job percent done = ' ||to_char(js.percent_done));
percent_done := js.percent_done;
end if;
-- Display any work-in-progress (WIP) or error messages that were received for
-- the job.
if (bitand(sts.mask,dbms_datapump.ku$_status_wip) != 0)
then
le := sts.wip;
else
if (bitand(sts.mask,dbms_datapump.ku$_status_job_error) != 0)
then
le := sts.error;
else
le := null;
end if;
end if;
if le is not null
then
ind := le.FIRST;
while ind is not null loop
dbms_output.put_line(le(ind).LogText);
ind := le.NEXT(ind);
end loop;
end if;
end loop;
-- Indicate that the job finished and detach from it.
dbms_output.put_line('Job has completed');
dbms_output.put_line('Final job state = ' || job_state);
dbms_datapump.detach (handle => h1);
-- Any exceptions that propagated to this point will be captured. The
-- details will be retrieved from get_status and displayed.
Exception
when others then
dbms_output.put_line('Exception in Data Pump job');
dbms_datapump.get_status(h1,dbms_datapump.ku$_status_job_error,0, job_state,sts);
if (bitand(sts.mask,dbms_datapump.ku$_status_job_error) != 0)
then
le := sts.error;
if le is not null
then
ind := le.FIRST;
while ind is not null loop
spos := 1;
slen := length(le(ind).LogText);
if slen > 255
then
slen := 255;
end if;
while slen > 0 loop
dbms_output.put_line(substr(le(ind).LogText,spos,slen));
spos := spos + 255;
slen := length(le(ind).LogText) + 1 - spos;
end loop;
ind := le.NEXT(ind);
end loop;
end if;
end if;
END SCHEMAS_EXPORT_TEST; -
How to get administrations of distribution list using api?
I want get all administrations of a distribution list using api, how to do that?
anybody knows? Thank you very much!!there is a standard function in mdm wd component
https://help.sap.com/saphelp_nwmdm71/helpdata/en/loio30bf76947bb64c48a2e835fda42c5183_30bf76947bb64c48a2e835fda42c5183/4…
"Note The Compare to Original button on the Items Detail component opens a Compare component enabling a user to compare a checked out record with an original record (if the user has authorization for the checked out group).
If the checked out record is a result of a merge action, then the Compare view displays all the original records prior to the merge. When a merge action is executed on a number of checked out records, the merged record is also checked out." -
How to create Custom WEB ADI using API Only for both Dowload/Upload process
I am able to create custom WEB ADI using API for upload process. I have written the following code to create custom WEB ADI using API for upload process.
DECLARE
v_application_id NUMBER:= 20003;
v_object_code VARCHAR2(255):='WEBADI_API_DEM_17';
v_int_user_name VARCHAR2(255):='WEBADI_API_DEM_17';
v_language VARCHAR2(255):='US';
v_source_lang VARCHAR2(255):='US';
v_user_id NUMBER :=1345;
v_integrator_code VARCHAR2(255);--:='WEBADI_API_DEM_17_INTG';
v_param_list_code VARCHAR2(255);
--v_interface_code VARCHAR2(255);
v_interface_code VARCHAR2(255);--:='WEBADI_API_DEM_17_INTF';
p_layout_code VARCHAR2(255):='WEBADI_API_DEM_17_LAYOUT';
V_MAPPING_CODE VARCHAR2(255);
BEGIN
BNE_INTEGRATOR_UTILS.CREATE_INTEGRATOR(P_APPLICATION_ID =>v_application_id,
P_OBJECT_CODE =>v_object_code,
P_INTEGRATOR_USER_NAME =>v_int_user_name,
P_LANGUAGE =>v_language,
P_SOURCE_LANGUAGE =>v_source_lang,
P_USER_ID =>v_user_id,
P_INTEGRATOR_CODE =>v_integrator_code);
BNE_INTEGRATOR_UTILS.CREATE_INTERFACE_FOR_API (P_APPLICATION_ID =>v_application_id,
P_OBJECT_CODE =>v_object_code,
P_INTEGRATOR_CODE =>v_integrator_code,
P_API_PACKAGE_NAME =>'XXDH_PRICE_LIST_POC_PKG',
P_API_PROCEDURE_NAME =>'CREATE_PRICE_LIST',
P_INTERFACE_USER_NAME =>'WEBADI_API_DEM_17',
P_PARAM_LIST_NAME =>'WEBADI_API_DEM_17',
P_API_TYPE =>'PROCEDURE',
P_API_RETURN_TYPE =>NULL,
P_UPLOAD_TYPE =>2,
P_LANGUAGE =>v_language,
P_SOURCE_LANG =>v_source_lang,
P_USER_ID =>v_user_id,
P_PARAM_LIST_CODE =>v_param_list_code,
P_INTERFACE_CODE =>v_interface_code);
BNE_INTEGRATOR_UTILS.CREATE_DEFAULT_LAYOUT
(P_APPLICATION_ID =>v_application_id,
P_OBJECT_CODE =>v_object_code,
P_INTEGRATOR_CODE =>v_integrator_code,
P_INTERFACE_CODE =>v_interface_code,
P_USER_ID =>v_user_id,
P_FORCE =>FALSE,
P_ALL_COLUMNS =>TRUE,
P_LAYOUT_CODE =>p_layout_code);
BNE_CONTENT_UTILS.CREATE_CONTENT_COLS_FROM_VIEW (P_APPLICATION_ID =>v_application_id,
P_CONTENT_CODE =>'WEBADI_API_DEM_17'||'_CNT',
P_VIEW_NAME =>'XXDH_PRICE_LIST_POC_V',
P_LANGUAGE =>v_language,
P_SOURCE_LANGUAGE =>v_source_lang,
P_USER_ID =>v_user_id);
BNE_CONTENT_UTILS.CREATE_CONTENT_TO_API_MAP (P_APPLICATION_ID =>v_application_id,
P_OBJECT_CODE =>v_object_code,
P_INTEGRATOR_CODE =>v_integrator_code,
P_CONTENT_CODE =>'WEBADI_API_DEM_17'||'_CNT',
P_INTERFACE_CODE =>v_interface_code,
P_LANGUAGE =>v_language,
P_SOURCE_LANGUAGE =>v_source_lang,
P_USER_ID =>v_user_id,
P_MAPPING_CODE =>V_MAPPING_CODE);
END;
I need to know what are API we can use to create download+upload ADI? anyone has already prepared script....please share it it me. My email id - [email protected]
ThanksUse FNDLOAD, it's the only way.
There are 2 seperate scripts, 1 for the Integrator and 1 for Layout.
FNDLOAD apps/<pw> 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bneintegrator.lct <your name>.ldt BNE_INTEGRATORS INTEGRATOR_ASN="XXX" INTEGRATOR_CODE="<your code>"
FNDLOAD apps/<pw> 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bnelay.lct <your name>.ldt BNE_LAYOUTS LAYOUT_ASN="XXX" LAYOUT_CODE="<your code>"
Cheers
Jeroen -
Hi all,
I need start my process using BPEL API. I found initiateTask method of ITaskService interface but I don't understand how use it. Can you help me please?
My process name is "Test". Input parameters are 2 string: param1 and param2.
If I use BPEL console or webservice, I start my process without problems, but I want start it using API
Thanks in advance
LSSeems Org context is not properly set.
1) Set the org context as follows:
Use the following queries to find responsibility id and user id:
a. Query to find responsibility id
select responsibility_id,responsibility_name
from fnd_responsibility_vl
where application_id = 222
and responsibility_name like '%&responsibility_name%';
b. Query to find user id
select user_id,user_name
from fnd_user
where user_name = '&user_name';
For example:
if resp_id = 50627 and user_id = 1253, then execute the following:
fnd_global.apps_initialize(user_id => 1253, resp_id => 50627, resp_appl_id => 222 );
mo_global.set_policy_context('S',<your_org_id>);
2) Run the API.
=> Refer note 437119.1 for additional details
Edited by: Srinivas Velumuri on May 17, 2011 5:21 AM -
Using API mbean for HTTP Logging - WebServerLogMBean
I have been trying to configure http logging using API MBEANS. For some reason, the values are not being passed along.
I am using WLST to call a .py to configure the values. For the general logging, it works without issue.
Also, along the same format, how can logging be adjusted for the admin logs.
Version WL: 10
****SCRIPT*****
import weblogic.management.configuration.LogMBean as LogMBean
import weblogic.management.configuration.WebServerLogMBean as WebServerLogMBean
# This section creates the Log MBean and configures it for log rotation.
create(managedServerName, 'Log')
cd('Log/' + managedServerName)
cmo.setRotationType(LogMBean.TIME)
cmo.setFileName('logs/' + managedServerName + '.log')
cmo.setFileCount(25)
# This section creates the WebServer Log MBean and configures it for log rotation. HTTP LOGGING
cmo.setRotationType(WebServerLogMBean.TIME)
cmo.setFileCount(15)
cmo.setLogFileFormat(extend)
cmo.setELFFields("c-ip date time cs-method cs-uri sc-status bytes time-taken")
*****END OF SCRIPT*****
Any help is appreciated.
Edited by woodalla at 06/09/2008 11:25 AMCan you provide more info on what the problem is? What do you mean by
the values are not being passed along?
Andrew Woodall wrote:
I have been trying to configure http logging using API MBEANS. For some reason, the values are not being passed along.
I am using WLST to call a .py to configure the values. For the general logging, it works without issue.
Also, along the same format, how can logging be adjusted for the admin logs..
Version WL: 10
****SCRIPT*****
import weblogic.management.configuration.LogMBean as LogMBean
import weblogic.management.configuration.WebServerLogMBean as WebServerLogMBean
# This section creates the Log MBean and configures it for log rotation.
create(managedServerName, 'Log')
cd('Log/' + managedServerName)
cmo.setRotationType(LogMBean.TIME)
cmo.setFileName('logs/' + managedServerName + '.log')
cmo.setFileCount(25)
# This section creates the WebServer Log MBean and configures it for log rotation. HTTP LOGGING
cmo.setRotationType(WebServerLogMBean.TIME)
cmo.setFileCount(15)
cmo.setLogFileFormat(extend)
cmo.setELFFields("c-ip date time cs-method cs-uri sc-status bytes time-taken")
*****END OF SCRIPT*****
Any help is appreciated.
Edited by woodalla at 06/09/2008 11:25 AM -
Required Copy Sales Order using API
Hello Everyone,
I got a requirement to copy a sales order using API. Did anyone tried this?
If possible give me API name or the script.
Thanks in advance.
Thanx and Regards,
AkilThese might be helpful to you.
1. OEOIMP: Script To Populate Order Import Interface Tables From Existing Sales Order [ID 436215.1]
2.http://sriniik.blogspot.in/2010/05/copy-sales-order-book-order-sales-order.html -
When opening import manager, it is used to through an Error message?
Hi All,
I have extracted xml file using generic extraction from SRM system, now when i want to import this xml file using my import manager.. while at opening import manager it is throwing error message.
Error Message:
Logon Error : Error: Can't open C:\Program files\SAP MDM 7.1\Import Manager\xsd.exe
I have also refered SRM-MDM catalog document, In that they have mentioned it as.. while importing xml file you will get this error first time and you need to change xsd.txt file to .exe file. But i don't find any file such type in above path which i have mentioned.
Can any one have solution for it.. I request to help me out.
Thanks
Chinthapatla BharatHi Bharat,
You need to place the xsd.exe file at location C:/Program files/SAP MDM 7.1/Import Manager.This xsd.exe file can be downloaded from the Microsoft website. Please refer SAP Note https://service.sap.com/sap/support/notes/1331426
Also, Please find the similar thread with more details:
Re: Problem with XML import MDM 7.1 SP2 u2013 XSD.exe Issue
Regards,
Mandeep Saini
Maybe you are looking for
-
Calculate Depreciation Forecast for Fixed asset
Dear all expert, I'm new to ASO, would like to know if there's a way to do depreciation forcast for fixed asset in Essbase. 1. Database type is ASO 2. Assuming user will prepare forecast caplitialization of fixed asset then upload to Essbase 3. Attri
-
The exe starts fine and walks me through the setup screens. Then it goes down the list of items that it needs to do and when it gets to 'installing' it goes no further. I get 2 bars on the progess meter and that's it. I would love to be able to use t
-
Hi All, Can you pls let me know the operations to read employee start date, a date type from IT 0041and leave start date in the PCR. Thanks, Karunakar
-
If I uninstall do I lose my created templates? Live logger is frozen and will not open
when I try to open live logger on ipad it tries to load but before it gets into the program properly it just closes again. I can see it on the open apps on the ipad but when I click on it it is just a frozen live logger screen. Any help much appreci
-
JDBC access in conjunction with Swing
I'm attempting to query a database to retrieve two Strings. Next I'm trying to take those two Strings and add them to a JLabel before adding them to a JPanel. My problem is that BEFORE I create the database connection, I can add Strings to JLabels an