cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Functional module calling from XI!!!

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member181985
Active Contributor
0 Kudos

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.

Answers (3)

Answers (3)

Former Member
0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

hi ,

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

regards, navneet

prateek
Active Contributor
0 Kudos

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

Regards,

Prateek