COM routine error in Background job.

Hello All,
During background process of a job, we found a "Error for COM routine using application program (return code 40.301)" for a CVC. It caused a backgroung job to fail.
Could you please throw light, why this error comes only for this CVC ( as had the same instance before for the same CVC ) & how to fix it ?
Reagrds
Rahul Chitte

HI Rahul,
COM routine errors are generally related to LC errors. There are a number of possible causes for it, the CVC was created when a macro was running or it was deleted from MPOS but not from LC etc etc.,
Solution to this is go /n/sapapo/msdp_admin --> Go to your planning area --> Double Click --> Look for Extras in Menu --> Go to Consistency check and do a time series consistency check.
Remember to click Check for Live Cache Anchor and leave 'Repair' unselected.
This will return what is the error. Once you see the error, you can go back and select the 'Repair' Also and then execute again. This should resolve the problem.
Hope this is helpful.
Thanks
Mani Suresh

Similar Messages

  • COM ROUTINE ERROR

    Hi Any one can explain the reason for Com Routine Error 40.075.
    Description:
    Error for COM routine using application program (return code 40.075)
    All input time series to which you can distribute are fixed
    And Please provide the solution also.
    Thanks and Regards,
    RAVI SAGAR CHENNU

    Procedure
    Remove at least one of the fixings of the aggregated time series
    objects.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    You have fixed information in your planning area, which is causing the
    issue to occurs.
    So in tscube, if you try and load data into a key figure which has
    at least one value fixed, the load will fail, if your selection criteria
    in tscube overlaps with the aggregate level of the fixing. The reason is
    because, tscube does the data set in one shot for the selection criteria
    If your cube is a backup cube and you already have the fixing
    information in it, you can use macro to unfix the fixing information in
    the planning area, then use tscube to load.
    Before executing the TSCUBE,you can schedule this macro job and then
    execute the TSCUBE.while defining the macro you can check whether
    the keyfigure value is fixed or not using the macro function
    IS_FIXED(). If it's fixed then please unfix the cell.
    You have fixed information in your planning area, which is causing the
    issue to occurs.
    To run the macro considering fixings, please, update your macro. Change
    the Row properties and flag the "Adjust Fixings" information for each
    row.
    Also please find the below notes related to fixings:
    1599645
    687074 Macros: General notes on fixing with macros
    643517 Macrobuilder: Fixing key figures with a macro
    Even that these notes do not apply because of the SP, information is
    relevant.
    Also, please, take a look at the online documentation:
    http://help.sap.com/saphelp_scm50/helpdata/en/92/cd15426bf3dd2ce10000000
    a1550b0/frameset.htm

  • Error in background job for program RSGET_SMSY error message No active job

    Hello!
    I would like to set up the Change Request Management functionality in SAP Solution Manager.
    The only red warning by executing Test-button in Tcode “SOLAR_ADMIN_PROJECT” is:
    <b>Error in background job for program RSGET_SMSY error message No active job found</b>
    Can someone please tell me how to solve this problem?
    (tcodes, technical steps)
    Thank you very much!
    regards
    Thom

    Thank you very much!
    Can you also help me with the warning "Errors occurred during synchronization of the system landscape" in tcode SOLAR_PROJECT_ADMIN" --> System landscape --> Change requests --> "Refresh"?
    The second issue I cannot see any projects in Tcode "/TMWFLOW/CMSCONF"
    according to the SPRO-step "Set Project Assignment of Requests as Mandatory"
    Thank you!
    regards

  • COM routine error code descriptions in SAP APO - transaction /SAPAPO/OM10

    I had recently encountered a  COM error in SCM APO and wasted a lot of time trying to figure out what the error code actually meant.
    If you ever have this issue, you can use transaction /SAPAPO/OM10 to resolve any COM routine error message.
    You can also check the message class /SAPAPO/OM_TS and possibly some other /SAPAPO/OM* message classes as well. This is where the error message descriptions are coming from.
    Hope this helps.

    Hello Gabor,
    -> As you know, you could use the transaction /n/sapapo/om10 to Display Meaning of COM Return Code.
    -> In case you got a COM error in SCM APO => to avoid a spending a lot of time trying to figure out what the error code actually meant, please, open the OSS message to the component BC-DB-LCA to get the liveCache application support from SAP on this issue.
    Thank you and best regards, Natalia Khlopina

  • Error in background job for VT04 - RV56TRGN

    Hello!
    The selection criteria is fine - we want every shipping point to be used to create every variant. We also have TPPs mirroring the plant codes. The job log sepects some deliveries which are good and tries to process them - the endlogue is it found X no. of deliveries, processed them but did not write the shipment to the data base. Digging further, it shows the error - <u>the system cound not determine the TPP for the plant in the delivery line item.</u>
    When I look at the variant, it doesn't talk of the TPP at all - only the shipping point and all the other criteria mainly associated with the deliveries and their statuses. I am wondering how the system knows which TPP to use for each shipping point when no TPP is assiged in the variant? Is this a default configuration I am missing? Or something else? Appreciate any leads...
    Thanks a lot.

    PS: In addition to creating the shipments, we also need to make their status to 'complete' in the background job as it is a purely non value added activity for us but we need the shipments for the cost documents. Any ideas how I can go about that?
    Thanks.

  • Error in Background Job Processing.

    Dear All,
             I am using a background job for processing the outbound delivery.
             In the user exit in delivery program I am checking for the combination of
             ship to party, Material & Batch of outbound delivery in a ztable. If the combination exists in
             Ztable I do not want to save & ignore this delivery creation and continue with the next
             delivery order creation thru the batch job.
             However I need to give an error / warning message for the delivery orders
             which are not created so I am giving the error message as success message
             in  the below format :-
              IF L_RETURN-TYPE = 'E'.
                MESSAGE S000(Z64_I) WITH L_RETURN-MESSAGE_V1
                                         L_RETURN-MESSAGE_V2
                                         L_RETURN-MESSAGE_V3
                                         L_RETURN-MESSAGE_V4
                                         DISPLAY LIKE 'E'.
                PERFORM FOLGE_GLEICHSETZEN(SAPLV00F).
                FCODE = 'ENT1'.
                SET SCREEN SYST-DYNNR.
                LEAVE SCREEN.
              ENDIF.
            But my job is finished as soon as the above message is encountered and the
            rest of the outbound deliveries are not created.
            However if I execute the progarm in foreground the execution is working fine.
            Could you please let me know what do I need to code / do corrections to make
            the program run successfully in background.
    Thanks & Regards
    Jitendra Gujarathi

    Hello,
    Check system log and also check work process trace, to know the error.
    I feel that it could be Authorization issue, you don't have sufficient authorization to do.
    Hope this helps.
    Regards
    venkata
    Edited by: venkata emandi on Sep 12, 2011 8:13 AM

  • Spool error for background job

    Hi All,
    I have scheduled one job in sap for a report.I have made a distribution list via tcode SO01.
    I have given this distribution list to the SPOOL RECEPIENT section in SM 36.
    The job is running successfully but is giving the following error and not sending emails to the distribution list.
    The error is :-
    "Spool list of step 1 could not be sent due to error 7".
    Does anybody has any idea about this error?
    Please help its a production issue.
    Thanks in advance
    Vivekanand Meghmala

    Look at SAP note : 760838
    Symptom
    Background job spool lists are not sent.
    Other terms
    RSBTCRTE, RSPO_SPOOLJOB_TO_OFFICE, SO_DOCUMENT_SEND_API1
    Reason and Prerequisites
    1. The jobs in question have recipient references in table TBTCO but these have no equivalent in the Business Object Repository.
    2. An error occurs when sending in the spool or in the Sapconnect layer.
    Solution
    This note does not provide a direct solution to the problem but it does provide a source code enhancement that you can use to create more trace information about the cause of the error. When you copy and execute a job with spool list recipients, trace messages are output when errors occur.
    After implementing the correction instructions, use transaction SE91 to create the following message:
    Message class: BT
    Number: 347
    Text: Spool list of step &1 could not be sent due to error &2.
    In detail, the error numbers mean:
    1 = Spool request does not exist (or no longer exists)
    2 = Spool request does not contain any data
    3 = Empty page area selected
    4 = No authorization to send the request
    5 = Access to the spool request is not possible
    6 = Read error in the Temse layer
    7 = Spool request could not be sent (sending problem)
    8 = Incorrect request type
    9 = Other

  • COM routine error using application program (return code 40,134)

    All,
    In Interactive Demand Planning ( /SAPAPO/SDP94 ), when im trying to load data in a planning book ther is an error 'Error while calling COM routines using application program (return code 40,134)
    is encountered.
    What should I do ?
    Regards
    Steve

    Hello Steve,
    Return code 40.134 means a key figure operation tried, via a key figure anchor, to dereference a key figure object that does not exist in the liveCache.  This problem is due to master data inconsistency in the application.
    You might as well want to open an OSS message in accordance with SAP Note 167280.
    Hope this helps,
    Raymond

  • Error in background job scheduling in Solman 7.0

    Hi Experts,
    I am working with Solman 7.0 configuration. In the IMG node for Scheduling background jobs (Solution manager-> General Settings), while following the documentation to schedule the jobs, I am facing issues with the following jobs:
    1. *SEND_SYSTEM_RELATIONSHIP_TO_SUPPORT *
    This job got cancelled on immediate scheduling, however has been scheduled for next day. What could be the reason by which it got cancelled?
    2. AI_SDK_FILL_FILE_TYPE_TABLE
    I cant find a job of this name in the system (while all other jobs are already available in the system by default). But, there is a program with the same name. Should I schedule the same in SM36?
    Regards,
    Arun.

    Hi,
    Yes schedule a job with program AI_SDK_FILL_FILE_TYPE_TABLE. Hope this solves your problem.
    Feel free to revert back.
    --Ragu

  • Error in background job of downloading data to  PC

    Hi Gurus,
       I hv created a report for downloading data to PC using
    GUI_DOWNLOAD FM when scheduling  job in background
    job is getting canceled...................
    give me some solution....

    thnaks friend.i hv used DATASET as u said...............
    But I M getting dump
    FILE IS NOT OPEN
    this is my code
    TYPES:BEGIN OF T_MARD,
            MATNR LIKE MARD-MATNR,
            WERKS LIKE MARD-WERKS,
            LGORT LIKE MARD-LGORT,
            LABST LIKE MARD-LABST,
            MAKTX LIKE MAKT-MAKTX,
         END OF T_MARD.
    ***********WORK AREAS**********
    DATA: WA_MARD TYPE T_MARD,
          WA_MARD1 TYPE T_MARD.
    DATA:BEGIN OF IT_MARD1 OCCURS 0,
            MATNR(18),
            WERKS(4),
            LGORT(4),
            LABST(13),
            MAKTX(40),
         END OF IT_MARD1.
    TYPES : BEGIN OF TY_BAT,
              LINE(100) TYPE C,
            END OF TY_BAT.
    *********INTERNAL TABLES*******
    DATA:IT_MARD TYPE STANDARD TABLE OF T_MARD INITIAL SIZE 0 WITH HEADER LINE .
    types: BEGIN OF ITAB1,
                FIELD(100),
          END   OF ITAB1.
    DATA : IT_BAT TYPE TABLE OF TY_BAT,
           WA_BAT TYPE TY_BAT,
           wa_itab1 type itab1.
    data : it_tab type table of ALSMEX_TABLINE with header line.
    *DATA: FILENAME1 TYPE STRING valu.
    *DATA: FILENAME1(500).
    DATA: FILENAME1 TYPE RLGRAP-FILENAME .
    LOOP AT IT_MARD1.
          CONCATENATE IT_MARD1-MATNR IT_MARD1-LABST IT_MARD1-MAKTX
                      INTO wa_ITAB1    SEPARATED BY ' '.
          APPEND wa_itab1 to IT_tab.
          CLEAR wa_ITAB1.
        CLEAR WA_MARD.
      ENDLOOP.
      CONCATENATE 'D:\STOCKINH\'  SY-DATUM '.TXT' INTO FILENAME1.
    open dataset filename1 for output in binary mode." ENCODING DEFAULT.
    IF sy-subrc = 0.
    EXIT.
    ENDIF.
    LOOP AT it_tab into wa_itab1.
    TRANSFER wa_itab1 TO filename1.
    CLEAR wa_itab1.
    ENDLOOP.
    close dataset filename1.
      MESSAGE S001(38) WITH 'Files Generated'.
      WA_BAT = 'ftp -s:d:\ftp\ftp_upload.txt'.
      APPEND WA_BAT TO IT_BAT.
      CLEAR FILENAME1.
       FILENAME1 = 'D:\STOCKINH\ftp_upload.BAT'.
    open dataset filename1 for output in binary mode." ENCODING DEFAULT.
    IF sy-subrc = 0.
    EXIT.
    ENDIF.
    LOOP AT it_bat INTO wa_bat.
    TRANSFER wa_bat TO filename1.
    CLEAR wa_bat.
    ENDLOOP.
    close dataset filename1.
      CLEAR:  IT_BAT.
      REFRESH IT_BAT.
      WA_BAT-LINE = 'open 10.100.103.199'.
      APPEND WA_BAT TO IT_BAT.
      CLEAR WA_BAT.
      WA_BAT-LINE = 'epossync'.
      APPEND WA_BAT TO IT_BAT.
      CLEAR WA_BAT.
      WA_BAT-LINE = 'sync@1234'.
      APPEND WA_BAT TO IT_BAT.
      CLEAR WA_BAT.
      WA_BAT-LINE = 'lcd D:\STOCKINH\20080201.TXT'.
      APPEND WA_BAT TO IT_BAT.
      CLEAR WA_BAT.
      WA_BAT-LINE = 'cd /home/epossync/AMIT'.
      APPEND WA_BAT TO IT_BAT.
      CLEAR WA_BAT.
      WA_BAT-LINE = 'binary'.
      APPEND WA_BAT TO IT_BAT.
      CLEAR WA_BAT.
      WA_BAT-LINE = 'hash'.
      APPEND WA_BAT TO IT_BAT.
      CLEAR WA_BAT.
      WA_BAT-LINE = 'put D:\STOCKINH\20080201.txt'.
      APPEND WA_BAT TO IT_BAT.
      CLEAR WA_BAT.
      WA_BAT-LINE = ' '.
      APPEND WA_BAT TO IT_BAT.
      CLEAR WA_BAT.
      WA_BAT-LINE = 'bye'.
      APPEND WA_BAT TO IT_BAT.
      CLEAR WA_BAT.
    CLEAR FILENAME1.
    FILENAME1 = 'D:\STOCKINH\ftp_upload.txt'.
    open dataset filename1 for output in binary mode." ENCODING DEFAULT.
    IF sy-subrc  = 0.
    EXIT.
    ENDIF.
    LOOP AT it_bat INTO wa_bat.
    TRANSFER wa_bat TO filename1.
    CLEAR wa_bat.
    ENDLOOP.
    close dataset filename1.

  • Error in Background Job:CALL_FUNCTION_CONFLICT_TYPE

    Hi
    We ran one job some 2 or 3 times on the same day but it is getting cancelled now due dump error ABAP/4 processor: CALL_FUNCTION_CONFLICT_TYPE. This dump is coming due to parameter type conflict in the function module JOB_CLOSE.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
    not caught in
    procedure "SUBMIT_JOB" "(FORM)", 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 call to the function module "JOB_CLOSE" is incorrect:
    The function module interface allows you to specify only
    fields of a particular type under "TARGETSERVER".
    The field "MYNAME" specified here is a different
    field type.
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
    jobname = jobname
    jobcount = jobcount
    strtimmed = 'X'.
    strtimmed = 'X'
    TARGETSYSTEM = SY-HOST.
    targetsystem = sy-host
    targetserver = myname
    EXCEPTIONS "QIZK001068
    cant_start_immediate = 1 "QIZK001068
    invalid_startdate = 2 "QIZK001068
    jobname_missing = 3 "QIZK001068
    job_close_failed = 4 "QIZK001068
    job_nosteps = 5 "QIZK001068
    job_notex = 6 "QIZK001068
    lock_failed = 7 "QIZK001068
    OTHERS = 8.
    DATA myname LIKE msxxlist-name.
    Structure MSXXLIST Active
    NAME MSNAME2 CHAR 40 0 Application Server Name
    Function module JOB_CLOSE Active
    TARGETSERVER LIKE BTCTGTSRVR-SRVNSPACE
    Structure BTCTGTSRVR Active
    SRVNAME BTCSRVNAME CHAR 20 0 Server name
    My question is why is this dump coming now after running the same job again, as earlier it got run successfully. Also, do i need to fix this this.
    Edited by: deepti Gandham on May 18, 2010 2:54 PM

    Hi Deepti,
    Check the data types of the parameters TARGETSERVER & MYNAME. They might be different, and hence the error.
    Some one might have changed the types recently. Hence there was no error previously. The error might have come after the change.
    kindly correct the data types so that they match. Or else the error would continue to occur.
    Thanks,
    James

  • Report giving a error in background job

    Hi all ,
    I am facing a major issue , I have a normal executable report which when i run in foreground
    works fine , but when i go to option in menu bar and choose the option to run the report in background
    it , i choose to start the job immediate , then i go to SM37 and execute , i see the job is cancelled .
    I checked in ST22 dump is like "OBJECTS_NOT_CHARLIKE" this is  in standarad SAP program.
    Have anybody faced this kind of issue ?
    I dnt think i need to write any code (job_open , close) in my program .
    Please provide with useful solutions?

    Hi Bhanu,,
    Here is the solution....
      ls_fieldcat-fieldname     = 'VERSN1'.
      ls_fieldcat-outputlen     = '02'.
      ls_fieldcat-seltext_l     = text-u06.
      ls_fieldcat-seltext_m     = text-u06.
      ls_fieldcat-seltext_s     = text-u06.
      ls_fieldcat-reptext_ddic  = text-u06.
      append ls_fieldcat to lt_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname     = 'QTY01'.
      ls_fieldcat-datatype      = 'QUAN'.
      ls_fieldcat-outputlen     = '13'.
      ls_fieldcat-seltext_l     = w_wkhdr01.
      ls_fieldcat-seltext_m     = w_wkhdr01.
      ls_fieldcat-seltext_s     = w_wkhdr01.
      ls_fieldcat-reptext_ddic  = w_wkhdr01.
      append ls_fieldcat to lt_fieldcat.
      clear ls_fieldcat.
    use Fieldcat-DATATYPE.
    Thanks & Regards,
    Dileep .C

  • Error in background job.

    Hello Seniors,
    I am a MM consultant. I tried to create source list automatically in back ground in ME05 and it gave a program name RM06W003. When i check in SM37 it was active for sometime and again if i check after sometime its status was cancelled. Why is it so ? I have checked the job log, it is having so many spool request number and telling spool request created without immediate output.
    Kindly clear me. This is the first time i am doing back ground job. Where i am making mistake.
    Regards,
    JanaMM

    Hi ,
    I gues  there mite b  some problem with ur printer Configuration
    by the job log ur getting Error spool request created without immediate output.
    u can fix the problem by making changes in Tcode Spad.
    Otherwise refer notes:this may help u...
    SAP Note 843722 - RAPOST2000: Misleading message texts in the job log
    Note 753211 - AR29N: Error in file, SCMO status and message handling
    Thanks
    Ramakrishna.

  • Error in Background job for Status refresh after SP15

    Hi,
    I am having a issue after applying SP 15 in our Solman Production.
    Bckg Job REFRESH MESSAGE STATUS for refereshing message status which was working fine uptil SP10 now its
    giving us following error
    At least one entry could not be found in object buffer                            CRM_ORDER_MISC     106          E
    I refered note number 1096329 but it doesnot give the solution as our Solman PRD is already  at Support package ST ( SAPKITL425)More over our Solman Dev is working fine with SP15 with same seetings as Solman PRD .
    Can anybody help me out. Is there any further setting needs to be done in IMG.
    Waiting for the response.
    Regards
    Atul Anand

    SAP note 1140822 has to be implemented.
    regards
    Atul Anand

  • Error in background job while running FTP_CONNECT

    Dear Friends,
    When I try to run the FTP_CONNECT  FM in background,
    the ftp server is not connected throwing an error message ''Attempt to set up connection to <ftpserver> failed''.
    I am using the RFC destination SAPFTPA and still it is not working!
    My program was successfully executing in fore ground with SAPFTP.
    Please help.
    Thanks and Regards,
    Vidya Sagar.

    Hi,
    The below program is to create file on FTP server by taking the data from internal table
    To see whether the file is created on the FTP server
    use the function module FTP_SERVER_TO_R3.
    Check the below code.
    You write a same program with the function module FTP_SERVER_TO_R3 instead of
    FTP_R3_TO_SERVER to check the existence of the file which is already created.
    tables: t777a.                        "Building Addresses
    Internal Table for  Building table.
    data: begin of it_t777a occurs 0,
            build like t777a-build,       "Building
            stext like t777a-stext,       "Object Name
            cname like t777a-cname,       "Address Supplement (c/o)
            ort01 like t777a-ort01,       "City
            pstlz like t777a-pstlz,       "Postal Code
            regio like t777a-regio,       "Region (State, Province, County)
          end of it_t777a.
    Internal Table for taking all fields of the above table in one line
    separated by u2018|u2019(pipe).
    data: begin of it_text occurs 0,
          text(131),
          end of it_text.
    Constants: c_key  type i value 26101957,
               c_dest   type rfcdes-rfcdest value 'SAPFTPA'.
    data: g_dhdl type i,      "Handle
          g_dlen type i,      "pass word length
          g_dpwd(30).         "For storing password
    Selection Screen Starts
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE TEXT-001.
    parameters: p_user(30) default 't777a'          obligatory,
                p_pwd(30)  default 't777a'          obligatory,
                p_host(64) default 'XXX.XXX.XX.XXX' obligatory.
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE TEXT-002.
    parameters: p_file like rlgrap-filename default 't777a_feed.txt'.
    SELECTION-SCREEN END OF BLOCK blk2.
    Password not visible.
    at Selection-screen output.
      loop at screen.
        if screen-name = 'P_PWD'.
          screen-invisible = '1'.
          modify screen.
        endif.
      endloop.
    g_dpwd  = p_pwd.
    Start of selection
    start-of-selection.
    To fetch the data records from the table T777A.
      select build stext cname ort01 pstlz regio
             from t777a
             into table it_t777a.
    Sort the internal table by build.
      if not it_t777a[] is initial.
        sort it_t777a by build.
      endif.
    Concatenate all the fields of above internal table records in one line
    separated by u2018|u2019(pipe).
      loop at it_t777a.
        concatenate it_t777a-build it_t777a-stext it_t777a-cname
                    it_t777a-ort01 it_t777a-pstlz it_t777a-regio
                    into it_text-text separated by '|'.
        append it_text.
        clear it_text.
      endloop.
    To get the length of the password.
      g_dlen = strlen( g_dpwd ).
    Below Function module is used to Encrypt the Password.
      CALL FUNCTION 'HTTP_SCRAMBLE'
        EXPORTING
          SOURCE      = g_dpwd          "Actual password
          SOURCELEN   = g_dlen
          KEY         = c_key
        IMPORTING
          DESTINATION = g_dpwd.         "Encyrpted Password
    *Connects to the FTP Server as specified by user.
      Call function 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
          text = 'Connecting to FTP Server'.
    Below function module is used to connect the FTP Server.
    It Accepts only Encrypted Passwords.
    This Function module will provide a handle to perform different
    operations on the FTP Server via FTP Commands.
      call function 'FTP_CONNECT'
        EXPORTING
          user            = p_user
          password        = g_dpwd
          host            = p_host
          rfc_destination = c_dest
        IMPORTING
          handle          = g_dhdl
         EXCEPTIONS
            NOT_CONNECTED.
      if sy-subrc ne 0.
        format color col_negative.
        write:/ 'Error in Connection'.
      else.
        write:/ 'FTP Connection is opened '.
      endif.
    **Transferring the data from internal table to FTP Server.
      CALL FUNCTION 'FTP_R3_TO_SERVER'
        EXPORTING
          HANDLE         = g_dhdl
          FNAME          = p_file
          CHARACTER_MODE = 'X'
        TABLES
          TEXT           = it_text
        EXCEPTIONS
          TCPIP_ERROR    = 1
          COMMAND_ERROR  = 2
          DATA_ERROR     = 3
          OTHERS         = 4.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        write:/ 'File has created on FTP Server'.
      ENDIF.
    Call function 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
          text = 'File has created on FTP Server'.
    To Disconnect the FTP Server.
      CALL FUNCTION 'FTP_DISCONNECT'
        EXPORTING
          HANDLE = g_dhdl.
    To Disconnect the Destination.
      CALL FUNCTION 'RFC_CONNECTION_CLOSE'
        EXPORTING
          destination = c_dest
        EXCEPTIONS
          others      = 1.
    Regards,
    Kumar Bandanadham

Maybe you are looking for

  • How to extract blob from a table and save it as  a file?

    Dear All i have table employee (emp_id number , emp_name varchar2(60) emp_image blob) 1 - i want to extract the emp_image of every employee into a operating system folder c:\images 2 - the file name should be emp_id.gif or emp_id.jpg How can i do tha

  • [SOLVED] Initramfs fails to properly mount luks partition

    Hello All, As I foreshadowed in my intro, I'm having trouble getting encrypted Archlinux to work on my Acer Aspire 5750. I've previously had encrypted Debian Netinst and encrypted Aptosid working on this device. The arch iso I'm using is 2011.08.19-c

  • N95 PC Connection

    when I start PC Suite and plug my phone into my PC it crashes my system, I'm using Vista 64, is this a driver compatibility issue? can anyone help?

  • IMac Monitor freezes

    Over the last 2 weeks, my monitor froze twice.... I dunno why this is happening. My OS 10.6.8. Please explain why this is happening or any support? Thanks, Elliwhi

  • System Update keeps failing "Package did not download" and does not show all updates

    I recently installed win8 64-bit on my X1 (1294-2PG) using a clean install formatting the hard drive. Now I want to use System Update to install right drivers. Two problems occur: System Updates fails to show all the updates available for my PC in th