SAP internal error

Hi All,
The user is getting the error while using the planning book.
internal error --  /SAPAPO/OM_TS_CHANGE_TG
Error reading data - Planning book cannot be processed further.
What shall I do ?
Please help.
Thanks in advance,
Prabhat.

Pls run consistency check for Live cache from transaction /sapapo/om17.
This should solve the problem.
Thanks
Mani Suresh

Similar Messages

  • MR estimation- SAP internal error due to meter replacement

    Hi,
    We are getting an error in Tcode EL28 when the MR estimation is done and a device replacement exists in this period.
    There is a SAP note Note 959809 - " EL-262: Error when reading the internal table IDEVNUM" giving fix  for this error. We have already implemented this note last year. This seems to be correction in the FM:ISU_CONSUMPTION_PROJECT . I am not sure if this FM is being called at all in El28.
    Has anyone come across this scenario.
    John

    Hello,
    Are notes 1106884 & 819675 also implemeted on your system?
    Regards
    Olivia

  • SAP Client to the SAP Server: internal Error (-1102)[Message 131-183]

    Hi,
    We are using Windows 2008 Server R2, SQL 2008 Standard, SAP B1 8.81 PL08.
    When we trying to connect SAP Client to the SAP Server. There has internal Error (-1102) occurred. We can view the database on client, but we always get the same error message after enter the User ID and Password. We have checked the native client and it is installed and also opened the following ports: 1433, 30000, 30001. We have tried to open all of firewall, but itu2019s no use.
    When I set a computer in to the engine room and set the network connection, this one can connect SAP Client to the SAP Server.
    But when client connect to server by VPN, the IP address will not in the same section. Then We tried to set the IP address has the same network section with the server, but it's still disable.
    I set a computer for SAP Server without firewall, complex network, virtual IP and no router in my office. And use a SAP Client which is in different network domain to connect to SAP Server by internet, not VPN, but the SAP Client still canu2019t connect to SAP Server. I get the same internal Error (-1102).
    It can not only ping to SAP Server IP, but telnet to the port 1433, 30000, 30001, 445.
    When I use a pc with server tools, it can connect to the SAP Server by the localhost license. But if I use a computer only install client and assign the server license. The latter one always got the error.
    How could we solve this problem? Is there has another setting I am missing which might be blocking the connection?
    Thanks in advance.

    Hi,
    We are using VPN and using Terminal Licensing or Remote Desktop Conneciton.
    The idea here is VPN will connect you to the network and when you are connected to the network
    dont use the direct LAN IP connection use the Terminal Licensing to connect.
    Again both are needed VPN and Terminal Licensing. VPN for the connection and if successfully connected
    use or connect from Terminal Licensing or Remote Desktop connections.
    Thanks.
    Clint

  • Internal error while creating new company in sap b1 pl 05

    Hi all
    I installed sap b1 server and clint in PL 05 for USA localization but when I m trying to create new company from login screen system start to create tables but after some time its giving error ''Internal error 101, then system showing that company in list but its not working
    Please help me out
    RIcky

    Hi Ricky,
    We had a similar issue and found we had to create the database on another server & restore it. I think, but didn't get around to proving, that the issue occurs where the license service is running using trusted connections

  • On windows 7 , SAP B1 showing internal error.

    Dear Friends,
    1) on XP my sap client is working fine.
    2) on windows 7 , it is showing internal error.
    Means- while we do change server and put SERVER ,then login ID - sa , then Password.At thet time system showing internal error.
    Txs,
    Mahesh.

    Dear Mahesh,
    Firstly, I would suggest to read notes related to Windows 7; notes numbers 1493833, 1434624 and any other notes these 2 refer to.
    If this does not help, please come back to us specifying the exact error you get and the exact steps you are taking.
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • Getting Internal Error (-1101) occured (message 131-183) on SAP B1 Journal Entry.

    Hi,
    Im inputting data on journal entry module on SAP B1 when the message showed up, my computer is running on windows 8. (is it an OS problem?) Is there anyway that i could get rid of this error.
    Thanks and Regards,
    Christian

    Hi Christian,
    Please check below link.
    https://helpdesk.coresystems.ch/entries/20781833-Internal-error-131-occurred-131-183-FAQ-10062-
    SAP B1 client system we got error Internal Erro... | SCN
    Internal error (-1101) occurred [Message 131-183]
    Internal error (-1101) occured [Message 131-183]
    Hope this help
    Regards::::
    Atul Chakraborty

  • SAP B1 client system we got error Internal Error (-1101) occurred.

    Hi,
    when we are connecting server through particular user it's showing error Internal Error (-1101) occurred Message 131-183". this is client laptop contain  OS is vista and sever has windows 2003 server.when we are login after it's showing to update patch level at this is time only we are getting and it's not updataing PL 43. we are using SAP B1 PL43. this problem only in this laptop.
    Please advise me.
    regds,
    sampath.

    Hi Sampath,
    In order to try to resolve this issue, please do the following:                                                                               
    1. Go to start -> Run -> %temp% and clean up all the files.            
    2. Go to Control panel -> Add and remove program and uninstall the SAP Business one client.                                              
    3. Reboot the Notebook.                                                        
    4. Turn off UAC (disable UAC) before installing the client so the registration of both the UI and DI will work. UAC -> a new security mechanism was introduced in Vista. It is called "user Account Control"
    (For more info about this new feature please visit: [What is User Account Control?|http://windowshelp.microsoft.com/Windows/en-us/help/0eeb9ddd-ddaa-4cc5-a092-9908305665471033.mspx] and [Turn User Account Control on or off|http://windowshelp.microsoft.com/Windows/en-US/Help/58b3b879-924d-4e08-9358-c316055d3eae1033.mspx].)           
    5. Then reinstall the client from the B1_SHR.                            
    Please make sure that you have followed the step no. 4 before doing client reinstallation.                                                
    hope it helps,
    Regards,
    Ladislav
    SAP Business One Forum Team

  • 500 SAP Internal Server Error, in WD report while launching SC in SRM 7.01

    Dear SAP WD Gurus,
    We have recently upgraded the SRM 7.0 to EHP1 after that we are getting ths below
    We have created Z WD application genarating report in SRM 7.0, we have provided a hytep link in row to display shopping cart in the report. on click of display we are getting error as below on Browser (Portal)
    500 SAP Internal Server Error
    ERROR: WebDynpro Exception: URLhttp//  XXXXXX  may contain fatal script (termination: RABAX_STATE)
    where the URL is properly working fine if we run through browser.
    and even getting dump as below
    What happened?
        The exception 'CX_WD_GENERAL' was raised, but it was not caught anywhere along
        the call hierarchy.
        Since exceptions represent error situations and this error was not
        adequately responded to, the running ABAP program
         'CX_WD_GENERAL=================CP' has to be
        terminated.
    Error analysis
        An exception occurred which is explained in detail below.
        The exception, which is assigned to class 'CX_WD_GENERAL', was not caught and
        therefore caused a runtime error.
        The reason for the exception is:
        WebDynpro Exception: URL
        http://isvsapeadev.ad.infosys.com:50200/irj/portal/infysrm?navigationtarget=rol
        ES%3A%2F%2Fportal_content%2Fcom.infy.nonsparsh%2Fcom.infy.srm%2Froles%2Fcom.inf
        y.requisitioning_urp_general%2Ffl_navi%2Fcom.sap.pct.srm.core.iv_shoppro
    Please help in resolving this
    Thanks in advance
    Vinod
    Edited by: Vinod Malagi on Jan 11, 2012 11:27 AM

    Hi Vindo,
    FYI this is the wrong forum. Even though the problem started taking place after an UPG/EHP, this is still a matter for the Portal team, not the ugprade one
    Anyhow I'll try to help you. This dump is mostly seen when you call the webdynpro from a non-supported browser. Please check PAM (http://service.sap.com/PAM) for the supported ones.
    Are you using a SM59 call to the WD? You can not connect to a Webdynpro
    application via SM59 as SM59 is not a supported. You can only use the browser visible in the PAM to access WD. /* e.G. IE 6.0, IE 7.0, Firefox */
    I hope this helps
    Best regards,
    Tomas Black

  • Connect to SAP gateway failed - internal error

    Hi, I've developed a simple .NET application that connects to a SAP system and makes a function call using a SAP Connector Proxy object. Everything works fine in my workstation, but deployment doesn't. I'm also deploying the following libraries: SAP.Connector.dll, SAP.Connector.Rfc.dll and librfc32.dll.
    The fact is that deployment works fine in some servers, but not in others. I've checked that .NET Framework is installed (both versions, 1.1 and 2.0). I've checked the "WINDOWS\system32\drivers\etc\services" file. What else should I check? Any idea? Every suggestion would be appreciated.
    The error message is the following:
    Connect to SAP gateway failed Connect_PM GWHOST=xxx.xxx.xxx.xxx, GWSERV=sapgw00, ASHOST=xxx.xxx.xxx.xxx, SYSNR=00 LOCATION CPIC (TCP/IP) on local host ERROR internal error TIME Mon Nov 13 16:23:08 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -1 COUNTER 1
    And the connection string:
    CLIENT=100 USER=****** PASSWD=****** LANG=EN ASHOST=xxx.xxx.xxx.xxx SYSNR=0
    Thanks in advance

    Hi Daniel,
    Can you connect to the particular system by using SAPGUI ?
    if yes, then your librfc32 file is working fine.
    NCo internally consumes it's functions.
    Other points to check are
    1> service name as appears from within the r/3 system [transaction : smgw]
    2> NCo 2.0 uses .net 1.1 & nCo 2.5 uses .net 2.0, do you have both versions running parallely ?
    3> gateway errors are infrastructure issues, please verify your firewall settings for the relevant protocols : http / https & also sap ports 3300 onwards.
    the services file you have checked will list the ports that need to be opened on the firewall [in the case of multi - domain applications]
    4> check in your 'hosts' file [same directory as your 'services' file]
    This file contains the mappings of IP addresses to host names. Each
    entry should be kept on an individual line. The IP address should
    be placed in the first column followed by the corresponding host name.
    The IP address and the host name should be separated by at least one
    space.
    Additionally, comments (such as these) may be inserted on individual
    lines or following the machine name denoted by a '#' symbol.
    For example:
         102.54.94.97     rhino.acme.com          # source server
          38.25.63.10     x.acme.com              # x client host
    with respect,
    amit

  • SAP Router internal error

    Hello
    I have installed solution manager 7.0 and then sap router is also configured on the same box.
    1. To generate a certificate request,
    sapgenpse get_pse -v -r D:\usr\sap\saprouter\certreq -p D:\usr\sap\saprouter\local.pse "CN=sbsapmgrapp01, OU=0000809350, OU=SAProuter, O=SAP, C=DE"
    2. Then you have to request the certificate from
    http://service.sap.com/tcs -> Download Area -> SAProuter Certificate
    3. Create a file D:\usr\sap\saprouter\srcert and copy the requested
    certificate into this file. :
    sapgenpse import_own_cert -c D:\usr\sap\saprouter\srcert -p
    D:\usr\sap\saprouter\local.pse
    4. To generate credentials for the user that's running the SAProuter
    service:
    sapgenpse seclogin -p D:\usr\sap\saprouter\local.pse -O sapadmin
    (this will create the file "cred_v2")
    5. Check the configuration:
    sapgenpse get_my_name -v -n Issuer
    (Result:  "CN=SAProuter CA, OU=SAProuter,
    O=SAP, C=DE")
    6. Create SAProuter service on Windows :
    ntscmgr install SAProuter -b D:\usr\sap\saprouter\saprouter.exe -p
    "service -r -R D:\usr\sap\saprouter\saprouttab -W 60000 -K "CN=sbsapmgrapp01, OU=0000809350, OU=SAProuter, O=SAP, C=DE"
    7. Edit the Windows Registry key :
    MyComputer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SAProuter\ImagePath
    8. Start the SAProuter service  -- success
    9. Enter the parameters in OSS1 -> Technical Settings -->
    hostname : sbsapmgrapp01
    IP: 10.1.0.112
    instance : 00
    SAP host name : sapserv2
    IP: 194.39.131.34
    instance:99
    10. saprouttab
    SNC-connection from and to SAP
    KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *
    SNC-connection from SAP to local R/3-System for Support
    KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 10.1.0.112 3200
    Access from the local Network to SAPNet - R/3 Frontend (OSS)
    P 10.1.0.112 194.39.131.34 3299
    deny all other connections
    D * * *
    when I check the sap-oss connection i am getting internal error. Any help would be appreciate..
    Thanks
    seshu

    Hi Rahu
    Thanks for your response. Here is my saprouttab entry's
    SNC-connection from and to SAP
    KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *
    SNC-connection from SAP to local  Solman System for Support
    KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 10.1.0.112 3200
    Access from the local Network to SAPNet - R/3 Frontend (OSS)
    P     10.1.0.112     194.39.131.34     3299
    P     10...*     194.39.131.34     *
    Here is my dev_rout file..
    trc file: "dev_rout", trc level: 1, release: "700"
    Thu Oct 16 02:08:22 2008
    SAP Network Interface Router, Version 38.10
    command line arg 0:     D:\usr\sap\saprouter\saprouter.exe
    command line arg 1:     -r
    command line arg 2:     -R
    command line arg 3:     D:\usr\sap\saprouter\saprouttab
    command line arg 4:     -W
    command line arg 5:     60000
    command line arg 6:     -K
    command line arg 7:     p:CN=sbsapmgrapp01, OU=0000809350, OU=SAProuter, O=SAP, C=DE
    SncInit(): Initializing Secure Network Communication (SNC)
          PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/64/64)
    SncInit(): Trying environment variable SNC_LIB as a
          gssapi library name: "D:\usr\sap\saprouter\sapcrypto.dll".
      File "D:\usr\sap\saprouter\sapcrypto.dll" dynamically loaded as GSS-API v2 library.
      The internal Adapter for the loaded GSS-API mechanism identifies as:
      Internal SNC-Adapter (Rev 1.0) to SECUDE 5/GSS-API v2
    main: pid = 1684, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)
    reading routtab: 'D:\usr\sap\saprouter\saprouttab'
    Thu Oct 16 09:14:17 2008
    ***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 2823]
    ERROR => NiPConnect2: SiPeekPendConn failed for hdl 2 / sock 256
        (SI_ECONN_REFUSE/10061; I4; ST; 194.39.131.34:3299) [nixxi.cpp    2823]
    Thu Oct 16 09:14:20 2008
    ***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 2823]
    ERROR => NiPConnect2: SiPeekPendConn failed for hdl 2 / sock 256
        (SI_ECONN_REFUSE/10061; I4; ST; 194.39.131.34:3299) [nixxi.cpp    2823]
    Kindly suggest the changes in my saprottab file..
    Thanks
    seshu
    Issue resloved..
    Edited by: Seshagiri Rao Myneni on Oct 16, 2008 7:31 PM

  • Internal Error occurred when i log in sap b1 2007A

    HI, Experts,
    I have two servers in one server there is a sql server 2005 and in another server sql server 2000 with sap 2007A PL 42.
    What i had done is I take a sap company back up from sql server 2000 with SBOCommon and restore it into sql server 2005.
    Now after doing the above thing if i want to access the database of sql server 2005 into my sap, can i access it or have to do something else or tell me the way how to move on the problem. because after configuring the license manager the error comes
    'Internal Error occured'
    Thanks
    Randy

    HI, Rahul
    As i had said that i have a server with sql server 2005 which one is totally seperated from sap system on which sql server 2000 is also installed but not sql server 2005. Then why should i have to install sql native client. as i had take a back up from my sql server 2000 and restore it into sql server 2005 server and more over i just want to access the sql server 2005 companies in sap 2007A.
    Anyways i will try your solution tomorrow morning and will update you, but please think or help me with anyother solution if it hit in your mind.
    Thanks
    Randy

  • Com.sap.aii.utilxi.misc.api.UnexpectedException: Internal Error: An unexpec

    Hello Friends,
    When I want to access message monitoring, I am facing given below error.
    com.sap.aii.utilxi.misc.api.UnexpectedException: Internal Error: An unexpected error occurred (java.lang.NullPointerException: null)
    Kindly suggest for that.
    Regards,
    Narendra

    Hi Narendra,
    Please check if your XI/PI components are in the same SP level.
    Generally this error could means that.
    For example, if you have PI 7.10.5, all of your XI/PI components
    should be 7.10.5, which 5 is the SP level.
    Regards,
    Caio Cagnani

  • INTERNAL ERROR IN SAP OLE DOCUMENT CONTAINER CONTROL. in transaction PBWW

    Well while running a transaction PBWW when we click on create button it opens the word document with the
    text in it but suddenly the text is gone and it is showing a error which is INTERNAL ERROR IN SAP OLE DOCUMENT CONTAINER CONTROL.
    how can it be resolved????
    Thanks And regards
    Amit

    Friend,
    See this line from OSS#427615:
    Note:
    This note is a continuation of the correction from Note 402195 (Stabilization of the Word interface). Thus, the correction from Note 402195 is an absolutely necessary prerequisite for this note.
    i'm about to sure that if you implement first 402195 than 427615 problem would be solved.
    Both OSS are made in continuation.

  • Internal error in SAP user exit

    Hi,
      i am working on the SAP user exits in SD module for Free goods enhancement, if customer buys 100 goods in 'X' material we have to provide 'Y' quantity of goods as free. i did coding part under the standard program "MV45AFZZ " in the form" user exit_save_document_prepare", its working fine in creation of sales order in VA01 transaction the free goods are getting added correctly.
    But, while changing the sales order in VA02 transaction the free goods are not getting updated after changing the order quantity. its just displaying the following error "An internal system error occurred. See note 442831."
    kindly help me to solve this issue.

    Dear vinod,
    No, this can't be done because with the help of configuration we can able to do only for 1:1 relationship.
    but this includes n :1 relationship free goods.so we need to develop code.in that only during execution only am getting this internal error.

  • RE: Internal error in SAP OLE document container control

    Hi,
    When i execute the transaction for assigning standard document to an applicant activity, PBWW, i get an error message stating 'Internal error in SAP OLE document container control'.  Please help me out of this problem.
    We are using SAP version ECC 6
    Thanks and Regards,
    sowmya

    Hi,
    Sorry for replying so late.
    Follow these steps
    •     Create a report ZPAPUT04 in your system.
    •     Using ZPAPUT04, upload all the templates in TEMPLATES.zip one by one. Please make sure that only the option 'Upload' in the selection screen is chosen. You have to pass the other inputs as given below
    If you have extracted the templates in the 'C: \ folder of your system
    then
    For R3_TP97_E.dot template
    FILENAME = C:\R3_TP97_E.DOT
    DOTNAME = R3_TP97_E
    For TEMPLATE_E.DOT template
    FILENAME = C:\TEMPLATE_E.DOT
    DOTNAME = TEMPLATE_E
    Execute the upload program ZPAPUT04
    For R3_TP97A_E.dot template
    FILENAME = C:\R3_TP97A_E.DOT
    DOTNAME = R3_TP97A_E
    Execute the upload program ZPAPUT04
    <b>Report to be executed</b>
    REPORT  ZPAPUT04                                .
    types: begin of data_type,
            line(132) type x,
          end of data_type.
    DATA langu type thead-tdspras VALUE 'D'.                  
    DATA data_x type table of data_type.
    DATA wa_data_x type data_type.
    DATA text type table of tline.
    DATA wa_text type tline.
    DATA header type thead.
    DATA header_x type xstring.
    field-symbols: <data_x> type x,
                   <text> type x.
    DATA filename type string.
    parameters:  file_c(128) default 'C:\R3_TP97_D.DOT',
                 dotname type TDOBNAME default 'R3_TP97_D',
                 download as checkbox default 'X',
                 upload as checkbox default 'X'.
    DATA bytes_up type i.
    DATA bytes_down type i.
    DATA result1 type string.
    DATA result2 type string.
    data charsize type i.
    class CL_ABAP_CHAR_UTILITIES definition load.
    charsize = CL_ABAP_CHAR_UTILITIES=>charsize.
    filename = file_c.
    if upload = 'X'.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = filename
        FILETYPE                      = 'BIN'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      IMPORTING
        FILELENGTH                    = bytes_up
      HEADER                        =
      TABLES
        DATA_TAB                      = data_x
      EXCEPTIONS
        FILE_OPEN_ERROR               = 1
        FILE_READ_ERROR               = 2
        NO_BATCH                      = 3
        GUI_REFUSE_FILETRANSFER       = 4
        INVALID_TYPE                  = 5
        NO_AUTHORITY                  = 6
        UNKNOWN_ERROR                 = 7
        BAD_DATA_FORMAT               = 8
        HEADER_NOT_ALLOWED            = 9
        SEPARATOR_NOT_ALLOWED         = 10
        HEADER_TOO_LONG               = 11
        UNKNOWN_DP_ERROR              = 12
        ACCESS_DENIED                 = 13
        DP_OUT_OF_MEMORY              = 14
        DISK_FULL                     = 15
        DP_TIMEOUT                    = 16
        OTHERS                        = 17
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    IF bytes_up <= 0.
      result1 = 'UPLOAD ERROR ?:o('.
    ELSE.
      result1 = 'UPLOAD OK :o)'.
    ENDIF.
    LOOP AT data_x INTO wa_data_x.
      assign wa_data_x-line to <data_x> casting.
      assign wa_text-tdline to <text> casting.
      <text> = <data_x>.
      append wa_text TO text.
    ENDLOOP.
    CALL FUNCTION 'INIT_TEXT'
      EXPORTING
        ID             = 'TAPP'
        LANGUAGE       = langu                                 
        NAME           = dotname
        OBJECT         = 'APP-DOT'
      IMPORTING
        HEADER         = header
      TABLES
        LINES          = text
      EXCEPTIONS
        ID             = 1
        LANGUAGE       = 2
        NAME           = 3
        OBJECT         = 4
        OTHERS         = 5
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT data_x INTO wa_data_x.
      assign wa_data_x-line to <data_x> casting.
      assign wa_text-tdline to <text> casting.
      <text> = <data_x>.
      append wa_text TO text.
    ENDLOOP.
    CALL FUNCTION 'SAVE_TEXT'
      EXPORTING
        CLIENT                = '000'                          
        HEADER                = header
      INSERT                = ' '
      SAVEMODE_DIRECT       = ' '
      OWNER_SPECIFIED       = ' '
      LOCAL_CAT             = ' '
    IMPORTING
      FUNCTION              =
      NEWHEADER             =
      TABLES
        LINES                 = text
      EXCEPTIONS
        ID                    = 1
        LANGUAGE              = 2
        NAME                  = 3
        OBJECT                = 4
        OTHERS                = 5
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF.
    if download = 'X'.
    refresh data_x.
    refresh text.
    clear wa_data_x.
    clear wa_text.
    unassign <data_x>.
    unassign <text>.
    DOWNLOAD
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        CLIENT                        = '000'                  
        ID                            = 'TAPP'
        LANGUAGE                      = langu                  
        NAME                          = dotname
        OBJECT                        = 'APP-DOT'
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
      TABLES
        LINES                         = text
      EXCEPTIONS
        ID                            = 1
        LANGUAGE                      = 2
        NAME                          = 3
        NOT_FOUND                     = 4
        OBJECT                        = 5
        REFERENCE_CHECK               = 6
        WRONG_ACCESS_TO_ARCHIVE       = 7
        OTHERS                        = 8
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT text INTO wa_text.
      assign wa_data_x-line to <data_x> casting.
      assign wa_text-tdline to <text> casting.
      <data_x> = <text>.
      append wa_data_x TO data_x.
    ENDLOOP.
    *DATA fn_length type i.
    *DATA offset type i.
    *fn_length = strlen( file_c ).
    *offset = fn_length - 4.
    *concatenate filename(offset) '_DOWN' filename+offset(4) INTO filename.
    IF upload <> 'X'.
      DATA dx_ln type i.
      describe table data_x lines dx_ln.
      bytes_up = dx_ln * sy-tleng.
    ENDIF.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        BIN_FILESIZE                  = bytes_up
        FILENAME                      = filename
        FILETYPE                      = 'BIN'
      APPEND                        = ' '
      WRITE_FIELD_SEPARATOR         = ' '
      HEADER                        = '00'
      TRUNC_TRAILING_BLANKS         = ' '
      WRITE_LF                      = 'X'
      COL_SELECT                    = ' '
      COL_SELECT_MASK               = ' '
      IMPORTING
        FILELENGTH                    = bytes_down
      TABLES
        DATA_TAB                      = data_x
      EXCEPTIONS
        FILE_WRITE_ERROR              = 1
        NO_BATCH                      = 2
        GUI_REFUSE_FILETRANSFER       = 3
        INVALID_TYPE                  = 4
        NO_AUTHORITY                  = 5
        UNKNOWN_ERROR                 = 6
        HEADER_NOT_ALLOWED            = 7
        SEPARATOR_NOT_ALLOWED         = 8
        FILESIZE_NOT_ALLOWED          = 9
        HEADER_TOO_LONG               = 10
        DP_ERROR_CREATE               = 11
        DP_ERROR_SEND                 = 12
        DP_ERROR_WRITE                = 13
        UNKNOWN_DP_ERROR              = 14
        ACCESS_DENIED                 = 15
        DP_OUT_OF_MEMORY              = 16
        DISK_FULL                     = 17
        DP_TIMEOUT                    = 18
        FILE_NOT_FOUND                = 19
        DATAPROVIDER_EXCEPTION        = 20
        CONTROL_FLUSH_ERROR           = 21
        OTHERS                        = 22
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    IF bytes_down <> bytes_up and upload = 'X'.
      result2 = 'DOWNLOAD ERROR ?:o('.
    ELSEIF bytes_down > 0.
      result2 = 'DOWNLOAD OK :o)'.
    ELSE.
      result2 = 'DOWNLOAD ERROR ?:o('.
    ENDIF.
    endif.
    write: result1, / result2, / 'Bytes per Character: ', charsize.
    Download the template attached to note 558548
    Regards,
    Sowmya

