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

Similar Messages

  • How to create crystal reports from ecc abap program?

    Hi all,
    I am new to sap ecc to bo report!!
    I heard that abap program cannot be directly connected to crystal reports,
    So created a function module which is equivalent to the abap program!!
    And happened to connect the same in crystal !!
    Can anyone let me know how to proceed !!
    will be there any performance issue ?
    can anyone guide me how to do reporting from ecc function module to crystal reports directly?
    Thanks

    Hi Pooja,
    From what I know, not all ABAP programs can be accessed in Crystal Reports. The program should return rows and columns, otherwise, CR would not be able to report off it.
    I'm not sure if there are any performance issues if we follow your path. Do you experience any?
    And, do you need help in creating a report on the function module, I mean do you also have any design related queries?
    -Abhilash

  • Error when Consuming a WS from an ABAP program

    Hello,
    I am getting an error when I try to consume a WS from my ABAP program. The error states ' Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/' and the code is SOAP: 14
    This should be a simple call to a WS from BOBJ. I have searched OSS and SDN and I can't find any help. We are using 7.01 SP3
    Actually I watched the blog by Thomas Jung to get me started and thing went well except forthe part where I was supposed to create the logical port via SOAMANAGER. I got this error 'Error: Initial value "context operation table" in methodDELETE_INVALID_INTERFACE_NODES of class CL_SRT_WSP_CONFIG_SIDL' so I used LPCONFIG instead and them SM59.
    Has anyone encountered something like this?
    Thanks!
    Rich

    Ok so I got the bright idea of putting an external breakpoint in the DELETE_INVALID_INTERFACE_NODES method of class CL_SRT_WSP_CONFIG_SIDL and interestingly I think I am on to something. The code that is throwing an expection is srt_wsp_error_is_initial lt_operations[] 'context operation table'. "#EC NOTEXT at approximentally line 89.
    So I am doing my amateur sleuthing in the debugger and it leads me to the WSDL and what looks like a missing operation for a port type. I say this b/c all the port type /port type  tags have operation/operation tags embedded within them. simliar to this
       <portType name="Real-time_Services" />
    - <portType name="Batch_Jobs">
    - <operation name="Oracle">
      <input message="tns:Oracle_Input" />
      <output message="tns:Oracle_Output" />
      </operation>
      </portType>
    - <portType name="Realtime_Service_Admin">
    - <operation name="Get_RTService_List">
      <input message="tns:Get_RTService_List_Input" />
      <output message="tns:Get_RTService_List_Output" />
      </operation>
    - <operation name="Run_Realtime_Service">
      <input message="tns:Run_Realtime_Service_Input" />
      <output message="tns:Run_Realtime_Service_Output" />
      </operation>
    - <operation name="Get_RTMsg_Format">
      <input message="tns:Get_RTMsg_Format_Input" />
      <output message="tns:Get_RTMsg_Format_Output" />
      </operation>
      </portType>
    Note the first port type = Real-time_services doesn't have an end port tag and in the debugger my ABAP is shortdumping when trying to proess this port type
    I think I found my error. Can anyone who has seen this before verify this for me before I give the WSDL creator heck
    Thanks
    Rich

  • Calling a local Webservice from ECC ABAP - Am I on the right track?

    Hi all
    In my NW2004s landscape I have an ECC system (ABAP 6.40, Java not configured/linked) and an XI system (6.40).  My requirement is to call a Webservice (WS) from the ECC system.
    I've converted an existing Java class (that contains 3 methods) to a webservice (WS) using NWDS.  This WS has then been deployed to the XI system as it is the only one with a JAVA system.  I'm able to view and test the WS methods using the Web Service Navigator on the XI system.  The wsdl for the WS that was generated has the following format "http://<server>:<port>/<webservice name>/<configuration name>?wsdl  (No .asmx extension as per most of the examples on SDN...not sure if this matters).
    My understanding is that I should be able to create a client proxy in my ECC system (via Enterprise Services in SE80) using this wsdl and I can also configure a logical port throught txn LPCONFIG.  I should then be able to utilise ABAP to call this webservice? 
    I've found the blog "/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap detailing this (for a 6.40 system)... but when I attempt the program I get a soap 111 error code Unallowed RFC-XML Tag(SOAP_EINVALDOC).  
    Am I on the right track? Is it possible to call the Webservice from ECC ABAP? 
    There are no dumps for me to analyse and I've also tried putting on RFC trace with no success.
    Could it be that the WS is not correctly formed even though it works fine when tested from the WS Navigator on the XI system?
    Thanking you in advance.
    Malick

    Clive Pennington wrote:
    Thank you Eugene, your answer is most helpful.  I supose I just wanted to do everything myself really.  If when I have made my little movies, my animations and collated all my words and pictures I have problems assembling the documents then I can always get a professional to haul it together for me but I want to put in the donkey work first.  I know it is a lot of money for the software but now the pain is giving way a little I'm really quite enjoying myself.
    The planning which you have mentioned in your reply is of imense value I will start to do that immidiately, also the constant testing through Digital editions.
    All this is really helpful and I thank you for you reply.  I have made a brave attempt at some elementary annimation and posted them on youtube for testing, the urls are here if there is any interest.  Basic and time consuming but I can do this much faster now.
    http://tinyurl.com/348wjxg
    http://tinyurl.com/2wzuhql
    http://tinyurl.com/3yzjunk
    Thanks again............ Clive
    What comes through to me from your videos is that you know your material (of course, no pun intended) and that you have a clear sense of how to present it for clear communication to, and understanding by, your audience. Without this core, no amount of professional-level visual effects will achieve your goal, a great training program.
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How to removed Editor Lock from an ABAP program

    Hello, I would like to know how to remove an editor lock from an ABAP  program that someone placed?   The person who placed the lock is no longer active in the system.   When I try to remove the lock, I get the message that the person placed the lock can remove it.  Looks like only that person can remove the lock.  Is there a way around this?  Reactivating his id is not an option, in our case.

    Hi,
    I'm able to see the program in table TRDIR, but not able to edit it.
    I have find one more table where we can edit is "PROGDIR"
    Goto table " PROGDIR"
    give the program name and execute
    select the program and choose edit button
    and remove "X" from the field "EDTX" to remove the lock for the program.
    Regards,
    Vaira.

  • How I extract the coments from the ABAP program?

    Hi,
    I need to extract the coments from all ABAP programs  using other program..
    Someone may help me?
    Thnaks,
    Maria C.

    Ok....This is one of the weirdest requirements ever -:P
    Use this -:)
    TYPES: BEGIN OF SOURCE_TABLE,
                 LINE(150) TYPE C.
                 END OF SOURCE_TABLE.
    DATA: T_SOURCE_TABLE TYPE STANDARD TABLE OF SOURCE_TABLE
               WITH HEADER LINE.
    DATA: PROG_NAME TYPE TRDIR-NAME.
    NAME = 'ZAPP'.
    READ REPORT NAME INTO T_SOURCE_TABLE.
    That way, you get all ABAP lines in an internal table....
    Just LOOP IT and do something like....
    LOOP AT T_SOURCE_TABLE ASSIGNING <SOURCE>.
    IF <SOURCE>-LINE+0(1) EQ '*'.
    *Move it to a new table.
    ENDIF.
    ENDLOOP.
    Also, you can SEARCH for the double ' symbols and do the same -:D
    Greetings,
    Blag.

  • Stock value is not getting updated in APO system From ECC automatically

    Hi All,
    Stock value is not getting updated in APO system From ECC automatically but if we do it manually from transaction CFM2 it will get updated.
    for this we are using EXIT_SAPLCSTK_001.
    I am using VL10A for delivery and VL06G for PGI
    I have also checked integration model for material and stock.
    Please help me out as it is very urgent.
    Thanks,
    Gaurav Mittal
    Edited by: GAURAV MITTAL on Feb 6, 2008 6:09 PM

    Hi,
    for transferring the stock data from R/3 to APO automatically, you need to have the integration model for material and stock activated.
    please check the same.
    if this does not help, let me know in detail the steps which you are following..
    Ram

  • How to call a BW Query from an ABAP program?

    How to call a BW Query from an ABAP program?

    hi
    check this link
    /people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-i
    /people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-ii
    /people/durairaj.athavanraja/blog/2005/12/05/execute-bw-query-using-abap-part-iii
    hope this helps
    cheers

  • Is it possible to make a call to an Infotype from an ABAP program?

    Dear friends,
    I created a new infotype 9*** using transaction pm01 and it works fine. What i need to do is to make a call to this infotype from an abap program without going through transaction pa30. Is it possible to do that? Thank you in advance.
    Sincerely,
    hajar

    Hi,
    The HR_MASTERDATA_DIALOG might need some tweaking.. we use a custom Program on the lines of SAP's
    'perform rp_infotyp(sapfp50g)'  that is more user friendly.. let me know if u need more info..
    Good Luck,
    Suresh Datti

  • How to display a oracle table from a java program?

    How to display a oracle table from a java program.
    Hello friends, I have written a Java program, using oracle 10g as backend.
    I want to display a oracle table as output. Im not getting how to display oracle table as a output table.. Pls help me
    Thank you

    jayanthds, you're not going to get a satisfactory
    answer to this here. it's too big a task to justbe
    quickly outlined in a forum - the reply "all youneed
    to do is to query you table and return it asJTable"
    is worthless, for example, since the solution to
    any problem can be distilled to such a
    soundbite, if need be. doesn't make the solutionany
    simpler
    essentially you're asking "how do I write adatabase
    application?". all you'll get is snippets of code
    that, when fitted together, will eventually helpyou
    do this, but you'll spend days and days comingback
    saying "right, I've done that, now what?" until
    either you or the forum gets frustrated with the
    whole affair and the process stops
    there are entire books written about this subject,
    and countless tutorials and guides on theinternet.
    you're better off going down that routehehehe.well, it's true! I used to have a manager that would outline the solution to a problem in a few lines of pseudocode, and then firmly believe that the actual solution would be just as brief and simple. shame his pseudocode included such lofty abstractions as "reformat all data"

  • How to get SAPGUI type (wingui or java) from an ABAP program

    Hi everyone,
    I am looking for a way to determine the sapgui type; that is if it is a wingui or javagui, from an abap program.
    I know how to get the gui version with
    CL_GUI_FRONTEND_SERVICES=>GET_GUI_VERSION
    call and I also know how to get the platform with
    CL_GUI_FRONTEND_SERVICES=>GET_PLATFORM
    I simply want to determine if a certain sapgui running on a windows pc is a wingui or a javagui.
    Any ideas?
    Thanks,
    Menelaos

    Ok, I finally found it myself!
    It is the function module:
    RSAN_WB_TEST_GET_GUI_TYPE
    at least on a 640 release.
    Can I award me points?
    Menelaos

  • Call / make a NACE-Message from an ABAP Program

    Hi all,
    Does anyone knows how to call / make a NACE-Message from an ABAP Program?
    Is there a possibility to call a functionmodul with the needed basic informations (doc. number, sales-org etc.) which will start the NACE Message Procedure?
    Reason:
    We have make IDOCs for order confirmation, delivery and billing - and make the NACE ALE/EDI Messages.
    But we have the problem that we are using Z-Reports for Mass-Printing the documents. So we have no active NACE Messages for printing and we want to send the IDOCs at the moment when we print out the docs.
    It's not possible, to change the business procedures and/or using SAP standard mass print prg. because this is too complicated (we think at the moment).
    Regards,
    Daniel

    Hi,
    Use this function module.
      CHECK xscreen = space.
      CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
        EXPORTING
          msg_arbgb = syst-msgid
          msg_nr    = syst-msgno
          msg_ty    = syst-msgty
          msg_v1    = syst-msgv1
          msg_v2    = syst-msgv2
          msg_v3    = syst-msgv3
          msg_v4    = syst-msgv4
        EXCEPTIONS
          OTHERS    = 1.
    Regards,
    Nisrin.

  • Error consuming Web service from an ABAP Program

    Hello guys,
    I'm trying to consume a Web Service that is exposed in the internet. The conecction to the Web Service its via SSL.
    I'm having a problem at the moment I call the web service from my abap program.  But I'm able to test the same web service, from the SE80 tx with out trouble.
    I have identify that there is a difference in the SOAP envelope, that its received in the Web service, when I call it from the test enviorment and when I call it from the program. 
    This is how it is received from the TEST tool (a succesfull call of th WS) :
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Header><n0:Trace xmlns:n0="http://www.sap.com/webas/630/soap/features/runtime/tracing/"><TraceLevel xmlns="http://www.sap.com/webas/630/soap/features/runtime/tracing/">Error</TraceLevel></n0:Trace></soap-env:Header><soap-env:Body><nr1:putXMLDocument xmlns:nr1="http://bel.bci.cl/WsBEL/services/Carga"><body>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;&lt;Mensaje&gt;&lt;RutEmpresa&gt;&lt;Numero&gt;76555400&lt;/Numero&gt;&lt;Digito&gt;4&lt;/Digito&gt;&lt;/RutEmpresa&gt;&lt;RutUsuario&gt;&lt;Numero&gt;12307972&lt;/Numero&gt;&lt;Digito&gt;8&lt;/Digito&gt;&lt;/RutUsuario&gt;&lt;Convenio&gt;58422&lt;/Convenio&gt;&lt;Pin&gt;aro79728&lt;/Pin&gt;&lt;Archivo&gt;&lt;Tipo&gt;PPR&lt;/Tipo&gt;&lt;Plantilla&gt;2142970592&lt;/Plantilla&gt;&lt;Nombre&gt;cargatest174.txt&lt;/Nombre&gt;&lt;Cuerpo&gt;&lt;![CDATA[G126919727     JORGE CRISTIAN VARGAS ROMERO                                                     0000VVC01600000000000000000000245FAC0000000089900032000021030000010000000000190000   2910200714082008Boletas honorarios|]]&gt;&lt;/Cuerpo&gt;&lt;/Archivo&gt;&lt;Fecha&gt;20080814&lt;/Fecha&gt;&lt;/Mensaje&gt;</body></nr1:putXMLDocument></soap-env:Body></soap-env:Envelope>
    And this is how  it is received when I consume the web service from the ABAP program.
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Header><n0:Trace xmlns:n0="http://www.sap.com/webas/630/soap/features/runtime/tracing/"><TraceLevel xmlns="http://www.sap.com/webas/630/soap/features/runtime/tracing/">Error</TraceLevel></n0:Trace></soap-env:Header><soap-env:Body><nr1:putXMLDocument xmlns:nr1="http://bel.bci.cl/WsBEL/services/Carga"><body>&lt;?xml version="1.0" encoding="utf-8" ?&gt;&lt;nr1:putXMLDocument xmlns:nr1="http://bel.bci.cl/WsBEL/services/Carga"&gt;&lt;body&gt;&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;&lt;Mensaje&gt;&lt;RutEmpresa&gt;&lt;Numero&gt;76555400&lt;/Numero&gt;&lt;Digito&gt;4&lt;/Digito&gt;&lt;/RutEmpresa&gt;&lt;RutUsuario&gt;&lt;Numero&gt;12307972&lt;/Numero&gt;&lt;Digito&gt;8&lt;/Digito&gt;&lt;/RutUsuario&gt;&lt;Convenio&gt;58422&lt;/Convenio&gt;&lt;Pin&gt;aro79728&lt;/Pin&gt;&lt;Archivo&gt;&lt;Tipo&gt;PPR&lt;/Tipo&gt;&lt;Plantilla&gt;2142970592&lt;/Plantilla&gt;&lt;Nombre&gt;cargatest174.txt&lt;/Nombre&gt;&lt;Cuerpo&gt;&lt;![CDATA[G126919727 JORGE CRISTIAN VARGAS ROMERO 0000VVC01600000000000000000000245FAC0000000089900032000021030000010000000000190000 2910200714082008Boletas honorarios|]]&gt;&lt;/Cuerpo&gt;&lt;/Archivo&gt;&lt;Fecha&gt;20080814&lt;/Fecha&gt;&lt;/Mensaje&gt;&lt;/body&gt;&lt;/nr1:putXMLDocument&gt;</body></nr1:putXMLDocument></soap-env:Body></soap-env:Envelope>
    As you can see, it is generating a nr1:putXMLDocument tag, that it should not go there.
    Why do you think that this situation is happening? Please guys, this is very important, and need your help.  Thanks in advance.
    Samuel.

    BSP a Developer's Journal Part XIV - Consuming WebServices with ABAP
    Calling WebServices from ABAP via HTTPS
    Consuming Web Service from ABAP by Durairaj Athavan Raja
    Search on SDN wiki, and you will find above mentioned links.

  • Getting output from an OS command from an ABAP program

    Hi Folks!
    I have a requirement, is it possible to call an operating system command, and also get its output back to the ABAP program that has called it?
    For example, from an ABAP program calling the "dir" command from Windows and getting back (as a string) the directory listing to the ABAP program?
    Thanx in advance!
    Juan.

    This is will help you
    << Moderator message - links removed >>
    Please do not post a list of links. This simply encourages laziness. The OP could have found these with a little work.
    Edited by: Rob Burbank on Dec 13, 2010 9:19 AM

  • How to generate an OUTBOUND INVOICE IDOC from the ABAP Program?

    How to generate an OUTBOUND INVOICE IDOC from the ABAP Program? Any Function Module that can be used for this?

    Hi
    This is more of configuration
    (1) Create a Output type with Medium 6 ( Check with your functional consultant)
    (2) Maintain Partner Profiles using WE20 transaction
           Idoc type - INVOIC02
           Message type - INVOIC
           Process Code - SD09
    Regards
    Madhan D

