Error after doing bdc recording  with MIRO

hi everybody,
iam using call transaction for MIRO. in that recording is not doing properly. problem is - after doing recording ,the process is not moving to another tabs(SUB SCREENS) like payments,details.
it gives error.
error is 'invfo-bktxt does not exists in the screen saplmr1m 6000.'
Please help any body for this.

Hi Kumar,
Have you got solution for this problem?We've got the same problem over here and we getting solution, if you have the solution could you send it?
Thanks,
Mário

Similar Messages

  • Want to output Error message in BDC recording(PA30)

    Hi all,
    Currently iam working on upload program,whic is done by BDC recording with transaction PA30.while loading the data to different infotypes,iam checking one condition
    in particular infotype,after that i need to give the error message(Type E) and i data should not get uploaded for that infotype,and it has to go to next infotype.i want to log this error also,how can i do this?

    The ERROR message will stop the processing of the program,  the message will need to be either an I(information) or a W(warning) message into for the program to continue processing.
    Log the message by writing it to an internal table.
    IF SOME_CONDITION = 'X'.
    MESSAGE W001(00) with 'Hey, here is a message'.
    itab-pernr = p_pernr.
    itab-msgid = '00'.
    itab-msgno = '001'.
    append itab.
    ENDIF.
    CALL TRANSACTION 'PA30'........
    Regards,
    Rich HEilman

  • PO PDF Error - File does not Begin with '%PDF-'

    Hi,
    I am working on Implementing PO PDF with XML data and RTF Template. I have created a new template in XML Publisher and followed the following set up steps
    Setup / Organizations / Purchasing Options / Control TAB / set 'PO Output Format' = 'PDF'
    setup / purchasing / document types / select "Standard Purchase Order" / Set the Document Type Layout to your new template.
    When I view the document from PO Summary > inquire > View Document, I get an adobe reader error
    'File does not begin with '%PDF-', how ever when I preview it from the template definition, it opens fine.
    I tried running PO Output for communication with my custom template but I don't see the parameter 'Purchase Order Layout'. The last parameter in the list is 'Include Blanket'.
    Am I missing any set up steps? However when I use the standard Purchase Order Layout in Document Types set up, the Inquire > View Document created a PDF output.
    Any help is greatly appreciated.
    Thanks,
    Sharmila

    I encountered same error in BPA Invoice Print. I remove a MLS function from the program definition and this error disappeared. Have not fully investigated but maybe this will help. Thanks.

  • Error handling in bdc Fb01along with erros in Idoc.

    Hi,
    Can any one send me the sample code for the error handling in bdc Fb01along with erros in Idoc. Actually, mail should be sent
    Thanks
    Avi.

    Hi,
    This may help you.
    <b>FORM send_mail USING   receiver.
      CLEAR: w_lines,tbl_packing_list,tbl_object_header,
                 tbl_contents_txt, tbl_receivers.
      REFRESH:tbl_packing_list, tbl_object_header,
               tbl_contents_txt,tbl_receivers.
      SORT tbl_err.
      DELETE ADJACENT DUPLICATES FROM tbl_err COMPARING ALL FIELDS.
      IF NOT tbl_err[] IS INITIAL.
    Preparing the email.
        PERFORM prepare_email.
      ELSE.
       If sy-subrc NE 0.
          MOVE sy-subrc TO w_code.
       ENDIF.
        EXIT.
      ENDIF.
    Get  the content of header e-mail document data
      PERFORM document_data.
    Get details of the error file attached (like type of file and format)
      PERFORM packing_list.
    Get receiver mail id's
      tbl_receivers-receiver = receiver.
      tbl_receivers-rec_type = 'C'.
      tbl_receivers-express  = c_flag.
      tbl_receivers-sap_body = c_flag.
      APPEND tbl_receivers.
    Call FM to send E-mails to receivers
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = st_document_data
                put_in_outbox              = 'X'
           TABLES
                packing_list               = tbl_packing_list
                object_header              = tbl_object_header
                contents_txt               = tbl_contents_txt
                receivers                  = tbl_receivers[]
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
    ENDFORM.                    " send_mail
    *&      Form  prepare_email
          text
    -->  p1        text
    <--  p2        text
    FORM prepare_email.
    E-Mail body content
      IF NOT w_lifnr IS INITIAL.
        CONCATENATE text-015 w_docnum text-016
               INTO tbl_contents_txt-line
          SEPARATED BY space.
      ENDIF.
      APPEND tbl_contents_txt.
      CLEAR tbl_contents_txt.
    E-mail error file attachment header
      CONCATENATE text-063 text-064
                   text-065 text-066 c_comma
             INTO tbl_contents_txt-line
        SEPARATED BY c_comma.
      APPEND tbl_contents_txt.
      CLEAR tbl_contents_txt.
    E-mail error file attachment content
      LOOP AT tbl_err.
        CONCATENATE w_docnum tbl_err-v_segnum
                    tbl_err-msg tbl_err-type
          INTO tbl_contents_txt-line
          SEPARATED BY c_comma.
        CONCATENATE c_linefeed tbl_contents_txt-line c_comma
               INTO tbl_contents_txt-line.
        APPEND tbl_contents_txt.
        CLEAR tbl_contents_txt.
      ENDLOOP.
    ENDFORM.                    " prepare_email
    *&      Form  document_data
          text
    -->  p1        text
    <--  p2        text
    FORM document_data.
      CLEAR w_line.
      IF NOT w_lifnr IS INITIAL.
        CONCATENATE text-075 text-027 sy-datum sy-uzeit INTO w_line
        SEPARATED BY c_uscore.
      ENDIF.
      st_document_data-obj_name  = w_line.
      st_document_data-obj_descr = w_line.
      st_document_data-priority  = 1.
      st_document_data-obj_prio  = 1.
    ENDFORM.                    " document_data
    *&      Form  packing_list
          text
    -->  p1        text
    <--  p2        text
    FORM packing_list.
      CLEAR w_lines.
      DESCRIBE TABLE tbl_err LINES w_lines.
      READ TABLE tbl_contents_txt INDEX w_lines.
      tbl_packing_list-head_start = 1.
      tbl_packing_list-head_num   = 1.
      tbl_packing_list-body_start = 1.
      tbl_packing_list-body_num   = 1.
      tbl_packing_list-doc_type   = 'RAW'.
      APPEND tbl_packing_list.
      tbl_packing_list-head_start = 1.
      tbl_packing_list-head_num   = 0.
      tbl_packing_list-body_start = 2.
      tbl_packing_list-body_num   = w_lines + 1.
      tbl_packing_list-doc_type   = 'CSV'.
      tbl_packing_list-obj_descr  = 'Error_Attachment'(060).
      IF NOT w_lifnr IS INITIAL.
        tbl_packing_list-obj_name   = 'Idoc Number is'(072).
      ENDIF.
      tbl_packing_list-doc_size   = 255 * ( w_lines + 1 ).
      APPEND tbl_packing_list.
    ENDFORM.                    " packing_list
    </b>
    Thanks
    Manju.

  • After doing the recording for transaction fpcj, the values are not being se

    after doing the recording for transaction fpcj, the values are not being sent to the g/l.

    HI,
      When you are recording.. you might be creating the values... ensure that they are updated into the GL before u write program. I doubt you might have missed the save ..
    Thanks
    Mahesh

  • Isight audio does not record with video

    isight audio does not record with video

    Welcome to the forum.
    Can you provide us with a bit more information, please?
    What OS version are you using?
    What are the full specs. of the AV file, that is not Importing with Audio?
    What Project did you set up, at New Project?
    Exactly what steps were used to Import that AV file?
    Did you allow adequate time for PrE 12 to Conform the Audio portion of your file?
    Good luck,
    Hunt

  • Error while doing BDC

    Hi,
    I am doing a bdc program on t.code MIR4 (Display invoice screen).The problem is this screen has a SGA/GPA set so that whenever you into this transaction the last entered value is shown in the first screen.
    While doing BDC i deleted the old invoice content (on the first screen) and entered my new invoice number and did the recording.
    Now when I run my call transaction using this BDC table the process get stopped in the first screen itself and the old value (set by SGA/GPA) is not removed and hence my bdctab value is not populated and it is showing a error "field 000 not present is program SAPMIR4"
    PS : after that i checked my recording and saw that the place where I am clearing the old value on the first screen and entering my new value, nothing is recorded in place of BDC_OKCODE, only bdc_fnam  and fval have my new entered value. Maybe it is because the clearing of data is not recorded by my recording...But to record that as there is no okcode for that?
    Please advise how to proceed?

    Hi priyasingh ,
    just go through the following Code .
    There is no problem in the flow .You just need th eclear the data in the internal table BDC_DATA  so that there are no prevoius values .
    form BDC_FIELD  using    FNAM FVAL.
    IF FVAL <> ''.
        CLEAR BDC_DATA.
        BDC_DATA-FNAM = FNAM.
        BDC_DATA-FVAL = FVAL.
        APPEND BDC_DATA.
      ENDIF.
    endform.
    and
    form BDC_DYNPRO  using    PROGRAM DYNPRO.
    CLEAR BDC_DATA.
      BDC_DATA-PROGRAM  = PROGRAM.
      BDC_DATA-DYNPRO   = DYNPRO.
      BDC_DATA-DYNBEGIN = 'X'.
      APPEND BDC_dATA.
    endform.
    Hope this may help you .
    Thanks and regards
    Aditi Wason

  • Error:  File does not begin with '

    After changing two javascript "else if" statements to "if" in an Adobe LiveCycle v8 form, I received errors upon saving. Now the file seems to be corrupt because when I attempt to open it I get an error stating "File does not begin with '". Does anyone know what could be causing this AND MORE IMPORTANTLY if there is a way to salvage my form? Please help!

    Hi VetSrini,
    Thanks for the update. I was able to figure out what was wrong.
    Now there is another problem. When i try "View Output", the excel file is shown and the following options are also shown:
    1. As an XML List
    2. As a read-only workbook
    3. Use the XML Source Task Pane
    When I try the first option, I get the following error:
    An Invalid Character was found in text content
    When I try the third option, I get the following error:
    Cannot load the specified XML or schema source.
    when i press the details button, it gives me the following detailed error:
    An Invalid Character was found in text content
    When I try the second option, i get the same error, but with some xml tags
    Can anyone please help me and tell me why i am getting these errors.
    Thanks in Advance,
    Arun

  • Error: response does not start with HTTP

    hi,
    i am using a MIDP class to send a string to a java servlet which then returns a .gif image. the string is being successfully to the servlet, but an exception is being thrown when the image is being sent back.
    java.io.IOException: response does not start with HTTP it starts with: GIF89aï4
    at com.sun.midp.io.j2me.http.Protocol.readResponseMessage(Protocol.java:2166)
    at com.sun.midp.io.j2me.http.Protocol.finishRequestGetResponseHeader(Protocol.java:1934)
    at com.sun.midp.io.j2me.http.Protocol.sendRequest(Protocol.java:1598)
    at com.sun.midp.io.j2me.http.Protocol.sendRequest(Protocol.java:1517)
    at com.sun.midp.io.j2me.http.Protocol.openInputStream(Protocol.java:484)
    my code is as follows in the midp class :
    HttpConnection c = null;
    InputStream is = null;
    StringBuffer sb = new StringBuffer();
    String url="http://localhost:8090/ProjectServer/createMap";
    url=url+"?Source="+src+"&Destination="+dest;
    try {
    c = (HttpConnection)Connector.open(url,Connector.READ_WRITE, true);
    c.setRequestMethod(HttpConnection.GET); //default
    //is = c.openDataInputStream();
    is = new DataInputStream(c.openInputStream()); //openInputStream(); // transition to connected!
    Image im=null;
    try
    ByteArrayOutputStream bStrm = new ByteArrayOutputStream();
    int ch;
    while ((ch = is.read()) != -1)
    bStrm.write(ch);
    // Place into image array
    byte imageData[] = bStrm.toByteArray();
    // Create the image from the byte array
    im = Image.createImage(imageData, 0, imageData.length);
    finally
    // Clean up
    if (is != null)
    is.close();
    the code in the servlet is as follows :_
    ServletContext sc = getServletContext();
    // Get the MIME type of the image
    String mimeType = sc.getMimeType("route.gif");
    if (mimeType == null) {
    sc.log("Could not get MIME type ");
    response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
    return;
    // Set content type
    response.setContentType(mimeType);
    // Set content size
    response.setContentLength((int)file.length());
    // Open the file and output streams
    FileInputStream in = new FileInputStream(file);
    OutputStream outstream = response.getOutputStream();
    // Copy the contents of the file to the output stream
    byte[] buf = new byte[1024];
    int count = 0;
    while ((count = in.read(buf)) >= 0) {
    outstream.write(buf, 0, count);
    in.close();
    outstream.close();
    il be immensely grateful if some1 cud tell me whre i am gng wrong.
    thnx,
    nev

    Hi, I�m trying to do the same as above, get MP3 from a Shoutcast server.
    I got the same fault ("response does not start with HTTP it starts with: ICY") when I tried to open an HttpConnection as bellow:
    ============================================
    HttpConnection conn = (HttpConnection) Connector.open("http://64.236.34.196/stream/1074");
    Then I tried to open a socket connection as bellow:
    ======================================
    SocketConnection conn = (SocketConnection) Connector.open("socket://64.236.34.196:80");
    String get = "GET /stream/1074 HTTP/1.1";
    DataOutputStream os = conn.openDataOutputStream();
    os.writeUTF(get);
    InputStream is = conn.openInputStream();
    But then I got the following error:
    =========================
    java.lang.SecurityException: Target port denied to untrusted applications
    Could someone help me to find out what is going on?
    Thanks a lot!

  • ABAP WebDynpro - ArchiveLink - PDF Error: "File does not start with..."

    Hey community,
    I have a WebDynpro application in which I want to show a Archive document.
    I'm using FM 'ARCHIV_GET_TABLE' and then FM 'SCMS_BINARY_TO_XSTRING'.
    But I only get the error message: (see also attached)
    File does not open with "%PDF-".
    Local\EWH...
    Attachment two shows, how the data is stored in TOA03.
    Document type is FAX .
    I tried several FM and nothing worked.
    Does anyone have an idea?
    Thank you very much in advance.
    Florian

    Hi Florian,
    I don't think you need to use FM SCMS_BINARY_TO_XSTRING.
    Just try to make of your binary output table from ARCHIV_GET_TABLE an xstring by concatenating all lines into one xstring.
    Regards,
    Julien

  • Presenter error after pressing video record. Third attempt to receive help from customer support.

    I open powerpoint, press adobe presenter in the ribbon, press the video record option, camera aperas to be working fine, I press record, and then the system crashes. "Application encountered an internal error. If the problem persists, please report on product support forums of contact the support team." Presentation/Audio recording works fine. Video recording works fine with other software. I'm using a Dell Optiplex 990, 64bit operating windows 7 system. I record with the built-in camera on the DELL U2212HM monitor. Drivers are up to date. I sent in error reports (two times; a third time following this post) over the previous 2 months and have heard nothing back from customer support.

    Hello,
    Welcome to Adobe Support.
    Do you have External Graphics Card ?
    Make sure you have the latest Graphics Drivers (http://www.dell.com/support/drivers/us/en/19/Product/optiplex-990)
    Did you try recroding wth Adobe Presenter 8 with a different user account on your computer ?
    Thanks,
    Vikram

  • Macam does not record with Snow Leopard

    Is there a fix to the problem that my Macam doesn't record with Snow Leopard? I assume it has something to do with the new QuickTime. Here's a link to the camera I use.
    http://webcam-osx.sourceforge.net/
    Thanks,
    Paul

    While we all have MacBooks in this forum not all of us use iMovie. There's a iMovie Support Community where everybody has iMovie. You should also post this question there.   https://discussions.apple.com/community/ilife/imovie

  • Bdc recording with fk01 .. gives .. error

    hi experts i m now to .. abap .. i have done .. recordin on BDC fk01..
    but .. it is not uploadin .. the the data from excel sheet .. kindly help me out in this ...
    here is the source code of it .....
    report ZBDC no standard page heading line-size 255.
    *include bdcrecx1.
    tables: bdcdata.
    types : begin of scr,
           lifnr(016),
           bukrs(004),
           ktokk(004),
           name1(035),
           sortl(010),
           stras(035),
           pfach(010),
           ORT01(035),
           land1(003),
           spras(002),
           telf1(016),
           akont(010),
           fdgrv(010),
           end of scr.
    DATA:it_xl  TYPE STANDARD TABLE OF alsmex_tabline,
         wa_xl TYPE alsmex_tabline.
    data:itab TYPE STANDARD TABLE OF scr,
         it_bdc type standard table of bdcdata with header line,
         wa_tab TYPE scr.
    DATA:it_msg  TYPE STANDARD TABLE OF bdcmsgcoll,
         wa_msg TYPE  bdcmsgcoll,
         v_str  TYPE string.
    selection-screen:begin of block b1 with frame title text-001.
    parameter:p_path type localfile.
    selection-screen:end of block b1.
    at selection-screen on value-request for p_path.
      CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
       FIELD_NAME          = 'p_path'
       IMPORTING
         FILE_NAME           = p_path.
    start-of-selection.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                = p_path
          I_BEGIN_COL             = 1
          I_BEGIN_ROW             = 1
          I_END_COL               = 13
          I_END_ROW               = 999
        TABLES
          INTERN                  = it_xl
        EXCEPTIONS
          INCONSISTENT_PARAMETERS = 1
          UPLOAD_OLE              = 2
          OTHERS                  = 3.
      IF SY-SUBRC <> 0.
        LOOP AT it_xl INTO wa_xl.
          CASE wa_xl-col.
            WHEN '1'.
              wa_tab-LIFNR = wa_xl-value.
            WHEN '4'.
              wa_tab-name1 = wa_xl-value.
            when '13'.
              wa_tab-akont = wa_xl-value.
              MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                      WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          endcase.
          AT END OF row.
            APPEND wa_tab  TO itab.
          ENDAT.
        endloop.
      ENDIF.
    ****START-OF-SELECTION.
    perform open_group.
      loop at itab INTO wa_tab.
        clear it_bdc.
        refresh it_bdc.
        perform bdc_dynpro      using 'SAPMF02K' '0105'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'RF02K-KTOKK'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '/00'.
        perform bdc_field       using 'RF02K-LIFNR'
                                        wa_tab-lifnr.           "'12'.
        perform bdc_field       using 'RF02K-BUKRS'
                                      '1000'.
        perform bdc_field       using 'RF02K-KTOKK'
                                      '0001'.
        perform bdc_dynpro      using 'SAPMF02K' '0110'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'LFA1-TELF1'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=UPDA'.
        perform bdc_field       using 'LFA1-NAME1'
                                       wa_tab-name1.     "'jasprit singh'
        "'jasprit singh'.
        perform bdc_field       using 'LFA1-SORTL'
                                      'J'.
        perform bdc_field       using 'LFA1-STRAS'
                                     'zakaria street'.
        perform bdc_field       using 'LFA1-PFACH'
                                      '700108'.
        perform bdc_field       using 'LFA1-ORT01'
                                      'kolkata'.
        perform bdc_field       using 'LFA1-LAND1'
                                      'IN'.
        perform bdc_field       using 'LFA1-SPRAS'
                                      'EN'.
        perform bdc_field       using 'LFA1-TELF1'
                                      '03325788268'.
        perform bdc_dynpro      using 'SAPMF02K' '0210'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'LFB1-FDGRV'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=UPDA'.
        perform bdc_field       using 'LFB1-AKONT'
                                       wa_tab-akont.            "'31000'.
                                      '31000'.
        perform bdc_field       using 'LFB1-FDGRV'
                                      'A1'.
       perform bdc_transaction using 'FK01'.
       call transaction 'fk01' using it_bdc mode 'A'
       update 'S' messages INTO it_msg .
      endloop.
    perform close_group.
      LOOP AT it_msg INTO wa_msg.
        wa_msg-msgid = 'YMSG4'.
        IF wa_msg-msgnr = '349'.
          wa_msg-msgnr = '000'.
        ENDIF.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            id        = wa_msg-msgid
            lang      = sy-langu
            no        = wa_msg-msgnr
            v1        = wa_msg-msgv1
            v2        = wa_msg-msgv2
            v3        = wa_msg-msgv3
            v4        = wa_msg-msgv4
          IMPORTING
            msg       = v_str
          EXCEPTIONS
            not_found = 1
            OTHERS    = 2.
        IF sy-subrc = 0.
          WRITE:/1  v_str.
        ENDIF.
      ENDLOOP.
           Start new screen                                              *
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR it_bdc.
    BDCDATA-PROGRAM  = PROGRAM.
    BDCDATA-DYNPRO   = DYNPRO.
    BDCDATA-DYNBEGIN = 'X'.
      it_bdc-PROGRAM  = PROGRAM.
      it_bdc-DYNPRO   = DYNPRO.
      it_bdc-DYNBEGIN = 'X'.
      APPEND it_bdc.
    ENDFORM.                    "BDC_DYNPRO
           Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
    IF FVAL <> NODATA.
      CLEAR it_bdc.
    BDCDATA-FNAM = FNAM.
    BDCDATA-FVAL = FVAL.
    APPEND itab.
      it_bdc-FNAM = FNAM.
      it_bdc-FVAL = FVAL.
      APPEND it_bdc.
    ENDIF.
    ENDFORM.                    "BDC_FIELD

    Hi Singh,
    I think your F4_filename function module it not triggering.
    Change your F4_FILENAME code to the below code and check
    CALL FUNCTION 'F4_FILENAME'
       EXPORTING
         program_name   = syst-cprog
         dynpro_number  = syst-dynnr
       IMPORTING
         file_name      = p_path
    And at the AT end statement clear your workarea.
    AT END OF row.
    APPEND wa_tab TO itab.
    clear: wa_tab .
    ENDAT.
    endloop.
    Cheers!!
    VEnk@

  • Memory errors after 3 hours recording

    I need to record data on 36 channels over a period of three days.  I would like the data in 30 second chunks.  I am haing two problems with this.  I have sest up my log files to record in 30 second chunks but after 3-4 hours of recording I start getting memory errors.  It doens't matter whether I am recording 30 seconds every 5 minutes or continuous data in 30 second chunks.  Also, it doesn't seem to matter whether I store the data on a relatively small (13 GB) internal solid state hard drive or a much larger (2 TB) external hard drive.  Is there some kind of memory buildup that is overflowing after 3 hours?
    As a related question, when I am logging to the external hard drive the recording status in the recording options tab still shows the disk information for my internal hard drive. 
    Also, if I'm allowed another question, I am trying to use a Save to ASCII funtion to produce a backup to a different location.  Is there any way I can alter the file size to make them larger than the amount of data to be read in?

    Hello Roger,
    Quick question, what sampling rate you are using on what card? Also what is your start and stop condition in SE. Did you try continuous logging? Also does your system slows down after a while logging data? Not quiet sure on why this is happening?I believe RAM or harddisk is full after 3 hrs of data logging.
    -lab

  • How to specify the file path while doing bdc recording

    hi guys,
    using recording we specify transaction code where we enter all the details for the screen after that we get the recording program .....i have a doubt where can we specify the path for uploading a program from a local pc.......if possible can anyone provide a simple program to explain recording to upload an excel file from the system using recording

    Hi Gokul,
      You can use the following code to upload excel data into internal table.
       PARAMETERS: P_FILE LIKE RLGRAP-FILENAME.
        CALL FUNCTION 'WS_UPLOAD'
          EXPORTING
               CODEPAGE                = ' '
               FILENAME                = P_FILE
               FILETYPE                = 'DAT'
               HEADLEN                 = ' '
               LINE_EXIT               = ' '
               TRUNCLEN                = ' '
               USER_FORM               = ' '
               USER_PROG               = ' '
          IMPORTING
               FILELENGTH              =
           TABLES
                DATA_TAB                = IT_FILE
          EXCEPTIONS
               CONVERSION_ERROR        = 1
               FILE_OPEN_ERROR         = 2
               FILE_READ_ERROR         = 3
               INVALID_TABLE_WIDTH     = 4
               INVALID_TYPE            = 5
               NO_BATCH                = 6
               UNKNOWN_ERROR           = 7
               GUI_REFUSE_FILETRANSFER = 8
               CUSTOMER_ERROR          = 9
               OTHERS                  = 10
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        CLEAR IT_FILE.
      ENDIF.
    In SAP Enterprise edition, You can use FM : GUI_UPLOAD.
    From internal table, Data will be moved to BDCDATA and continue with BDC coding.
    Reward, if useful.
    Thanks,
    USR

Maybe you are looking for

  • Automatic PO creation for Service Purchase Order

    Dear friends , good afternoon ! Is it possible to create Service PO's automatically via ME59 ? We tried to flag on the automatic PO generation in the vendor master , and assign an vendor master to the purchase requisition but no PO was triggered. Doe

  • How do I install ICloud on my IMac desktop?  I am running OS-X 10.6.8, which is the latest for my machine.

    I have an IMac desktop -- IMac 11.2 with this software version 10.6.8 I also have an IPhone 4S and an IPad Air, and I want to link all three. My IMac desktop was purchased before ICloud, so ICloud was not pre-installed. How do I install ICloud on the

  • FLASH PLAYER CRASH HELP

    My Flash is constantly crashing as of a few months ago. I am using Windows 7, 64-bit system on Firefox. I have unistalled and reinstalled, all plug-ins are up to date, disabled hardware accelerator and pretty much all of the typical fixes. Does ANYON

  • Apply and delete buttons need differentiation

    How do we get the apply and delete buttons put in different locations on the info window for ical? I've accidentally deleted when I meant apply because the buttons are in the same location. Mabye delete should be at the top right.

  • WS2RFC sync problem - EXEPTION_DURING_EXECUTE

    hello I recieve this request and have an error. help required   <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Request Message Mapping   --> - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap