Skip to Content
avatar image
Former Member

Error in Functional module calling from XI!!!

Hi All,

I'm using XI to pick data from ORACLE write it in SAP and take the response from SAP and write it back in ORACLE database. I'm using a custom functional module in SAP and calling it from XI .

The custom functional module create the CUSTOMER and ORDER .

Customer is getting created in SAP but order is not created. We are using two different functional modules for customers and orders.

The above functional modules are executing in SAP but while calling from XI only the customer is getting created in SAP.

Please post your views and suggestions on this issue.

Thanks in advance.

LN

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Feb 19, 2009 at 07:23 AM

    check the functionality by directly executing the BAPI in R/3 system. If it works it has to work from XI too.....

    Make sure that you are passing expected data (structure) for the SAP Function Module from XI.

    Thanks,

    - Gujjeti.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 19, 2009 at 09:04 AM

    Are you calling two FM in custom FM or calling them differently

    If you are calling them in custom FM by invoking BAPI then need to commit them

    provide more details regarding this will be helpful

    Rajesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      First put the commit work after successfuly executing the order creation in the custom function module.

      If you already put and doesn't know why it is not creating the orders, debug the function module by putting the same data which you are passing from XI in test tab.

      Suppose, the Orders are creating in the dubug mode. Then debug the custome function module dynamically using SM50.

      Regards,

      Krishnaraju.

  • Feb 19, 2009 at 07:22 AM

    You need to execute COMMIT WORK in your BAPI after execution for both customer and order.

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 19, 2009 at 07:29 AM

    hi ,

    please check ur second (order) FM working fine at R/3 .execute ur FM at se37 and try to insert value .

    regards, navneet

    Add comment
    10|10000 characters needed characters exceeded