Regarding BAPI_CUSTOMER_CREATEFROMDATA1 Urgent Issue

Hi all,
I am using BAPI_CUSTOMER_CREATEFROMDATA1 to create customers from the portal.
I have given a reference customer in the PI_COPYREFERENCE structure along with sales area information.
But the BAPI gives an error message like no tax records exist for the reference customer.
I am working in UAE, and here we dont have tax. So we dont maintain tax records anywhere.
How to overcome this issue?
Can anyone help me out?
Thanks alot
Shobin

Hi
Pls go thru this code. hope it will sove ur issue.
Reward if help.
FUNCTION z_bapi_customer_create.
""Interface local:
*" IMPORTING
*" VALUE(I_KNA1) LIKE KNA1 STRUCTURE KNA1 OPTIONAL
*" VALUE(I_KNB1) LIKE KNB1 STRUCTURE KNB1 OPTIONAL
*" VALUE(I_KNVV) LIKE KNVV STRUCTURE KNVV OPTIONAL
*" EXPORTING
*" VALUE(E_KUNNR) LIKE KNA1-KUNNR
*" REFERENCE(O_KNA1) LIKE KNA1 STRUCTURE KNA1
*" REFERENCE(RETURN) LIKE BAPIRETURN1 STRUCTURE BAPIRETURN1
*" TABLES
*" T_XKNVI STRUCTURE FKNVI OPTIONAL
*" T_XKNB5 STRUCTURE FKNB5 OPTIONAL
-(1) initial routines -
data declaration: fields, items, tables:
DATA: subrc LIKE sy-subrc,
credit_control_flag LIKE bapikna108-x_flag value 'X',
postflag LIKE wdl_flag-xflag.
(ii) reset exporting data and sy-subrc
CLEAR: return,
sy-subrc.
(iii) fill temporary interface data i_bapikna1_0x, i_bapikna10x
(in the following: importing data unchanged, work only with
temporary interface data)
(iv) reset data of function kernel
CLEAR: i_kna1,
i_knb1,
i_knvv.
REFRESH:
t_xknbk,
t_xknvi,
t_xknvk,
t_xknvp,
t_xknb5.
-(2) work routines -
call "check function"
(ii) fill exporting data of "kernel function"
(iii) call "kernel function" post synchron (postflag = X)
i_kna1-land1 = 'BR'.
i_kna1-name1 = 'Nome'.
i_kna1-ort01 = 'Abaetetuba'.
i_kna1-pstlz = '099999999'.
i_kna1-regio = 'PA'.
i_kna1-sortl = 'Conceito'.
i_kna1-stras = 'Rua'.
i_kna1-mcod1 = 'Nome'.
i_kna1-mcod2 = 'Abaetetuba'.
i_kna1-mcod3 = 'Sr.'.
i_kna1-brsch = '01'.
i_kna1-ktokd = '0021'.
i_kna1-spras = 'P'.
i_kna1-stcd2 = '999'.
i_kna1-lzone = 'AC00000001'.
i_kna1-stkzn = 'X'.
i_kna1-txjcd = 'NN'.
i_kna1-duefl = 'X'.
i_kna1-civve = 'X'.
i_kna1-brsch = 'AG05'.
i_kna1-anred = 'Sr.'.
i_knvv-vkorg = 'MY01'.
i_knvv-vtweg = 'Z5'.
i_knvv-spart = 'Z7'.
i_knvv-versg = '1'.
i_knvv-kalks = '1'.
i_knvv-kdgrp = '02'.
i_knvv-bzirk = 'CLIE'.
i_knvv-pltyp = '02'.
i_knvv-awahr = '100'.
i_knvv-antlf = '9'.
i_knvv-kzazu = 'X'.
i_knvv-vsbed = '01'.
i_knvv-perfk = '01'.
i_knvv-waers = 'BRL'.
i_knvv-ktgrd = '01'.
i_knvv-vwerk = 'MY01'.
i_knvv-vkgrp = 'LDA'.
i_knvv-vkbur = 'MSOY'.
i_knvv-kurst = '001S'.
i_knvv-kabss = '0001'.
i_knvv-kkber = 'SE01'.
i_knb1-bukrs = '4169'.
i_knb1-akont = '0011411000'.
i_knb1-akont = '9999999999'.
i_knb1-zwels = 'C'.
i_knb1-zterm = '7001'.
i_knb1-vzskz = '02'.
i_knb1-fdgrv = 'C1'.
i_knb1-xzver = 'X'.
i_knb1-knrze = '0000935002'.
t_xknvi-aland = 'BR'.
t_xknvi-tatyp = 'IBRX'.
t_xknvi-taxkd = '1'.
APPEND t_xknvi.
t_xknb5-bukrs = i_knb1-bukrs.
t_xknb5-mahna = '0001'.
append t_xknb5.
postflag = 'X'.
CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
EXPORTING
i_kna1 = i_kna1
i_knb1 = i_knb1
i_knvv = i_knvv
I_BAPIADDR1 =
I_BAPIADDR2 =
I_MAINTAIN_ADDRESS_BY_KNA1 = ' '
pi_postflag = postflag
IMPORTING
e_kunnr = e_kunnr
o_kna1 = o_kna1
TABLES
T_XKNAS =
T_XKNBK =
T_XKNB5 = t_xknb5
T_XKNEX =
T_XKNVA =
T_XKNVD =
t_xknvi = t_xknvi
T_XKNVK =
T_XKNVL =
T_XKNVP =
T_XKNZA =
EXCEPTIONS
client_error = 1
kna1_incomplete = 2
knb1_incomplete = 3
knb5_incomplete = 4
knvv_incomplete = 5
kunnr_not_unique = 6
sales_area_not_unique = 7
sales_area_not_valid = 8
insert_update_conflict = 9
number_assignment_error = 10
number_not_in_range = 11
number_range_not_extern = 12
number_range_not_intern = 13
account_group_not_valid = 14
parnr_invalid = 15
bank_address_invalid = 16
tax_data_not_valid = 17
no_authority = 18
company_code_not_unique = 19
dunning_data_not_valid = 20
knb1_reference_invalid = 21
cam_error = 22
OTHERS = 23
(iv) insert the credit control data
IF credit_control_flag = 'X'
AND sy-subrc = 0.
CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_KNKA_K'
EXPORTING
PI_REF_CUSTOMER = E_KUNNR
PI_CUSTOMER = E_KUNNR
EXCEPTIONS
KNKA_INSERT_ERROR = 23
KNKK_INSERT_ERROR = 24.
CALL FUNCTION 'CREDITCONTROL_INSERT_DEFAULT' IN UPDATE TASK
EXPORTING
kunnr = e_kunnr
kkber = i_knvv-kkber
knrze = i_knb1-knrze.
ENDIF.
(v) return-value "kernel function"
(1) reset data of function kernel
CLEAR: i_kna1,
i_knb1,
i_knvv.
I_BAPIADDR1_01,
I_BAPIADDR2_01.
(2) error-handling
return value sy-subrc, only in case sy-subrc = 0
the exporting data customer_number (customerno)
will be changed
subrc = sy-subrc.
CLEAR sy-subrc.
-(3) set return values and leave the function -
customerno (key-field of BO KNA1), pe_customer, return
PERFORM returnsubrc_1
USING subrc
e_kunnr
CHANGING e_kunnr
return.
IF subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF.
ENDFUNCTION.

