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

BAPI or FM for tcode FMBB

Former Member
0 Likes
3,696

Hi GUys,

does anyone know if there is an existing BAPI or FM for creating a document in transaction FMBB?

Many thanks,

Ian

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,267

Use this FM to create FMKU_0050_CREATE

Hi,

use BAPI BAPI_0050_CREATE

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.

Regards

4 REPLIES 4
Read only

Former Member
0 Likes
2,267

Hi,

Look at BAPI_0050_CREATE

Regards

Sudheer

Read only

Former Member
0 Likes
2,267

Hi,

use BAPI BAPI_0050_CREATE

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.

Regards

Read only

Former Member
0 Likes
2,268

Use this FM to create FMKU_0050_CREATE

Read only

Former Member
0 Likes
2,267

thanks guys!!!