Application Development 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: 

code for project creation using bapi

Former Member
0 Kudos

can anyone share code for project creation using bapi_projectdef_create...

it's very urgent...

1 REPLY 1

Former Member
0 Kudos

Hi

This is the Structure you have to populate and have to pass to the BAPI you mentioned..

PROJECT_DEFINITION_STRU like BAPI_PROJECT_DEFINITION.

Check the field in the structure BAPI_PROJECT_DEFINITION

In the se11-datatype give the BAPI_PROJECT_DEFINITION.

or

Se37 give the BAPI name , in the IMPORT u see the structure name BAPI_PROJECT_DEFINITION , double click u can see the field of the structure...

Let me say the steps :

1) populate the internal table from the flat file.

2) loop the internal table and populate the structure

created with type BAPI_PROJECT_DEFINITION.

3) call the BAPI function assign the value to it.

4) create a return table to maintain the return message..with the structure BAPIRETURN1.

5) after the Endloop process the RETURN message and check for succes ful records and errorneous one..

check this sample program for MM01.

http://www.saptechies.com/mm01-upload-using-bapi-2/

Reward Point if useful...