cancel
Showing results for 
Search instead for 
Did you mean: 

FM to see the list of document tracking

sap_2605
Active Participant
0 Kudos

Dear SAP gurus,


We are using SRM 7.01 with backend ECC 6.05 with classic scenario. We are now writing a spec for report to track the progress of SC (eg. SC --> RFx --> Follow on RFx (if any) --> auction (if any) --> PO).

is there a FM in which we can pass the SC number or RFx then we can know the related document (can be the previous doc or the result doc)

Best regards,

John

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

 

 

 

Hello,

please try below FM to get doc list.

ls_object_key-h_guid = is_header-guid." Sc guid
ls_object_key-h_object_type = <fs_item>-object_type. " BUS2121

CALL FUNCTION 'BBP_PD_GETHISTORY'
EXPORTING
i_object_key = ls_object_key
IMPORTING
e_be_log_system = ev_be_log_system
TABLES
et_history = lt_history
EXCEPTIONS
incomplete_object_information =
1
OTHERS = 2

.

Regards,

Neelima

Answers (3)

Answers (3)

former_member197610
Active Contributor
0 Kudos

Hi John,

Check the function module,BBP_PROCDOC_GETDETAIL.

Hope this helps...

Former Member
0 Kudos

Hi,

You can use FM  BBP_PD_SC_GETDETAIL. This will have a table E_HEADER_REL which will have all the relations of any follow on document that is created( be it in ECC or SRM) .

Regards,

Naveen

Former Member
0 Kudos

You can get it in table BBP_PDBEH

With Regards,

Malay