Problem During Extraction

Hello All,
I tried enhancing the 0customer_Attr  datasource through user exit EXIT_SAPLRSAP_002.
I had entered 4 fields and tried to fill the data to these fields by writing the abap code.
But after in bw the values of the fields which i have entered are not comming.
The following is the code i have written:
For data source "0customer_attr" only.
*&  Include           ZXRSAU02                                         *
CASE i_datasource.
  WHEN '0MATERIAL_ATTR'.
    PERFORM 0material(saplxrsa) TABLES i_t_data IF FOUND.
  WHEN '0CUSTOMER_ATTR'.
   DATA: ZZCUST_GRP LIKE KNVV-KDGRP,
         ZZPAYER LIKE KNVP-KUNN2,
         ZZCC_AREA LIKE KNKK-KKBER,
         ZZPIND_CODE2 LIKE KNA1-BRAN2.
TABLES:BIW_KNA1_S,KNVP,KNKK,KNA1.
DATA: L_BIW_KNA1_S type BIW_KNA1_S.
**<< SELECTION OF PAYER>>
LOOP AT I_T_DATA INTO L_BIW_KNA1_S.
SELECT * FROM KNVP
WHERE KUNNR = L_BIW_KNA1_S-kunnr.
IF SY-SUBRC EQ 0.
L_BIW_KNA1_S-ZZPAYER = KNVP-KUNN2.
ELSE.
L_BIW_KNA1_S-ZZPAYER = KNVP-KUNNR.
ENDIF.
ENDSELECT.
**<<SELECTION OF PAYERS CREDIT CONTROL AREA>>
SELECT * FROM KNKK
UP TO 1 ROWS
WHERE KUNNR = L_BIW_KNA1_S-ZZPAYER.
IF SY-SUBRC eq 0.
L_BIW_KNA1_S-ZZCC_AREA = KNKK-KKBER.
ENDIF.
ENDSELECT.
*<<SELECTION OF PAYERS INDUSTRY CODE>>
SELECT * FROM KNA1
WHERE KUNNR = L_BIW_KNA1_S-ZZPAYER.
IF SY-SUBRC EQ 0.
L_BIW_KNA1_S-ZZPIND_CODE2 = KNA1-BRAN2.
ENDIF.
ENDSELECT.
*<<SELECTION OF PAYERS GROUP>>
SELECT * FROM KNVV
WHERE KUNNR = L_BIW_KNA1_S-ZZPAYER.
IF SY-SUBRC EQ 0.
L_BIW_KNA1_S-ZZCUST_GRP = KNVV-KDGRP.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
  EXPORTING
    INPUT         = ZZCUST_GRP
IMPORTING
   OUTPUT        = ZZCUST_GRP
ENDIF.
ENDSELECT.
MODIFY I_T_DATA FROM L_BIW_KNA1_S.
clear L_BIW_KNA1_S.
ENDLOOP.
ENDCASE.
Please check if there is some problem in the code.

Are you sure that the flag "Field only Know in customer EXIT" in RSA6 are not checked for the field you have added to the datasource?
Hi
Mario

