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 function module update

mohamed_hamdi
Explorer
0 Likes
2,245

Hello all,

I am creating an application that calculate the consumption of fuel per distance or fuel per time. First I need to create a programm that do the same simillar work that's done by the Transaction "IFCU" which is fill in the fields of "Consumed Quantity of Fuel" , "DISTANCE" and "Time" as showen.

I started by searching for a function module that do the update for IFCU transaction so I can use it later in the creation of OData, and I found a BAPI called "ITOB_CONSUMPTION_UPDATE" that contains different functions like 'BAPI_GOODSMVT_CREATE' and 'MEASUREM_DOCUM_DIALOG_LIST_1' etc ...

The Thing is, after doing the Test and adding the required inputs, the function is not updating in IFCU neither it creates the necessary measure documents.

Any suggestions would be helpful.

Thank You

1 ACCEPTED SOLUTION
Read only

alexmuthu
Participant
2,086

Can you try to execute FM in Test Sequences.

1) ITOB_CONSUMPTION_UPDATE - to perform your Process

2) BAPI_TRANSACTION_COMMIT - to Commit the changes done by above BAPI

2 REPLIES 2
Read only

alexmuthu
Participant
2,087

Can you try to execute FM in Test Sequences.

1) ITOB_CONSUMPTION_UPDATE - to perform your Process

2) BAPI_TRANSACTION_COMMIT - to Commit the changes done by above BAPI

Read only

2,086

Thank You alex