Read Tables from ECC without BAPI

Hi All,
I have a requirement that I want to read the table in ECC from CRM without making use of BAPI FM's. Is it possible?
Thanks
Srinivas.k

Hi Srinivas,
Sounds Crazy a bit, but you can use RFC_READ_TABLE FM to meet the requirement.
Options: you give the WHERE conditions
Fields: you give the selectable fields
Rest all parameters are self explanatory in that.
Hope it helps.
Regards
Sidd

Similar Messages

  • Labview 2013 are closing when I try read table from database.

    Labview 2013 are closing when I try read table from database.
    I don't get error message, Labview just crashes. I'm use Labview x32 and Database Connectivity Toolkit connective on Windows 7 x64. I connect to PostgreSQL with ODBC driver, connection is stable.
    In my database I have many tables, I can read all them without one.
    When I try read bad table I get data and then labview crash. When I restart Labview I don't have any message about error.
    Also I try use LabSQL-1.1a. But it has same result.
    Solved!
    Go to Solution.
    Attachments:
    DBT.png ‏104 KB
    LabSQL.png ‏67 KB

    Try connecting using UDL file. What operation you are doing with database
    You can create the same.. Do this Tools --> Create Data link..
    Then go to http://www.ni.com/pdf/manuals/371525a.pdf link and see page 3-5. It will help
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet

  • Can BPm pick up existing process from ECC without human intervention

    Hi
    Is there any way BPM can read/pick the existing process from ECC system (may be solution manager workflow) and model the same.
    Just trying to make sure from experts that it is not possible before replying client.
    Lavanya
    Edited by: Lavanya Sambaraju on Nov 19, 2010 8:23 AM

    Hi Anil
    Yes, we wanted to know if the process/workflow mainateined in ECC or solution manager can be dyna,mically picked up by BPM.
    And your solution -  "Currently BPM can talk to any other system through web services.If you can expose any functionality as web service in solution manager, you can call that from BPM"
    how to implement this from solution manger?
    All we know was to expose the BAPI/RFC's functionalities  as web services from ECC and consume in BPM tasks or directly call these BApis in to BPM tasks.
    Could you please share with us.
    Thank you.

  • Readind APO tables from ECC ABAP program

    Hi,
    I want to know if it is possible to read APO tables from a ABAP program in ECC 6.0.
    If it is possible , please lt me know how?
    Regards

    Hi,
    There's a remote-enabled function module (think it's either RFC_READ_TABLE or RFC_TABLE_READ) which you can pass a table name, some selection criteria and a list of fields to be returned.  That should allow you to read those table entries from the remote system.
    Regards,    Andy

  • Replication Z-Tables from ECC to CRM

    We have a client with some Z-Tables in ECC and we need to replicate this tables in CRM,  anybody have any information about this.
    Thanks in advanced
    Sebas

    Hi Sebas,
    The following link shows the replication from CRM to ECC. The same can be followed for replication from ECC to CRM.
    Replication of Z table from CRM to R/3 - No mBDoc Created
    You can also try this
    1. Create the Ztables both in ECC and CRM
    2. create customizing adapter objects in R3AC3.
    3. copy the stanadard FM 'CRM_BUPA_MAP_ADREREG_CI' to custom FM and write source code. load object in R3AS.
    4. create a variant and shedule the based on requirement
    Thanks and regards,
    Madhukar Reddy

  • How to replicate a customized condition table from ECC to CRM

    Dear All,
    We have created a new condition table in ECC, using a new set of key fields to define sales district specific product price. This table is in ECC only and we would like to replicate it to CRM. Could you please let me know how we can do that? What replication object should we use?
    Thanks in advance!
    Erinn

    Hi,
    Use DNL_CUST_CNDALL, this would create the database table in CRM. Also you might need to run other loads corresponding to your scenario like DNL_CUST_CND_PR, DNL_CUST_PRC  etc
    Regards
    Prasenjit

  • Read tables from different schemas in oracle

    Hi, I'm trying to write a code to run a query to get data from an Oracle server, the problem is that the query refers to multiple tables in multiple schemas... the regular way to do it in oracle (SCHEMANAME.TABLENAME) does not work in excel vba query and
    I cant find a way to so, any help will be really appreciated, below a sample code with one table from WWPP schema.....
    Const DB As String = "Driver={Microsoft ODBC for Oracle};" & _
                         "CONNECTSTRING=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=1526))(CONNECT_DATA=(SERVICE_NAME=MyName)));" & _
                         "Uid=MyID;Pwd=MyPwd*;"
    Sub test()
        Dim cnt As ADODB.Connection, rst As ADODB.Recordset
        Set cnt = New ADODB.Connection
        Set rst = New ADODB.Recordset
        cnt.Open DB
        (I also tried this but didn't work) -> cnt.Execute "ALTER SESSION SET CURRENT_SCHEMA=WWPP"
        rst.Open "SELECT * FROM WWPP.SO_LIFE_CYCLE_BACKLOG_RP", cnt, adOpenDynamic, 2
        If rst.EOF = False Then
            Sheet1.Cells(2, 2).Select
            Selection.CopyFromRecordset rst
        End If
        rst.Close
    End Sub
    Oscar Marquez

    1) Posting the error number (i.e. ORA-00942) in addition to the error message is often quite helpful since that's generally far easier to look up and far less likely to get confused in translation.
    2) Are you using an invoker's rights stored procedure? Or a definer's rights stored procedure? If you're not sure, the default is definer's rights.
    3) How has YFS been granted access to the Y_PS table? My hunch is that it was granted access via a role, not via a direct grant. Privileges granted through a role would be available for ad hoc SQL queries, but those privileges are not available to a definer's rights stored procedure. A definer's rights stored procedure only has access to the privileges granted directly to the owner.
    If my hunch is correct, you'd either have to directly grant YFS access to the table(s) it needs to access in other schemas or you'd need to make the stored procedure use invoker's rights, which may have ripple effects down the line if users other than YFS are going to be running the procedure.
    Justin

  • Reading images from URL without knowing the format

    I have an image url like this: http://example.com/image.php?id=5605. How do I get the actual image from such an URL? I have tried using ImageIO.read and loading the url directly into an ImageIcon without success.

    yeah,
    I knew a little about linearization and but the idea was to help quick loading the very first page of a document while the rest of the data still is arriving. Not exactly what I needed here.
    Anyway, you have just confirmed my fears, I will have to know the document size, where exactly it ends on my stream, in order to correctly load it.
    I appreciate your help sir. Thanks for your time.
    Best regards.

  • Error while Reading Idocs from ECC 6.0 to Sun IDM .

    Hi Gurus,
    We have a scenerio where we have to update the Sun IDM Server with all the changes in HR Data happening in ECC.
    For that... we have
    1. Created a Logical System for Sun IDM server, Port, RFC Connection (TCP/IP).
    2. Assigned Partner Profiles, Distribution Model etc. for msg. type HRMD_A ;
    3. We have created a Communications User used by the IDM server to connect to ECC.
    Idocs are created daily and are in status 03 - Data passed to Port OK !
    and on the In Sun Identity manager 8.0 we have created SAP resource adapter for ECC 6.0,
    after giving resource parameters our test connection is successful.
    We also changed edit synchronisation policy for the same but when we start synchronisation in IDM, it is unable to read any idocs although Idocs are generated in SAP .
    Log file gives the message as "Incoming IDoc list request containing 0 documents"
    We also have one more error ;
    some times while doing a connection test : JCO.Server could not find server function '剆䍟偉乇'
    while most of the times the connection is successful.
    Please suggest .

    Hi Gurus,
    The error got resolved .
    The changes in the settings i did :
    SAP SIDE : Made the RFC Connection Unicode.
    IDM SIDE : Checked on the "SAP Server Unicode" checkbox; while doing the HR Activ Synch Settings.
    This Resolved the error.
    regards
    Vaibhav

  • Read key from console without blocking?

    I have a console application (a server) that needs to run in a loop till the user stops it (currently with Ctrl-C (ugh!)).
    How can I check to see if a key has been pressed (Enter is fine), and if not, just continue? I don't want to wait for a keypress, as System.in.read() does.
    The only thing I can think of is to put System.in.read() inside another Thread.
    There must be a standard way to solve this problem.
    Any suggestions?
    Thanks.

    Try thispublic class Test {
        public static void main( String args[] ) {
         int cnt=0;
         while (cnt<20) {
             try {
              if (System.in.available()>0) {
                  System.out.println("AV="+System.in.available());
                  while(System.in.available()>0) System.in.read();
              Thread.sleep(1000);
             } catch (Exception e) { e.printStackTrace(); }
             cnt++;
    }And the answer is, "There is no way to read single characters"

  • How to read an APO table from excel in place using Visual Basic ?

    We have enhanced some APO reports using layouts that use excel in place with custom visual basic (VB) code. For example, the VB code can append the data with additional columns that perform specific calculations and then proceed to create pivot table reports in excel..That is working fine.
    The challenge is to see if that VB code could read specific APO tables (e.g. product master tables) to bring additional elements into excel and thus expand the report content. We know that additional fields can be added to the reports, but having the flexibility to read tables from VB could be more flexible.
    Can that be done?. If so, would it be possible using exclusively the VB code attached to the layout, i.e. no ABAP?

    Hello Anselmo,
    I am assuming you are doing this either using BeX analyzer or by reading the planning book using the RFC ActiveX component and a BAPI.
    I think it's possible to retrieve the data from the product master table. Here are my thoughts on how can this be done:
    1) You can create a generic datasource (transaction RSO2) for the product master table, connect that to a BW remotecube and use a BeX query to retrieve that values. You can then join the queries using VBA. Alternatively, you can build a muti-provider that connects your current InfoCube to the new RemoteCube and build a query from there. The multi-provider, in this case, joins the data (no more VBA).
    2) If you have already loaded your product master data into master data carrying InfoObjects then you can try the same technique as #1 but this time there is no need to create the generic datasource. You can use the InfoObjects for your master data as the InfoProviders for your query.
    3) You can try the ActiveX component from SAP which can  connect to any emote enabled function in SAP system. SAP already provided some BAPIs (check transaction BAPI for a list) which might be able to provide the data. You can also create your own function modules (be sure to make it remote enabled) using ABAP. (transaction SE37).
    Hope this helps

  • Read internal table from report.

    Hi all.
    I want to know is it possible to read internal table from report without modifying the report. is there any function module by which we can run the report and read data from internal table?
    Thanks.

    hi
    hope it will help you.
    <REMOVED BY MODERATOR>
    Read table doesn't allow ne operator.
    It reads only one record...Either by index or key.
    READ TABLE MY_TAB INDEX 1.
    READ TABLE MY_TAB WITH KEY CODE = 'ATG'.
    these are the results for SY-SUBRC checks after read table
    SY-SUBRC = 0:
    An entry was read.
    SY-TABIX is set to the index of the entry.
    SY-SUBRC = 2:
    An entry was read.
    SY-TABIX is set to the index of the entry. This return code can only occur when you use the COMPARING addition. For further detauls, refer to the COMPARING section of the additions
    SY-SUBRC = 4:
    No entry was read.
    The value of SY-TABIX depends on the table type and whether the BINARY SEARCH addition was specified.
    If the table is a SORTED TABLE or a table sorted in ascending order of the type STANDARD TABLE with the BINARY SEARCH addition, SY-TABIX refers to the next-highest index.
    Otherwise, SY-TABIX is undefined.
    SY-SUBRC = 8:
    No entry was read.
    This return code only occurs with a SORTED TABLE or a STANDARD TABLE with the BINARY SEARCH addition. SY-TABIX is set to the number of all entries plus 1.
    Reading records with keys
    http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb35f8358411d1829f0000e829fbfe/content.htm
    Reading lines with Index
    http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3730358411d1829f0000e829fbfe/content.htm
    Edited by: Alvaro Tejada Galindo on Feb 19, 2008 5:43 PM

  • Accessing CPS tables from R/3

    Hi All.
    I am from abap background. My requirement is to get the chain of jobs submitted via CPS, and in certain conditions, I have to trigger that chain from R/3.
    Before CPS, we had maintained the dependencies in R/3 customizing table. Now CPS has maintained all the dependencies of programs, and I want to read that from CPS without the need for any more table in R/3.
    Basically my dependency can be something like mentioned in this thread:
    Job Chain - How do I arrange these dependencies?
    Is it possible to read the chain from R/3? I could not see the TBT* tables being filled in R/3 side when scheduling chain of jobs in CPS.
    Thanks in adv.

    Hi,
    Without more details on the complexity it is difficult to help you find the best solution. My feeling still is it could be resolved by CPS, even though there is a Java based API in CPS to get all that data (see the "development guide" in the online documentation, if you have the full version).
    The reason jobs are only visible in SAP when they are executed, not before, is for that functionality that might actually help you out: you can choose the variant and even the selection criteria in the variant from CPS at runtime, so the job can only be created at runtime because then all information is known.
    You can automatically run jobs with different variants depending on the day of the week, the outcome of earlier jobs, etc. etc. and you can change the variants from CPS too.
    It could very well be easier to create what you need in CPS directly.
    Regards,
    Anton Goselink

  • Read Input from console !!!

    Im am very new to java and trying to learn java ..
    Now the problem i have is, I have to read input from console without using the BufferReader method..
    Please tell me how to go about it..
    I have a assignment to complete and im not able to figure out the way out.
    Help ..

    http://java.sun.com/j2se/1.4.1/docs/api/java/lang/System.html
    Read first about the System class provided by Java.
    Select the 'in' method of System class and it will take
    you to the InputStream.
    http://java.sun.com/j2se/1.4.1/docs/api/java/io/InputStream.html
    An essay way of reading input is:
    "value?"=System.in.read();
    Try and see if this works. It will not use the
    BufferReader portion, but it gives you another way
    of reading from the console.

  • How to create a pivot table from backing bean

    Hi,
    I need to create a pivot table from backing without having to create a Data Control.
    I searched a lot but all comes to a Data Control, and uses backing bean to manipulate data or to display popup info.
    Kindly advice if it can be done.
    Links and documentation is appreciated.
    sample is highly recommended.
    Thank you in advance
    Emile BITAR

    Hi,
    have a look at: http://www.oracle.com/technology/products/adf/adffaces/11/doc/multiproject/dvt/tagdoc/af_pivotTable.html
    It should provide all the infromation you need
    Frank

Maybe you are looking for