cancel
Showing results for 
Search instead for 
Did you mean: 

Obtaining BP/Contact_Person/status information

gary_king2
Participant
0 Kudos
77

Hi,

I'm having trouble detecting which FM I can use to show the before and after values for changes to the status tab screen with the BP/Contact_Person screen. I'm using FM <b>BUPA_GENERAL_CALLBACK</b> to get the BUT000 information okay, but can not determine what FM will supply changes to the Status fields.

Can anyone be of help.

Regards

Dr Sidewalk

Accepted Solutions (0)

Answers (2)

Answers (2)

gary_king2
Participant
0 Kudos

Rajesh,

I was aware of these tables but have not reference them because my coding is within a BADI that kicks in once the SAVE button has been pressed and is action before any saving of data takes place. Therefore these tables would not have been updated at this time. I understand that there are FM that display the data both before and after modification.

That's exactly what FM BUPA_GENERAL_CALLBACK does, returning both an old and new internal table showing the data both before after it was modified. This FM does return some status information, like archive, central block etc, but it does not seem to show the status set under 'Status Management', like 'Blacklisted' etc. It is these status changes that I am trying to detect.

With regards

Blue

Former Member
0 Kudos

Hi Gary,

Try FM CRM_STATUS_READ_OW. This reads the status from the buffer i.e. before SAVE.

Lokesh

pls. reward if the post helps you

Former Member
0 Kudos

If you know that status changes will not be committed during your BADI execution, you can find all the statuses till the last change (FM CRM_STATUS_READ ) and current status of the BP in the buffer (FM CRM_STATUS_READ_OW).

I am not sure about your exact requirement and logic your using, but if you are looking for status text information you can find it in table TJ30T.

Give me the BADI you are using and your logic so that I can have better picture.

Regards,

Rajesh.

Message was edited by:

Rajesh Vankadaru

Former Member
0 Kudos

You can find all the status/status change details of your BP in tables CRM_JSTO, CRM_JEST and CRM_JCDS tables.

Regards,

Rajesh.