cancel
Showing results for 
Search instead for 
Did you mean: 

How/When is table SRRELROLES updated with roletype BBP_TARGET

Former Member
0 Kudos

Hi

I am having an issue in method FILL_PO_INTERFACE which is in an implementation of BADI BBP_CREATE_PO_BACK.

I am using SAP std FM BBP_BW_SC_SELECT_1 to get the shopping cart ID and SC guid. I am having a problem because this FM sometimes returns back no values which is down to there being no PO value with role type 'BBP_TARGET' in table SRRELROLES (see code below).

select * from SRRELROLES

where objkey = Purchase Order*

and objtype = 'BUS2012'

with role type = 'BBP_TARGET'.

I have two queries.

1. Under what conditions does the SRRELROLES table get updated with the PO and shopping cart details for roletype 'BBP_TARGET'? Is it configuration? or another BADI i.e determine backend obects?

2. Is the table SRRELROLES updated before going into the BADI BBP_CREATE_PO_BACK.

Thanks for your help in advance.

Daniel

Accepted Solutions (0)

Answers (1)

Answers (1)

bhakti2
Active Participant
0 Kudos

Hello Daniel,

Could you please let me know if you have found any solution to this problem because I am having the same problem with this table SRRELROLES.

I am using function module bbp_pd_objrel_read_via_ref and i do not get result sometimes because SRRELROLES is not updated with the object ID at all. the FM searches the record with BBP_TRITM roles.

Any input is appreciated !!

rita

Former Member
0 Kudos

Hi

<u>Please go through this -></u>

<b>Note 798044 Correction for object links missing between SC and BE docs</b>

Note 504243 No deletion of the links when documents are deleted

Do let me know. Hope this will help.

Regards

- Atul