Capturing EPC error List into a local file using BDC

Can anyone let me know the Code for downloading the EPC check Results into a local File using BDC...[<b></b>

You can use the function module
EXTENDED_PROGRAM_CHECK to get the errors and warnigs of a epc for a program.
then you can download that internal table information using GUI_DOWNLOAD fm.
Regards,
Ravi

Similar Messages

  • Download data into a local file from PCUI

    Hi,
    i need to export items from 'quotation' into a local file (on presentation server) with CRM4.0 and using the fileupload field type. I used the MF 'GUI_DOWNLOAD' but i had an exception error 'CONTROL_FLUSH_ERROR'. Effectively it was expected since PCUI is based on BSP technology and this one requires to use methods from the 'HTTP_REQUEST' object. This last one is not accessible
    from pcui methods assigned to fieldgroups... So i try to use methods from the class 'cl_abap_conv_out_ce' as i did for import items with the class 'cl_abap_conv_in_ce' but
    there is no input enabling to define the file getting data.
    Somebody would have an idea ?
    Thank you.

    Hello KB Ram,
    You have a program RSECHK05 using which you can check the data of the idoc segements.
    Please make a point of clicking the "Output in Internal Formal" pushbutton.
    The output will come in a classical report format with which you can play around.
    BR,
    Suhas

  • I want to import a MS Word Index into a .pdf file using Adobe Pro.  How do I do that?

    I want to import a MS Word Index into a .pdf file using Adobe Pro. It is for a book.  The book has been converted to a .pdf for printing, but it needs an Index for the last page of the book.  I tried to embed a new index (starting from scratch but no luck.  Any suggestions?  Thank you for your time.

    Now I want to search this "myArrayStrings.get(r)" in another file. How to do that?Store the returned String. Do the same thing you did to read the first file to read the second file (i.e. read it in line-by-line and store the lines in a list). Then check if that list contains the String you stored from the first list.
    E.g. (using your code):
    String name = myArrayStrings.get(r); // assuming r is initialized somewhere before this
    if ( otherList.contains( name ) ) { // assuming otherList is your second list
        // do something
    }

  • How to get DocSet property values in a SharePoint library into a CSV file using Powershell

    Hi,
    How to get DocSet property values in a SharePoint library into a CSV file using Powershell?
    Any help would be greatly appreciated.
    Thank you.
    AA.

    Hi AOK,
    Would you please post your current script and the issue for more effcient support.
    In addition, to manage document set in sharepoint please refer to this script to start:
    ### Load SharePoint SnapIn
    2.if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null)
    3.{
    4. Add-PSSnapin Microsoft.SharePoint.PowerShell
    5.}
    6.### Load SharePoint Object Model
    7.[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”)
    8.
    9.### Get web and list
    10.$web = Get-SPWeb http://myweb
    11.$list = $web.Lists["List with Document Sets"]
    12.
    13.### Get Document Set Content Type from list
    14.$cType = $list.ContentTypes["Document Set Content Type Name"]
    15.
    16.### Create Document Set Properties Hashtable
    17.[Hashtable]$docsetProperties = @{"DocumentSetDescription"="A Document Set"}
    18.$docsetProperties = @{"CustomColumn1"="Value 1"}
    19.$docsetProperties = @{"CustomColum2"="Value2"}
    20. ### Add all your Columns for your Document Set
    21.
    22.### Create new Document Set
    23.$newDocumentSet = [Microsoft.Office.DocumentManagement.DocumentSets.DocumentSet]::Create($list.RootFolder,"Document Set Title",$cType.Id,$docsetProperties)
    24.$web.Dispose()
    http://www.letssharepoint.com/2011/06/document-sets-und-powershell.html
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to browse local file using web dynpro

    hi everyone
    How can I browse local file using Web Dynpro?And read file names into Context or array. I have tried the following code but its not working
    String resourcePath = WDURLGenerator.getResourcePath();
    String depObjResourcePath = WDURLGenerator.getResourcePath(“Test”);
    WDDeployableObjectPart appPart = WDDeployableObject.getPart(“Test”, “TestApp”, WDDeployableObjectPart.APPLICATION);
    help required urgently
    Thanks & Regards
    Jaspreet Kaur

    Reply in
    how to browse local file using web dynpro
    Regards,
    Ashwani Kr Sharma

  • How to convert a HTML files into a text file using Java

    Hi guys...!
    I was wondering if there is a way to convert a HTML file into a text file using java programing language. Likewise I would also like to know if there is a way to convert any type of file (excel, power point, and word) into text using java.
    By the way, I really appreciated the help that you guys gave me on my previous topic on how to extract tests from a pdf file.
    Thank you....

    HTML files are already text files. What do you mean you want to convert them?
    I think if you search the web, you can find things for converting those MS Office files to text (or extracting text from them, as I assume you mean).

  • How to scan more pages into one PDF file using hP inkjet 2515

    Dear friend 
    How to scan more pages into one PDF file using hP inkjet 2515 

    Dear friend 
    How to scan more pages into one PDF file using hP inkjet 2515 

  • How to upload a excel file using BDC

    how should i upload a file using BDC
    i have downloaded a excel file containing the values of  table A006 a X server.
    now i hav to upload it into new server Y server using BDC , how do i do it?
    wat all things one shud consider ?

    Hi,
    This is very simple, follow the below mention steps to do so:
    1.Declare an internal table having same structure as db table, but take all the fields type as 'C' and length same as defined in the table.
    TYPES:BEGIN OF it,
      key(20) TYPE c,
      indicator(20) TYPE c,
      bldat(20) TYPE c,"bkpf-bldat
      budat(20) TYPE c,"bkpf-budat
      END OF it.
    DATA: itab TYPE STANDARD TABLE OF it,
          wa TYPE it.
    2.Include TRUX as type pool and declare a variable of type trux_t_text_data to be passed in the FM that actually reads data from excel sheet into above declared intrenal table.
    TYPE-POOLS: truxs.
    DATA: it_raw TYPE truxs_t_text_data.
    3. Call the FM 'TEXT_CONVERT_XLS_TO_SAP' and pass the file name and the internal table name into the parameter
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
    *    I_FIELD_SEPERATOR          = 'X'
         i_line_header              = 'X'
          i_tab_raw_data             = it_raw
          i_filename                 = p_file "name of the excel file
        TABLES
          i_tab_converted_data       = itab[] "internal table where data will be stored
       EXCEPTIONS
         conversion_failed          = 1
         OTHERS                     = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    4. loop at internal table and modify the ztable/dbtable where data to be upload .
    Hope this solve your problem.
    Pooja

  • How to copy a page webpage into a local file (for eg C:\\file.doc)

    Hello all,
    i wrote a programm code which can get my system information (date,tomcatversion,jdk version, server name and version and ...)
    if navigate to the url (on my localserver) htt://localhost/pp/version.jsp i would see all this in formation but how can i copy them into to a local file?
    i can create the file with: FileWriter fw = new FileWriter("C:\\file.doc");
    and copy this information line by line with:
    fw.write("Application server name and version:");
    fw.write(application.getServerInfo());
    fw.write("\n");
    But if i write fw.write(new java.util.Date()) // for the system date/time it doesn't work also fw.write(java.util.Date()) ) or fw.write(Date())
    or Date da = Date() and fw.write(da) no result...
    import are:
    <%@page import="java.io.*" %>
    <%@page import="java.util.*" %>
    please help....

    thanks !! what does this means ? It is possible or no yes yes i need i syntax or an example ... i'm new in java :)

  • Heading  during downloading into local file using GUI_DOWNLOAD fun.module

    Hi Guru's
    we have a requirement that we want the plant description as a heading (first line of the file) in the local file. iam using "GUI_DOWNLOAD" function module for downloading data for which iam passing the charecter type internal table. before downloading iam passing all the filed headings to that table and then appending the internal table data into it. now iam getting data properly with field headings . but before that heading i want one more description for a plant field which iam using in my selection screen
    in the fun.module "GUI_DOWNLAOD"
    we have HEADER file but it is of XSTRING type so it is taking only 2 char.
    so how to use this . Plz help me.
    thanks well in advance.
    UR's
    GSANA

    Hi,
    Please check the below link,
    header in 'gui_download'
    Also check Manoj kumar's reply in the link,
    header information to gui_download
    Hope this helps.
    Best Regards.

  • Saving list/report as local file - NAME OF DIRECTORY

    Hi Folks
    Maybe a strange questio!
    But when I want to save a list to my workstation, I use the menu:
    System->list->save->local file.
    Then I suggest unconverted.
    And then the pop-up ask me for the filename. No problem.
    But from where does this POP-UP get the name of the directory where to save the file?? I would like to change this default to another value than the suggested!!
    Best regards
    Carsten

    hi,
       There is another way of changing the path name which you get. I found it to be simple.
    Create a shortcut to the server, then it asks for<b>Working directory path</b>, there will be a default path name which we see everytime.
    We can change this pathname as we require. Then we can get this newpath when we click list->save->local file -> unconverted->ok.
    Regards,
    Sailaja.

  • List save as local file is greyed out

    Hi All,
    After the ECC upgrdation, Save as local file path is greyed out for certain t.codes like mmbe, mm60 etc ALV reports
    whereas it is okay with mb52, mm5b (normal report)
    Path to save as local file is  " System>LIST>Save---> Local file, office folders, report tree is greyed out
    Is this standard behaviour or a bug?
    Raj
    Edited by: Raj on Jul 9, 2010 2:27 PM

    You have Export option for MM60 report in ECC 6.0 in Menu List-Export-Local file and check.
    And for MMBe you will have to do some work to get this option. Go to MMBE and execute and in output screen there is a Print icon click beside this icon and you will get options call print preview of view click on it and it will show print preview from here you can go to list-save-local file
    Just check it once

  • Capturing oracle error codes into a variable

    Hi
    Can someone show me how it is possible to save an Oracle defined error code into a variable? What I am trying to do is when a stored procedure fails an Oracle error is raised, such as ORA-xxxx, then pass this code into variable to be saved into a log.
    How do I achieve this?

    user633278 wrote:
    How do I achieve this?Function SQLCODE in PL/SQL exception handler returns error code. SQLERRM returns message:
    SQL> declare
      2      x number;
      3  begin
      4      x := 1/0;
      5    exception
      6      when others
      7        then
      8          dbms_output.put_line('Error code: ' || SQLCODE);
      9          dbms_output.put_line('Error message: ' || SQLERRM);
    10  end;
    11  /
    Error code: -1476
    Error message: ORA-01476: divisor is equal to zero
    PL/SQL procedure successfully completed.
    SQL> SY.

  • Writing into a remote file using URL.

         URL url = new URL("http://144.16.241.110:9090/b.txt");
         URLConnection connection = url.openConnection();
         connection.setDoOutput(true);
         PrintWriter out=new PrintWriter(new BufferedOutputStream(connection.getOutputStream()));
         Writer out =(new BufferedWriter(new OutputStreamWriter(connection.getOutputStream())));
         out.flush();
         out.write('d');
         out.close();
    I am using the following code to write into that file.
    This is compiled and no error comes while compiling.
    But while running I get the following.
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <HTML><HEAD>
    <TITLE>405 Method Not Allowed</TITLE>
    </HEAD><BODY>
    <H1>Method Not Allowed</H1>
    The requested method POST is not allowed for the URL /b.txt.<P>
    <HR>
    <ADDRESS>Apache/1.3.12 Server at 144.16.241.110 Port 9090</ADDRESS>
    </BODY></HTML>
    How to rectify this.Thanx in advance.
    I am able to read from the same file.

    Thanx
    Is it possible to set permission to a remote file
    using our program? If so give me some sample code.

  • Play a local file using URLDataSource

    Hi,
    I need to play a local video file using URLDataSource, but i dont know why im getting the next error: Error loading the video: NoPlayerException. Cannot find a player.
    But, with a file video on internet it works perfectly.
    import javax.media.protocol.URLDataSource;
    import java.net.URL;
    import java.io.*;
    public class TestDataSource extends URLDataSource {
         TestDataSource (URL url) throws IOException{
              super(url);
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Vector;
    import java.io.*;
    import javax.swing.*;
    import javax.media.*;
    import javax.media.protocol.ContentDescriptor;
    import javax.media.protocol.DataSource;
    import javax.media.protocol.URLDataSource;
    import java.net.URL;
    public class VideoPlayer extends JFrame {
         Player player = null;
         private JPanel contentPane;
         TestDataSource mcds = null;
         public static void main(String args[]){     
              String locator = "C:/video.avi";
              (new VideoPlayer(locator)).setVisible(true);
         public VideoPlayer(String locator) {
              super("Example");
              setSize(400,400);
              contentPane = (JPanel) this.getContentPane();
              addWindowListener(new myWindowAdapter());
              File file = new File(locator);
              URL url = null;
              try{
                   if(file.exists()){
                        url = file.toURI().toURL();
                        System.out.println("exist");
              }catch(Exception e){
                   System.err.println("Error: "+e);
              try{
                   mcds = new TestDataSource(url);
                   mcds.connect();
              }catch(Exception e){
                   System.err.println("Error: "+e);
              try {
                   player = Manager.createPlayer(mcds);
                   player.addControllerListener(new controllerUpdate());
              }catch(Exception e){
                   System.err.println("Error loading the media. ("+e+")");
              if(player != null) player.realize();      
         class controllerUpdate implements ControllerListener {      
              public synchronized void controllerUpdate(ControllerEvent e) {      
                   if(e instanceof RealizeCompleteEvent) {
                        Component visualArea = player.getVisualComponent();      
                        Component controlPanel = player.getControlPanelComponent();      
                        if(visualArea!= null)      
                             contentPane.add(visualArea, BorderLayout.CENTER);      
                        if(controlPanel != null)      
                             contentPane.add(controlPanel, BorderLayout.SOUTH);      
                        validate();      
                        player.prefetch();
                   if(e instanceof PrefetchCompleteEvent) {
                        player.start();
         class myWindowAdapter extends WindowAdapter {
              public void windowClosing(WindowEvent e){
                   if(player != null) player.close();
                        System.exit(0);
    }Sorry for my bad english
    Thanks in advance

    vagosvagos wrote: I need to play a local video file using URLDataSource, but i dont know why im getting the next error: Error loading the video: NoPlayerException. Cannot find a player.
    But, with a file video on internet it works perfectly.
    The difference is not between file system and internet, it is the format of the file itself that is the problem. When I run your code here, the only (significant) difference in this line..
    String locator = "C:/video.avi"; .. and it works perfectly. I used the file you originally linked to on the internet (I had downloaded it to work with the earlier example - since my connection is sooo slow), so it became..
    String locator = "dsr_arrow.mpg"; The problem in this case is that apparently that AVI was encoded using a codec that JMF does not support.
    Check the [JMF Supported Formats|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/formats.html] page for further details of the codecs or media types that JMF will recognize.
    What encoding is your AVI?

Maybe you are looking for