Mapping execution error
hello everyone,
I got a message error while executing mapping but I really don't know how to solve it. (ora-04063 and ora-06508 ora-06512)
You'll find below the message (I traslated it in english)
ora-04063: package body "wks_owner1.mapping_agence" has errors
ora-06508: PL/SQL: unit of program named: " wks_owner1.mapping_agence " not found
ora-06512: line 1
Thanks
Hello,
Check if you "Rename" something and forgot to update later on. Try making a copy of the map and re-run it.
Thanks
Har
Similar Messages
-
Mapping Execution error in PL/SQL
Hi,
We are using OWB Cleint 9.2.0.3.0 and 9.2.0.2.0 Repository for our DWH project.And we execute the Mapping from Pl/SQL Block. And Pre-Mapping is used get the Map-Run Id based on the Mapping Name and the output of this Pre Mapping is used store an unique value for CRTD_USR in our target Table. This function works fine for all mappings except two. The Mapping works without this Pre-Mapping Process. but fails if I add this operator.
The following is the error message that we get whiel calling from PL/SQL Block.
DECLARE
ERROR at line 1:
ORA-20000: ORU-10028: line length overflow, limit of 255 chars per line
ORA-06512: at "SYS.DBMS_OUTPUT", line 35
ORA-06512: at "SYS.DBMS_OUTPUT", line 133
ORA-06512: at line 99
Can anyone give clarifications to the above problem ?
Thanks,
Jagadish.Hi Jean,
I would like to through more light on teh problem.
We execute the Mapping using an Unix wrapper script which invokes the anonymous Pl/SQL block.
The output for a successful run is :
TEST_MAP1 - Tue May 18 10:16:45 CEST 2004
This program does not require a restart
TEST_MAP1 Started
Start Time : Tue May 18 10:16:45 CEST 2004
Before Deleting Child Records...
After Deletion of Child Records !
Extraction From 01.01.1900 To 10.10.2003.
SUCCESSFULLY RUN...!
PL/SQL procedure successfully completed.
TEST_MAP1 Completed
End Time : Tue May 18 10:16:54 CEST 2004
TEST_MAP1 Shell Completed
The same Program does not run for different dates.
TEST_MAP1 - Tue May 18 10:22:12 CEST 2004
This program does not require a restart
TEST_MAP1 Started
Start Time : Tue May 18 10:22:12 CEST 2004
Before Deleting Child Records...
After Deletion of Child Records !
Extraction From 01.01.1900 To 10.10.2004.
DECLARE
ERROR at line 1:
ORA-20000: ORU-10028: line length overflow, limit of 255 chars per line
ORA-06512: at "SYS.DBMS_OUTPUT", line 35
ORA-06512: at "SYS.DBMS_OUTPUT", line 133
ORA-06512: at line 99
TEST_MAP1 ERROR:
See /opt/home/ucsuxadm/dwh/spool/OBJEKT.out
End Time : Tue May 18 10:22:16 CEST 2004
TEST_MAP1 Shell Completed
Please noet that there are no other DBMS_OUTPUT lines in by PL/SQL Block. And other mappings for the same date parameters works fine.
Can you please simulate and guide me to resolve this problem.
Thanks
Jagadish. -
Hi Experts,
I am doing the dat file to RFC scenario.. development has been done.
While testing i am facing the problem with mapping execution. I have tested with single record structure and multiple record structure.. but getting the same error.. pls see the below error.
<!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_DATA2RFC_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2>
<SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.ParserE</SAP:P3>
<SAP:P4>xception: Invalid char #0x0 (:main:, row:5, col:2~</SAP:P4>
<SAP:AdditionalText />
<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_DATA2RFC_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0x0 (:main:, row:5, col:2~</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I have maintained FCC in configuration...
can any one suggest what would be the problem.
Thanks,
SwethaHi Stefen,
You are absolutely right/correct.. i have saved file in another editor with ANSI.. and triggered the interface but now i am facing the problem with message mapping.. pls see the below error.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_EMFDATA2RFC_</SAP:P1>
<SAP:P2>com.sap.aii.mappingtool.tf7.MessageMappingExceptio</SAP:P2>
<SAP:P3>n: Runtime exception when processing target-field</SAP:P3>
<SAP:P4>mapping /ns1:Z_H_EMF_RFC/IPFILE1/item[2]/TRMDA; r~</SAP:P4>
<SAP:AdditionalText />
<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_EMFDATA2RFC_; com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-fieldmapping /ns1:Z_H_EMF_RFC/IPFILE1/item[2]/TRMDA; r~</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
can you pls suggest abt the above error.
Thanks,
Swetha -
Unexpected error during mapping execution
Hello,
we are implementing business intelligence for Siebel 8.1. Having one strange issue and hoping anybody could help us out.
We are using OWB 10.2.0.1. Certain error appears during mapping execution LOAD_SR which basically loads service requests from Siebel DB to data warehouse.
The mapping is using two tables as input (S_SRV_REQ and S_SRV_REQ_X) which are joined by S_SRV_REQ.ROW_ID = S_SRV_REQ_X.PAR_ROW_ID (+) using Joiner operator, because I always need extension table (S_SRV_REQ_X) rows either filled either containing only nulls (when there is no corresponding extension row). Sadly, this does not work, during execution it generates:
Error:
ORA-00997: illegal use of LONG datatype
ORA-06512: at "DWH_ADM.LOAD_SR", line 32
ORA-06512: at "DWH_ADM.LOAD_SR", line 3507
ORA-06512: at "DWH_ADM.LOAD_SR", line 4553
ORA-06512: at "DWH_ADM.LOAD_SR", line 9984
ORA-06512: at line 1
Warning:
ORA-00997: illegal use of LONG datatype
In summary, these join conditions generate same error as above:
S_SRV_REQ.ROW_ID = S_SRV_REQ_X.PAR_ROW_ID (+)
S_SRV_REQ.ROW_ID (+) = S_SRV_REQ_X.PAR_ROW_ID (+)
S_SRV_REQ.ROW_ID = S_SRV_REQ_X.PAR_ROW_ID
Strangely, when I use join condition S_SRV_REQ.ROW_ID (+) = S_SRV_REQ_X.PAR_ROW_ID, it works. But then right join is used and some records get rejected by joiner operation (those who do not have corresponding rows in extension table).
Could someone help me with this issue?
Any feedback would be greatly appreciated. Thank you for your time reading this!
Edited by: user8872556 on Sep 28, 2011 2:21 AM
Edited by: user8872556 on Sep 28, 2011 2:23 AM
Edited by: user8872556 on Sep 28, 2011 2:23 AMWe still were not able to solve this issue, would greatly appreciate any effort to help us out.
-
OWB11gR2: Mapping execution in a process flow not visible in OWB Browser
When a mapping is executed inside a process flow, execution details are not visible in OWB Repository Browser (Control Center reports) - rows processed, errors etc. Mapping row is missing in a log, like it never happened (but it did).
This auditing information is very important for monitoring reasons (to our customers also) and I just don't get it how this functionality is lost with this version. Another serious bug?Hi David,
I was rather tired and frustrated last evening, so today I noticed some things I didn't yesterday. Your reply gave me a new motivation.
The conclusion is - a mapping execution in a process flow is logged, but the way activities are displayed in OWB Browser are now different than in previous versions. If I click on 'Execution Job Report' on a process flow, I see all the activities listed except mappings (transformations, assign, file exists, subprocess etc.). If I want to see mapping execution row, I must click on a plus (expand) sign.
This kind of behavior will make processes with a complex hierarchy (usually we have more than 5 levels of subprocesses) rather vast to monitor. In 10gR2, a drilling down was accomplished by opening a new browser tab (Execution Job Report link) for each subprocess/mapping activity. Now it shall remain on one huge screen (list) that keeps expanding.
But, if that is the new feature, we shall live with that. If our customers won't like it, they will have to get used to it.
Thank you for your reply! -
Logging start & end time of map execution
Hello,
I want to log start & end time of execution of my map (OWB 11g), so I've created a table for this purpose and I used it in every map that I want to log time, twice; First for logging start time, and second for end time.
I pass a constant with SYSTIMESTAMP value through my log table and also name of my map. but the problem is, both of my records' time (start & end) are very near to each other (difference is in milliseconds!) however my map takes time for more than 2 minutes! So, I've changed my map Target Load Order to: [log table for start time] + [Main tables of my map] + [log table for end time]. I've set my map Use Target Load Ordering option True, too.
Why it doesn't work? Is there any better solution for logging every map execution time in a table, or not?
Please help me ...
Thanks.To do that, I have created a view that lists all processes that are running or finished. The view contains fields:
process_name
process_type (plsqlmap, plsqlprocedure, processflow, etc)
run_status (success, error, etc)
start_time
end_time
elapse_time
inserted
updated
deleted
merged
You could insert into your log table using select x from this view after every map, or, how I do it, is to insert into log table after every process flow. That is, after my process flow is complete I then select all of the details for the maps of the process flow and insert those details into my log table.
Here is the SQL for my view. This is for 10.2.0.3. For
CREATE OR REPLACE FORCE VIEW BATCH_STATUS_LOG_REP_V
AS
(SELECT PROCESS_NAME,
PROCESS_TYPE_SYMBOL,
(CASE
WHEN RUN_STATUS_SYMBOL IN ('COMPLETE_OK', 'COMPLETE') THEN 'SUCCESS'
WHEN RUN_STATUS_SYMBOL IN ('COMPLETE_FAILURE') THEN 'ERROR'
WHEN RUN_STATUS_SYMBOL IN ('COMPLETE_OK_WITH_WARNINGS') THEN 'WARNINGS'
ELSE 'NA'
END
) RUN_STATUS_SYMBOL,
START_TIME,
END_TIME,
ELAPSE_TIME,
NUMBER_RECORDS_INSERTED,
NUMBER_RECORDS_UPDATED,
NUMBER_RECORDS_DELETED,
NUMBER_RECORDS_MERGED
FROM OWB_RUN.RAB_RT_EXEC_PROC_RUN_COUNTS
WHERE TRUNC (START_TIME) >= TRUNC (SYSDATE) - 3)
ORDER BY START_TIME DESC; -
Hi,
When we I want to see the mapping execution status, I used to look into the WB_RT_AUDIT and get the mapping name, map run id, start time, end time and status. Here the status field gives the information as COMPLETE/SUCCESS. This is relating to 9.0.4. Recently, when I upgrade to OWB 10g the same view for the status it gives as 1 and even for error also it shows as 1, how to exactly know the mapping execution status is successful or not. Pls mention the table name and column name to know the status
KishanOla Koshan,
When you look at the audit table WB_RT_AUDIT and check the column RTA_STATUS you'll get a number. When you decode the number you will see wether the mapping is completed, running or ended in an error.
This can be done like this:
DECODE (rta_status, 0, 'Running', 1, 'Completed', 2, 'Error','Else')
Please keep in mind that if you kill a mapping, the status will still be 'running'. This is because the process will not be able to update oracle's repository (because you killed it).
There is quite a lot you can extract from the Audit tables. I do not quite know what you mean with mentioning the table and column name to know the status... As far is I understood you are looking for the mapping status... Right?
Regards
Moscowic -
Exception during mapping Execution
Hi Experts
an Matmas05 xml is coming from MDM system. & it should be posted as Matmas05 in R/3.
i imported the MDM content in IR. but the fields order in coming Matmas05 xml file and the fields order in
Matmas05 Idoc are Not same.
while Executing Mapping it throws 'Exception during mapping execution'
so pls give solution How can i solve...this error
pls ....urgent.
thanks & regards
swapnaHI swapna,
The XMl coming from MDM have the different sequence than the original Matmas05 IDOC that you have imported in IR,.
Lets take it this way as the Original Matmas IDOC structre is not matched up with the sender side Structure.
You can change the sequence of IDOC XSD file with some tools like Altova xmlSpy and make it same as sender side. Then import the modified XSD file as external defination and use it on sender side.
On Receiver side your Matmas05 structre sequence should have to be original one.
Now map the corresponding fields and execute the scenario.
thanks
Swarup -
Hi All,
I have created a new field in user form named telephone number,When ever I run AD target recon, the updated telephone number in AD is reflecting in Process form. I wrote a copy Adapter that copies process form value to usr form.
This is working well with the firstname field, but wen I change it to telephone number field, the updated phone number present in AD is reflecting in process form telephone field, but not copying to usr form. I get the following error message:-
Adapter Execution error: UpdateDataObjFieldValue Error updating null
Java.Lang.nullpointer exception.
can anyone helpmeYou can do the following:
Create a new:
Resource Object: AD User Trusted
IT Resource: ADITResource Trusted
Process Definition: AD User Trusted, type provisioning
Scheduled Task: AD User Trusted Reconciliation
Reconciliation Rule: AD User Trusted
On your resource object, select the trusted source checkbox. Add the recon fields that you are grabbing from Active Directory that you want to update the OIM User profile with. Use the same names and format as your normal AD User object. Set your matching rules.
On your process definition, don't add any new tasks. Simply map the values from reconciliation to the process form.
Create your reconciliation rule mapping the incoming user id to the oim user id.
Duplicate the existing IT Resource and Scheduled task with the exact same information but use the AD User Trusted as your resource object when needed, and the same for the IT Resource.
Now you have an exact copy of the AD User workflow for reconciliation purposes to update the OIM User Profile as well. Since you have 2 IT resources, you will have a timestamp for both targets so they will each catch updated users.
-Kevin -
Fpga -Re:ERROR MESSAGE INDICATIN X-FLOW PROGRAM MAP RETURNED ERROR CODE
sir,
I am working on a project using ni rio-7831R uaing labview fpga1.1, on compiling on to the device i am encountering a error giving follow message:
Problem encountered during the packing phase.
ERROR:Xflow - Program map returned error code 2. Aborting flow execution...
so please, recommend me the action so that i could compile my project without error.
vamsiHi Vamsi,
The information you are looking for is in this KB: Why Does My FPGA Compile Give An OVERMAPPED Error When Compiling? < http://digital.ni.com/public.nsf/websearch/060BA89FE3A0119E48256E850048FFFE?OpenDocument >
I think you are running out of space on your FPGA. You can either purchase a 3 million gate fpga(7833R) or Optimize your code to use less space. Have a great day!
Regards,
Prashanth -
Logging OWB mapping execution in Shell script
Hi,
I am executing a OWB mapping from a shell script like this
$OWB_SQLPLUS MY_WAREHOUSE plsql MY_MAPPING "," ","
I want to log this mapping execution process into a file.
Please let me know if this will work:
$OWB_SQLPLUS MY_WAREHOUSE plsql MY_MAPPING "," "," >> LOGFIL.log
I will just be using this log file to track all the execution and use it for logging purpose.
If this wont work, please tell me the proper way to do this...
Thanks.Avatar,
">>" is the Unix operator that will redirect output and append to a particular file, so what you have should work if you're executing it from the shell prompt. Although I don't know specifically what OWB_SQLPLUS and MY_WAREHOUSE are.
In my company, we have the call to the owb script inside another script. For example, file x contains the following line:
sqlplus repository_user/pwd@database @sqlplus_exec_template.sql repository_owner location task_type task_name custom_params system_params
Then at the prompt, we enter:
nohup x > x.log &
And the mapping or workflow executes.
Jakdwh,
Are you redirecting your output to a file so you can see why it's returning a '3'? The log file will usually tell you where the error occurred. I don't know what your input parameters for your mapping is, but the script is pretty picky about the date format. Also, even if you don't have any input parameters, the "," still has to be sent into the script.
Hope this helps,
Heather -
How to measure mapping execution speed
Hi,
currently i'm trying to measure performance differences between Interface Mappings which contain one single Message Mapping and Interface Mappings which contain 2 or 3 Message Mappings.
I already tried to do this with RWB and Performance-Monitoring. But Performance Monitoring shows the processing time through the whole XI, and not only Mapping execution time. So it is difficult to get a clean measuring there, without influences from queueing and so on.
Test Tab on Integration Builder has a too big step (one second). Mapping execution time is slower.
Do you have any ideas to measure this?
Or do you have experience with performance differences between those two kinds of Interface Mappings?
regards,
ms
P.S. i'm using XI 3.0Hi, Manuel:
For the two scenarios you want to compare performance, trigger them separately.
You take following steps to take measurement for those two scenarios:
Go to SXMB_MONI, find the message, go to pipeline step after your "Request Message Mapping"
e.g. you can select "Technical Routing" step, expand it, -> SOAP Header -> Performance Header:
You will see the start time stamp for each steps executed up to current step.
Locate your mapping programs, get the begin time stamp and end time stamp, then you will know the how long the mapping program take.
For the scenario that you have several mapping programs, make sure you get begin timestamp for the first mapping program and end timestamp for last mapping program, the difference is the time for you few mapping program take.
Hope this helps.
Liang
Edited by: Liang Ji on Mar 29, 2008 5:42 AM -
Error while creating request list DSU execution error in Upgrade PI
Hello,
I´m doing upgrade de PI 3.0 - 7.0 in mscs and run startup.bat...
DSU execution error on hostnode1.domain.sap
Error while creating request list - see proceeding messages
Instance profile for instance 00 on host hostnode1 not found profile SID_w*00_hostnode1 not found in directory ...../usr(sap/SID/profile
Help please.
Luis
Edited by: Luis Maura on Nov 5, 2010 1:38 PMInstance profile for instance 00 on host hostnode1 not found profile SID_\w*00_hostnode1 not found in directory
hostnode1 is physical or virtual ?, this file SID_\w00_hostnode1* exist or not .
compare the GLOBAL HOSTNAME settings in profiles of Default,Instance and start
Regards, -
Execution error in Marketing planning
Hi all
I am getting following error "CL_CRM_MKTPL_APPLICATION====CP" while creating a new market plan. It an is execution error.
PLz help me out
Regards
Quantuscumque
Edited by: quantuscumque on Aug 16, 2010 9:58 AMHi Quants ,
Please be informed that as of release 5.1,SAP GUI is suppose to use
only for administrative tasks and for transactions,new WEB UI.
Please check the attached note 1118231 for more information.
Thanks & regards,
Krishnen -
SQL execution error, ORA-01843: not a valid month
Im using ASP/VBScript and its my first time starting to use Oracle as a DB provider.
Just having an issue with a statement that I have.
Heres my statement:
SELECT T592_NOON.SHIP_CODE, T592_NOON.REPORT_DATE, T592_NOON.L_B, T592_NOON.AVERAGE_SPEED, T592_NOON.SEASTATE, T592_NOON.DISTANCE, T592_NOON.WIND_DIRECTION, T592_NOON.IFO_MAIN, T592_NOON.IFO_BOILER, T592_NOON.IFO_AUXENGINE FROM T592_NOON WHERE (((SHIP_CODE)='S271') AND (REPORT_DATE BETWEEN to_date('08/02/2004 13:00:00', 'DD-MON-YYYY HH24:MI') and to_date('28/02/2004 18:15:00', 'DD-MON-YYYY HH24:MI')))
Whenever I run it it errors and returns:
SQL execution error, ORA-01843: not a valid month
Can anyone tell why this wouldnt work?
REPORT_DATE type is DATE
REPORT_DATE Sample data: 2003-04-28-12.00.00.000000Changing the format of the date seemed to fix it.
Incorrect: '08/02/2004 13:00:00'
Correct: '08-FEB-2004 13:00'
Maybe you are looking for
-
Unable to print from my Iphone to my eprinter
I can login to my HP eprint account and see my printer and print to it. I can also print to my printer on my WIFI from my iPhone 5. The problem is I can not print to it from my iPhone when I'm alway from my office? At one time I was able to do this.
-
Warning in query in Extended Syntax Check
Hi all, I perform Extended Syntax Check. It generates following warning for the query: - In "SELECT SINGLE....", the WHERE condition for the key field "MATNR" does not test for equality. Therefore the single record in question may not be unique. (You
-
When i switch on MacBook pro There is just a black screen
black screen when switch on MacBook pro?
-
I recently bought the new iMac 27' and have noticed that if i bump into my table sometimes the screen drops down as in the angle where its connected to the back monitor arm. Does anyone else have this problem or know how to fix it as it is a bit shak
-
So what would be the ideal tried and tested upgrade method?
I purchased Snow Leopard last week but have been hanging off upgrading as there have been mixed feedback about the upgrade. I guess curiosity is getting the better of me now so would like to know what is the most practical way of doing the upgrade? I