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

Project Definition (BAPI_BUS2001_CREATE)

Former Member
0 Likes
896

Hi Experts,

I am using BAPI: "BAPI_BUS2001_CREATE" to create Project Definition.

I am passing all its mandate values and theres flag XSTAT(Statstical) and PLINT(Integrated Planning).

At a time we can pass only 1 ,either Statstical or Integrated Planning.

Problem:

Default values are maintain in table TCJ41.

If suppose for particular Project profile default value for PLINT = 'X' and I am passing XSTAT = 'X' then its give error

because it takes default value for PLINT = 'X' and also passed value i.e XSTAT = 'X'.

(Project definition cant have both as 'X').

please help me to overcome this issue.

Thanks in advance.

Thanks,

Ankit.

4 REPLIES 4
Read only

former_member188827
Active Contributor
0 Likes
671

then explicitly use clear statement to overwrite the default value.i.e.

CLEAR <variable>.

Read only

Former Member
0 Likes
671

Hi,

Code i mentioned above is part of standard BAPI...

Thanks.

Read only

Former Member
0 Likes
671

Hi,

You can check the table TCJ41 and pass the value correctly to the BAPI. I don't understand what is the issue here?

Sujay

Read only

Former Member
0 Likes
671

Hi Experts,

in Table TCJ41 default values are maintain.

So when i am not passing any values it will take default value-Thats Correct...

but When i am passing the value it takes both the values(Default and Passed one) and further it gives Dump.

Thanks,

Ankit.

Edited by: Ankit chheda on Sep 23, 2010 2:24 PM

Edited by: Ankit chheda on Sep 26, 2010 8:37 AM

Edited by: Ankit chheda on Sep 30, 2010 9:19 AM