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

Get object_appl_key

Former Member
0 Likes
1,102

Hi Gurus

I created a ztable to hold some BPdata from different tables (BUT000, ADRC, etc ). In the zTable I have a field "BPOLD" which will hold OBJECT_APPL_KEY data from the COMM_CLEAR_TARG table.

My requirement is to store all BP (object_appl_key) where IS_SOURCE(Another COMM_CLEAR_TARG table's field) = "X", inside the ztable's BPOLD field.  I am implementing this in the BUPA_RELATSHP_UPDATE BADI, So i need a FM to pass the BP GUID and return the OBJECT_APPL_KEY details. Does anybody know of one or is there a way in which I can code this without a FM?

Thank you

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,057

COM_CLEAR_CASE_GET_DETAIL was the FM I was looking for

Hi Gurus

I created a ztable to hold some BPdata from different tables (BUT000, ADRC, etc ). In the zTable I have a field "BPOLD" which will hold OBJECT_APPL_KEY data from the COMM_CLEAR_TARG table.

My requirement is to store all BP (object_appl_key) where IS_SOURCE(Another COMM_CLEAR_TARG table's field) = "X", inside the ztable's BPOLD field.  I am implementing this in the BUPA_RELATSHP_UPDATE BADI, So i need a FM to pass the BP GUID and return the OBJECT_APPL_KEY details. Does anybody know of one or is there a way in which I can code this without a FM?

Thank you

3 REPLIES 3
Read only

deepak_sharma_sap
Active Participant
0 Likes
1,057

Hi,

Please use COM_CLEAR_BUPA_DEP_LIST

Pass the BP guid under Object guid and Object Class as BUPA.

Thanks

Deepak

Read only

0 Likes
1,057

Thank you Deepak for your response. Your response was helpful. I found a FM that worked.

COM_CLEAR_CASE_GET_DETAIL.
You pass it an object key that contains the BPID and the BPGUID. It returns the data to be cleansed and the data for the target object.

Read only

Former Member
0 Likes
1,058

COM_CLEAR_CASE_GET_DETAIL was the FM I was looking for