SAP for Public Sector Discussions
Foster conversations about citizen engagement, resource optimization, and service delivery improvements in the public sector using SAP.
cancel
Showing results for 
Search instead for 
Did you mean: 

Batch Input FMBB

Former Member
0 Kudos

Hi All

Does anyone know how to make t-code FMBB Budgeting Workbench available for batch input? When we record the transaction, the values for funds centre, commiment item and amount are not populated. Or is there some other way to use batch input for budget values in BCS?

9 REPLIES 9

0 Kudos

Dear Yvonne,

Instead of using Batch Input use BAPI BAPI_0050_CREATE, with this

function you are able to fill structures with proper information and

create the FM document, like using transaction FMBB but easy and

quickly. Check the documentation of the function.

Regards, Noemí

0 Kudos

I have the same problem with SHDB. I was thinking that this functionality ist just common for all transactions, but...

I was testing the BAPI_0050_CREATE. This seems to work also not properly. I have tested the BAPI with se37. BAPI has created 4 documents - sometimes books SAP w/o positiontext, sometimes books with a state 2 (I would like to have 1).

After this 4 documents are booked, books SAP any documents more, shows in a return table that everything is OK, and gives a documentnumber back.

0 Kudos

Hi Noemi, Alexei

I am also having a probem with the BAPI. It creates a document number but when you try to display the document, the system says it does not exist i.e. it does not actually create the document. But if you display the return tabl, it shows that everything is Ok and gives the document number. Even when you check the number range in config, it displays that current doc number as the one created in the BAPI. If this program could work and correctly display the document, my problem would be solved.

0 Kudos

Hi Yvonne,

I was in contact with SAP regarding the problem we both have with BAPI_0050_CREATE. They told me that I should put a 'COMMIT WORK' after calling BAPI. I have done it - this does't work properly. Then I have looked in BAPI coding - this BAPI does nothing but calling function FMKU_0050_CREATE with almost the same parameters. This function I implemented with FMKU has created just one document with a number which was just a decrement number from DOCNUMBER and does't produce any more documents. So, I will be in touch with You in this topic if SAP finds the solution. Good is that we both have the same problem - it seems to be smth. wrong in the application.

Regards

Alexey

0 Kudos

Hi Alexey

Did you log a customer message? I appreciate the assistance.

Kind regards and God bless.

0 Kudos

Hi Yvonne,

I have found a solution for our problem:

After calling the BAPI_0050_CREATE You have put the following :

clear ret_tab.

refresh ret_tab.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

IMPORTING

return = ret_tab.

Then the document is posted and the number is correct.

Look good that the parameters are correct - the date should be like 20070618 and the amount should be with a points not commas.

Sometimes it works w/o external support.

Kind regards

Alexey

0 Kudos

Thanks a million Alexey. Will try this.

0 Kudos

Hi Alexey

This solution works well. Thanks a lot for the assistance. The only thing is that when you want to specify period values under PERIOD DATA, the system returns nothing. The documentation says that the amount value in ITEM DATA should be left blank and should be specified under PERIOD DATA. I have tried this and it still does not work. Have you tried entering data for PERIOD DATA?

Kind regards

Former Member
0 Kudos

The system actaully posts but just does not populate the returns table when entering period data.