Dump during extraction for the custom datasource (ZFI_GL_14).

Hello all,
we are using Ecc 6.0 and we havent installed Enhancement Package 3. However our requirement is to create a custom datasource (ZFI_GL_14) similar to the standard one (0FI_GL_14). Initially we created the custom DS same as the standard one with the extraction method using Function Module. By default custom DS was assigned with extraction method F2. By running a program we changed F2 to F1 to resemble the standard one and made it as delta enabled as specified in the standard extractor.
when we started extracting the custom DS using RSA3, we encountered so many errors and resolved them. However still we are getting some more errors which requires your help.
1. While testing One of the function module FAGL_GET_LINE_ITEMS, it throws following ABAP dump.
Short text                                                                               
|    A dynamically specified FROM clause has an unexpected format.                              
|What happened?                                                                               
|    Error in the ABAP Application Program                                                        
|                                                                               
|    The current ABAP program "SAPLYPFI_FAGL_ITEMS_SELECT_BW" had to be terminated                
|     because it has come across a statement that unfortunately cannot be executed.                               
|Error analysis                                                                               
|    An exception occurred that is explained in detail below.                                     
|    The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SYNTAX', was not               
|     caught in                                                                               
|    procedure "YPFI_FAGL_GET_LINE_ITEMS" "(FUNCTION)", nor was it propagated by a                
|     RAISING clause.                                                                             
|    Since the caller of the procedure could not have anticipated that the                        
|    exception would occur, the current program is terminated.                                    
|    The reason for the exception is:                                                             
|    The running ABAP program attempted to execute an Open SQL statement in                       
   which a FROM clause was specified dynamically in the field "LD_DBTAB_SYNTAX".                
|     In this                                                                               
|    FROM clause, either a table name after a join operator is missing, or an                     
|     alias name after the key name "AS". The field "LD_DBTAB_SYNTAX" could be empty as well.                                                                               
|Missing RAISING Clause in Interface                                                              
|    Program                                 SAPLYPFI_FAGL_ITEMS_SELECT_BW                        
|    Include                                 LYPFI_FAGL_ITEMS_SELECT_BWU01                        
|    Row                                     1                                                    
|    Module type                             (FUNCTION)                                           
|    Module Name                             YPFI_FAGL_GET_LINE_ITEMS                             
|Trigger Location of Exception                                                                    
|    Program                                 SAPLYPFI_FAGL_ITEMS_SELECT_BW                        
|    Include                                 LYPFI_FAGL_ITEMS_SELECT_BWU01                        
|    Row                                     353                                                  
|    Module type                             (FUNCTION)                                           
|    Module Name                             YPFI_FAGL_GET_LINE_ITEMS                             
|Source Code Extract                                                                               
|Line |SourceCde                                                                               
|  323|                                  lt_fields_flexgl                                         
|  324|                                  lt_fields_table1                                         
|  325|                                  lt_fields_table2                                         
|  326|                                  gv_si_table "erste Tab immer Flexgl?                    
|  327|                                  gc_bkpf                                                  
|  328|*                                  ' '                  
|  329|                                  gc_bkpf_aedat       
|  330|                                  'X'                                                      
|  331|                            CHANGING ld_dbtab_syntax                                       
|  332|                                     lt_fldlist_s                                          
|  333|                                     lt_where_tab[].                                       
334
|  335|*       open cursor                                                                        
|  336|        DESCRIBE TABLE lt_where_tab LINES ld_lines.                                       
|  337|        IF ld_lines GT 0.                                                                 
|  338|          delta_dbcnt          = 0.                                                       
|  339|          old_dbcnt            = 0.                                                        
|  340|          flag_cursor_open     = 'X'.                                                     
|  341|          cursor_flag          = 'X'.                                                      
342
|  343|          OPEN CURSOR WITH HOLD i_cursor FOR                                               
|  344|          SELECT (lt_fldlist_s)                                                            
|  345|            FROM (ld_dbtab_syntax) CLIENT SPECIFIED                                        
|  346|             WHERE (lt_where_tab).                                                         
|  347|        ELSE.                                                                               
|  348|          delta_dbcnt          = 0.                                                        
|  349|          old_dbcnt            = 0.                                                        
|  350|          flag_cursor_open     = 'X'.                                                      
|  351|          cursor_flag          = 'X'.                                                      
352
|>>>>>|          OPEN CURSOR WITH HOLD i_cursor FOR                                               
|  354|          SELECT (lt_fldlist_s)                                                            
|  355|            FROM (ld_dbtab_syntax) CLIENT SPECIFIED.                                       
|  356|        ENDIF.                                                                             
357
|  358|        st_selection[]  = lt_selection[].                  
|  359|        st_fieldlist[]  = lt_fieldlist[].                  
|  360|        sd_dbtab_syntax = ld_dbtab_syntax.             
|  361|        st_fldlist_s[]  = lt_fldlist_s[].                
|  362|        st_where_tab[]  = lt_where_tab[].                
|  363|        st_seltable2[]  = lt_seltable2[].                 
364
|  365|      ENDIF.   "cursor_flag                                                               
366
|  367|      lt_selection[]  = st_selection[].                 
|  368|      lt_fieldlist[]  = st_fieldlist[].                                       
|  369|      ld_dbtab_syntax = sd_dbtab_syntax.        
|  370|      lt_fldlist_s[]  = st_fldlist_s[].                 
|  371|      lt_where_tab[]  = st_where_tab[].              
|  372|      lt_seltable2[]  = st_seltable2[].                   
Line 353 contains the error.
1. L_DBTAB_SYNTAX. As per the statement this field should bring the table name, but it is not bringing any value                          whiledebugging.
2.also lt_fldlist_s should bring the field names.
As this is for New GL line item datasource, I am not sure what fields should lt_fldlist_s and what table name , and wheretab value should come , so that the function module can extract the data.
Kindly help me to get an insight into this issue and to get it resolved.
thanks,
Praba...

