Abap report for calling abap proxy?

why do we need  to write abap report for calling abap proxy? i mean what's the use of abap report and what are the things inside the report ...please give me details about abap report.

Hi,
In SPROXY for your outbound interface you generate the proxy class.
The ABAP report is used to fill the data from the ABAP tables and then trigger the call to XI using this class.
Look into the code in this blog and check what is done,. The data is filled in the report and then the call is made to XI using an object of the class created in SPROXY using the EXECUTE_ASYNCHRONOUS method.
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Regards
Bhavesh

Similar Messages

  • Does Solution Manager support Service Report for non-abap?

    Does Solution Manager support Service Report for non-abap?
    We can schedule and view reports for ABAP but for all the non-ABAP such as J2EE stack (PORTAL) we can not pull out a report.
    If the answer is yes please let me know where I can get the documentation of how to setup SLA for PORTAL or non-ABAP.
    I found a document on EWA non-abap but non for SLA.

    Hi
    actually i am in task of setting up ewa for portal.
    i had already done with abap components (ewa and sla)
    i stronly believe one of the pre-requiste to get sla is EWA.
    so i think if u can setup ewa for portal then you can get sla too.
    Regards,
    Vijay.

  • Abap report for PO details including the person releasing the PO last.

    Hi gurus,
    I need to create a abap report for the purchase order details. I am finding difficulty in getting the last person who released the PO. Can anyone tell me how can I get the person who released the PO last ??
    From which table I can get this detail ??

    Hey hi ,
    thanks for your reply,
    Actually , I already went through the tables before, but here, there is one scenario listed below which is creating the problem :
    1. There are two person related with the release of PO and either of the two can release the PO ( in other's absense ). Now, how to check who released the PO among the two. Here link with the PO is necessary as the person released this PO might not release the next PO.
    Thats why i feel the link of the PO must be existing based on release code too. As suppose the organization assign another manager to release the PO, it should not affect previous PO's released by the Old manager.
    thanks
    Edited by: kanak bhandari on Feb 6, 2008 1:19 PM

  • EWA report for non-abap systems

    Hi Gurus,
    Good day.
    I would like to ask, what are the steps that I'm going to do when configuring an EWA report for non-abap systems i.e portal. Do Ineed to install SMD agents on my non-abap systems and connect to diagnostic agent of solman?
    Or do I need to install wily introscope agents on my non-abap systems and connect to diagnostic agent?
    It is both? Which one?
    It would be also great if you can provide me links/documents in relation to my queries.
    Please do note that the current version of solman system is 7.1
    Thanks in advance for the help
    Virgilio

    Hi Virgilio,
    To generate an EWA report for Java stack system,
    you need to do following:
    1. install smd agent (diagnostics agent) on Java stack system
    you can install this agent standalone, details see note 1234384.
    The installation Guide is also attached in note 1234384.
    2. finish Initial Config and Basic Configuration in solman_setup for
    solman system, the setting about Enterprise Manager is also included
    in these configurations, please ensure EM is running properly.
    3. start managed system configuration for the EP system in solman_setup
    after selecting the system type 'Java', please finish all steps as
    suggested in which step. The Step 'Wily Introscope Configuration' is to
    install Introscope Agent which is used for Java stack system. More infor
    please read the installation Guide of Enterprise Manager and note
    797147.
    4. You should be able to see data in Wily Introscope and Workload
    analysis via
    Root Cause Analysis->End-to-End Analysis->select the system->Workload
    Analysis
    5. If the EP system is added in a solution, the EWA task for this system
    should be shown up in solman's SDCCN.
    Also check note: 976054"
    Thanks
    Regards,
    Vikram

  • Create ABAP Report  for  Infoprovider

    Could anyone tell me Function module to fetch Infoprovider(s) for creating ABAP report on.
    The report should provide:
    Input:
    - Infoprovider(s)
    - Date-range: default: last 6 months
    Output:
    - data which is shown in the requests tab as described before, preceeded with the name of the infoprovider and having the possibility to download to Excel.
    Thanks

    Hi,
    you can easily use it as a template to create your own program. The program just shows what to do and how you need to populate the tables in order to pass selection parameters to the fm to get the required data back.
    Here a little demo I created to do it a bit flexible from different cubes:
    DATA: ref_data_tab TYPE REF TO data,
          ref_data_line TYPE REF TO data,
          it_sfc TYPE rsdri_th_sfc,
          l_sfc TYPE rsdri_s_sfc,
          it_sfc2 TYPE rsdd_th_sfc,
          l_sfc2 TYPE rrsfc01,
          it_sfk TYPE rsdri_th_sfk,
          l_sfk TYPE rsdri_s_sfk,
          it_sfk2 TYPE rsdd_th_sfk,
          l_sfk2 TYPE rrsfk01,
          l_first_call TYPE rs_bool,
          l_end_of_data TYPE rs_bool,
          l_tabname(30) TYPE c,
          l_cube(30) TYPE c,
          it_cobpro TYPE rsd_t_cob_pro,
          l_cobpro TYPE rsd_s_cob_pro.
    FIELD-SYMBOLS: <e_t_data> TYPE table,
                   <l_data> TYPE ANY,
                   <fs_field>.
    PARAMETERS: pa_cube TYPE rsinfoprov OBLIGATORY DEFAULT '/NBAG/CML_C05',
                pa_debug AS CHECKBOX.
    IF pa_cube(1) = '0'.
      CONCATENATE '/BI0/V' pa_cube '2' INTO l_tabname.
    ELSE.
      CONCATENATE '/BIC/V' pa_cube '2' INTO l_tabname.
    ENDIF.
    CREATE DATA ref_data_tab TYPE TABLE OF (l_tabname).
    CREATE DATA ref_data_line TYPE (l_tabname).
    ASSIGN ref_data_tab->* TO <e_t_data>.
    ASSIGN ref_data_line->* TO <l_data>.
    IF pa_debug = 'X'.
      BREAK-POINT.
    ENDIF.
    CALL FUNCTION 'RSD_COB_PRO_ALL_GET'
      EXPORTING
        i_infocube                      = pa_cube
      I_WITH_ATR_NAV                  = RS_C_FALSE
      I_WITH_META_IOBJ                = RS_C_FALSE
      I_OBJVERS                       = RS_C_OBJVERS-ACTIVE
      I_BYPASS_BUFFER                 = RS_C_FALSE
    IMPORTING
       e_t_cob_pro                     = it_cobpro
      E_T_IOBJ_CMP                    =
      E_T_ATR                         =
      E_TLOGO                         =
    EXCEPTIONS
       infocube_not_found              = 1
       error_reading_infocatalog       = 2
       illegal_input                   = 3
       OTHERS                          = 4.
    IF sy-subrc <> 0.
      WRITE: / sy-subrc, sy-msgno, sy-msgid, sy-msgv1, sy-msgv2, sy-msgv3.
    ENDIF.
    CLEAR: it_sfk[], it_sfc[].
    LOOP AT it_cobpro INTO l_cobpro.
      IF l_cobpro-iobjtp = 'KYF'.
        IF l_cobpro-ncumfl IS INITIAL.
          l_sfk-kyfnm = l_cobpro-iobjnm.
          l_sfk-kyfalias = l_cobpro-iobjnm.
          l_sfk-aggr = l_cobpro-aggrgen.
          INSERT l_sfk INTO TABLE it_sfk.
          MOVE-CORRESPONDING l_cobpro TO l_sfk2.
          INSERT l_sfk2 INTO TABLE it_sfk2.
        ENDIF.
      ELSE.
        IF l_cobpro-dimension NP '*P'.
          l_sfc-chanm = l_cobpro-iobjnm.
          l_sfc-chaalias = l_cobpro-iobjnm.
          l_sfc-orderby = 0.
          INSERT l_sfc INTO TABLE it_sfc.
          MOVE-CORRESPONDING l_cobpro TO l_sfc2.
          INSERT l_sfc2 INTO TABLE it_sfc2.
        ENDIF.
      ENDIF.
    ENDLOOP.
    CLEAR l_end_of_data.
    l_first_call = 'X'.
    WHILE l_end_of_data = space.
      CALL FUNCTION 'RSDRI_INFOPROV_READ'
        EXPORTING
          i_infoprov                   = pa_cube
          i_th_sfc                     = it_sfc
          i_th_sfk                     = it_sfk
      I_T_RANGE                    =
      I_TH_TABLESEL                =
      I_T_RTIME                    =
       i_reference_date             = sy-datum
      I_T_REQUID                   =
      I_SAVE_IN_TABLE              = ' '
      I_TABLENAME                  =
      i_save_in_file               = 'X'
      i_filename           = 'C:\test.csv'
       i_packagesize                = 1000
      I_MAXROWS                    = 0
         i_authority_check            = ' '
      I_CURRENCY_CONVERSION        = RS_C_TRUE
       i_use_db_aggregation         = ' '
       i_use_aggregates             = ' '
       i_rollup_only                = ' '
      I_READ_ODS_DELTA             = RS_C_FALSE
      I_CALLER                     = RSDRS_C_CALLER-RSDRI
      I_DEBUG                      = RS_C_FALSE
       IMPORTING
         e_t_data                     = <e_t_data>
         e_end_of_data                = l_end_of_data
      E_AGGREGATE                  =
      E_SPLIT_OCCURRED             =
        CHANGING
          c_first_call                 = l_first_call
       EXCEPTIONS
         illegal_input                = 1
         illegal_input_sfc            = 2
         illegal_input_sfk            = 3
         illegal_input_range          = 4
         illegal_input_tablesel       = 5
         no_authorization             = 6
         ncum_not_supported           = 7
         illegal_download             = 8
         illegal_tablename            = 9
         trans_no_write_mode          = 10
         inherited_error              = 11
         x_message                    = 12
         OTHERS                       = 13.
      IF sy-subrc <> 0.
        WRITE: / sy-subrc, sy-msgno, sy-msgid, sy-msgv1, sy-msgv2, sy-msgv3.
        EXIT.
      ELSE.
        LOOP AT <e_t_data> INTO <l_data>.
          WRITE: / sy-tabix, ':'.
          LOOP AT it_cobpro INTO l_cobpro.
            IF l_cobpro-ncumfl IS INITIAL.
              ASSIGN COMPONENT l_cobpro-iobjnm OF STRUCTURE <l_data>
                  TO <fs_field>.
              IF sy-subrc = 0.
                WRITE: <fs_field>.
              ENDIF.
            ENDIF.
          ENDLOOP.
        ENDLOOP.
      ENDIF.
      CLEAR: l_first_call, <e_t_data>[].
      IF l_end_of_data <> space.
        EXIT.
      ENDIF.
    ENDWHILE
    Hope this helps a bit
    regards
    Siggi

  • Creating PO in abap report that triggers client proxy

    Hi All,
    Can anyone help me in this.
    I wanna create PO thru my abap report, from which i will be triggering client proxy. I have done this PO creation using ALE
    but now as the requirement is to send an attachment as well so using proxy.
    i have got lil idea by going thru forums replies that i can call bapi_po_create in abap report. Is my understanding correct.
    If yes, can i get an idea of the coding.
    Thanks
    Regards

    Hi,
    To create a Purchase order through Coding you can use the BAPI_PO_CREATE.
    Reward points if it is helpful
    Thanks,
    Madhu

  • Abap report for budget/actual/commitment

    Hi Guru..
    Please help me.
    Im in urgent
    I wanna write an abap program for budget/actual/commitment.
    I try to trace prgram s_alr_87013019, but only one table found.
    Please let me know which table is using for budget/actual/commitment
    report..
    Please guru..

    Hello Mohd,
    The actual,budget and commitment values are stored in the one table COSP.
    The values differentiate with field <b>VRGNG</b> - "CO Business Transaction".
    If the record has in this field text '<b>COIN</b>' it means that values are "actual".
    For example:
    OBJNR     PR00000101
    GJAHR     2005
    KSTAR   101101
    VRGNG     <b>COIN</b>
    TWEAR   USD
    WTG001     100,00
    WTG002  200,00
    It means that the element PR0000101 has the '<b>actual'</b> operations refering
    the cost element 101101, with values: 100,00 USD in january 2005 and
    200,00 USD in february 2005.
    The next row in the table COSP, clould look like this:
    OBJNR     PR00000101
    GJAHR     2005
    KSTAR   101101
    VRGNG     <b>RMBA</b>
    TWEAR   USD
    WTG001     100,00
    WTG002  0,00
    This means that there was a <b>'Purchase requisition'</b> in january 2005
    with decretation on object PR0000101.
    And the next row, could be:
    OBJNR     PR00000101
    GJAHR     2005
    KSTAR   101101
    VRGNG     <b>RMBE</b>
    TWEAR   USD
    WTG001     0,00
    WTG002  150,00
    And that means that in february 2005 there was a <b>'Purchase order'</b>
    with value 150,00 USD decretated on this object.
    I hope, that my explanation is now clear and accurate.
    - Marta

  • EWA reports for non abap systems

    Hello gurus,
    I am facing a problem with configuration of EWA reports for SAP NW Portal.
    I have already configured EWA for abap systems, and those are running good on weekly basis. but i have problem with configuration of reports for java systems.
    So far, i have installed an SMD agent and CA on my EP-satellite system. I have also configured and SMD server on my Sollution Manager and registered the SMD agent on SMD server and installed Willy Introscope on SMD server.
    I am using a central SLD which is running on different host as Solution Manager. I did all the configuration (smsy_setup, configuration of sld_data_supplier etc... )
    I have also created the system in SMSY, matched the smsy with SLD (data source SLd)and assigned Logical component to java system.
    >>> But when i want do define data collection in the SMD for Gargage Collection (task in scheduler) i cannot see host of my portal system in the SMD.
    In the SMD i can see just the abap systems  for which the EWA are being already generated.
    (i have done also configuration>>connecting managed sytem to the SMD, but i still cannot connect my Portal system to SMD)
    Do you have any idea, what i have done wrong?
    My solution manager is running on Sap NW 7.0, SPS16,
    Sattelite system , EP  SPS 19
    Thank you very much for your points!!

    Hello Jagan,
    I was following the enclosed guide from the note: 976054, but it doesn't help to solve my issue.
    And when i want to permorm the setup for the managed systems,(http://<host><port>/smd -> diagnostic setup->managed systems ->setup wizard) i can not see there my Portal systems, just the abap systems.
    Do you have any idea?
    Thanks,
    Best regards
    Slavomir

  • Any Best Practices for developing custom ABAP reports for Portal?

    Hello,
    The developers on our project are debating the best way to develop custom reports and make them available on the portal.  Of these options that we can think of, can you give any pros & cons, or experiences, or other options?
    - Web-enabled Abap report programs
    - WebDynpro for Abap
    - WebDynpro for Abap using ALV
    - Adobe forms
    Does a "Best Practices" document or blog exist on this topic?
    Thanks,
    Colleen

    Re: Using p_trace=YES

  • ABAP report for Active Product Categories by Vendor

    Hi,
    I have been trying to write an ABAP report in SRM to list all vendors attached to active product categories. My problem is identifying the active product categories. Can anyone help me identify these?
    Regards,
    Conor

    Some alternative is in KSB1 (Cost center line item report) - you can change the layout and include offsetting account and its text.
    But, in vendor line item report, if you want vendor number, vendor number, GL account number (offsetting) account and its text, then you should go with abap development.
    Have a look at the following note, if really serves your purpose.
    Note 1504612 - Line items: Offsetting account info (BAdI FI_ITEMS_CH_DATA)

  • Standard ABAP report for XI performance monitoring?

    Hi All,
    Is there any standard ABAP report that can be run in ECC, that would provide summary of which interfaces(namespaces) ran over the 24 hour period in a graphical view.
    Regards,
    XIer

    Hi,
    Performance tuning :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/489f5844-0c01-0010-79be-acc3b52250fd
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/defd5544-0c01-0010-ba88-fd38caee02f7?prtmode=navigate
    Performance Tuning Checks in SAP Exchange Infrastructure(XI): Part-III
    REgards
    Seshagiri

  • ABAP report for caluculating the average days between invoice day  &posting

    Hi All,
    i have a requirement where in  i should create a report for caluculating average days between the invoice days and posting days.  By counting the total day in a month for which invoice were generated and counting the days on which payements were recived,i should difference those days and take a average for a month. anybody who is having any idea either interms of code or interms of links please help me.

    Hello,
    See this thread [Calculation Of Days|Calculation Of Days;
    Thanks
    Chandran

  • QOS Reports for call

    hi all cisco community,
    I am unable to get the QOS reports for my client with using a third party software using cdr report ,
    I what to know how do I perfectly configure the cucm box to get the qos and call details record.
    is there any relation with doing owner user id assignment and device association on the cucm with getting qos reports well.
    cucm 9.1
    thanks

    Hi,
    probably you have to change the CallManager  Service Parameters "Call Diagnostic" to True on all the servers in your cluster, because you need the CMR files.
    Give a look here:
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/service/9_0/admin/CUCM_BK_C66F5BB5_00_cucm-cdr-administration-guide-90.html
    and here:
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/service/9_0/car/CUCM_BK_CB39F074_00_cdr-analysis-reporting-administration-90/CUCM_BK_CB39F074_00_cdr-analysis-and-reporting-administration_chapter_010.html
    Regards,
    Ulderico

  • ABAP Programm for calling Proxies

    Hi Experts,
    I was writing a ABAP programm für starting a ABAP proxy.
    *& Report  Z_XI_MAPPING
    REPORT  Z_XI_MAPPING.
    parameters: PA_WAIT type decimals default 0,
                PA_LOOP type decimals default 1,
                PA_EOIO type char1 default 'X',
                PA_QUEUE type PRX_SCNT default 'Regression01'.
    DATA: myProxy TYPE REF TO ZCO_MI_MAPPING_OUT ,
          l_start type tims value is initial,
          l_start_time type i value  0,
          l_end_time  type i value  0,
          l_max_time type i value 0,
          l_min_time type i value 999999999,
          l_delta_time  type i value 999999999,
          l_avr_time type i value 0,
          l_ctr type i value 0,
          l_ctr_item type i value 0,
          lt_pers_id type char10,
          it_pers_id type char10,
          lo_async_messaging TYPE REF TO if_wsprotocol_async_messaging.
    get time.
    WRITE: / 'System: '    , sy-sysid,
             'Start Time: ', sy-datum, sy-uzeit,
             'Wait Time: ' , pa_wait,
             'Loops: '     , pa_loop.
    WRITE: / 'start-time  execution-time'.
    TRY.
        CREATE OBJECT myProxy
    EXPORTING
       LOGICAL_PORT_NAME  = 'LP_XI_REGRESSION'.
      CATCH CX_AI_SYSTEM_FAULT .
    ENDTRY.
    specify queue id
    if pa_EOIO = 'X'.
      lo_async_messaging ?= myProxy->get_protocol( if_wsprotocol=>async_messaging ).
      lo_async_messaging->set_serialization_context( pa_QUEUE ).
    endif.
    data: OUTPUT type ZMT_MAPPING_OUT .
    move 'Element01' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_01.
    move 'Element02' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_02.
    move 'Element03' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_03.
    move 'Element04' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_04.
    move 'Element05' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_05.
    move 'Element06' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_06.
    move 'Element07' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_07.
    move 'Element08' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_08.
    move 'Element09' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_09.
    move 'Element10' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_10.
    do pa_loop TIMES.
        l_ctr = l_ctr + 1 .
        get time.
        move sy-uzeit to l_start.
        get run time field l_start_time.
        TRY.
            CALL METHOD myProxy->EXECUTE_ASYNCHRONOUS
              EXPORTING
                OUTPUT = OUTPUT.
          CATCH CX_AI_SYSTEM_FAULT .
        ENDTRY.
        get run time field l_end_time.
        l_delta_time = l_end_time - l_start_time.
        l_avr_time = l_avr_time + l_delta_time.
        if l_delta_time < l_min_time.
          move l_delta_time to l_min_time.
        endif.
        if l_delta_time > l_max_time.
          move l_delta_time to l_max_time.
        endif.
        WRITE: /    l_start,
                 11 l_delta_time.
        wait up to pa_wait seconds .
    enddo.
    COMMIT WORK.
    l_avr_time = l_avr_time / l_ctr .
    WRITE: / 'fastest call: ', l_min_time,
             'slowest call: ', l_max_time,
             'average time: ', l_avr_time,
             'Count IDs: '  , l_ctr.
    When activating this program I get the error: "The data object OUTPUT-MT_MAPPING_OUT does not have a component SET-SET_ELEMENT_01
    But the structure of the Proxy looks like this:
    ZCO_MI_MAPPING_OUT
           Method Execute Asynchronous
              Importing OUTPUT
                     MT_MAPPING_OUT
                           SET
                              SET_ELEMENT_01
                              SET_ELEMENT_02
    I gernereated and activated the proxies several times, which did not solve the problem. I switched also in the ABAP Coding between capital an dsmall letters...
    I have no idea where the problem is, it looks all fine for me.
    Hope you can help me there.
    Thanks,
    Sebastian

    Hi Sebastian,
    It's because you reference the wrong structure. It's a bit tricky to get the right one, but look into generation tab in SPROXY. Here you can see, which data elements has been created, and using the right one of these is the key. Notice you can foreward navigate into the different structures, which can help you.
    Kind regards
    Mikkel

  • How to create a job thru ABAP program for calling a program with variant???

    Hello experts,
    can u give me step wise procedure to create jobs for  a program with a variant name thru ABAP???
    Also, can a transaction can be scheduled as a job to run in background with a variant name???
    Edited by: SAP USER on Jul 22, 2008 6:08 AM

    Hi,
    To create a job through ABAP program you can do the following.
    Go to Menu bar.
    In there, go to   SYTSTEM> SERVICES> JOBS--> DEFINE JOB.
    Then give the JOB NAME and CLASS in the screen that comes up.
    This is how we schedule a program.
    Now, to create a variant for a program -
    First activate your program in SE38. Then execute it .
    Now, click on SAVE button. It will open up  the variant creation screen. Give the details there like variant name and value for the fields. Save and come back.
    Hope this helps.
    Regards,
    Hari Kiran

Maybe you are looking for