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_0050_CREATE' Budget Creation Issue

anversha_s
Active Contributor
0 Likes
997

Hi,

I am trying to POST the budget through below BAPI. It is returining me the document number, but when i check through the transcation 'FMBB', that documnet number is not availble there. Also it is not appearing in the table.

I used 'FMKU_0050_CREATE_WITH_COMMIT' also. But it is also having same issue.

Please find my code.

CALL FUNCTION 'BAPI_0050_CREATE'
  EXPORTING
    language                 = 'E'
    header_data              = fs_header_data
*   HEADER_DATA_ADD          =
    testrun                  = space
 IMPORTING
   fmarea                   = fmarea
   documentyear             = documentyear
   documentnumber           = documentnumber
  TABLES
    item_data                = it_item_data
*   SENDER_ITEM_DATA         =
*   PERIOD_DATA              =
*   SENDER_PERIOD_DATA       =
*   LONG_TEXT                =
*   EXTENSION_IN             =
    return                   = it_bapiret2
          .


CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
*   WAIT          =
* IMPORTING
*   RETURN        =
          .

Please let me know if anything wrong in my code.

Thanks&Regards,

Anversha

2 REPLIES 2
Read only

anversha_s
Active Contributor
0 Likes
590

Hi Experts,

Any valuable inputs.

Thanks&Regards,

Anversha

Read only

anversha_s
Active Contributor
0 Likes
590

Solved