Hi Frank,
yes I agree. That was the first question that came to me in my mind. However, the job was handed over to us, and we were able to exactly create the custom DS , FM and Function groups as similar to the standard one and everthing got activated perfectly. But during extraction, it throws the dump.While debugging, the function module is not able to pick the value for the 3 fileds which I stated above in one of my queries. The main extractor for this Datasource is FAGL_GET_SI_DATA and it uses the extract structure FAGLPOSBW.This Main function module in turn calls one more FM, FAGL_GET_LINE_ITEMS by exporting below parameters.
CALL FUNCTION 'FAGL_GET_LINE_ITEMS'
          EXPORTING
            i_block_data = 'X'
            i_block_size = sd_max_lines
            i_selection  = lt_select_int
            i_fieldlist  = lt_fields_int
            i_initflag   = i_initflag.
      ELSE.
From my observation ,  the above statements i_selection  = lt_select_int  and i_fieldlist  = lt_fields_int should contain/pass the value to the line items FM, FAGL_GET_LINE_ITEMS.In the above thread also I mentioned I didnt get the value for ld_dbab_syntax, lt_fieldlst_s and ld_where_tab. I believe it is simply because i_selection and i_fieldlist is not getting the value from lt_select_init and lt_fields_init respectivelyImport parameters for this FM is as below.
I_BLOCK_DATA     TYPE     C
I_BLOCK_SIZE     TYPE     SY-TABIX
I_SELECTION                           TYPE     GUSL_T_SELECTION
I_FIELDLIST                           TYPE     GUSL_T_FIELDS
I_INITFLAG                           TYPE     GUSL_BOOL
I_CHANGED_RECORDS      TYPE     GUSL_BOOL
export parameter for this FM is as below.
FLAG_CURSOR_OPEN     TYPE     FLAG
Changing parameter for this FM is as below
C_T_FAGLPOSE     TYPE     FAGLPOSE_T
where FAGLPOSE means Fields for Reading Data: Line Items: New General Ledger.GUSL_T_SELECTION is the same type like DDIC table type FB_T_FIELD_SELECT_OPTIONS which will have Fieldname and selection option range.GUSL_T_SELECTION is created within the type group GUSL as mentioned below.
TYPES: BEGIN OF GUSL_S_SELECTION,
       FIELDNAME LIKE DFIES-FIELDNAME,
       T_RANGE   TYPE GUSL_T_RANGE,
       END   OF GUSL_S_SELECTION,
       GUSL_T_SELECTION TYPE GUSL_S_SELECTION OCCURS 20.
wherein
FIELDNAME LIKE DFIES-FIELDNAME,
DFIES: --> DD Interface: Table Fields for DDIF_FIELDINFO_GET. Also GUSL_T_FIELDS refers to DFIES.
Regards,
Praba..

