RUN Time error while use filter table in query generator

Hai..
               I have 2 Functions under "Scalar valued functions" in SQL Server,i try to call this functions in Query generator its working fine,result also display correctly, but i click filter table system showing  Error Message " Run Time Error,Abnormal program termination" then SAP is get closed,i tested this scenario in 3 Database am getting same error , Is this BUG in SAP B1?There is no error number in error message

This is my function
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
-- =============================================
-- Author:          <Author,,Name>
-- Create date: <Create Date, ,>
-- Description:     <Description, ,>
-- =============================================
ALTER function [dbo].[Get_TransObjName](@Obj_type NUMERIC(20,5))
returns varchar(500) as
BEGIN
DECLARE @Obj_type_Name varchar(100)
select @Obj_type_Name =
case @Obj_type
when     -2     then     'Opening Balance'
when     -3     then     'Closing Balance'
when     1     then     'oChartOfAccounts'
when     2     then     'oBusinessPartners'
when     3     then     'oBanks'
when     4     then     'oItems'
when     5     then     'oVatGroups'
when     6     then     'oPriceLists'
when     7     then     'oSpecialPrices'
when     8     then     'oItemProperties'
when     12     then     'oUsers'
when     13     then     'A/R Invoices'
when     14     then     'A/R Credit Memo'
when     15     then     'A/R DeliveryNotes'
when     16     then     'A/R Returns'
when     17     then     'oOrders'
when     18     then     'A/P Invoice'
when     19     then     'A/P Credit Memo'
when     20     then     'Goods Receipt PO'
when     21     then     'Goods Returns'
when     22     then     'PurchaseOrders'
when     23     then     'Quotations'
when     24     then     'IncomingPayments'
when     25     then     'Deposit'
when     28     then     'oJournalVouchers'
when     30     then     'JournalEntries'
when     31     then     'oStockTakings'
when     33     then     'oContacts'
when     36     then     'oCreditCards'
when     37     then     'oCurrencyCodes'
when     40     then     'oPaymentTermsTypes'
when     42     then     'oBankPages'
when     43     then     'oManufacturers'
when     46     then     'VendorPayments'
when     48     then     'oLandedCostsCodes'
when     49     then     'oShippingTypes'
when     50     then     'oLengthMeasures'
when     51     then     'oWeightMeasures'
when     52     then     'oItemGroups'
when     53     then     'oSalesPersons'
when     56     then     'oCustomsGroups'
when     57     then     'ChecksforPayment'
when     58     then     'Stock List'
when     59     then     'Goods Receipt'
when     60     then     'Goods Issue'
when     64     then     'oWarehouses'
when     65     then     'oCommissionGroups'
when     66     then     'oProductTrees'
when     67     then     'Inventory Transfers'
when     68     then     'oWorkOrders'
when     69     then     'Landed Costs'
when     70     then     'oCreditPaymentMethods'
when     71     then     'oCreditCardPayments'
when     73     then     'oAlternateCatNum'
when     76     then     'Postdated Deposit'
when     77     then     'oBudget'
when     78     then     'oBudgetDistribution'
when     81     then     'oMessages'
when     91     then     'oBudgetScenarios'
when     97     then     'oSalesOpportunities'
when     93     then     'oUserDefaultGroups'
when     101     then     'oSalesStages'
when     103     then     'oActivityTypes'
when     104     then     'oActivityLocations'
when     112     then     'oDrafts'
when     116     then     'oDeductionTaxHierarchies'
when     117     then     'oDeductionTaxGroups'
when     125     then     'oAdditionalExpenses'
when     126     then     'oSalesTaxAuthorities'
when     127     then     'oSalesTaxAuthoritiesTypes'
when     128     then     'oSalesTaxCodes'
when     134     then     'oQueryCategories'
when     138     then     'oFactoringIndicators'
when     140     then     'oPaymentsDrafts'
when     142     then     'oAccountSegmentations'
when     143     then     'oAccountSegmentationCategories'
when     144     then     'oWarehouseLocations'
when     145     then     'oForms1099'
when     146     then     'oInventoryCycles'
when     147     then     'oWizardPaymentMethods'
when     150     then     'oBPPriorities'
when     151     then     'oDunningLetters'
when     152     then     'oUserFields'
when     153     then     'oUserTables'
when     156     then     'oPickLists'
when     158     then     'oPaymentRunExport'
when     160     then     'oUserQueries'
when     162     then     'Inventory Valuation'
when     163     then     'oCorrectionPurchaseInvoice'
when     164     then     'oCorrectionPurchaseInvoiceReversal'
when     165     then     'oCorrectionInvoice'
when     166     then     'oCorrectionInvoiceReversal'
when     170     then     'oContractTemplates'
when     171     then     'oEmployeesInfo'
when     176     then     'oCustomerEquipmentCards'
when     178     then     'oWithholdingTaxCodes'
when     182     then     'oBillOfExchangeTransactions'
when     189     then     'oKnowledgeBaseSolutions'
when     190     then     'oServiceContracts'
when     191     then     'oServiceCalls'
when     193     then     'oUserKeys'
when     194     then     'oQueue'
when     198     then     'oSalesForecast'
when     200     then     'oTerritories'
when     201     then     'oIndustries'
when     202     then     'oProductionOrders'
when     203     then    'A/R Down Payment'
when     204     then    'A/P Down Payment'
when     205     then     'oPackagesTypes'
when     206     then     'oUserObjectsMD'
when     211     then     'oTeams'
when     212     then     'oRelationships'
when     214     then     'oUserPermissionTree'
when     217     then     'oActivityStatus'
when     218     then     'oChooseFromList'
when     219     then     'oFormattedSearches'
when     221     then     'oAttachments2'
when     223     then     'oUserLanguages'
when     224     then     'oMultiLanguageTranslations'
when     229     then     'oDynamicSystemStrings'
when     231     then     'oHouseBankAccounts'
when     247     then     'oBusinessPlaces'
when     250     then     'oLocalEra'
when     280     then     'oSalesTaxInvoice'
when     281     then     'oPurchaseTaxInvoice'
when     300     then     'BoRecordset'
when     305     then     'BoBridge'
when     260     then     'oNotaFiscalUsage'
when     258     then     'oNotaFiscalCFOP'
when     259     then     'oNotaFiscalCST'
when     261     then     'oClosingDateProcedure'
when     10     then     'oBusinessPartnerGroups'
when     278     then     'oBPFiscalRegistryID'
else cast(@Obj_type as char(20)) end
return @Obj_type_Name
END

