cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_PROJECT_GETINFO

Former Member
0 Kudos

Hello.

I'm developping my first Webdynpro and I encounter my first problem.

I want to use the bapi BAPI_PROJECT_GETINFO to retrieve all milestones attached to a WBS element.

So, I have an input field in which I fill the WBS, and a table to display the milestones.

But when I test the webdynpro, nothing appears except this error message:

The following error text was processed in the system AD6 : Context Path E_WBS_MILESTONE_TABL.WBS_ELEMENT Cannot Be Resolved (Last Node Is Empty)

The error occurred on the application server sapad6a0_AD6_54 and in the work process 1 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: GET_BOUND_ELEMENT of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP

The problem seems to come from the input field which is mapped to the field WBS_ELEMENT in structure I_WBS_ELEMENT_TABLE

Has anyone an idea to solve this?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

You mean to say The input element is goes to the WBS or

BAPI first.

what are the import and export elements for BAPI_PROJECT_GETINFO and WBS.

Thanks

Lohi.

Former Member
0 Kudos

CALL FUNCTION 'BAPI_PROJECT_GETINFO'

  • EXPORTING

  • PROJECT_DEFINITION =

  • WITH_ACTIVITIES =

  • WITH_MILESTONES =

  • WITH_SUBTREE =

  • IMPORTING

  • E_PROJECT_DEFINITION =

  • RETURN =

  • TABLES

  • I_WBS_ELEMENT_TABLE =

  • E_WBS_ELEMENT_TABLE =

  • E_WBS_MILESTONE_TABLE =

  • E_WBS_HIERARCHIE_TABLE =

  • E_ACTIVITY_TABLE =

  • E_MESSAGE_TABLE =

.

The input field I use is the WBS element. It is stored in the table I_WBS_ELEMENT_TABLE. I notice that I got this problem using the wizard