Similar Messages

  • What are the license conditions for the customer ?

    What is the license agreement for the customer to use Beehiveonline ? Is it similar as the OUM Customer model copied below? thanks Francis
    OUM Customer Program: The OUM Customer Program allows customers to obtain copies of the method for their internal use by contracting with Oracle for a services engagement of two weeks or longer. Customers who have a signed contract with Oracle and meet the engagement qualification criteria as published on Customer tab of the OUM Website, are permitted to download the current release of OUM for their perpetual use. They may obtain subsequent releases published during a renewable, three-year access period.

    Hi,
    We do not have a license requirement for BeehiveOnline as this is a service provided by oracle for Oracle customers, partners etc. to allow them to work more efficiently with Oracle. It is not a system that the customer can control as the groups are maintained by the Oracle,contact.
    We rely on the normal terms and conditions that all users sign up to when they create an oracle.com website account.
    So in short - it is a free-to-use service licensed under the same agreement as the normal oracle.com websites acount.
    Phil

  • Errors occurred during extraction of the existing UDC Connect sources

    HI ALL,
    I try to create a DataSource with UD Connect on BW 3.5,
    i choose a RFC destination, but after of to choose UD connect source appear the next error message "Errors occurred during extraction of the existing UDC Connect sources".
    The RFC destination is OK.
    In the CCMS Monitor the Java Connectors and Enterprise Java Beans are available.
    Help me please!
    regards!

    Hi, me again, I change some parameters and now is working but wrong!!!!! when I try to select a UD connect, in the match code i get the next list:
    6B偡浡彏啔䐠††††††††††#############
    #########†††††彏啔†††††###########
    ††††††††††#############偡浡彏啔偡浡彏啔
    please if anyone knows what is going on help me...!!
    tnx

  • You want to know the amount of space the transaction log for the Customer database is using. Which T-SQL command would you use?

    You want to know the amount of space the transaction log for the Customer database is using. Which T-SQL command would you use?

    Forced me to do a little research.
    DBCC SQLPERF(logspace)
    See also
    http://stackoverflow.com/questions/198343/how-can-i-get-the-size-of-the-transaction-log-in-sql-2005-programmatically
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • I CAN SEE ALL SHIP TO LOCATIONS FOR THE CUSTOMER EVEN IF I SELECT ONE BILL

    Dear,
    I CAN SEE ALL SHIP TO LOCATIONS FOR THE CUSTOMER EVEN IF I SELECT ONE BILL TO
    Steps:
    Create customer name "customer 1"
    Under this customer, I create 2 new address
    "Customer A " with tow business purpose
    1-bill to –> customer A
    2- ship to-> customer A after that I link ship to with bill to customer A , I CHECK THE PRIMARY SITE CHECK BOX
    FOR THIS SITE
    "Customer B" with tow business purpose
    1-bill to –> customer B
    2- ship to-> customer B after that I link ship to with bill to customer B
    Now when I navigate to (N) Order management ->order organizer ->new order
    I select the "customer 1" from customer field name I tab to other field bill to
    location it is coming by default as primary site customer "customer A"
    I OPEN THE LIST I SEE tow customer A AND B I SELECT 'B' AS bill to
    When I tab to the other ship to field in also I can see the tow customer " A" and "B" but in real
    setup I link the customer "B" WITH ONE SHIP TO ALSO CUSTOMER"B" WHY I CAN SEE
    ALL LOCATION FOR THE CUSTOMER EVEN IF I SELECT THE ONE BILL TO .
    WHAT THE BENIFIT FROM LINK CUSTOMER SHIP TO FIELD WITH BILL TO IF I CAN SEE ALL LISTS
    FOR CUSTOMER SITE
    Expected Behavior:
    Once I link the ship to location with bill to location I must see when create sales order only the ship to location
    link with the specific bill to already specified
    Business impact:
    This give the user entry ability to enter wrong data or give him the confusion any site I must enter
    thanks

    That is expected behavior.
    You can see the all addresses of account in the list as long as the purpose condition is satisfied. Linking is only for defaulting and not for controlling. If you do not want to see you can create a different account for the B address.
    Thanks
    Nagamohan

  • How to find Extract for the bank key/ bank account changed in vendor maste

    Hello Gurus,
    I need help in finding the extract for the bank details of vendors changed for a period of time. I tried using FK04 under multiple selection and ran the report for the selected vendors. It only shows  the "bank details created" or "bank details deleted" under Old Values and New Values but doe not actually shows the values for the field changed.
    Is there a way where i can get a report which shows a log of change in bank details with old and new values,
    Thank you,
    Prakash

    HI,
    Try using report RSSCD100 and give the selection condition
    Object id --> BANK
    and then you can limit the results by specifying the time and date range..

  • ABAP program has to pick up the valid pricelist for the customer

    Hi all!
    does anyone know how to pick up valid pricelist for the customer?
    I mean I need to take the valid pricelist for customer... I have this information:
    <b>KNA1-KUNNR</b>      Customer Number 1
    <b>T189-PLTYP</b>      Price list type
    <b>MARA-MATNR</b>      Material nr
    <b>BSEG-BELNR</b>      Invoice nr
    <b>KONH-KNUMH</b>      Number of suplier
    and now I need to take pricelist in order to use this pricelist for preparing invoice to customer...
    As I know rates for materials are stored in KONP... but how to connect this yable with pricelist...?
    Award points are waiting for you!
    BR, M.

    Hi Seshu!
    maybe you mean A006? Because A006 contains field PLTYP while A004 and A005 does not. But anyway thanks for your input, it is very usefull.
    BR, M.

  • Enable personalization option in masthead for the custom role

    enable personalization option in masthead for the custom role for end user without using eu_role or admin roles

    Hi,
    To do so, go to
    Content Administration->Portal Content->Content provided by SAP->End User Content->Standard Portal users->Worksets->Portal Personalization
    Copy this portal personalization workset to a folder and add it to the role which the user has. The user with this role will be able to see the personalization link in the masthead iview.
    Regards
    Srinivasan T

  • Setting required to create Business partner record in SAP GTS for the customer who transferred from the SAP ECC system

    Dear Experts,
    Can you please suggest me list of activities require to automatically  create Business partner record in SAP GTS for the customer who transferred from the SAP ECC system .
    i.e If I create the customer master record and transfer the same CMR to SAP GTS , what are the setting requires to maintain in SAP GTS sytem to automatically create the Business partner .
    Ram

    Hi Raghu,
    Below are the main settings required to enable you to transfer Customer Master Data to SAP GTS. Please note that their is a difference between, Customer Master Record and Customer Master Data in terms of data and for GTS, we transfer Customer Master Data. Hence, below are the settings required:-
    In SAP ECC system:-
    Activate the change pointers for Customer Master Data apart from enabling basic connection settings.
    Schedule a job to run at regular intervals to transfer all the customer master data for the available change pointers to the SAP GTS system
      2.  In SAP GTS system:-
    Maintain the Mapping for ECC Customers to SAP GTS Business Partners in the General settings area of the SPRO in SAP GTS system
    Ensure that the Number range is maintained for those GTS  Business Partners.
    Also, some time you may be required to maintain the organisational structure to ensure full working.
    I hope this will be helpful to you.
    Regards,
    Aman

  • TS2755 When will Apple ever make it convenient for the customer, I just bought an iPad Air and I'm very upset that I can only use iMessage, iPads are the biggest mistake to buy. I'll never buy another if I can text using SMS or MMS

    When will Apple ever make it convenient for the customer, I just bought an iPad Air and I'm very upset that I can only use iMessage, iPads are the biggest mistake to buy if you like texting family and friends. I'll never buy another one if I can't text using SMS or MMS.  Is there any hope for a patch or new operating system to fix this issue, or an app to use with iPad Air

    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    How to Receive SMS Messages on an iPad
    http://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.html
    Apps for Texting http://appadvice.com/appguides/show/apps-for-texting
     Cheers, Tom

  • Upload for the custom offices in foreign trade

    Hi,
    I want to upload more than 1000 records of custom offices for foreign trade. I could not find any T.code for the custom office. Can anyone guide me how to upload the custom office data or can provide the T.code for custom office upload.
    Path for custom office: IMG>Sales & distribution>Sales>Foreign Trade/custom>Transportation>Custom office.
    Regards/Rakesh

    Hi
    I am not looking at BADI or BDC program options, for the LSMW to work in need the T.code for the custom office.
    Regards
    Rakesh

  • API for loading Bank account details for the Customer

    Hi,
    Can anyone tell me what is the API that needs to be used for loading bank account information for the Customer?
    Thanks
    GM

    Hi,
    Were you not able to achieve your requirement with Customer Interface Program?
    There is a interface table 'RA_CUSTOMER_BANKS_INT_ALL' which is used to store customer bank account information. Run the program after inserting the records into this table.
    I guess, there is no public API.
    Regards,
    Ram

  • Best pratices for the customizing about the performance

    Hello,
    I would like to know the list of the best pratices for the customizing BPC NW 7.5 about the performance.
    Best regards
    Bastien

    Hi,
    There are few how to guides on SDN which will give you a basic idea on script logic. Apart from this, you can refer to the help guide on help. sap.com.
    The templates might also effect the performance. The number of EVDRE functions, the number of expansion dimensions, the number of members on which expansion takes place will effect the performance. A complex formatting in the template will also effect.
    Hope this helps.

  • Credit limit for the customer hierarchy

    Hi All,
    Our client needs a report to show the total Credit Limit assigned to Global customer as shown below. It will be the summarization of individual credit limits of all the customers linked to this Global Customer. It will be a BI report.
    Can someboby please tell me as to how to create the credit limits for the customer hierarchy? Also, hoe to fetch these valus in the report?
    Customer No     Customer Name      Total Credit Limit     Individual Credit Limit
    1000000             Carrefour                      970,000,000.00      
    1000001             Carrefour France                             300,000,000.00
    1000002             Carrefour Spain                                             200,000,000.00
    1000003             Carrefour Belgium                             90,000,000.00
    1000004             Carrefour Greece                             85,000,000.00
    1000005             Carrefour Italy                                             200,000,000.00
    1000006             Carrefour Turkey                                             50,000,000.00
    1000007             Carrefour Poland                             45,000,000.00
    2000000             Metro Group                      290,000,000.00      
    2000001             Metro Austria                                             25,000,000.00
    2000002             Metro France                                             53,000,000.00
    2000003             Metro Spain                                             48,000,000.00
    2000004             Metro Germany                                             63,000,000.00
    2000005             Metro Switzerland                             15,000,000.00
    2000006             Metro UK                                             60,000,000.00
    2000007             Metro Portugal                                             26,000,000.00
    Regards,
    Raghav

    Hi,
    Credit limit is maintained on payer level and you are not able in standard to split it between sold-to or assign N sold-to to one global limit. You have to extend the credit control functionality to check the credit limit additionally for the global limit customer. Unfortunatelly you cannot implement it without development.
    Regards,
    Marcin

  • How to enable COLOR EFFECT, DISPLAY, etc. panels for the custom components?

    POSITION AND SIZE and COMPONENT PARMETERS are the only panels available for the custom components. Is there a way to configure the custom components or the Flash Pro itself to enable other panels (COLOR EFFECT, DISPLAY, etc.) that available for the Adobe UI components?

    In Flash CS6, you'll need to place your component(compiled clips) inside a Movieclip symbol to apply these settings. In Flash CC, you may do so directly from the Properties panel like for any other movieclip symbol.
    Let me know if you face issues.
    -Nipun

