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

Function module for setting status

Former Member
0 Likes
778

Hi All,

We have a requirement in PS module where in for an ACTIVITY in NETWORK of a PROJECT we have to set the status as " CONFIRMED" using ABAP development.

Wanted to know that whether any std function module is

available for the same?

Regds,

Akshay

5 REPLIES 5
Read only

Former Member
0 Likes
733

Try

AIS2_STAT_CHANGE_FOR_ACTIVITY

Read only

Former Member
0 Likes
733

Hi,

BAPI_NETWORK_CONF_ADD will help you.

Regards

Read only

0 Likes
733

Hi,

I have tried this BAPI entering the parameters :

Activity

Plant

Degree of confirmation

Final Conf

No work remaining indicator

Posting date

Actual start date

Finish Date

I am geting error message RU 510:

A confirmation function can only be executed in dialog mode

Am I missing any other parameter ?

Regds,

Akshay

Read only

0 Likes
733

Hi,

You are missing the network number, pass it in number field.

Regards

Read only

aditya_niyogi
Participant
0 Likes
733

Hi Guys,

I have successfully managed to implement this function module by passing the internal table containing the following values for a Particular network ( say 000000500020 ) with the following parameters:

(1)Activity

(2)Work_Cntr

(3) Conf_text

(4) fin_conf

(5)Postg_date

(6)Act_type

(7)Act_work

(8)Un_work

- all activities with their details were appended to the internal table i_confirmations.

The returning table parameter e_message_table was an internal table which contained the status of all the processed entries. I would like to know whether a particular entry in i_confirmations can have more than one status entry in e_message_table. Also where can I check the change in status - I have checked the activity status , but it seems to remain the same even though I got an information message in the e_message_table saying that changes in '000000500020' have been saved.