Similar Messages

  • Very Very Urgent Issue: Restricted Key Figure does not return any data

    Hi all,
    Please help me solving this urgent issue.
    created customer exit variable on characterstics version and also
    other customer exit variable on Value type.
    I coded that in variable exit. Problem is when I include these in
    restrickted keyfigure My query does not return me any data.
    But if I remove from restrickted key firgure and put it as normal
    charaterstics I see the variable is getting populated.
    Also in RSRT the SQl generated when these are included in RKF is not
    correct.
    I debugged and know they are getting populated. As when included in RKF
    I can also see the values of customer exit variables from information
    tab.
    I also know that there is data in cube for those restrictions.
    I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
    FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
    Thanks
    SAP BW
    **Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any data

    Hi,
    Everyone out there this is very urgent. If someone can help me solving this problem.
    We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
    I posted one oss notes also regarding this issue. But got no reply from SAP.
    So, Please help me solving this issue.
    Thanks
    SAP BW

  • How to put check box in a table format at the out put ?  Urgent issue...

    Hi,
    I am working an assignment to assign multiple roles for multiplr user.
    In selection screen we have to enter mutiple EMPNO from ..to
    1)  in second screen we will get the empno, First name, last name,  Position,
        From  date, To date, Sap user ID, Email id in the table formate with first
        column  with Check box.
    2) In second screen below the table I have to place the multiple roles just like in
       the step  loop format and below this one Execute button should be there.
    If we select the multiple employees or single employee and place the multiple roles or single roles and if I click the execute button then the multiple roles will be assigned to the multiple employees. The empno and roles will come from table and step loop to internal table and the same will pass to the BDC.
    For this requirement I prepered recording for Transaction PFCG. But I can't understand how to design the second screen that table format and the step loop format. Can anybody give any idea or any coding to design  the second screen.
    and how to meet the requirement. This is urgent issue. Good SDN points will be reworded.
    Witing for kind response.
    Thanks in advance.
    Bansidhar

    Hi upendra
    There are slight changes in the sivas code.Where is the data coming into the table.If its from a Model Node then iterate each element of the source node get that value compare and set the corresponding value in the element of the node binded to table.
    Create a boolean attribute "select" in the table node and bind it to checked property of the check box.
    for(int i=0;i<wdContext.node<tablenode>()..size();i++)
    if(wdContext.node<tablenode>().get<tablenode>ElementAt(i).select())
    wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(true);
    else
    wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(false);
    See the attribute is boolean so pass true or false as a values in setter methods.
    Regards
    Kalyan

  • Urgent Issue !!! Related to CJ20N

    Hi Guys,
    This is an Urgent Issue!!!!
    I have a requirement to upload the data .Initially they have created project definition and wbselement with the help of some data transfer technique later on they have added custom fields to this transaction.
    Now for the existing project and wbs element they want to update the values for the new custom fields .
    So can anybody suggest me how to approach this problem as this is my first requirement in PS.
    Points will be rewarded....
    Awaiting for your reply..
    Regards,
    Ravi Ganji

    You can use lsmw and do a recording to insert those new customer fields. LSMW can call bdc recording and you can enter the values there...

  • Urgent issue with Intrastat

    Hi All, we  have  very  urgent issue  with  intrastat report ''VE01''.
    There  is  many documents  with error Log-''The statistical value of the document item is zero.''.
    The pricing  settings looks OK and its impossible  to
    correct  those  documents with error.
    Any Idee how I could  correct them for  them  to  get  the  green status?
    Points  will be added  if  helpful
    Thanks and regards
    Luis

    Hello Luis,
    please check the VBRP-BRTWR. If this fiels is zero then you get an entry in the incompletion log.
    the message could be also occur if the GRWR is zero.
    Please check your pricing setting.
    Hope this will help to solve the problem.
    I f you are satisfied with the answer, please don't forget to give Reward Points.
    regards
    Claudia

  • Urgent issue in user-exit

    hi friends,
    one urgent issue regarding user-exits;
    i have the requirement like this:
    if any one of these fields ZPBSTQTY2, ZPCSTQTY2, ZPBKTQTY2, ZPCKTQTY2 and ZPBFRQTY2 in table S505 is GT 0, then i need to pass a value 'X' to two flags present in that table.
    then i have to update it thru transaction VA01.
    Plz suggest some solution for this.
    Thanks
    Praveen

    SDAPO001 Activating Sourcing Subitem Quantity Propagation
    SDTRM001 Reschedule schedule lines without a new ATP check
    V45A0002 Predefine sold-to party in sales document
    V45A0003 Collector for customer function modulpool MV45A
    V45A0004 Copy packing proposal
    V45E0001 Update the purchase order from the sales order
    V45E0002 Data transfer in procurement elements (PRreq., assembly)
    V45L0001 SD component supplier processing (customer enhancements)
    V45P0001 SD customer function for cross-company code sales
    V45S0001 Update sales document from configuration
    V45S0003 MRP-relevance for incomplete configuration
    V45S0004 Effectivity type in sales order
    V45W0001 SD Service Management: Forward Contract Data to Item
    V46H0001 SD Customer functions for resource-related billing
    V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
    V45A0001 Determine alternative materials for product selection
    And also you can write your code in MV45AFZZ
    <b>Reward points</b>
    Regards

  • Re: Related to CJ20N Urgent Issue

    Hi Guys,
    This is an Urgent Issue!!!!
    I have a requirement to upload the data .Initially they have created project definition and wbselement with the help of some data transfer technique later on they have added custom fields to this transaction.
    Now for the existing project and wbs element they want to update the values for the new custom fields .
    So can anybody suggest me how to approach this problem as this is my first requirement in PS.
    Points will be rewarded....
    Awaiting for your reply..
    Regards,
    Ravi Ganji

    Hello,
    To update Customer fields in a WBS element you can use LSMW recording mode for Tx: CJ02
    Enter the WBS element definition on the initial screen and cheese 'enter'
    in the WBS element overview, choose first line and select from menu: ' Details -> <Customer Fields> (This is an exit and you may see a different text over here) and you see the customer fields. fill the values in the fields and save.
    Hope this helps. Also please close all your previous threads.
    Best Regards, Murugesh AS

  • Urgent issue, BW Data extraction

    Hi,
      I have an urgent issue and need help.
      We were loading data after activating business content. Every thing worked fine and the delta load was also smooth.
      However, in order to start everything fresh. I deleted all the info package, deleted the "Intialization option for the source system"  AND then created my infopackage for Full upload with initialize option.
      In this case the extractor didn't find any data. I though it will bring all the data and this behavious put me in difficult situation. Please note that till this time everything was working fine.
    We were looading data from datassource 0CRM_SALES_ORDER_I

    Hi Anurava,
    What do you mean by <i>"Full upload with initialize"</i>?
    I couldn't understand what exaclty you meant by I "deleted all the info package, deleted the "Intialization option for the source system" Are you saying you deleted the requests from your ODS/Cube?
    Regards
    SS

  • Movement type restriction....Urgent issue

    Hi.. Every body,,,
    Actully 'm, a basis consultant , i have problem with mb1b Transaction code..
    Myproblem is
    i have 4 plants 1,2,3,4 now i want to restrict the goods transfer between these plants like
    01---02 -
    accepted
    0201--
    accepted
    0103--
    not accepted
    0104--
    not accepted
    0203--
    not accepted
    0204--
    not accepted
    And 1,2,3,4 plants must transfer goods to vendor
    i'm trying by using movement types 301 for plant to plant transfer and 541 for plant to vendor
    i have created two roles in one i was restricted company code 1 and 2 with movement types 301 and 541
    and in another role i was resricted comany code 3 and 4 with movement type 541 only..
    If i give thes two roles to diffrent users it is working fine, but if i give to same user but it is not working..
    I don't have functional kw......This is an urgent issue.......please suggest how to restrict..

    Just check a solution for the same by posting this question in MM module.
    Regards,
    Rajesh Banka

  • Regarding passport registration issues, I need to have a letter from you including both the old and new imei numbers. Could you please send me an email mentioning that I have changed the phones with the given imei numbers?

    Regarding passport registration issues, I need to have a letter from you including both the old and new imei numbers. Could you please send me an email mentioning that I have changed the phones with the given imei numbers?

    You're not addressing Apple here. This is a user-to-user technical support forum. If you want to contact Apple, use the Contact Us link at the bottom right of every page for information on how to do so.
    Best of luck.

  • Urgent: Issue with time out sql auzre

    We are trying to connect to our SQL AZURE databased (Northern Europe) we keep getting timeout error. Initially it was post-login phase error and now we keep getting 10600 error. We are on V12 version.
    Any ideas please?
    Here is the detail 
    An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll
    Additional information: Connection Timeout Expired.  The timeout period elapsed during the post-login phase.  The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while
    attempting to create multiple active connections.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=303; handshake=922; [Login] initialization=0; authentication=0; [Post-Login] complete=13000;

    Resolved offline.
    In general, please follow best practices on the linked documentation page below with regards to connectivity issues :
    http://azure.microsoft.com/en-us/documentation/articles/sql-database-connect-central-recommendations/ .

  • Urgent issue, Suddenly no data is extracted Once I create new infopack

    Hi,
    I have an urgent issue and need help.
    We were loading data after activating business content. Every thing worked fine and the delta load was also smooth.
    However, in order to start everything afresh, I deleted all the info package, deleted the "Intialization option for the source system" AND then created my infopackage for Full upload with initialize option.
    In this case the extractor didn't find any data. Please see the following log from the monitor "status " Tab.
    "No data available
    Diagnosis
    The data request was a full update.
    In this case, the corresponding table in the source system does not
    contain any data.
    System response
    Info IDoc received with status 8.
    Procedure
    Check the data basis in the source system."
    This is not correct since we were loading data ( full and delta ) successfully before and there are data in the system. This is most probably to do with the delta queue initialization in the source system.
    We were looading data from datassource 0CRM_SALES_ORDER_I.
    Please help, we are really stuck.
    Thanks
    Arunava

    hi Anurava,
    take a look oss note 692195, i think authorization issue
    Activities : 0CRM_SALES_ACT_1
    oss 692195
    Question 2 : On executing transaction RSA3 I get records but I find 0
    records when I load data from BW request.(No Data Available).
    How can I extract data in this case?
    Suggestion 2: First check if there are any entries in the table
    CRMD_ORDER_INDEX.Only if there are entries in this table you can
    extract records.
    If this is not the case then,
    It is possible that the user does not have sufficient
    authorities for extraction of  the relevant objects.
    Additionally, please review and implement the following notes
    615670
    161570
    150315
    618953
    If you are in the release 4.0 then
    To do BW extraction with the user please see that the following
    authorization object exists(display mode is enough):
    CRM_ACT, CRM_OPP, CRM_LEAD, CRM_SAO, CRM_SEO, CRM_CO_SE, CRM_CO_SC
    CRM_CO_SA, CRM_CON_SE, CRM_CMP, CRM_ORD_OP, CRM_ORD_LP, CRM_ORD_PR
    CRM_ORD_OE, CRM_CO_PU, CRM_CO_PD, CRM_ORD_PO
    (all these objects are linked to transaction crmd_order).

  • URGENT ISSUE: Line In Lag

    URGENT ISSUE: Line In Lag? Hello everyone, for Christmas I got a brand new computer with Windows 7 and a Soundblaster X-Fi card. I got this new computer to record music.
    I was horrified to find out that when I record guitar, vocals, or anything else through the Line in there is a MASSIVE lag that makes it IMPOSSIBLE to record! I have been looking for a fix for this for two months now. Some people with Realtek sound cards are saying there is a way to eliminate the lag with the Realtek control center program, others claim ASIO4ALL can eliminate the lag but I've had no?luck with that. I've tried tons of things to only find that the lag still persists
    I AM NOT THE ONLY ONE WITH THIS PROBLEM! THERE ARE HUNDREDS OF MUSICIANS EXPERIENCING THIS! I am very desperate, recording music is what I li've for, and with Windows 7 I can't do that. I am begging Creative or someone to help me. Release a patch, anything..... Musicians worldwide are in an uproar, just do a google search on this topic to see how many people are experiencing this!
    PLEASE HELP!!
    Sorry for the caps, thanks for your time

    ?Hi -XM-,
    Please don't?assume all kinds of lag issue to be the one and same problem. It's like saying every flu-like?symptom?is caused by the same?strain of virus. Which X-Fi card do you have exactly, the X-Fi Xtreme series or the?Titanium series?Are you doing a single track or multi-track recording? How massi've is the lag?
    If your Soundblaster X-Fi card came preinstalled or distributed?along with your new computer, please contact the respecti've computer vendor for assistance. Sound cards distributed in this manner are usually OEM models specially customized by the vendor, therefore any support?requests?should be directed to them.
    However if?the sound card was purchased separately in a Creative?retail box, please contact our Customer Support using this email form.

  • Urgent Issue:Err-REP-50125 : java.lang.ClassNotFoundException  - 11.1.1.3.0

    I'm trying to use custom destination with oracle fusion middleware 11.1.1.3.0 In-Process report server. I have added a custom destination section in the rwserver.conf file. Added the (customdest.jar - my jar file) jar file to the system classpath and reports_classpath. Still receiving class not found error.
    Here are the details:
    rwserver.conf:/opt/oracle/Middleware/user_projects/domains/ReportsDomain/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/rwserver.conf
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <server xmlns="http://xmlns.oracle.com/reports/server" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="11.1.1.2.0" xsi:schemaLocation="http://xmlns.oracle.com/reports/server file:/opt/oracle/Middleware/as_1/reports/dtd/rwserverconf.xsd">
    <cache class="oracle.reports.cache.RWCache">
    <property name="cacheSize" value="50"/>
    <!--property name="cacheDir" value="your cache directory"/-->
    <!--property name="maxCacheFileNumber" value="max number of cache files"/-->
    </cache>
    <!--Please do not change the id for reports engine.-->
    <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
    *<engine class="oracle.reports.engine.EngineImpl" engLife="50" id="rwEng" maxEngine="1" minEngine="1" jvmOptions="-Xmx512M" classPath="/opt/oracle/Middleware/as_1/jlib/jsp-api-2.1-6.0.1.jar:/opt/oracle/Middleware/as_1/jlib/jsch-0.1.26.jar:/opt/oracle/Middleware/as_1/reports/jlib/customdest.jar">*
    <property name="sourceDir" value="/opt/ogreports/catalog:/opt/ogreports/catalog/img"/>
    <!--property name="tempDir" value="your reports temp directory"/-->
    <!--property name="keepConnection" value="yes"/-->
    </engine>
    <engine class="oracle.reports.urlengine.URLEngineImpl" engLife="50" id="rwURLEng" maxEngine="1" minEngine="0" classPath="/opt/oracle/Middleware/as_1/jlib/jsp-api-2.1-6.0.1.jar:/opt/oracle/Middleware/as_1/jlib/jsch-0.1.26.jar:/opt/oracle/Middleware/as_1/reports/jlib/customdest.jar"/>
    <security class="oracle.reports.server.RWJAZNSecurity" id="rwJaznSec"/>
    <!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">
    <property name="dbuser" value="$$PORTAL_DB_USERNAME$$"/>
    <property name="dbpassword" value="csf:$$CSF_ALIAS$$:$$PORTAL_DB_PASSWORD_KEYE$$"/>
    <property name="dbconn" value="$$PORTAL_DB_TNSNAME$$"/>
    </destination-->
    <destination class="oracle.reports.plugin.destination.ftp.DesFTP" destype="ftp"/>
    <destination class="oracle.reports.plugin.destination.webdav.DesWebDAV" destype="WebDav"/>
    *<destination destype="rcpfile" class="com.ubizen.og.offline.reporting.oracle.RcpDestination">*
    *<property name="user" value="tomcat"/>*
    *<property name="destype" value="rcpfile"/>*
    *</destination>*
    <job engineId="rwEng" jobType="report"/>
    <job engineId="rwURLEng" jobType="rwurl"/>
    <notification class="oracle.reports.server.MailNotify" id="mailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    Error:/opt/oracle/Middleware/user_projects/domains/ReportsDomain/servers/WLS_REPORTS/logs/reports/rwserver_diagnostic.log
    [2011-09-29T10:52:26.871-04:00] [WLS_REPORTS] [INCIDENT_ERROR] [REP-50125] [oracle.reports.server] [tid: 46] [userId: <anonymous>] [ecid: 0000JApf0iF9XbpSoQjc4m1EOGV800001d,1:18769] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:-3e9d1a3b:1322b067681:-7fff-000000000000876f] REP-50125 : java.lang.ClassNotFoundException: com.ubizen.og.offline.reporting.oracle.RcpDestination [[
    java.lang.ClassNotFoundException: com.ubizen.og.offline.reporting.oracle.RcpDestination
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at oracle.reports.server.Destination.invokeShutdown(Destination.java:492)
    at oracle.reports.server.Destination.shutdownDest(Destination.java:125)
    at oracle.reports.server.RWServer.shutdown(RWServer.java:463)
    at oracle.reports.server.RWServer.run(RWServer.java:364)
    at java.lang.Thread.run(Thread.java:662)
    ClassPath:.:/opt/oracle/Middleware/as_1/jlib:/opt/oracle/Middleware/as_1/reports/jlib
    File in classpath: /opt/oracle/Middleware/as_1/reports/jlib
    aolj.jar customdest.jar rwadmin.jar rwenv.jar rwxdo.jar
    confmbean.jar runtimembean.jar rwbuilder.jar rwrun.jar
    Relates to Oracle Bug:
    https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(viewingMode=1143&from=BOOKMARK&bmDocTitle=Can%20Not%20Find%20Class%20From%20Custom%20Destinations%20Jar%20File%20-%20REP-50125%20:%20java.lang.ClassNotFoundException&bmDocID=1263455.1&bmDocType=PROBLEM&bmDocDsrc=KB))
    Note:
    I'm not sure where the In-Process report server is looking for the classpath. I added them in all possible classpaths ans none of them worked.
    This is an urgent issue in our team. We are migrating from 10g oracle application server to fusion middleware 11g report server. This functionality is working in 10g report server but not in 11g due to classpath issues.
    Please let me know if additional info needed. Please respond.

    Hi,
    Thanks very much for responding. I added my jar file(customdest.jar) as you have suggested to setDomainEnv.sh. Now the In-Process report server just hangs when I try to bring it up through em and I don't see any errors in the log files. Any ideas where to look for errors? The jar files were created for 10g , we are just migrating them to 11g. I have setup the trace at highest level still don't see any error in rwserver_diagnostic.log.
    Here is the details:
    /opt/oracle/Middleware/user_projects/domains/ReportsDomain/bin/setDomainEnv.sh :
    if [ "${SERVER_NAME}" = "WLS_REPORTS" ] ; then
    POST_CLASSPATH="/opt/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/opt/oracle/Middleware/as_1/opmn/lib/nonj2eembeans.jar:/opt/oracle/Middleware/as_1/jdbc/lib/ojdbc6.jar:/opt/oracle/Middleware/as_1/opmn/lib/optic.jar:/opt/oracle/Middleware/as_1/opmn/lib/iasprovision.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar:/opt/oracle/Middleware/as_1/jlib/dfc.jar:/opt/oracle/Middleware/as_1/dvt/lib/dvt-jclient.jar:/opt/oracle/Middleware/as_1/dvt/lib/dvt-utils.jar:/opt/oracle/Middleware/oracle_common/jlib/ewt3.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.iau_11.1.1/fmw_audit.jar:/opt/oracle/Middleware/as_1/oui/jlib/http_client.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.idm_11.1.1/identityutils.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jaccprovider.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jacc-spi.jar:/opt/oracle/Middleware/as_1/ord/jlib/jai_codec.jar:/opt/oracle/Middleware/as_1/ord/jlib/jai_core.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.oc4j-obsolete_11.1.1/jazn.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.oc4j-obsolete_11.1.1/jazncore.jar:/opt/oracle/Middleware/oracle_common/jlib/jewt4.jar:/opt/oracle/Middleware/as_1/jlib/jta.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.ldap_11.1.1/ldapjclnt11.jar:/opt/oracle/Middleware/as_1/lib/mail.jar:/opt/oracle/Middleware/as_1/jlib/netcfg.jar:/opt/oracle/Middleware/as_1/jlib/oracle_ice.jar:/opt/oracle/Middleware/oracle_common/jlib/share.jar:/opt/oracle/Middleware/as_1/jlib/zrclient.jar:/opt/oracle/Middleware/as_1/reports/jlib/aolj.jar:/opt/oracle/Middleware/as_1/reports/jlib/confmbean.jar:/opt/oracle/Middleware/as_1/reports/jlib/runtimembean.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwadmin.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwbuilder.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwenv.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwrun.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwxdo.jar:/opt/oracle/Middleware/as_1/jlib/rts2.jar:*/opt/oracle/Middleware/as_1/reports/jlib/customdest.jar*:${CLASSPATHSEP}${POST_CLASSPATH}"
    export POST_CLASSPATH
    Log file: rwserver_diagnostic.log
    /opt/oracle/Middleware/user_projects/domains/ReportsDomain/servers/WLS_REPORTS/logs/reports
    <destination class="oracle.reports.plugin.destination.ftp.DesFTP" destype="ftp"/>
    <destination class="oracle.reports.plugin.destination.webdav.DesWebDAV" destype="WebDav"/>
    <destination destype="rcpfile" class="com.ubizen.og.offline.reporting.oracle.RcpDestination">
    <property name="user" value="tomcat"/>
    <property name="destype" value="rcpfile"/>
    </destination>
    <job engineId="rwEng" jobType="report"/>
    <job engineId="rwURLEng" jobType="rwurl"/>
    <notification class="oracle.reports.server.MailNotify" id="mailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    <!--notification id="wfNotify" class="oracle.reports.server.WorkflowNotify">
    <property name="connStr" value="%WF_DB_USERNAME%/%WF_DB_PASSWORD%@%WF_DB_TNSNAME%" encrypted="no"/>
    </notification-->
    <!--jobStatusRepository class="oracle.reports.server.JobRepositoryDB">
    <property name="dbuser" value="$$REPO_DB_USERNAME$$"/>
    <property name="dbpassword" value="csf:$$CSF_ALIAS$$:$$REPO_DB_PASSWORD_KEYE$$"/>
    <property name="dbconn" value="$$REPO_DB_TNSNAME$$"/>
    </jobStatusRepository-->
    <connection idleTimeOut="15" maxConnect="50"/>
    <queue maxQueueSize="1000"/>
    <!--jobRecovery auxDatFiles="yes"/-->
    <pluginParam name="mailServer" value="%MAILSERVER_NAME%">
    <!--property name="enableSSL" value="yes"/-->
    <!--UserName and Password that can be used to connect to the mail server-->
    <!--property name="mailUserName" value="%MAIL_USERID%" /-->
    <!--property name="mailPassword" value="%MAIL_PASSWORD%"/-->
    </pluginParam>
    </server>
    [2011-10-02T23:31:51.431-04:00] [WLS_REPORTS] [TRACE:32] [REP-56025] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [SRC_CLASS: oracle.reports.utility.RWLogger] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] [SRC_METHOD: writeln] RWServer:startServer Reports Server is starting up.
    [2011-10-02T23:31:51.435-04:00] [WLS_REPORTS] [TRACE:16] [] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [SRC_CLASS: oracle.reports.utility.RWLogger] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] [SRC_METHOD: writeln] Multicast:registerReceiver Packet handler registered
    [2011-10-02T23:31:51.435-04:00] [WLS_REPORTS] [NOTIFICATION:16] [] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] ServerPacketHandler:start ServerPacketHandler started successfully
    [2011-10-02T23:31:51.441-04:00] [WLS_REPORTS] [NOTIFICATION:16] [] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] SecurityHelper:start Security system rwJaznSec successfully started.
    No more error logged after this line. but in-process server just hung up indefinitely when I tried stating via the em and also via getserverinfo URL.
    In rwserver.conf: I have defined the following for custom destination
    /opt/oracle/Middleware/user_projects/domains/Repdomain/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/rwserver.conf
    <destination destype="rcpfile" class="com.ubizen.og.offline.reporting.oracle.RcpDestination">
    <property name="user" value="tomcat"/>
    <property name="destype" value="rcpfile"/>
    </destination>

  • Urgent issue: photo invalid format after conversion

    Hi,
    I have this urgent issue...I purchased and Ipod in USA and with camera connector I downloaded all the pictures taken (1700...). Came back to home, I connected the Ipod to my Ibook and I saw a message "optimizing ipod for mac" ... after this, only 67 photo are working. The other are all "invalid format" .... I also looked at the binaries of the image...it seems the ones invalid missed the jpeg header or information. Does anyone know what happens in this "optimization" and if there is something to come back? THank you so much!

    Hello All,
    Could anyone assist me with a fix for the problem ?
    Would appreciate it greatly.
    Thanks.

Maybe you are looking for

  • My sound is working but not my

    ok i just bought a new soundblaster Li've! 24-bit and i got the sound working but my microphone doesnt work... what the hak? im 50% positi've that its in the right jack, and i also disabled onboard sound on my BIOS and in my creative surround mixer a

  • Customising Metro screen (Windows 8.1 SL)

    I am at my wits end trying to get a default start tiles to work. I am not sure because I am trying this on Windows 8.1 SL Whatever I do during post the OOBE on First logon the User set up runs and I get the default start tiles I have to use Windows 8

  • Problem with file sender adapter and endSeparator

    Hy, have the following situation: with a sender File adpater i have to receive the same structure of data but in two mode. 1) First mode : each recorset is defined as a file line    Example (not fields separator):    fielda,fieldb,fieldc    field2a,f

  • My iTunes won't scroll all the way to the bottom. How can I fix this?

    I have a large library, and I can't scroll all the way to the bottom. This is the same for the iTunes homepage, and any other pages, so that I cannot get to the bottom of the page. How can I fix this?

  • Photos on cd

    I am sure this post is going to reveal my total apple ignorance but I am tired of messing around on my own. I am making back up cds of all my photos. I scan the negatives into iPhoto and then make a cd that can be used on a PC or Mac but exporting th