Maybe you are looking for

  • How to post multiple http requests using a single http connection in java

    I am using the httpurlconnection class and it allows only to post one request on a connection. I require to post multiple http requests by opening a single connection. Code examples please. Thanx in advance.

  • Does ADDRCOMM field in BUT000 need equal to ADDRNUMBER field in ADRC

    I know this question is not really related to ABAP programming.  But I don't which category I should post. Here is my question: I use FUNCTION 'BAPI_BUPA_ADDRESS_CHANGE' to update ADRC table address information.  I trace the function: it inquiry BUT0

  • Final Cut Studio 2 EULA?

    Does anyone know were to find the final cut studio 2 eula? I was wondering if it allows for me to install it on my desktop, and then my laptop when I travel? Thanks

  • Frozen do not disconnect

    My fifth generation iPod is frozen on the do not disconnect screen. I cannot connect to it through either iTunes or browsing its hard drive. It will disconnect fine through Window's "safely remove hardware" but it still appears to be frozen. I have t

  • Completed OCP, but certview ?

    Hello All, Two weeks back, I cleared 1Z0-043(in English) from Tokyo,Japan. Would Oracle send any certificate ? In certview, which email id should i provide ? 1) Email id registered at the pearsonvue ? 2) Oracle SSO ID, which itself is an email-id ? R