How to read fields from an ABAP Programa

Hello everyone.
The need of the client is to create an Interactive form and first ask for some data in order to query the rest of the information needed for the layout . All this is using only ECC Backend, we do not have portal yet.
So I'm not sure if this is posible. I´m imagine the first page Adobde form with the parameters and then take this values to query the tables needed information and then present a new adobde form with the layout definend by the client.
Is there any MF to read the values of each field in the Adobe interactive form?
Thanks in advance for your help.

Hi Joaquin,
You have the option of using webservice with the adobe form. provided that the user have access to the webservice. you need to create a FM and convert it to webservice in R3.
But again, from my experience, it is not advisable to put to much logic in the form itself as it will slow it down. The form is better use to display data with a little bit of dynamic elements.

Similar Messages

  • How to read AL11 parameters in ABAP program

    Hello SAP Masters,
    I came across a requirement to read AL11 file parameters such as lastchanged day and lastchanged time of a particular file in directory. Can you guide me by providing either the function module name or any table where this information is stored, so that I can utilize something in ABAP program and get this information.
    Your help is greatly appreciated!
    Regards.

    Keshav provided the correct response, but since you asked me - this is what AL11 does:
        PERFORM p6_to_date_time_tz(rstr0400) USING file-mtime
                                                   file-mod_time
                                                   file-mod_date.
    BTW, that time/second value is the number of seconds since 1970.

  • How to read fields from response message in send step in BPM

    Hi ,
    I have one  BPM scenario where I am using synchronous send step to insert data into database and to get response back from database as success or failure .My scenario involves inserting data into multiple tables and in multiple rows . If all the inserts are successful then I want to write success message  else I want the messaage as error . So can we read all the  SQL response and store it in container varibale and the have soem decision logic ?

    Hi,
    for everyinsertion, you will get a response
    <INSERT_COUNT> </INSERT_COUNT>
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    if the value ==1 , then insertions is sucessful, if value ==0, then insertion not succsful.
    So, in your mapping, just check if any of the values is 0 and if yes, then decide if you have to write a sucess message or a failure message.
    Regards,
    Bhavesh
    Regards,
    bhavesh

  • How to create attachments from an abap program?

    I have an abap report that shows material documents.
    Now by clicking on a button (at the end of each row), it should allow the user to attach a document.
    How to achieve this?
    (I tried to see the code behing the Private Objects of a document at FB03 but I could not decipher it much).
    Thanks,
    Ven..

    CONSTANTS : objtype TYPE borident-objtype VALUE 'ZGOS2'.
    DATA : manager TYPE REF TO cl_gos_manager,
           obj     TYPE borident,
           gs_lopr TYPE sibflpor.
    parameter: srlno type matnr.
    IF srlno IS NOT INITIAL.
        obj-objtype = objtype.
        obj-objkey  = srlno.
        gs_lopr-instid = srlno .
        gs_lopr-typeid = 'ZGOS2'.
        gs_lopr-catid  = 'BO'.
       AT SELECTION-SCREEN OUTPUT. 
      CREATE OBJECT manager
          EXPORTING
            is_object    = obj
            is_bc_object = gs_lopr
            IP_NO_COMMIT = 'R'      "This is commit document for that material.
          EXCEPTIONS
            OTHERS       = 1.
      ENDIF.
    try this it will work

  • 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 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

  • 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

  • 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.

  • 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

  • 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

  • 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.

  • [Urgent] How to read files from different directories?

    I am new to Java Programming, I would like to know how to read files from directories other than the current one? (example as follows)
    ProjectDirectory
    |--MainDirectory
    |--MainProgram.java
    |--SupplementDirectory
    |--SupplementProgram.java
    |--Pictures
    |--Image.gif
    What should I write in the MainProgram.java so that I can use the supplementProgram.java from MainProgram and read the Image.gif file from the MainProgram.java?
    Thanks

    Run through the I/O tutorial here. It should get you up to speed on this sort of thing...

  • How to read data from a zipped MS Access file?

    How to read data from a zipped MS Access file?

    RPJ,
    You do not need to use the Close Zip File.vi when you unzip a folder.  This VI is used when you are creating a zip folder.
    As for examples, I found a couple of ActiveX based MS Access examples.  These programs look to be pretty basic.  For more in depth example I would search Microsoft Developers Network
    http://zone.ni.com/devzone/cda/epd/p/id/2188
    http://zone.ni.com/devzone/cda/epd/p/id/1694
    Regards,
    Jon S.
    National Instruments
    LabVIEW R&D

  • How to read data from an internal table into a real table?

    Hello experts,
    I'm relatively new to ABAP and I'm trying to figure out how to read data from an internal table into a table that I created.  I'm trying to use the RRW3_GET_QUERY_VIEW_DATA function module to read data from a multiprovider.  I'm trying to read data from the e_cell_data and e_axis_data tables into a table that I've already created.  Please see code below.
    TABLES MULTITAB.
    DATA:
      query_name TYPE RSZCOMPID,
      s_cubename TYPE RSINFOPROV,
      t_cell_data TYPE RRWS_T_CELL,
      t_axis_data TYPE RRWS_THX_AXIS_DATA,
      t_axis_info TYPE RRWS_THX_AXIS_INFO,
      wa_t_cell_data like line of t_cell_data,
      wa_t_axis_data like line of t_axis_data,
      w_corp_tab like line of t_cell_data.
    s_cubename = 'CORP_MPO1'.
    query_name = 'Z_corp_test'.
        CALL FUNCTION 'RRW3_GET_QUERY_VIEW_DATA'
           EXPORTING
             i_infoprovider           = s_cubename
             i_query                  = query_name
            i_t_parameter            = query_string_tab
           IMPORTING
             e_cell_data              = t_cell_data
             e_axis_data              = t_axis_data
             e_axis_info              = t_axis_info.
    If anyone has any information to help me, I would greatly appreciate it.  Thanks.

    Hi,
    <li>Once you call the function module RRW3_GET_QUERY_VIEW_DATA, lets say data is available in the corresponding tables e_cell_data e_axis_data which you have mentioned.
    <li>Modify your internal table defined for other purpose, with data from e_cell_data e_axis_data like below.
    LOOP AT t_cell_data INTO wa_t_cell_data.
      "Get the required data from t_cell_data.
      MOVE-CORRESPONDING wa_t_cell_data TO it_ur_tab.
      "Modify your internal table wih data
      MODIFY it_ur_tab TRANSPORTING <field1> <field2> <field3>.
    ENDLOOP.
    LOOP AT t_axis_data INTO wa_t_axis_data.
      "Get the required data from t_cell_data.
      MOVE-CORRESPONDING wa_t_axis_data TO it_ur_tab.
      "Modify your internal table wih data
      MODIFY it_ur_tab TRANSPORTING <field1> <field2> <field3>.
    ENDLOOP.
    Thanks
    Venkat.O

Maybe you are looking for

  • I cannot get past the agree button on version 7 updated..

    I have updated my husbands iPhone 4 to version 7 IOS and now when I get to the terms and conditions for icloud and apple I press the agre button and nothing happens.

  • Plot line on CNiGraph3D object

    Hi I am adding some new feature into the existing code that use CNiGraph3D to display data. The data is some amplitude associated with it's location of scan (x and y). The existing code scan data from a whole area, so the graph is filled. But the new

  • Slideshow view very small on MacBook Air

    Hi gang, Our blog has a variety of photo pages. When viewed on a MacBook Air, the popup slideshow window fills the available screen space, but the pics are very small and surrounded by a large amount of black space. Also, the slideshow controls are l

  • Can i run 9ias versions 1 and 2 on the same machine

    i need to install 9ias versions 1 and 2 on the same machine but in separate databases, is this possible? if it is possible are there any issues that i need to be aware of?

  • Help with counter

    Hi everyone, I am writing this page for users to register and to login, but the problem i have is knowing who are the most active users. I am trying to do this with a hit counter, as you can see in my last "if", but is not working as it should be. Ca