cancel
Showing results for 
Search instead for 
Did you mean: 

Status of Contract Term

Former Member
0 Kudos

Hi RE Masters,

i have a requirment where i have to find the status of the contract

is their a FM where by we give the contrcat number and it gives the status of the contract?

or else in which table can i be able to find the staus?

your help is highly appriciated.

thank you,

pasala.

Accepted Solutions (1)

Accepted Solutions (1)

franz_posch
Active Contributor
0 Kudos

HI pasala,

you may use BAPI_RE_CN_GET_DETAIL or API_RE_CN_GET_DETAIL.

ET_STATUS contains the status items set for the contract. (Technically status entries are stored in table JEST.)

Regards, Franz

Former Member
0 Kudos

great answer BUT...

The FM returns everyting except the current contract status.

What is ET_STATUS? How can i get the current contract status of the contract?

thank you for your replay and much appiricated for your valuble time and patience.

looking forward to your reply.

pasala.

franz_posch
Active Contributor
0 Kudos

Hi pasala,

ET_STATUS is an export parameter of the function module.

You may check it out as follows.

se37: API_RE_CN_GET_DETAIL

choose Test Function Module

enter company code and contract number

execute

You will find ET_STATUS in the result screen and can check the entries there. ET_STATUS contains all status entries that are assigned to the contract.

Hope that helps.

Regards, Franz

Former Member
0 Kudos

hi Franz,

thank you so much for ur answers and you are 100% correct in what you say.. and i may be worng in expalining.

when i run the FM that you gave me gives the STATUS of the CONTRACT.

BUT...

If i want to know the CURRENT STATUS and NOT (status) of the contract... HOW CAN I KNOW?

highly appiriciated for your answers.

thank you,

pasala.

franz_posch
Active Contributor
0 Kudos

Hi pasala,

sorry for the misunderstanding. To get the current status shown on the term tab of the contract you may try out the function module API_RE_CN_PERIOD_GET_DETAIL. (current status is always determined depending on the system date)

Regards, Franz

Former Member
0 Kudos

oops thats a GREAT answer.

thank you FRANZ....

Much appriciated for your help and its my pleasure to give you 100 % points because you deserve it.

Answers (0)