Skip to Content
avatar image
Former Member

BAPI_PROJECT_MAINTAIN : Fill in all the required fields

Hi Experts,

I am trying to create a WBS element under a proj definition using BAPI_PROJECT_MAINTAIN. I get error as : Fill in all the required fields.

I have filled I_PROJECT_DEFINITION with,

PROJECT_DEFINITION , DESCRIPTION , BUS_AREA.

I_METHOD_PROJECT WITH,

REFNUM OBJECTTYPE                       METHOD                           OBJECTKEY

0000001  WBS-ELEMENT                     CREATE                            "SOME VALUE

0000000                                               SAVE

I_WBS_ELEMENT_TABLE WITH,

WBS_ELEMENT              PROJECT_DEFINITION       DESCRIPTION BUS_AREA.

And when executed in SE37, I get error Fill in all the required fields.E055(00).

I have googled for missing field. Some said, to keep PROFIT_CTR as DUmmy.But when I do this I get : profit center 0010/dummy doesnt exist.

Any pointer, please help.

Thanks,

Anil

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 22, 2014 at 06:48 AM

    Did you pass  i_wbs_element_table_update table?

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 22, 2014 at 07:00 AM

    You can get all the required values of  i_project_definition from BAPI  BAPI_PROJECT_GETINFO.

    Pass project number into  BAPI_PROJECT_GETINFO and get  e_project_definition. Pass  e_project_definition to BAPI BAPI_PROJECT_MAINTAIN. This way you dont have to worry about the mandatory fields.

    Regards,

    Viraj.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Viraj,

      I have used BAPI_PROJECT_GETINFO and passed the values to BAPI BAPI_PROJECT_MAINTAIN.

      I still get Fill in all the required fields.E055(00).

      Thanks,

      Anil

  • Dec 22, 2014 at 10:14 AM

    Hi Anil,

    Please try using BAPI_BUS2054_CREATE_MULTI.

    Regards,

    K.S

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Anil,

      Pls comment both left & up.

      Debug the FM from line 64

        loop at it_wbs_element into ls_wbs_element.

      see what happens in the below line.

      call function 'CJ2054_CREATE'

      in this call the sy-subrc is set as 0 and msg comes as mentioned by you.

      Closely debug this fm and note what is missing in this call.

      Hope this helps.

      Rgds,

      K.S