Trigger ABAP proxy

Hello folks
Have a sender abap proxy to jdbc scenario.
Have a question: how do we trigger abap proxy from SAP ? can we do by scheduling a job or some other better ways exist ?
Thank you.

>
> Ok req is : ABAP - > JDBC scenario : each xml payload is small... just 5 -6 fields coming over from SAP but it is very frequently triggered on SAP ... every 1 minute.. this will be triggeed.
>
> if its job / batch based: aggregate records come over for every 5 -10 minutes... which is good for PI but for SAP overhead is more since job is scheduled very frequently.
>
> if it is event based trigger of abap proxy from SAP then multiple small messages flood PI since data uis not aggregated.
>
> Dont know what is generally preferred?
>
Completely depends on how you want and depends on requirement,if you are able to generate multiple records at a time then it it would be really good , because resource utilization in ECC and PI also will be reduced.
else go with individual record.
Regards,
Raj

Similar Messages

  • How to trigger ABAP proxy

    hai all,
    i am trying to do a scenario using abap proxy,
    i created two proxies in the different clients of the XI box itself.
    when iam giving test data iam able to check it out.
    when iam trying to pass the dat from the proxy it is not hitting the XI even.
    can any one explain me
    what is the procedure to send the data from that proxy.
    regards,
    madhav

    Hi Madhav,
    yes u have to write a report.the report will trigger ur client proxy.in ur report u will have to call the method "execute asynchronous/execute asynchronous" of proxy.the main code will be under the method execute asynchronous/execute asynchronous(there u may call a FM to push data from proxy to XI or u can directly write code to push data).
    So first write ur code inside proxy.then trigger it thro' a report.
    check these blogs.There u will get sample report programs.
    ABAP Proxies in XI(Client Proxy)
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy (Receiver Proxy)-
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Debug your server proxy
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    ABAP Proxy to file
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    File to ABAP Proxy
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    regards
    BILL
    Use a Good Subject Line, One Question Per Posting - Award Points

  • Trigger BPM without Abap Proxy

    Hi there,
    my scenario:
    BPM (XI)-> JDBC -> IDOC
    is it possible to fire an event on the intergration server for starting the xi bpm ?
    abap proxy is not the solution because my webas is only configured as an integration server.
    thanks
    sebastian

    Hi,
    is it possible to trigger the bpm with a async message ?
    rfc is a sync call. because some async steps (idoc, aleaud) in the bpm a rfc call
    as trigger would block a dialog process at the appl server for a several time.
    sebastian

  • Trigger inbound proxy from ABAP

    Hi Experts,
    We have a requirement to trigger inbound proxy from within an ABAP program. Is it possible to trigger an inbound proxy from ABAP if so please guide me on how to achieve this?
    Thanks
    Sanu

    This requirement cant be achieved.

  • How to trigger Outbound ABAP proxy from PI

    Hi Guru's,
    We have one scenario in which we want interface to be run at 5 minute interval in PI but it has to get data from R/3 via RFC or ABAP Proxy (No file interface). Is there any way to trigger PI interface to get data from R/3 and after mapping send it via AS2.
    Thanks in Advance.

    Hi Gyaneshwar,
    What Phani said is correct. Better you go with ABAP proxy, where you can validate the data with the condition, if fails you can raise an alert mail.
    The code something looks like:
    CALL FUNCTION 'Z_UTL_SENDMAIL'
            EXPORTING
              i_email       = gv_sender
              i_toemail     = ''
              i_subject     = gv_subject
            IMPORTING
              e_return_code = gv_subrc
            TABLES
              it_text       = git_text
              it_emails     = git_emails.
        ENDIF.
      ENDIF.
    There is no option to do it from PI.
    Thanks,
    Edited by: Hareenkumar on Feb 24, 2011 10:08 AM

  • Can ABAP proxy to consume WSDL file be run as background job for every10min

    Hi all,
    I have a requirement where I need to build an interface which gatheru2019s the purchase order details and send to external third party software in their required format (as an XML file).
    So I should be the first point of contact and should trigger the interface each time a purchase order is generated.
    So I am thinking that I should develop a background job for every 10 minutes which will look for new purchase orders and gathers the information of the purchase orders and send them to external third party software in their required format.
    I have gone through all the SAP forums and e-Learning but still I have confusion in regards to how is it possible technically? Can some one guide me with some information on the same.
    I have a little bit of confusion and want to know few things.
    1)     Should I create a web service or should I consume a web service?
    2)     If I need to consume a web service, then can I write an ABAP proxy to be run in background fro evry 10 minutes? I mean can we run ABAP proxy as a batch job in the background?
    3)     Is there a difference between consuming an XML file and WSDL File?
    Any Help will be highly appreciated.
    Regards,
    Jessica.

    There are two options (as I know) to generate XML file.
    1. Use XML TRANSFORMATION to get the XML string based your TRANSFORMATION. You can input your data and get back the XML string. Download this string to a file
    Test XML generation program is:
    types: begin of ty_data,
           num   type i,
           end   of ty_data.
    DATA: itab TYPE standard table of ty_Data,
          la_data like line of itab,
          xmlstr TYPE string.
    DO 3 TIMES.
      la_data-num = sy-index.
      APPEND la_data TO itab.
    ENDDO.
    CALL TRANSFORMATION ztest_np1
      SOURCE table = itab
      RESULT XML xmlstr.
    CALL FUNCTION 'DISPLAY_XML_STRING'
      EXPORTING xml_string = xmlstr.
    My ZTEST_NP1 transformation. To create a transformation, click on the transformation in the "CALL TRANSFORMATION ztest_np1" statement. Select Simple transformation type.
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
      <tt:root name="table"/>
      <tt:template>
        <table>
          <tt:loop ref=".table">
            <item>
              <tt:value ref="NUM"/>
            </item>
          </tt:loop>
        </table>
      </tt:template>
    </tt:transform>
    XML string is like:
      <?xml version="1.0" encoding="utf-8" ?>
      <table>
      <item>1</item>
      <item>2</item>
      <item>3</item>
      </table>
    To use this option, you have to create a transformation and than use it to generate the XML string.
    Check this SAP Help
    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/7d4719ca581441b6841f1054ff1326/frameset.htm
    2. You can concatenate and create an XML string and download that string into a file.
    Regards,
    Naimesh Patel

  • Issue in Iodc- abap proxy scenario

    Hi all
    I have a idoc to abap proxy scenario. The issue is ,
    when we send the idoc to client A of target system, it works ifne.
    But when we send the saem mesage to Client B, we find a error message in sxmb_moni of Target system. the mesage is Application_fault.
    Is it because of any error in XI configuration or somethin else.

    hi all
    thanks for all your responses.
    I forgot to mention that based on a particualr field value in the idoc , it will be routed to eihter Client 100 or 200 .
    I gave the conditions in Receiver Determination.
    Same Server Proxy  is used in both the target business sytems.
    I have done all the Configuration Steps ,( Created two separate business systems also )
    Also I have checked wiht all the system settings to be made in the target system B.
    When i trigger the idoc to Client 100, it goes to XI and then reaches  Client 100 of System B
    without any problem. I get the desired result from proxy code.
    When i send the saem idoc to Client 200, it reaches the target system and routed to client 200. But getting this error message in
    the Call Inbound PRoxy step. (from sxmb_moni)
    <SAP:Category>Application</SAP:Category>
      <SAP:Code area="ABAP">APPLICATION_ERROR</SAP:Code>
    Since it reaches the target system correctly, i guess there is nothing wrong in the XI configuration side.
    But if its Application fault, how come the same data is processed successfully in one client whereas it thorws error in another.

  • SOAP error in synchronous scenario for ABAP Proxy with Oracle D/B

    Dear Experts,
    I am working in Sender ABAP Proxy <====>SAP PI 7.31 JAVA only <====> Oracle Database. My proxy configuration are working successfully.
    Apart from that, I have maintained a SOAP sender communication channel under the ECC business system with
    Transport Protocol as HTTP
    Message Protocol as XI 3.0
    Adapter Engine as Central Engine
    When I am testing from ECC at Tx SPROXY, I am receiving following error.
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.xi.routing.RoutingException: InterfaceDetermination did not yield any actual interface at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:746) at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:505) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at
    1. In XI3.0 protocol, I can not select BE but when selected HTTP 1.0 as Message protocol then I can find the BE.
    2. No Response message is shown in ECC when testing the message.
    3. How do Receiver JDBC adapter for Oracle Database is configured 
    4. What would be Message Protocol for Oracle Database i.e. XML SQL Format or Native SQL format for Select operation.
    Please guide.. All your inputs will be appreciated......
    Regards
    Rebecca

    Dear Indrajit,
    Appreciate your inputs.. Yes I have configured all the ABAP proxy configurations and there no question of missing any thing as Tx SLDCHECK in ECC is working perfectly fine.
    But still to go, some of the queries needs more input.
    1.In ID, i have created a Sender SOAP communication channel with listed details.
    Transport Protocol as HTTP
    Message Protocol as XI 3.0
    Adapter Engine as Central Engine
    Is there any parameters which I may be missing from Module tab of Synchronous SOAP Cc ?
    2. In the Cc monitoring, the JDBC receiver status shows "Database operation successfully completed" but I could not find any response data from database. The Message monitoring should have 2 messages for 1 trigger, but I could find only 1 message by SOAP only?
    Sorry to bother experts...Please answer in sequence...
    Regards
    Rebecca

  • PCK XI adapter - ABAP Proxy  to File Scenario How to?

    Hi there,
    We want to implement the following sceanrio; SAP ABAP outbound proxy to Flat-File scenario. A (sender) SAP system will trigger an outbound proxy which will send outbound data to a (receiver)file system via the PCK and Central Integration Server.
    SAP (ABAP proxy) -> PCK-> XI -> File System
    My question is; The PCK documentation suggests that the XI adapter included in the PCK can only be used to send/forward messages to the central integration server.
    Does that means that one cannot use the same XI adapter on the PCK to redirect ABAP proxy messages to the Integration server?
    Thanks,
    Roberto

    The PCK cannot be used as a replacement for XI Integration server. PCK is only a type of adapter engine that can run independantly. It is intended for partners who cannot use XI server. So PCK can not in itself execute interfaces. It can just forward all the messages received to the XI Integration server. PCK can only run your sender or receiver adapter all the mappings can only be executed on the integration server. So PCK just converts from the native format to XI format and forwards to the Integration Server.
    Hope that carifies your question .
    Thanks,
    Kalyan Musunuri

  • Error with ABAP proxy

    Hi all,
    I have an ABAP proxy - XI - Webservice scenario, in the XI side we are getting error saying input data not coming in. How to check weather proxy is triggering the actual payload or data?
    There has been a change in the WSDL from the Webservices side, they have changed the data type, so we too updated the mapping in XI. So do we need to change anything in the ABAP program which triggers the proxy,
    how do I check weather proxy is triggering data or not?
    I want to see weather its problem with the ABAP trigger program.
    Thanks,
    Srinivas

    Hi ramakrishna,
    Does R/3 side SXMB_MONI give successful chequered flag when the message is processed?
    Because for correctly processed message, the data is being updated in the table, but I can't see the chequered flag on the R/3 side.
    But for the wrongly processed ones its showing PL_TIMEOUT error and showing red flag on R/3 side, this is what I see on the R/3 side:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Integration Server
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">PL_TIMEOUT</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Pipeline timeout condition satisfied</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

  • App Error in Async Abap proxy

    Hi
    We need to send a email when an async abap proxy fails due to application error. How can we achieve it.
    Regards
    Anandan

    Hi,
    you can find some function modules to trigger an email from abap proxy when an error occur.
    check it in ABAP forum.
    thanks and regards,
    phani kumar

  • Client ABAP Proxy : how to know which program is calling that service interface proxy

    Hi All,
    I have prepared some client proxy in ECC to communicate with PI.
    But, if I am not wrong, unlike server proxy which is written directly in the class Provider class in SPROXT transaction, in client proxy we write abap code to trigger proxy in SE38 .
    My question is : If I am in SPROXY and looking at any outbound SI, of which proxy is already generated, then how can in SE38  can I find which program is triggering that interface or proxy?

    Hi,
    check below thread for calling client proxy
    ECC outbound abap proxy (client) - Get ECC messageID from Protocol
    Regards,

  • ABAP Proxy call gets stuck in qRFC

    When I execute my program to trigger an ABAP proxy, the program executes successfully, but then no message appears in the Integration Engine.
    I have discovered that every time the program is executed, it ends up with an entry in the qRFC of the sending system. I can execute that manually, and the message appears in the Integration Engine.
    Can somebody please tell me why this is happening?
    Also, if I execute in client 110, the program works as described, but in client 100 and 120, I have a CX_AI_SYSTEM_FAULT exception raised.
    Any ideas why this may be the case?
    Kind Regards,
    Tony.

    Hi Anthony,
                   May i know what is the flag u got  in sxmb_moni of ECC.
    >>I have discovered that every time the program is executed, it ends up with an entry in the qRFC of the sending system. I can execute that manually, and the message appears in the Integration Engine.
    i understood that the message is strucked in ques( i.e SMQ1 or SMQ2) always.
    In order to resolve this, we need to register the ques and activate it.
    some ques like XBQ1,XBQA,XBQS*,............etc.
    we have QRFC Adminstration option in SMQ1,SMQ2 and SXMB_ADM.
    please register and activate it ...
    award the points, if it helpful to you
    Regards
    Mahesh.

  • ABAP Proxy and commit issue

    Hi,
    I want to send data using an ABAP proxy from SAP ECC to PI.
    The location where I call the method is in MV50AFZ1 Form uxerexit_delete_document
    In my opinion it is not wise to execute a commit work statement in this location. The proxy however needs a commit work to send the data.
    I also tried using a CALL FUNCTION ... IN UPDATE TASK. This also doesn't trigger the proxy to send the data.
    (and it is not allowed te execute a commit in update task .. .because it's already a "commit".
    Is there a way to get this thing working in this way? Or do you always have to program a separate program for sending the data with a proxy??
    Thanks
    Ron

    Hi Ron,
    Try submitting a report as a background job from the user exit...and inside this report you can write the code to call the proxy + commit.
    *Submit report as job(i.e. in background)
    data: jobname like tbtcjob-jobname value
    ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
    host like msxxlist-host.
    data: begin of starttime.
    include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
    call function 'JOB_OPEN'
    exporting
    delanfrep = ' '
    jobgroup = ' '
    jobname = jobname
    sdlstrtdt = sy-datum
    sdlstrttm = sy-uzeit
    importing
    jobcount = jobcount
    exceptions
    cant_create_job = 01
    invalid_job_data = 02
    jobname_missing = 03.
    if sy-subrc ne 0.
    "error processing
    endif.
    Insert process into job
    SUBMIT zreport and return
    with p_param1 = 'value'
    with p_param2 = 'value'
    user sy-uname
    via job jobname
    number jobcount.
    if sy-subrc > 0.
    "error processing
    endif.
    Close job
    starttime-sdlstrtdt = sy-datum + 1.
    starttime-sdlstrttm = '220000'.
    call function 'JOB_CLOSE'
    exporting
    event_id = starttime-eventid
    event_param = starttime-eventparm
    event_periodic = starttime-periodic
    jobcount = jobcount
    jobname = jobname
    laststrtdt = starttime-laststrtdt
    laststrttm = starttime-laststrttm
    prddays = 1
    prdhours = 0
    prdmins = 0
    prdmonths = 0
    prdweeks = 0
    sdlstrtdt = starttime-sdlstrtdt
    sdlstrttm = starttime-sdlstrttm
    strtimmed = starttimeimmediate
    targetsystem = host
    exceptions
    cant_start_immediate = 01
    invalid_startdate = 02
    jobname_missing = 03
    job_close_failed = 04
    job_nosteps = 05
    job_notex = 06
    lock_failed = 07
    others = 99.
    if sy-subrc eq 0.
    "error processing
    endif.

  • Abap Proxy to Send RFC  data  -- xi - File    ,   how to do - pls help  ?

    Hi Friends ,
                           Our scenario is once in day an  RFC is to be triggered and create flat file .That RFC will return data .
       Using  below likns i have configured the RFC Sender adapter
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    First Activate the ABAP Proxy?
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    How to implement a Client Proxy?
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    My question is
    <b>     1.    Is it possible to use ABAP Client proxy   to achive this ?
          2.   Then do we need to write RFC Call in side this proxy call ?
          3.      If we go for proxy do we need RFC Sender Adpater ?</b>
            I am little confused can you please explain , as how it works ?
    <b>       Is there is any other way to trigger RFC to send data ?</b>
    Regards.,
    Shyam

    Hi sabrish ,
                          Tahnks for ur reply. I was waiting for ur response . i have doubt
    the foloowing code i got from ur blog .
    REPORT Z_TEST_RFC_XI_WEBSERVICE.data: lv_distance type char10.CALL FUNCTION 'Z_WEBSERVICE_TEST_SHABZ' <b>destination 'Z_WEBSERVICE' </b> EXPORTING FROMZIP        = '12222' TOZIP          = '22222' IMPORTING  DISTANCE       = lv_distance.write : 'Distance is : ' , lv_distance.
      <b>           1. i have to generate proxy from Out bound interface right ? inside that proxy class whare i have to in clude the code to call rfc ?
                  2. Can u please tell what is the Destination in that report.  What is z_webservice ?</b>
                  3 . Do we need to use RFC Sender adapter ? It is not related to proxy right ?
    Regards.,
    Shyam
    null

Maybe you are looking for

  • Ipad2 skipping music during playback / too sensitive to vibration

    Hope somebody may help. I use to listen to music in my car, so I connect my iPad2 to the car sound system using the USB cable. Just yesterday, the music started skipping. That is, at any point in the song it will stop and jump to the next one without

  • How to use single Timer to generate PWM PULSE, Pulse ON time measuremen​t, Event time measuremen​t1,Event time measuremen​t2

    Hi, I am planning to use a single Timer to generate PWM PULSE, Pulse ON time  measurement, Event time measurement1,Event time measurement2 some one please suggest me how can I achive this. Thanks in advance.. Michael

  • Bug in array indicator?

    I found very strange behaviour of Array Indicator (LV 8.20). If you look at attached VI, you will see that is very simple VI where only first element of Array should changed randomly every half of second while other element are 8. But if I click any

  • Help getting set up

    I just purchased a Canon HF S20 and FCE and I'm looking for advice to get set up perfectly to store, transfer, and edit my AVCHD movie files. First of all, I do not have a firewire port on my MacBook. Is this a big no-no? I'm going to be working excl

  • I pod 2nd Gen wont play sound????

    My ipod 2nd generation wont play any sound sat all, ive tryed going into the settings and clicking the sounds setting button but it just goes back to the menu screen (with the apps) and it wont turn up the volume at all. the volume icon screen thingy