Skip to Content
avatar image
Former Member

Queuing in MII V 12.0

Hi,

If R/3 is down what will happen to the request(BAPI) sent from MII to R/3? Is there any built in functionality for queuing such requests and reprocessing it when R/3 is up??

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 02, 2008 at 07:22 AM

    Hi Sophila,

    you call a BAPI by using one of the JCo Actions of MII. If the action receives an error (SAP down, User or PW not correct and so on) the actions failes. You can catch the error and react accordingly.

    I think you will have to build some kind of queue for yourself. For example, create a table "Outbound Messages" and fill it with the XML data you want to send to SAP. Then create a job that regularly reads the table. If the messaes can be delivered to SAP, you can delete them from the table. Otherwise the jobs will try to send them until SAP can be reached.

    The effort to create this table and the job is small, and you can separate the function of creating the message and delivering it to SAP.

    You may also find the following thread useful, which gives more information about the queue actions in MII:

    [queuing---action-blocks-queue-get-queue-put--queue]

    Michael

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 02, 2008 at 05:16 PM

    Hi,

    You can actually enable queuing if you use the JRA action block instead of JCo to call BAPI from MII. The data buffering functionality is new in MII 12.0. Refer the following help doc:

    [Data Buffering|http://help.sap.com/saphelp_xmii120/helpdata/en/45/515db282a33a16e10000000a1553f6/frameset.htm]

    Thanks,

    Dipankar

    Add comment
    10|10000 characters needed characters exceeded