R3 Datasource enhancement error
Hi All
Please would it be possible to provide advice. I've used RSA6 in R3 to enhance a master data attributes Datasource with a new field and need to code the enhancement. I'm no expert but this is the code I've used:
TABLE: P0006.
DATA: L_TABIX LIKE SY-TABIX.
case i_chabasnm.
*Enhancement of Candidate attributes
WHEN '0CANDIDATE'.
CASE i_datasource.
WHEN '0CANDIDATE_ATTR'.
DATA: l_S_rcf_s_bw_0candidate_attr like
rcf_s_bw_0candidate_attr.
LOOP AT I_t_data into l_s_rcf_s_bw_0candidate_attr.
l_tabix = sy-tabix.
SELECT single * from P0006 WHERE LIFNR =
l_s_rcf_s_bw_0candidate_attr_s-lfnr.
IF sy-subrc = 0.
l_s_rcf_s_bw_0candidate_attr_s-zzpstlz
= P0006-pstlz.
MODIFY i_t_data from
l_s_rcf_s_bw_0candidate_attr INDEX l_tabix.
ENDIF.
ENDLOOP.
ENDCASE.
ENDCASE.
When I check this code I'm getting a syntax error: ' "P0006" is not defined in the ABAP Dictionary as a table, projection view or database view.' I agree with this, P0006 is a Structure.
My question is what changes should I therefore make to the code?
Thank you in advance, hope someone can help will assign points!
Helen
Hi Subray
Many thanks for your response; changing the table/structure to PA0006 fixed the error message:
"P0006" is not defined in the ABAP Dictionary as a table, projection view or database view.'
However I'm now getting a new error message. I entered the query on the ABAP forum (with the same subject header) and received a response there, which I'm also looking into.
Will post any successes with this ABAP thread for completeness in this forum as well.
Thanks again
Helen
Similar Messages
-
Creating BADI for datasource enhancement in CRM system
Hi,
I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for datasource enhancement in CRM.
Thanks in advance
MoumitaHi Kushal,
You can find the BADI name by,
Go to Transaction SE24
Enter the Object Type CL_EXITHANDLER and click on Display.
Double Click on method "GET_INSTANCE".
Put a Break-point on Call method cl_exithandler=>get_class_name_by_interface
Run RSA3 transaction and execute the DataSource.
The execution will stop at the break point.
Check the values of variable 'exit_name', it will give you the BADI name called at that time.
Thanks,
Kokila -
Creating BADI for datasource enhancement in CRM.
Hi,
I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for datasource enhancement in CRM.
Thanks in advance
MoumitaHi Prasad Reddy,
This are the available badis and exits for this t.code:
Enhancement/ Business Add-in Description
Enhancement
MGA00001 Material Master (Industry): Checks and Enhancements
MGA00002 Material Master (Industry): Number Assignment
MGA00003 Material Master (Industry and Retail): Number Display
Business Add-in
MG_MASS_NEWSEG User-Specific Fields & Segments in Mass Maintenance
MATGRP_SKU_UPD
CDT_CHECK_MATERIAL Checks for Existence of a Material in a CDT
BADI_MM_MATNR
BADI_MAT_F_SPEC_SEL BAdI for Material Special Field Selection
BADI_MATNR_CHECK_PVS
BADI_MATERIAL_REF Addition of customer-defined default data for material
BADI_MATERIAL_OD
BADI_MATERIAL_CHECK Enhanced checks for material master table
BADI_GTIN_VARIANT
BADI_EAN_SYSTEMATIC
o.of Exits: 3
o.of BADis: 11
Find the Exact exits and badis for ur requirement.
How to fine the exact badi:
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any
transaction
Rgds,
P.Naganjana Reddy
if you follow this 7 steps, you will find a suitable BADI. -
Different ways to Datasource Enhancement
I know DS enhancement can be done through ABAP Statement CASE,ENDCASE,WHEN. I came to know that this is old technique to enhance the datasource as it makes the code quite messy if several developers work on the same code.
I came across one document on SDN where we create a new program for each datasource which is independent from other enhancement.
I just want to know how this program works and the difference between this technique and old technique as i have limited ABAP knowledge.
What are the exact challenges that we come across when we use CASE,ENDCASE,WHEN statements.
Edited by: Murali K on Jun 1, 2010 6:31 AMHi Murli,
1) Datasource enhancement previously was done using CMOD Still many organizatins continue with this approach.
Here you can get option to write code for your appended field in ur Standard datsource where you can write select statements etc.
2) Now SAP is recommending to Write Codes using BADI .this approach helps to maintain individual implementations for each data source enhancement
This methods advantage over previous CMOD method is that ,in CMOD a single include will contain all the ABAP coding (this will create problem in marinating the versions for developers).specially while you are transporting the CMOD code to test and prod systems.
With the new BADI method you can avoid this problem as individual implementations can be transported independently without creating conflicts.
Thanks and Regards
Arun -
New SOD and enhanced error handling?
Hi,
I have been studying the new SOD. It looks very good. The only thing I am missing is enhanced error handling. Has this been dropped or is it under "Numerous functional and performance improvements"?
Being able to catch exceptions from database triggers etc. is the only bigger flaw I see in this great tool ;-)
Regards PetePete,
Yes we are still intending to enhance our error handling capabilities.
We have not finalized exactly what enhancements we are making with these yet.
Regards,
David
Message was edited by:
dpeake -
Transactional datasource enhancement
Need documentation for transactional datasource enhancement
Please search SDN
Edited by: Pravender on May 25, 2010 12:28 PMhi,
chk the links
Master data enhancement
CMOD Enhancements
Enhancing master data extractor
Lo Enhancement- Transactional data
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46
Ramesh -
Problem in datasource enhancement
Hi All,
Facing a problem in datasource enhancement.
In R/3 SAP ABAP release = 640 and
BW release = 350.
Datasource: 0WBS_ELEMT_ATTR
I enhanced the datasource by adding an append structure with 'ZZ' fields.The data elements for these fields are SAP standard (like KUNNR,VKORG etc...)
Everything's active and there are no inconsistencies.
However these added fields are not visible either in the RSA6 maintenance or in RSA3 checker.
Hence I am unable to replicate these fields and pull them over to BW.
Please advise.Guys,
The problem is not with hiding/unhiding these fields.
The appended fields themselves are not coming up through the RSA6 maintenance. They are not available for unhiding.
Please advise. -
How to do Datasource Enhancement ?
hi experts,
i have requirement in datasource enhancement,
data source is 2lis_12_vcitm, my requirement is, i wnat to add one more field that is LIFEX ( External Identification of Delivery Note) from the LIKP ( SD document Delivery Header data) table.
anybody please tell me the step by step procedure.
please help me to do this.
good answer will be appriciated with highest points,
thanks in advance,
venkatHi,
Pls chk this links;
http://help.sap.com/saphelp_nw70/helpdata/en/6e/fe6e420f00d242e10000000a1550b0/content.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46
/people/pradip.patil/blog/2006/06/07/how-to-retain-deltas-when-you-change-lo-extractor-in-production-system
/people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
http://www.bridgeport.edu/sed/projects/cs597/Fall_2003/vijaykse/step_by_step.htm
COPA datasource enhancement
Re: copa
Profitability Analysis Without COPA
Hope this helps.
Regards
CSM Reddy -
I am getting the error in cmod abap code that
REIS_MEASUREMENT_TRAN is not a flat structure but that is the extract structure in datasource 0refx_2 so what should i change on this
Tables: VIBDPR. "Property master data table
data: l_tabix like sy-tabix.
data: i_CHABASNM.
case i_CHABASNM.
*Enhancement of Property Master Record
WHEN '0REFX_2'.
case i_datasource.
WHEN '0REFX_2'.
data: l_s_REIS_MEASUREMENT_TRAN like REIS_MEASUREMENT_TRAN.
loop at i_t_data into l_s_REIS_MEASUREMENT_TRAN.
l_tabix = sy-tabix.
select single * from VIBDPR where BUKRS = l_s_ REIS_MEASUREMENT_TRAN - BUKRS.
if sy-subrc = 0.
l_s_BIW_VIBDPR_s-ZZRESPONSIBLE = VIBDPR-RESPONSIBLE.
modify i_t_data from l_s_ REIS_MEASUREMENT_TRAN index l_tabix.
endif.
endloop.
endcase.
endcase
thanks
soniyahi Soniya,
please post the same question just in one forum, check reply in the other thread,
also take a look following sample code
BIW_Mara_S enhancement
hope this helps. -
Classification DataSource Enhancement.
Hi,
I am enhancing a Classification DataSource to populate the multiple values by BADI. While doing so I am getting an error as c_t_data is unknown. Is the internal table for classification data source enhancements different from c_t_data ? How can I find out the internal table details ?
Regards,
HiteshHi,
You can add the classification data in Classification datasource....In case you need more Classification data....the just identifiy the Object from AUSP and enhance accordingly.....no need to write any code for this.......
Also if you need any data other then Classification data......then enhance the base attribute datasource not the classification datasource.
Regards
Mayank -
Dear Experts,
i am doing the enhancement for the master data datasource 0CUSTOMER_ATTR.
i am using For All Entries when i am selecting the required data from the application table KNA1 and here the key field was KUNNR.
in the where condition which table we need to provide for " For All Entries" first i used the table I_T_DATA generally this will give us the data from the datasource.
i declared one internal table with type extract structure of datasource 0CUSTOMER_ATTR and used the same in For All Entries.
i am looping the table I_T_DATA and getting the required data from internal table which i fetch from KNA1.
I am getting data for enhanced field when i checked teh same from RSA3,but when i debugged the code i am getting all the entries from KNA1 because the internal table whcih i used in For All Entries is blank.Since i am reading the Internal table from KNA1 only for each entry in I_T_DATA ,i am getting data only for selected records.
Please correct me if i am wrong and which table needs to be provided exactly in the where condition and the reason iam using the "For All Entries" to restrict the database for each record in I_T_DATA.
Regards,
Sunil Kumar.BHi Neeraj,
Please find the code.
TABLES : marc, mvke, knb1,kna1.
types : begin of ty_kna1,
KUNNR type KUNNR,
ZPASD_CRMACCOUNT type ZPASD_CRMACC,
end of ty_kna1.
data : ih_kna1 type hashed table of ty_kna1 with unique key kunnr,
wa_crmaccnt type ty_kna1,
select KUNNR
ZPASD_CRMACCOUNT
from kna1
into table ih_kna1
for all entries in i_t_data
where kunnr = i_t_data-kunnr.
the error is pointing to the select statement with error "The specified type has no structure and therefore no component called "KUNNR".i am using the Hashed table here.
Regards,
Sunil Kumar.B -
Business content datasource enhancement
Hi Experts,
I am new to HR.
We are implementing HR modules Personnel development and Personnel administration, while I was looking into business content extractors 0HR_PA_0 and OHR_PA_1, I found that there were only few fields in the extract structure but there were many fields in the cube.Do we need to enhance the datasources? how it works?. If anybody did the enhancement to these datasources, please give me the information with examples.
AnitaNo, it is no necesary to enhance standard data sources. Those datasources extract, basically employee and date. Most infoobjects in cube are calculated from 0PERSON and 0EMPLOYEE attributes, having in count the date and employed extracted, because most in HR is time dependent.
Assign point is usefull -
The Creation of Export DataSource Failed Error while transporting ODS Cube
Hi All,
I am facing this issue from last 1 week.. i had developed an ODS cube in APO-DP BW which will fetch data from SAP R/3 and its working fine in APO Dev Server. But when i transport this cube into APO PAC(Prodn Server) the below error i am getting..
Start of the after-import method RS_ODSO_AFTER_IMPORT for object type(s) ODSO (Activation Mode)
The creation of the export DataSource failed
Password logon no longer possible - too many failed attempts
Password logon no longer possible - too many failed attempts
Error when creating the export DataSource and dependent Objects
Error when activating DataStore Object ZANAUTSL
I also updated the transport conversion tables but still problem not resolved.
Immediate help is hightly appreciated.
Thanx
AJHi AJ,
Looking at your error, it seems that the RFC user's password is locked and hence connectivity from R/3 towards APO BW is broken.
You know the name of your export datasource (from R/3 to APO BW). Find out the name of your R/3 source system e.g. PACCLT000, by scrolling to the right against teh export data source.
Take help of your Basis or EAI team to identify the RFC destination corresponding to the connectivity from the R/3 source system (PACCLT000) to your APO BW system. (If needed ask for help from your BW team, I am not very sure how connectivity would be set up from R/3 to APO BW, I guess this would be independent from CIF connectivity)
For this RFC connection from R/3 to APO BW, see which RFC user is maintained in SM59 in APO and ask your security team to reset (or unlock) the password of this RFC user in R/3, and then if required update the user password details in SM59 in APO also.
After this, your issue should get resolved.
Thanks - Pawan -
EEWB Enhancement Error while adding new field
Hello Experts ,
The requirement is to add the attachment feild in the support desk message screen (CRMD_ORDER) in the Fast track tab , although in the transaction tab already the document option is available for attachments the end user's want it in intial screen.
I have tried this using EASY ENHANCEMENT WORKBENCH - EEWB as per the suggestions given by experts in SDN,now i face a problem in EEWB .
I have created a object and extention in EEWB under a project,the it took me to the wizard automatically ,i followed up the notes in wizard to ADD_NEW_FIELDS and after it is completed, it shows a ERROR message as "Definition CRM_BTX_ADD_NEW_FIELDS is of the type 'TSK' and should run on an external system. This is not permissible. Only definitions of type 'SEQ' may be created for external systems." What does this Error Mean?Should i have to follow any system settings for this?
Note : I have made the system settings in EEWC -System Data Maintenence before enhancement.
Has any one worked with EEWB to ADD new fields,if so then please give me a solution to solve this problem.
Thanks & Regards,
Mohana PriyaHi Priya,
We are also facing similar error in EEWB. If you have solved this problem, please update thread.
Thanks
Dhanraj -
Lookup in Xi using XSLT with Java enhancement "Error"
Hi Experts,
I need your advice urgently.
I have done message mapping using XSLT mapping with Java enhancement.
I included the code for SAP DB connection to read from the table.
I imported both the sapdbc-7_6_00_30_5567 Driver.jar and my custom jar into imported archives.
I used the java functions in my XSLT to get the lookup value.
The code was working correctly in NWDS, but when i tried to execute the scenario, it gave me 'SYSTEM ERROR'
Following is the error as seen in SXMB_MONI
<?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">TRANSFORMER_EXCEPTION</SAP:Code>
<SAP:P1>PortalTransaction_EP_to_Insert_EP_DB</SAP:P1>
<SAP:P2>http://ab.com/xys/subscription</SAP:P2>
<SAP:P3>8abf9c80-ad4a-11db-bb9a-ccaaac110865</SAP:P3>
<SAP:P4>-1</SAP:P4>
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Exception occurred during XSLT mapping of the application</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Following is the DEBUG trace when i tries to test the Interface Mapping
Creating mapping sequence with 2 steps.
Creating step 0
Creating XSLT mapping PortalTransaction_SUBSYS_to_PortalTransaction_EP
Creating step 1
Creating XSLT mapping PortalTransaction_EP_to_Insert_EP_DB
Start executing mapping sequence with 2 steps.
Executing mapping step 0
Call XSLT processor with stylsheet PortalTransaction_SUBSYS_to_PortalTransaction_EP.xsl.
Returned form XSLT processor.
XSLT transformation: PortalTransaction_SUBSYS_to_PortalTransaction_EP.xsl completed with 0 warning(s).
Mapping step 0 has been executed.
Executing mapping step 1
Call XSLT processor with stylsheet PortalTransaction_EP_to_Insert_EP_DB.xsl.
Loaded class com.cityandguilds.clasp.xi.DateTimeFunctions
Method fatalError called, terminate transformation
javax.xml.transform.TransformerException: com.sap.engine.lib.xml.util.NestedException: java.lang.ClassNotFoundException: Class doesn't have appropriate method! -> java.lang.ClassNotFoundException: Class doesn't have appropriate method! at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:251) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingTransformer.transform(RepMappingTransformer.java:150) at com.sap.aii.ibrep.server.mapping.ibrun.RepXSLTMapping.execute(RepXSLTMapping.java:81) at com.sap.aii.ibrep.server.mapping.ibrun.RepSequenceMapping.execute(RepSequenceMapping.java:54) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingHandler.run(RepMappingHandler.java:80) at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:107) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInterfaceMapping(ServerMapService.java:127) at com.sap.aii.ibrep.server.mapping.ServerMapService.transform(ServerMapService.java:104) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.transform(MapServiceBean.java:40) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.transform(MapServiceRemoteObjectImpl0.java:167) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:104) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: com.sap.engine.lib.xml.util.NestedException: java.lang.ClassNotFoundException: Class doesn't have appropriate method! -> java.lang.ClassNotFoundException: Class doesn't have appropriate method! at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.<init>(JLBFunction.java:65) at com.sap.engine.lib.xsl.xpath.JLBLibrary.getFunction(JLBLibrary.java:107) at com.sap.engine.lib.xsl.xpath.LibraryManager.getFunction(LibraryManager.java:76) at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:98) at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:83) at com.sap.engine.lib.xsl.xpath.XPathProcessor.innerProcess(XPathProcessor.java:56) at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:43) at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:51) at com.sap.engine.lib.xsl.xslt.XSLVariable.process(XSLVariable.java:132) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296) at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:272) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:463) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:431) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:394) at com.sap.engine.lib.jaxp.TransformerImpl.transformWithStylesheet(TransformerImpl.java:398) at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:240) ... 19 more Caused by: java.lang.ClassNotFoundException: Class doesn't have appropriate method! at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.init(JLBFunction.java:273) at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.<init>(JLBFunction.java:63) ... 34 more -
com.sap.engine.lib.xml.util.NestedException: java.lang.ClassNotFoundException: Class doesn't have appropriate method! -> java.lang.ClassNotFoundException: Class doesn't have appropriate method! at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.init(JLBFunction.java:273) at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.<init>(JLBFunction.java:63) at com.sap.engine.lib.xsl.xpath.JLBLibrary.getFunction(JLBLibrary.java:107) at com.sap.engine.lib.xsl.xpath.LibraryManager.getFunction(LibraryManager.java:76) at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:98) at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:83) at com.sap.engine.lib.xsl.xpath.XPathProcessor.innerProcess(XPathProcessor.java:56) at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:43) at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:51) at com.sap.engine.lib.xsl.xslt.XSLVariable.process(XSLVariable.java:132) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296) at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:272) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:463) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:431) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:394) at com.sap.engine.lib.jaxp.TransformerImpl.transformWithStylesheet(TransformerImpl.java:398) at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:240) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingTransformer.transform(RepMappingTransformer.java:150) at com.sap.aii.ibrep.server.mapping.ibrun.RepXSLTMapping.execute(RepXSLTMapping.java:81) at com.sap.aii.ibrep.server.mapping.ibrun.RepSequenceMapping.execute(RepSequenceMapping.java:54) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingHandler.run(RepMappingHandler.java:80) at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:107) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInterfaceMapping(ServerMapService.java:127) at com.sap.aii.ibrep.server.mapping.ServerMapService.transform(ServerMapService.java:104) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.transform(MapServiceBean.java:40) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.transform(MapServiceRemoteObjectImpl0.java:167) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:104) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) -
at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.<init>(JLBFunction.java:65) at com.sap.engine.lib.xsl.xpath.JLBLibrary.getFunction(JLBLibrary.java:107) at com.sap.engine.lib.xsl.xpath.LibraryManager.getFunction(LibraryManager.java:76) at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:98) at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:83) at com.sap.engine.lib.xsl.xpath.XPathProcessor.innerProcess(XPathProcessor.java:56) at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:43) at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:51) at com.sap.engine.lib.xsl.xslt.XSLVariable.process(XSLVariable.java:132) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296) at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:272) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:463) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:431) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:394) at com.sap.engine.lib.jaxp.TransformerImpl.transformWithStylesheet(TransformerImpl.java:398) at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:240) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingTransformer.transform(RepMappingTransformer.java:150) at com.sap.aii.ibrep.server.mapping.ibrun.RepXSLTMapping.execute(RepXSLTMapping.java:81) at com.sap.aii.ibrep.server.mapping.ibrun.RepSequenceMapping.execute(RepSequenceMapping.java:54) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingHandler.run(RepMappingHandler.java:80) at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:107) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInterfaceMapping(ServerMapService.java:127) at com.sap.aii.ibrep.server.mapping.ServerMapService.transform(ServerMapService.java:104) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.transform(MapServiceBean.java:40) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.transform(MapServiceRemoteObjectImpl0.java:167) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:104) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: java.lang.ClassNotFoundException: Class doesn't have appropriate method! at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.init(JLBFunction.java:273) at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.<init>(JLBFunction.java:63) ... 34 more
TransfromerException during XSLT processing:
javax.xml.transform.TransformerException: com.sap.engine.lib.xml.util.NestedException: java.lang.ClassNotFoundException: Class doesn't have appropriate method! -> java.lang.ClassNotFoundException: Class doesn't have appropriate method! at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:251) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingTransformer.transform(RepMappingTransformer.java:150) at com.sap.aii.ibrep.server.mapping.ibrun.RepXSLTMapping.execute(RepXSLTMapping.java:81) at com.sap.aii.ibrep.server.mapping.ibrun.RepSequenceMapping.execute(RepSequenceMapping.java:54) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingHandler.run(RepMappingHandler.java:80) at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:107) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInterfaceMapping(ServerMapService.java:127) at com.sap.aii.ibrep.server.mapping.ServerMapService.transform(ServerMapService.java:104) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.transform(MapServiceBean.java:40) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.transform(MapServiceRemoteObjectImpl0.java:167) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:104) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: com.sap.engine.lib.xml.util.NestedException: java.lang.ClassNotFoundException: Class doesn't have appropriate method! -> java.lang.ClassNotFoundException: Class doesn't have appropriate method! at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.<init>(JLBFunction.java:65) at com.sap.engine.lib.xsl.xpath.JLBLibrary.getFunction(JLBLibrary.java:107) at com.sap.engine.lib.xsl.xpath.LibraryManager.getFunction(LibraryManager.java:76) at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:98) at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:83) at com.sap.engine.lib.xsl.xpath.XPathProcessor.innerProcess(XPathProcessor.java:56) at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:43) at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:51) at com.sap.engine.lib.xsl.xslt.XSLVariable.process(XSLVariable.java:132) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296) at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:272) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:463) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:431) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:394) at com.sap.engine.lib.jaxp.TransformerImpl.transformWithStylesheet(TransformerImpl.java:398) at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:240) ... 19 more Caused by: java.lang.ClassNotFoundException: Class doesn't have appropriate method! at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.init(JLBFunction.java:273) at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.<init>(JLBFunction.java:63) ... 34 more -
com.sap.engine.lib.xml.util.NestedException: java.lang.ClassNotFoundException: Class doesn't have appropriate method! -> java.lang.ClassNotFoundException: Class doesn't have appropriate method! at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.init(JLBFunction.java:273) at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.<init>(JLBFunction.java:63) at com.sap.engine.lib.xsl.xpath.JLBLibrary.getFunction(JLBLibrary.java:107) at com.sap.engine.lib.xsl.xpath.LibraryManager.getFunction(LibraryManager.java:76) at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:98) at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:83) at com.sap.engine.lib.xsl.xpath.XPathProcessor.innerProcess(XPathProcessor.java:56) at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:43) at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:51) at com.sap.engine.lib.xsl.xslt.XSLVariable.process(XSLVariable.java:132) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296) at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:272) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:463) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:431) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:394) at com.sap.engine.lib.jaxp.TransformerImpl.transformWithStylesheet(TransformerImpl.java:398) at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:240) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingTransformer.transform(RepMappingTransformer.java:150) at com.sap.aii.ibrep.server.mapping.ibrun.RepXSLTMapping.execute(RepXSLTMapping.java:81) at com.sap.aii.ibrep.server.mapping.ibrun.RepSequenceMapping.execute(RepSequenceMapping.java:54) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingHandler.run(RepMappingHandler.java:80) at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:107) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInterfaceMapping(ServerMapService.java:127) at com.sap.aii.ibrep.server.mapping.ServerMapService.transform(ServerMapService.java:104) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.transform(MapServiceBean.java:40) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.transform(MapServiceRemoteObjectImpl0.java:167) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:104) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) -
at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.<init>(JLBFunction.java:65) at com.sap.engine.lib.xsl.xpath.JLBLibrary.getFunction(JLBLibrary.java:107) at com.sap.engine.lib.xsl.xpath.LibraryManager.getFunction(LibraryManager.java:76) at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:98) at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:83) at com.sap.engine.lib.xsl.xpath.XPathProcessor.innerProcess(XPathProcessor.java:56) at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:43) at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:51) at com.sap.engine.lib.xsl.xslt.XSLVariable.process(XSLVariable.java:132) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296) at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:272) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:463) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:431) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:394) at com.sap.engine.lib.jaxp.TransformerImpl.transformWithStylesheet(TransformerImpl.java:398) at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:240) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingTransformer.transform(RepMappingTransformer.java:150) at com.sap.aii.ibrep.server.mapping.ibrun.RepXSLTMapping.execute(RepXSLTMapping.java:81) at com.sap.aii.ibrep.server.mapping.ibrun.RepSequenceMapping.execute(RepSequenceMapping.java:54) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingHandler.run(RepMappingHandler.java:80) at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:107) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInterfaceMapping(ServerMapService.java:127) at com.sap.aii.ibrep.server.mapping.ServerMapService.transform(ServerMapService.java:104) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.transform(MapServiceBean.java:40) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.transform(MapServiceRemoteObjectImpl0.java:167) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:104) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: java.lang.ClassNotFoundException: Class doesn't have appropriate method! at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.init(JLBFunction.java:273) at com.sap.engine.lib.xsl.xpath.functions.JLBFunction.<init>(JLBFunction.java:63) ... 34 more
17:44:11 End of test
Thanks in advance,
MonaHi,
Thanks to all who replied.
I solved the problem.
I was calling the java method from XSLT without passing any arguement.
I realised that the java methods called from XSLT should always have input parameter. So i changed the javamethod call from
public static String getCurrentRecNo() to public static String getCurrentRecNo(Object test)
and it worked.
Can anybody explain me why java methods called from XSLT should always have an input arguement.
Thanks
Mona
Maybe you are looking for
-
Update asset master record serial number when doing GR
Hi, The client has a requirement to update the serial# on an asset master record when the user process goods receipt through MIGO. Is there a BADI or another functionality that we can use to update the serial# on an asset master record upon GR? Thank
-
I have 8 charges on my debit card within a matter of 30 minutes for the same amount. I notified my bank but the bank is asking for itunes to send them a fax. How can i get this?
-
I can't find how to get to menues in latest iTunes running on windows 8. I am trying to convert a file to mp3. iTunes hel confirms (as I used to do) : chose file > create new version but where is 'file'?
-
Accessing SOAP attachment in mapping
Hi, we need to be able to receive a dynamic payload to a webservice published by XI, the payload will be in XML format, but unfortunately not static. So I think the only solution is to send the dynamic payload as a attachment in the webservice call.
-
Hi , i can set panel splitter width of an application from skin using af|panelSplitter -tr-divider-size: 0; is it possible to define splitter width for differ panel splitter i tried with style class like af|panelSplitter.splitter1 af|panelSplitter -