cancel
Showing results for 
Search instead for 
Did you mean: 

Debug creation of SC of subtype ER from report BBP_EXTREQ_TRANSFER

former_member184111
Active Contributor
0 Kudos

Dear Experts,

When a PR is transferred from ERP to SRM using the report BBP_EXTREQ_TRANSFER it creates a SC of subtype ER in SRM. We want that if a PR is transferred again then it should not create a new SC instead update the old SC that it created when transferred first time and start the workflow.

I am debugging the FM BBP_BC_EXTREQ_INB and I understand that SC is created using BAPI_SCEC_CREATE but how to update the old SC instead of creating a new one when the PR is RE-Transferred?

Any pointers will be of great help.

Thanks,

Anubhav

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184111
Active Contributor
0 Kudos

New SC is not created..check in FM  BBP_API_EXTREQU_UPDATE

PERFORM check_extdem_exists
USING    is_header
CHANGING lv_update ls_header_tmp.

Thanks,

Anubhav