Similar Messages

  • Run time error while using Class gcl_error

    Hi All,
    I am getting run time error while using class gcl_error
                                          type REF to zsreport_error_handling:
    '' Attempt to access a component using 'NULL' object reference (points to nothing).
    An object reference must point to an object ( an instance of a class) before you can use it to access components ( variable : ''GCL_ERROR'').
    Either the reference point has not yet been set or it has been reset to 'NULL' by a clear statement."
    Can you please suggest any solution for this ?
    Thanks in advance.

    Dear All
    Its Resolved Thanks For your Valuable time Support
    INCLUDE LV03VFB4 inside below code trigger error.
    PERFORM VVBBD_AUFBAUEN USING WA_AVBBD
                                        WA_AVBBD-APOMOBILE
                                        DA_SUBRC
                                        DA_UPDKZ
                                        DA_VVBBD_TABIX
                                        0.
    This Was the Error some how 0 was there we are removed the 0 now it is working fine
    Rgds
    Thomson

  • Run Time Error while Entering Quantity in Sales Order

    Dear All,
    Iam getting Run time Error while iam entering material quantity in sales order.Please  find the screenshot of the same.
    kindly Help Me.Me. Plz note that we had done a system copy two days back to our new server.
    Rgds
    Thomson
    ST22 Screenshot

    Dear All
    Its Resolved Thanks For your Valuable time Support
    INCLUDE LV03VFB4 inside below code trigger error.
    PERFORM VVBBD_AUFBAUEN USING WA_AVBBD
                                        WA_AVBBD-APOMOBILE
                                        DA_SUBRC
                                        DA_UPDKZ
                                        DA_VVBBD_TABIX
                                        0.
    This Was the Error some how 0 was there we are removed the 0 now it is working fine
    Rgds
    Thomson

  • Run-time error while executing alv grid report

    Hi everyone
    I m trying to run a alv grid report it is giving a run time error while executing the statement CALL METHOD V_ALV->SET_TOOLBAR_INTERACTIVE.
    Actually i added 2 buttons in the toolbar.after that when i execute the report i m getting errors.
    <b>Error Analysis</b>
    An exception occurred that is explained in detail below.                     
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not    
    caught in                                                                   
    procedure "TOOLBAR_MENUS_INIT" "(METHOD)", 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:                                             
    You attempted to use a 'NULL' object reference (points to 'nothing')         
    access a component (variable: "ME->M_CL_MENU_BUTTON_VARIANT").               
    An object reference must point to an object (an instance of a class)         
    before it can be used to access components.                                  
    Either the reference was never set or it was set to 'NULL' using the         
    CLEAR statement.

    Hi Dinesh,
    Seems you have not initialised ( Instantiated in OO ) the object and / or the parent container.
    Check if you have create object for both the parent as well as the alv object.
    So when you instatntiate the object of ALV you pass the object ( instantiated before hand ) in the parent container position.
    Also you would have to register the events to the object using method. Then only the buttons will finction.
    eg :
    IF G_CUSTOM_CONTAINER IS INITIAL.
        CREATE OBJECT CUSTOM_CONTAINER_1
               EXPORTING CONTAINER_NAME = CONTAINER_1.
        CREATE OBJECT GRID1
               EXPORTING I_PARENT = CUSTOM_CONTAINER_1.
        CALL METHOD ALV_GRID1->SET_TABLE_FOR_FIRST_DISPLAY
             EXPORTING I_STRUCTURE_NAME = 'VBAK
             CHANGING  IT_OUTTAB        = IT_VBAK.
    Reward points if useful.

  • Run time error while doing VL10B transaction for STO

    Dear All,
    We are facing problem of run time error while creating Delivery (VL10B) for  STO .We have two company codes .For one company code its working fine .But we are trying for another company code ,this error coming.error detals
    Error in the ABAP Application Program
    The current ABAP program "SAPLV05I" 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_OPEN_SQL_DB', was not cau
         in
        procedure "SD_PARTNER_UPDATE" "(FUNCTION)", nor was it propagated by a RAI
         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:
        If you use an ABAP/4 Open SQL array insert to insert a record in
        the database and that record already exists with the same key,
        this results in a termination.
        (With an ABAP/4 Open SQL single record insert in the same error
    Kindly suggest as to how to resolve this asap.
    regards
    umesh

    These Kind of Errors Generally Occor for the wrong maitnaince of the partner functions. If you are using any user exits to detremine the partner functions. check the logic in that routine.
    Because we do frequently get this error, but only if we hae not maintained as per the rule written in the  user exit..
    The USer exits for partner Determiantion to check is Function Module EXIT_SAPLV09A_003.  THis gets activated, if you have give the source parner function as "X/Y/Z" in your partenr determiantion procedures.

  • 3-1674105521 Multiple Paths error while using Bridge Table

    https://support.us.oracle.com/oip/faces/secure/srm/srview/SRViewStandalone.jspx?sr=3-1674105521
    Customer Smiths Medical International Limited
    Description: Multiple Paths error while using Bridge Table
    1. I have a urgent customer encounterd a design issue and customer was trying to add 3 logical joins between SDI_GPOUP_MEMBERSHIP and these 3 tables (FACT_HOSPITAL_FINANCE_DTLS, FACT_HOSPITAL_BEDS_UTILZN and FACT_HOSPITAL_ATRIBUTES)
    2. They found found out by adding these 3 joins, they ended with circular error.
    [nQSError: 15001] Could not load navigation space for subject area GXODS.
    [nQSError: 15009] Multiple paths exist to table DIM_SDI_CUSTOMER_DEMOGRAPHICS. Circular logical schemas are not supported.
    In response to this circular error, the developer was able to bypass the error using aliases, but this is not desired by client.
    3. They want to know how to avoid this error totally without using alias table and suggest a way to resolve the circular join(Multiple Path) error.
    Appreciated if someone can give some pointer or suggestion as the customer is in stiff deadline.
    Thanks
    Teik

    The strange thing compared to your output is that I get an error when I have table prefix in the query block:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE TMP1.A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "SYSADM"."TMP3" failed to load/unload and is being skipped due to error:
    ORA-38500: Unsupported operation: Oracle XML DB not present
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1 error(s) at Fri Dec 13 10:39:11 2013 elapsed 0 00:00:03
    And if I remove it, it works:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "SYSADM"."TMP3"                             5.406 KB       1 out of 2 rows
    Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at Fri Dec 13 10:36:50 2013 elapsed 0 00:00:01
    Nicolas.
    PS: as you can see, I'm on 11.2.0.4, I do not have 11.2.0.1 that you seem to use.

  • MIGO run time error while excution

    Hi,
    I have getting run time error while executing MIGO transaction.
    Syntax error in program "CL_EX_MB_MIGO_BADI============CP ".
    the type "MB_MIGO_BADI"  is unknown.
    Regards
    Abdul

    Hi Rashid
    The error clearly states that the BADI MB_MIGO_BADI is not present in your system.
    Just go to SE18 & enter the name of the above BADI & check if it exists there.
    Also if the BADI exists, just check if there is an implementation created for the same.
    Hope this helps.
    Regards
    Abhii

  • Run time error while Creating IDN and Inbound Delivery

    Hi All,
    I am getting Run time error while creating Inbound Delivery Notification from Inbound Queue and Inbound Delivery from IDN
    After debugging i come to know that system is looking for Patch Level SAPKNA7026 but in my system Patch is upto SAPKNA7022
    Is there any OSS notes available to deactivate/resolve this run time error ? I tried 0001798794 Deactivation of hierarchical access functionality but system is still giving me run time error
    Regards,
    P@M

    Hi Agrawal
    As you are getting run-time error after entering the sold to party and material and the error is in SAPLV61Z ,
    close the session for sometime and open again and then create sales order and then enter sold to party and material and then check wheather you are getting or not. If you are still facing the problem then take the help of the ABAP & BASIS consultant's.
    Regards
    Srinath

  • Run time error while installing Labview 8.6.1 in Vista x64

    hai friends,
               i got an error( Run time error) while installing Labview 8.6 software. this software has bought from NI. it shows the error path as setup.exe. this software i had tried to install in vista x64. but when i am installing the same software in windows xp, it is installing fine...so what was the problem for this error. how to solve it, please help me....

    Thank You Mr.Jason Daming,
    Same error what post Mr.muks referred in the last reply....
    When the installation begins an error occurs (after the acceptance of licence step in the installation procedure) with the title on the error window "Microsoft Visual C ++ Runtime Library " and displays the program set up path with these statements " This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information."
    while installing the same Labview in windows XP..... it is installing fine... but in vistax64 only i am facing this kind of problem...

  • System is giving ABAP run time error while perform LT06 or create TO with r

    Hi SAP WM Gurus,
    System is giving ABAP run time error while perform LT06 or create TO with respect to posting change notice, below are runtime analysis details.
    Short dump has not been completely stored. It is too big.
    P_MENGA = P_MENGE.
    007940       P_UMREZ = 1.
    007950       P_UMREN = 1.
    Can you give any idea on this issue.
    Thanks and Regards,
    SHARAN.

    Hi,
    Go to Tcode ST22 and mentione the dump code there and check.
    Also take help[ of Abapers to fix it.
    Thanks
    Utsav

  • ABAP run time error while perform LT06 or create TO with respect to posting

    Hi SAP WM Gurus,
    System is giving ABAP run time error while perform LT06 or create TO with respect to posting change notice, below are runtime analysis details.
    >> Short dump has not been completely stored. It is too big.
    >       P_MENGA = P_MENGE.
    007940       P_UMREZ = 1.
    007950       P_UMREN = 1.
    Can you give any idea on this issue.
    Thanks and Regards,
    SHARAN.

    This part is just the place in the program where the error occured, but why the error occured is mentioned earlier in the dump.
    Maybe you have a too big number in the field and hence a field overflow, maybe you have a character instead of a number in the field.
    Read the dump from the beginning. if you dont know how to read a dump,then try to get help from any local Abaper.

  • Run time error when using search

    I get a run time error when using the search in iTunes store. Running current iTunes version.

    Duplicate post -- Client ADI display A runtime error in Office 2010

  • Portal run time error while accessing R/3 transaction code

    Hi all,
    We have configured R/3 system and BW system to the Portal.
    In R/3 system we have user ids named "ADMIN" and "FIAR" . ADMIN is for adminstrator and FIAR is for FIAR module. I created the same user ids in Portal , for ADMIN i have assigned ADMINSTRATOR role and for FIAR BI as it is also for our BW system.
    But when iam checking the r/3 iviews for FIAR , it shows PORTAL RUN TIME ERROR , while for ADMIN it works fine.
    Can any body have some ideas about this , pts will be assigned,
    Thanks ..

    Have you collected the error log details which looks similar to the below one??
    "The initial exception that caused the request to fail was:
    User has no RFC authorization for function group SDIFRUNTIME.
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: User has no RFC authorization for function group SDIFRUNTIME.
    at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:455)
    at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1442)
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3979)
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3416)
    at com.sap.mw.jco.JCO$Repository.execute(JCO.java:20471)"

  • Run time error while closing the CRM Order using BAPI

    Hi Experts,
    Need your invaluable suggestions here.Apologies for the lengthy mail, intention is to give clear idea of the issue.
    I am facing an issue while closing the CRM orders. According to our business process, when an issue is solved we will keep the order in resolved status only. We will not directly close the order from the CRM tool, instead we have created a custom program for the same purpose.
    For the custom program we will give input as the order number and execute it, this will close the order.
    Here close the order means assigning it to Close status as well assign the reason code.
    We have created some reason codes for closed status.
    So when the program is run the Order moves from resolved status to closed status along with reason code.
    But of late we are facing some problems with this program, it is giving run time error for some CRM orders.
    Run time error message : The ABAP/4 Open SQL array insert results in duplicate database records.
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught in procedure "CRM_SERVICE_OS_UPD_OST_DU" "(FUNCTION)", nor was it propagated by a RAISING clause.
    Please find my code which have used in the custom program
    Closing the resolved SOs in the system
        CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN_OW'
            EXPORTING
              objnr                     = iv_guid
              user_status          = lc_status_closed
           EXCEPTIONS
             object_not_found          = 1
             status_inconsistent       = 2
             status_not_allowed       = 3
             OTHERS                        = 4.
        IF sy-subrc <> 0.
          WRITE :  'Error at maintaining status'.
        ENDIF.
    Set reason code
    build lt_subject
        ls_subject-ref_guid = iv_guid.
        ls_subject-katalogart = 'A2'.
        ls_subject-codegruppe = 'ZR000003'.
        ls_subject-code       = 'ZR33'.                      " Reason code
        ls_subject-mode       = 'A'.
        APPEND ls_subject TO lt_subject.
    build lt_ossset
        ls_osset-ref_guid        = iv_guid.
        ls_osset-subject_profile = 'ZREASON03'.
        ls_osset-profile_type    = 'G'.
        ls_osset-subject         = lt_subject.
        APPEND ls_osset TO lt_osset.
    build lt_service_os
        ls_service_os-ref_guid  = iv_guid.
        ls_service_os-ref_kind  = 'A'.
        ls_service_os-osset     = lt_osset.
        APPEND ls_service_os TO lt_service_os.
    build lt_input_fields
        REFRESH: lt_input_fields, lt_field_names.
        CLEAR  : ls_input_fields, ls_field_names.
        ls_field_names-fieldname    = 'CODE'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'CODEGRUPPE'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'KATALOGART'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'SERVICE_PROFILE'.
        APPEND ls_field_names TO lt_field_names.
        ls_input_fields-ref_guid    = iv_guid.
        ls_input_fields-ref_kind    = 'A'.
        ls_input_fields-objectname  = 'SERVICE_OS'.
        ls_input_fields-field_names = lt_field_names.
        APPEND ls_input_fields TO lt_input_fields.
         CALL FUNCTION 'CRM_ORDER_MAINTAIN'
          EXPORTING
            it_service_os     = lt_service_os
          CHANGING
            ct_input_fields   = lt_input_fields
          EXCEPTIONS
            error_occurred    = 1
            document_locked   = 2
            no_change_allowed = 3
            no_authority      = 4
            OTHERS            = 5.
        IF sy-subrc <> 0.
          WRITE :  'Error at maintaining reason'.
        ENDIF.
        CALL FUNCTION 'CRM_ORDER_SAVE'
          EXPORTING
            it_objects_to_save   = lt_header_guid
            iv_update_task_local = lv_update_task_local
          IMPORTING
            et_saved_objects     = lt_saved_objects
          EXCEPTIONS
            document_not_saved   = 1
            OTHERS               = 2.
        IF sy-subrc <> 0.
          WRITE : 'Error at saving'.
        ELSE.
          WRITE : 'Successfully Closed'.
          COMMIT WORK AND WAIT.
        ENDIF.
    Run time error is coming at COMMIT WORK AND WAIT statement.
    Please let me know any corrections are required in the above program.
    When I analyzed the run time error I have found that it trying to insert the record in CRMD_SRV_OSSET for that CRM order, but already one record is present in the table for the same CRM order number.
    For most of the CRM orders there is no entry in this table so they are closing successfully but for a few orders for which there is an entry we are getting the above run time error.
    There is nothing wrong with the orders which have an entry already in the table CRMD_SRV_OSSET, I need to close these kind of orders with out run time error.
    Kindly provide your feedback.

    Hi Dinakar,
    You posted this in APO PPDS forum. This question should go to PP forum where someone could answer it.
    Please close this thread and open a new thread in PP forum so that you could get help quickly from the relevant experts.
    Regards - Pawan

  • Run Time Error  while Transferring data to Application server

    Hello Abaper's,
    I have generated a XML data using the FM : "  SAP_CONVERT_TO_XML_FORMAT ".
    While transferring the data to a File on Application Server using the statement
    DATA : wa_xmltab TYPE truxs_xml_line,
                 it_xmltab TYPE truxs_xml_table.
    OPEN DATASET FNAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc EQ 0.
      LOOP AT it_xmltab INTO wa_xmltab.
        TRANSFER wa_xmltab TO FNAME.    <<<<<<<<<<<<<<  Getting Error here
      ENDLOOP.
    ELSE.
      MESSAGE e004(zmsg5) WITH 'File FNAME not opened'.
    ENDIF.
    CLOSE DATASET FNAME.
    The Run Time Error i am Facing is  
    Short text
        The current statement is only defined for character-type data objects.
    Error analysis
        For the statement
           "TRANSFER f TO ..."
        only character-type data objects are supported at the argument position
        "f".
        In this case. the operand "f" has the non-character-type "TRUXS_XML_LINE". The
        current program is a Unicode program. In the Unicode context, the type
        'X' or structures containing not only character-type components are
        regarded as non-character-type.
    Regards
    jv

    Hello  Volker Binder ,
    Thank you . it's now transferring the data to Application sercver. I forgot to try using Binay mode,
    Thers is one more problem. There are 10 Records in that internal table that is being converted to XML format,
    but the XML data is showing only first 4 records.... the XML data format for the remaining data is not seen.
    Actual  No. of Records  in Internal table :
    matnr            matkl          meins
    0-BUY1               012         PC
    0-BUY2               012         PC
    1                                EA
    2                    012         L
    3                    01          EA
    12                               EA
    23                   001         ST
    24                   015`        EA
    28                   010         EA
    29                   015`        AU
    XML Format for the above 10 fields is :
    <?xml version="1.0"?><TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">0-BUY1</MATNR><MATKL Datatype="C" Length="18">012</MATKL><MEINS Datatype="C" Length="6">PC
    </MEINS>
    </TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">0-BUY2</MATNR><MATKL Datatype="C" Length="18">012</MATKL><MEINS Datatype="C" Length="6">
    PC </MEINS>
    </TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">000000000000000001</MATNR><MEINS Datatype="C" Length="6">EA</MEINS>
    </TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">000000000000000002</MATNR
    This 4th record data in XML is also incomplete..
    The above XML format is generated only for 4 records  out of 10 Records.
    Please let me know , how can i increase the Size / Memory of the Application server file to accomodate for the reamining Records
    Regards
    Jv

