Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in BAPI_INCOMINGINVOICE_CREATE

Former Member
0 Likes
472

Hi Friends...

I am using BAPI_INCOMINGINVOICE_CREATE for posting data in MIR7. When I post the data from se37 its working fine. But if I execute through program it shows an error message.

I checked in debugging mode, through SE37 PO_UNIT value is automatically changed from CAN into KAN.

But if I took the value from file and pass it to the same function module, it shows an error.instead of CAN if I pass KAN as a input of PO_UNit its working fine.

how it is changed from CAN to KAN, when I assign values directly to function module in SE37, why the same functionality is not working when Ipassed the value through file.

Kin

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
417

Hi,

This seems to be problem of conversion exit. Before passing unit to BAPI use conversion exit to convert it in proper format.

You can user conversion exit 'conversion_exit_cunit_input'. This will convert CAN to KAN for you. Th

is will take care of other measuring units also.

thanks

Sarbpreet Singh Multani

2 REPLIES 2
Read only

Former Member
0 Likes
418

Hi,

This seems to be problem of conversion exit. Before passing unit to BAPI use conversion exit to convert it in proper format.

You can user conversion exit 'conversion_exit_cunit_input'. This will convert CAN to KAN for you. Th

is will take care of other measuring units also.

thanks

Sarbpreet Singh Multani

Read only

0 Likes
417

its working..thanks ya..