Maybe you are looking for

  • I have a mac osx 10.5.8 how do i get the app store it says my updates are all complete

    i have a mac desktop 27" on osx version 10.5.8. I want the new app store but when i do updates it says i am all up to date. How do i get the app store

  • Adobe Acrobat 8 Pro

    Hi, i work in a small company as IT and i'm trying to install Adobe Acrobat 8 Professional " COMMUNICATE AND COLLABORATE WITH THE ESSENTIAL PDF SOLUTION" package on server 2003. How can i install workstation? Thanks

  • Internet explorer 8 crashing often

    Internet Explorer 8 is crashing often and then, I get the message below. I uninstalled Flash player and reinstalled it but this problem came back. Can you help? I have Windows Vista Home. Troubleshoot a problem with Adobe Flash Player Adobe Flash Pla

  • Blank User in table SWWUSERWI - Large Volume

    Hi All, I have a problem when user clicks on his inbox in SAP it times out. There are large number of General tasks used in our system. The table SWWUSERWI has many entries with user name as Blank which are picked up and displayed in the user inbox.

  • Process code for Idoc BANK_CREATE01 and BANK_CHANGE01

    hi, I  want to create partner profile  for Idoc BANK_CREATE01 and BANK_CHANGE01 standard Idocs. But in transaction we64 , i am not finding the inbound process code  for it. So di i have to create a process code for it?? If yes , how do i create it an