Skip to Content
author's profile photo
Former Member

FILE->XI3.0->SAP

HI,

I have problem i have configured system for

FIle->file adapter

XI3.0

SAP->rfc adapter

My scenario should create sales order through

BAPI_SALESORDER_CREATEFROMDAT1

I can see the xml messsage proccessed successfuly in

SXMB_MONI,

but sales order is not getting created in SAP.

Regards,

Tuhin

Add comment
10|10000 characters needed characters exceeded

5 Answers

  • Posted on Jan 27, 2005 at 07:43 AM

    Hi,

    In first time you can trace the RFC call in SAP to see if XI use it.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      You can look into Integration Monitoring on Runtime Workbench. Maybe you see an error there.

      And Check your sm59 Destination.

      Is there a connection to R/3 when you test the Destination ?

      You also can try to restart the RFC-Adapter.

      Regards,

      Robin

  • Posted on Jan 27, 2005 at 08:34 AM

    Hi,

    first check if the BAPI does the commit work itself: typical BAPIs for writing data do not do that. Just run a test in transaction SE37 with your data and then check if the salesorder was created. If not, the BAPI can not be used directly with RFC adapter.

    Hope that helps, regards

    Boris

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Jan 27, 2005 at 10:48 AM

    Hello Tuhin

    Most BAPIs does not issue a commit but require the calling application to handle transaction control. If you want to call a BAPI via the RFC adapter you usually have to wrap the BAPI call in a RFC enabled FM of your own which should handle the commit or rollback based on the return parameters from the BAPI. Then you call your own FM from the RFC adapter.

    => Johan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      You can confirm this by verifying your Number range objects for the Sales Order. If these numbers are consumed, but you do not see a document, you can be certain that the BAPI Commit is the reason why you do not see your Sales Order.

      -Feroz

  • author's profile photo
    Former Member
    Posted on Jan 28, 2005 at 03:59 AM

    HI all,

    Thank u very much for many replies but still issue is not solved.

    yes this bapi is doing commit automatically so that is not the issue i have checked with number range also number is not cousumed .

    I have set external break point in SAP system in BAPI but that break point is not getting reached thats what i feel.

    Regards,

    Tuhin

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Feb 01, 2005 at 10:58 AM

    Then probably something is wrong with your input parameters. Remember that external debugging is user dependent. (need same user for debugging as for the RFC call) Have you tried to manually call the BAPI with SE37 with the same parameters as for the RFC call and check the BAPIRETURN messages?

    => Johan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      HI Johan,

      I tried to post document with same set of data its working fine but when i Use the XI its not posting it.

      I m using same user for debugging but its never reached .However status in SXMB_MONI is Still processed sucessfully flag.The return payload is not showing document number created it only shows same data which i have passed.

      Thanks ,

      Tuhin