Maybe you are looking for

  • Matrox M9138 video card doesn't like system update

    Hi thanks to all who helped me get this video card working about 18 months ago! https://bbs.archlinux.org/viewtopic.php?id=89108&p=1 Unfortunately updating with pacman -Syu has stopped the video card from working at all. I now write to you using the

  • X240 window 8 Pro - system failed to start after update

    Mircosoft pushed an update to my week old x240. After the update, I cannot load window8 pro any more . "Auto repair" says PC didn't start correctly. When I refresh PC , "the drive where Window is installed is locked Unlock the drive any try again." M

  • Control loaded SWF after loadClip() in F9

    Flash IDE version: 9 Flash player version: 9 Using ActionScript 2.0 I am rewriting some old MX code that typically loads a graphics-only SWF with several frames. Then I boss the SWF around using loadedSWF.gotoAndStop(), but now that breaks unless I c

  • Installing crashes Macbook Pro Retina

    Hi, I'm desperatly trying to install PS 6 on my new Macbook Pro Retina.  But the installer always stops at 80% and crashes the computer.  I have to switch it off and on.  Didn't get any error message (well, haven't found any yet ...). Any idea or hin

  • Progress bar is stuck downloading OSX Mountain Lion

    Hi All, Please help me. I purchased OSX Mountain LION at Mac App Store. Its almost 6-7 hours still now its showing only little progress done. I cant see how much % done. Just I can see blue spot on launchPad.Its not moving forward at all. It is stuck