Maybe you are looking for

  • Stay signed in

    Why do I have to keep signing into communities? This is on my iPhone 6 and my iMac. Other sites don't do this and keep me signed in, why does Apple support communities not? Thanks

  • Problems of form portlet

    I am new to orcale portal. Here is some simple questions. I hope someone will help me. Thanks in advance. How to detect duplicate records when insert or update? e.g. I created a form based on table/view. My requirement is when I am doing insert or up

  • System.log fills up with uninstall_folder_path no 0

    My system.log fills up with the following text: Apr 10 22:09:48 Macken DelMonitor[60]: hokan Apr 10 22:09:48 Macken DelMonitor[60]: uninstall_path no 0 Apr 10 22:09:48 Macken DelMonitor[60]: uninstall_folder_path no 0 Apr 10 22:09:50 Macken DelMonito

  • Yosemite Mail Fail?

    I made a mistake of upgrading to Yosemite from Snow Leopard and now would gladly pay someone to remove this thing from my Mac! aside from other endless errors and being super sloooooowwwww, I am still not able to set up my Mail. It gives me this: - p

  • No sound with open sound system

    I just uninstalled ubuntu on my laptop and installed arch but I dont get the sound working. The strange thing is, when I command "osstest" I hear the test sounds . But no music player nor browser is playing sounds. I followed the install rules drom a