Similar Messages

  • Problem during extraction using generic data sources

    Hi
    While performing extraction(master data)  using generic data sources I am getting a problem.
    while selecting application component, I am unable to find SD to select it.What should I do?
    I selected CRM as application component and did the extraction , it is successful.
    But what about if we want to select SD? I am guessing it as an installation problem ... Anyone plz help me
    Thank you
    Deepthi

    Hi Deepthi,
    Looks like the RFC connection between source system and BW system is broken..
    Contact your basis team to check the connection what went wrong.
    once the connection is re-established you can gohead ...
    Try out this procedure
    Type Transaction SM59.
    a.) Open the RFC Destinations.
    b.) Find your Source System and double click on it.
    c.) Technical setting should contain information regarding your source
    system
    d.) Logon Information should contain source system client and name &
    password for you remote logon.
    **Suggestion : our remote name for our R/3 was ALEREMOTE. We use
    BWREMOTE so that we can monitor without confusion.
    e.) Execute your 'Test Connection' & 'Remote Logon'. You connection
    should be You should NOT be prompted for a password.
    f.) Repeat above to verify RFCs for other systems
    regards
    KP
    Edited by: KP on Dec 14, 2009 12:11 PM

  • TSV_TNEW_PAGE_ALLOC_FAILED during extraction

    Hi Experts,
    during extraction I receive TSV_TNEW_PAGE_ALLOC_FAILED short dump.
    More information from ST22:
    The internal table "\PROGRAM=AQZZSYSTBWGENER0SY000000000022\DATA=%DTAB[]" could
    not be further extended. To enable
    error handling, the table had to be delete before this log was written.
    As a result, the table is displayed further down or, if you branch to
    the ABAP Debugger, with 0 rows.
    At the time of the termination, the following data was determined for
    the relevant internal table:
    Memory location: "Session memory"
    Row width: 2020
    Number of rows: 921272
    Allocated rows: 921272
    Newly requested rows: 8 (in 1 blocks)
    The amount of storage space (in bytes) filled at termination time was:
    Roll area...................... 6216720
    Extended memory (EM)........... 1001373672
    Assigned memory (HEAP)......... 2000087232
    Short area..................... " "
    Paging area.................... 32768
    Maximum address space.......... 18446744054030015328
    So it seems that there is a memory problem cause of the big amount of data (around 1.200.000 records at all should be transferred).
    I already split up the number of parallel processes and maximum lines in ta-code SBIW. This made the process faster but still the short dump appears.
    This is the initial data extraction and all records have to be transferred. Is there any possibility in splitting up an initial data extraction in several packages? It's based on a generic extractor which get's data through InfoSet/ABAP FM.
    Many thanks in advance.
    Best regards
    Tobias

    Well, we are talking about the initialization only, hence I dont think the necessity of creating several process chains .. Say you can create multiple infopackages .. with non overlapping selection criteria ..
    Example ..
    Calendar year :- 2008
    Calendar Year :- 2009
    so on ..
    And they can be loaded manually !!
    once all the init selections are done .. you just need a single infopackage for delta loading which will actually load the delta records for all the successful init conditions ..
    Hope that helps ..
    Thanks.

  • Some Condition types missing during extraction from 2LIS_11_VAKON

    Hi,
    I am extracting conditions data to BI from ECC through 2LIS_11_VAKON. This datasource uses the fields from table KOMV. The Field KSCHL (Condition type) is also being taken from KOMV structure.
    My problem is some condition types are missing during extraction. Say, for example, for a Document condition i have 22 Condition types in KONV table but when i extract the data to BI, nearly 7 conditions are missing, i am getting only 15 condition types for the same document condition in BI.
    Why is this happening? I dont have any filters set. Moreover, this is happening in the Datasource level itself.
    Please advice. Any help on this is highly appreciated.
    Regards,
    Murali

    Hi Murali,
    try to have the manual check with set of data..there must be some mistaken in And and OR logic.
    Thanks,
    Deepak

  • ERRORS OCCURED DURING EXTRACTION USING RSA3

    Dear Folks,
    I have an error in production client & that is when i am doing test extraction for standard datasource using RSA3 i am geting following error:ERRORS OCCURED DURING EXTRACTION.
    I checked the log and message is extraction program failed as it is called by an invalid infosource or object 0crm_lead_h.
    note:0crm_lead_h is the DS
    Any help
    Thanks

    Hi ,
    Please follow below thread , it will solve ur problem.
    Errors occurred during the extraction, Message nos. RJ012 & R3009
    Hope this will help you...
    Thanks,
    Jitendra

  • Runtime error SAPSQL_CURSOR_ALREADY_OPEN during extraction - 0CO_OM_CCA_9

    Greetings,
    I'm getting the following runtime error: SAPSQL_CURSOR_ALREADY_OPEN during extraction of infoSource: 0CO_OM_CCA_9.
    Runtime Errors         SAPSQL_CURSOR_ALREADY_OPEN
    Date and Time          23.05.2011 11:10:44
    Short text
         Attempt to open a database cursor which was already open.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLBWOMR" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         An OPEN CURSOR statement established that the cursor
         was already open. This means that it was not closed in the previous
         processing with CLOSE CURSOR.
    I Checked OSS notes for my infosource error with no luck.
    Could you help in that matter?
    Thanks
    -Roula

    Have a look on following note:
    [1373960 - BW extractor: Runtime error SAPSQL_CURSOR_ALREADY_OPEN|https://service.sap.com/sap/support/notes/1373960]

  • RSA3: error occured during extraction hierarchy

    Hi,
    I have created 2 sets using tcode cxsa, ZAAA and ZBBB. Table that used for this set is FIMC and the field is RBUNIT. After that, i create generic hierarchy datasource using tcode BW07, enter the table name and field,then execute (custom data source with name 'ZFIECCS_HIER_CONS_UNIT' created). I don't use option 'Hierarchies of Sets with Compounding' here.
    After that i try to use tcode RSA3, enter the datasource = ZFIECCS_HIER_CONS_UNIT, enter HIENAME = ZAAA or ZBBB but i get message error 'Error occured during extraction'.
    I try to debug this extractor and find error happen in FM GSBH_HIERARCHY_TRANSFER_SETS,  this happen because i_s_hiebas-hclass <> i_s_hiersel-hclass.
    Then i try to execute program RSA1HCAT using tcode SE38. I enter my datasource and execute. I found that ZAAA and ZBBB not in list of hierarchy that can be accessed.
    Anyone can help my problem?
    Regards,
    Satria Budiman

    Hi,
    Go to RSA6 and see if data source is using the correct version or not.you can select the data source and click on chek option on the top and see if its any error.
    If it is dump then there is no other option but to retransport it again.
    try to see if the extract struture used by this data source is active or not??
    See if you are getting the error in the test systems also or not.
    Issue could be with the reallignment also where a controlling master data is changed.
    Thanks
    Ajeet

  • 0PM_PRM_PLCS_1 error occured during extraction

    Dear gurus ,
    i have make entry im pm_c05 table and extract the data first time ,it works fine .when i again try to load data it give me error .i have checked in rsa3 and while extraction it is giving error " Error occured during extraction " . our bi is is on 7.0 and erp 0n ehp 6.4 .i have implemented the sap note 0001243299 but again gettinng the same error.please help me out

    Hi Faisal:
       I've found a long list of SAP Notes that might be applicable to your environment, even though it is not mandatory to implement all of them to solve the issue you're facing right now, please consider the convenience of installing them on your system to fix some potential problems in advance.
    Note 1344048 - "0PM_PRM_PLCS_1: Delta upload does not work as expected"
    Note 1285238 - "0PM_PRM_PLCS_1: Errors during extraction, poor performance"
    Note 1323965 - "0PM_PRM_PLCS_1: Calculation for services"
    Note 1338093 - "0PM_PRM_PLCS_1: Execution factor not taken into account"
    Note 1339189 - "0PM_PRM_PLCS_1: Error occurs for alternative indicator"
    Note 1340188 - "0PM_PRM_PLCS_1: Revision of the calculation module"
    Note 1312783 - "0PM_PRM_PLCS_1: Implementing additional fields"
    Note 1314158 - "0PM_PRM_PLCS_1: Incorrect result during extraction"
    Note 1356256 - "0PM_PRM_PLCS_1: Poor system performance with strategy plans"
    Note 1416214 - "Overlap of records due to key constraints in 0PM_DS07"
    Note 1446484 - "Planned costs, costing, ECP: Incorrect message KI 217"
    Note 1508442 - "ECP, extractor 0PM_PRM_PLCS_1: error ME024 or ME025"
    Regards,
    Francisco Milán.

  • "Program files" directory problem during Microsoft Office Customization Installer in non-English versions of Windows

    We have a document-level customization solution for Word and are experiencing problems during deployment in an environment running on terminal services. The OS (Windows 2012) is English and Word (2013) is non-English (German). 
    Installation is done into the "Program Files" folder correctly. But when trying to start a word document linked to the specific template. The "Microsoft Office Customization Installer" pops up with the error.
    "There was an error during installation"
    From: file:///C:/Programme/[CompanyName]/[Productname]/[Productname].vsto
    Downloading file:///c:/Programme/[CompanyName]/[Productname]/[Productname].vsto did not succeed.
    Exception: ....
    System.Deployment.Application.DeploymentDonwloadException: Download file:///C:/Programme/[Companyname]/Productname]/[Productname].vsto did not suceed. ---> System.Net.WebException: Could not find a part of the path 'C:\Programme\[Companyname]\[Productname]\[Productname].vsto'.
    ---> System.Net.WebException: ...... ---> System.IO.DirectoyNotFoundException......
    The problem seems to be that the installer is looking for C:\PROGRAMME instead of C:\PROGRAM FILES. C:\PROGAMME is the German localized name of PROGRAM FILES (http://en.wikipedia.org/wiki/Program_Files).
    The installer installs the solution correctly deployed into c:\program files, but when the later a user tries to start it and the Microsoft Office Customization Installer is called, it tries to access the non-existing "c:\programme" folder. This
    doesn't exist, because Windows is English.
    Is there any thing related to deploying solutions on a platform which has different languages (mixing/matching of OS language and Office language?)
    Thank you for your help

    Hello,
    1. First, I would confirm with you whether you dealt with the localization for your document-level add-in?
    2. Did you use this way to define the Create a class that defines the post-deployment action part of Put the document of a solution
    onto the end user's computer (document-level customizations only) and did you get the path with Environment.SpecialFolder enum?
    To handle this, I would recommend you consider using Environment.SpecialFolder to set that property.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem During Installation of ECC 6 on Windows 2003

    <b><b>Here I am facing problem during Import ABAP Phase.
    It is throwing Error like that::
    CJS-30022 Program 'Migration Moitor' exists with return code 103.
    After completeing 9 stages, it's getting problem in Import packages and installation get stucked.
    My Server is like that:
    OS: Windows Server 2003
    Hardware: HP Itanium IA64
    Database: Oracle 10.2g
    SAP Release : 2004s ECC 6
    I have configured Java with j2sdk 1.4.2_12:
    JRE 1.5 is not available for IA64 .
    I reconfigured the parameter "shared_pool_size" (to 400MB)in init<sid>.ora at \oracle\<sid>\database.
    Also adjusted another parameter which is "shared_pool_reserved_size" i.e. 10% of the shared_pool_size.
    What to do now.
    Please send me feed backs.
    Regards,
    Sumanta Chatterjee
    </b></b> <b></b>

    run 'ls -lrta' in /tmp/sapinst_instdir/.... (whatever the lowest path is there, where all the log files are).  You should see something like sap<something>.tsk and sap<something>.log.  Look at the most recently updated sap<something>.log file for the specific error.  One problem I've seen is that if you configure the advanced oracle config to turn off AUTOEXTEND on the tablespaces, the abap load will bomb because it runs out of space.  Also, make sure your SYSTEM tablespace has at least 500M.
    Posting the relevant contents of the log with the detailed error description would help us provide a better answer as well.
    Rich

  • How do I get facetime on a MacBook Pro to work?  I keep getting a " server encountered problem during registration.." message.  I have FaceTime ver. 1.1.1

    How do I get facetime on a MacBook Pro to work?  I keep getting a " server encountered problem during registration.." message.  I have FaceTime ver. 1.1.1
    Thanks

    Icapper wrote:
    I will end up getting something other than Logitech speakers, since I'm just weird like that.
    Your not weird, your a audiophile.
    https://en.wikipedia.org/wiki/Audiophile
    Good sound costs money. And with a 5.1 system your usually doing surround sound decoding for BlueRay movies etc. for home theater purposes.
    The PC 5.1 surround sound systems require a audio card in a PC tower and mainly used for playing 3D games so that won't work for any Mac at all. So don't buy a PC 5.1 surround sound system for your Mac.
    Harmon Kardon has the GoPlay, it's a portable stereo with awesome sound (not as good as their theater systems) and you can hook up a analog male/male stereo mini cable to it from the Mac.
    $200 and it has a iPod dock and also takes like 8 batteries so it's portable.
    http://www.amazon.com/dp/B002GHBTNC
    There is also the Bose Wave clock/radio, you will need a stereo mini to RCA break out cable for that.
    http://www.bose.com/controller?url=/shop_online/wave_systems/index.jsp
    The GoPlay has much better sound than the Bose, I think the Bose are overpriced.

  • Error occured during extraction from APO to BI 7.0

    Hi Experts,
    I am in the process of extracting data from SCM(APO-Demand Planning) to BI .I have selected the relevant planning area 9ADP01 and given Generate Export DS in APO system and replicated the same in BI.But before scheduling the InfoPackage,when i checked for the DS 9A0APO_DP_ORDERANALYTICS_1,it displays "Error occured during extraction".I do have a doubt whether I should activate the DS in RSA5 before replication (but am not able to find the DS under DP in RSA5)
       I have checked the forums but solutions mentioned did not resolve my issue.
    Thanks,
    Meera

    Hi,
    The issue is resolved...
    Regards,
    Meera

  • Problem during creation of shipment document and shipment cost document

    Hi
    My client  facing problem during creation of shipment document and shipment cost document at the time of Batch Job
    Delivery no 897654: goods issue on 30.11 at 13:22. Shipment on 30.11 (VT01N).
    Shipment costs on 1.12 (VI01).
    the problem is the shipment document get created on 30.11.2010 but the shipment cost document get created on 1.12.2010
    pleas advice.

    Hi,
    Please check the batch job processing log.
    As per my understanding, business requires to generate the Shipment & Shipment cost documents immediatley.
    However there is some time between the documents creation time. I dont see any issue in the data or problem in the delivery docs Because system will not generate the shipment docs after 1 or 2 days if there is an issue with the data . There must be problem in the Batch Job.
    Analyse the batch jobs and timing of the job process.
    Let us know your feedback...
    Best Regards,
    MKumar

  • Problem during installation of Solution Manager

    Hi All,
    I am facing problem during the installation of solution manager. it shows following error during installation
    ERROR 2010-05-21 14:39:24
    FJS-00003  TypeError: this._name has no properties (in script NW_Doublestack_SCS|ind|ind|ind|ind, line 5140: ???)
    ERROR 2010-05-21 14:39:25
    FCO-00011  The step collect with step key |NW_Doublestack_SCS|ind|ind|ind|ind|0|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|collect was executed with status ERROR .
    Please also let me konw how much space do we require for installating the Solution manager as a central system on one drive?

    Hi Chandan,
    Well may be below SDN thread will help you... out ! try out with Curd Abstoss Response !!
    Inst. SAP NW 2004s Java SP9 - Error FJS-00003 this._name has no properties
    Hope it will work for you..as well !

  • Problem during installation of  NW7.0 SR3 on Windows x64

    Hello all,
    I have a problem during the installation of a new central instance.
    During the phase 38 "Install Software units", SAPINST shows that logs :
    Jul 30, 2008 1:41:10 PM  Info: Ending deployment prerequisites. All items are correct.
    Jul 30, 2008 1:41:11 PM  Info: Saved current Engine state.
    Jul 30, 2008 1:41:11 PM  Info: Starting: Initial deployment: Selected development component 'caf/eu/gp/model/eap'/'sap.com'/'MAIN_APL70VAL_C'/'1497904'/'5' will be deployed.
    Jul 30, 2008 1:41:11 PM  Info: SDA to be deployed: D:\usr\sap\PAD\DVEBMGS00\SDM\root\origin\sap.com\caf\eu\gp\model\eap\MAIN_APL70VAL_C\5\1497904\cafeugpmodeleap.sda
    Jul 30, 2008 1:41:11 PM  Info: Software type of SDA: J2EE
    Jul 30, 2008 1:41:11 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Jul 30, 2008 1:41:13 PM  Info: Begin of log messages of the target system:
    08/07/30 13:41:11 -  ***********************************************************
    08/07/30 13:41:12 -  Start updating EAR file...
    08/07/30 13:41:12 -  start-up mode is lazy
    08/07/30 13:41:12 -  EAR file updated successfully for 250ms.
    08/07/30 13:41:12 -  Start deploying ...
    08/07/30 13:41:12 -  EAR file uploaded to server for 93ms.
    08/07/30 13:41:13 -  ERROR: NOT deployed. The Deploy Service returned the following error:
                         For detailed information see the log file of the Deploy Service.
                         Exception is:
                         com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.
                              Nested exception is:
                              java.net.SocketException: Connection reset
                         java.net.SocketException: Connection reset
                              at java.net.SocketInputStream.read(SocketInputStream.java:168)
                              at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:395)
                              at java.lang.Thread.run(Thread.java:534)
    08/07/30 13:41:13 -  ***********************************************************
    Jul 30, 2008 1:41:13 PM  Info: End of log messages of the target system.
    Jul 30, 2008 1:41:13 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Jul 30, 2008 1:41:13 PM  Error: Aborted: development component 'caf/eu/gp/model/eap'/'sap.com'/'MAIN_APL70VAL_C'/'1497904'/'5', grouped by software component 'SAP-EU'/'sap.com'/'MAIN_APL70VAL_C'/'1000.7.00.14.0.20071210153525''/'5':
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: NOT deployed. The Deploy Service returned the following error: com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.
         Nested exception is:
         java.net.SocketException: Connection reset
    Exception is:
    com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.
         Nested exception is:
         java.net.SocketException: Connection reset
    java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:395)
         at java.lang.Thread.run(Thread.java:534)
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
    Jul 30, 2008 1:41:13 PM  Info: Starting to save the repository
    Jul 30, 2008 1:41:13 PM  Info: Finished saving the repository
    What can I do to validate that step ?
    Thanks in advance,
    Edited by: Alexandre Belgrand on Jul 30, 2008 1:48 PM

    Hi,
    I had same problem.i resolved it by reinstalling OS and configuring high Page file.
    Please set the max and min Page file size of same value.
    and also do the java memory tuning as per SAP Notes.
    Regards,
    Sandeep Nayak

Maybe you are looking for

  • Error while executing BEx

    hi ! I am getting the following error while executing the query . Abort system error In program Cl_RSDM_READ_MASTER_DATA and form_sidval_direct_ Please suggest .

  • Prob. with addiational line items when clearing Cust/Vendor

    Hi Experts, I've a serious issue with Account Clearing (F-32, F-44, F-03).  SAP generates unwanted additional line items when clearing customer/Vendor or GL accounts.  I've studied almost all the relevant SAP notes but couldn't found the solution of

  • Backup/restore repository and catalog

    documentation states that runcat.cmd can be used to put BI into maintenance mode and then xcopy the repository and catalog to back them up.. I have done this.. but If I want to recover from those files, the best way I have found is: use runcat.cmd ag

  • Command Line Cmds for User Management

    Is there a command line command that will simply display the user groups that a user belongs to? Is there a command line command that will simply add a supplied group name to the list of groups a user belongs to? Finally, is there a command line comm

  • Displaying URL's on Safari

    When I hold the mouse over a link, is there any way for Safari to display the URL before I click?