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

Bapi for cancelling a PR

Former Member
0 Likes
1,346

Hello Gurus!

Is there a BAPI to cancel a PR?

Is this includede in BAPI_PR_CHANGE?

Thanks,

Jeffrey

Hello Gurus!

Is there a BAPI to cancel a PR?

Is this includede in BAPI_PR_CHANGE?

Thanks,

Jeffrey

7 REPLIES 7
Read only

Former Member
0 Likes
1,236

try...

BAPI_BUPR_ACTIVITYP_DELETE

Read only

Former Member
0 Likes
1,236

Hi Jeffrey,

You can use this BAPI to set the deletion indicator of the PR-items. But I'm not sure if this is what you want?

Regards,

John.

Read only

Former Member
0 Likes
1,236

Hi,

try with this BAPI <b>BAPI_REQUISITION_DELETE</b>

it is used to delete or close. or else you can try with this <b>BAPI_REQUISITION_CHANGE</b>

Regards

vijay

Read only

Former Member
0 Likes
1,236

I only need to cancel the pr so that the user can still retrieve it if they need to.

Is this possible?

Thanks,

Jeffrey

Read only

0 Likes
1,236

Hi,

that requisition really it won't delete, but it sets up deletion flag .

later you can access using that deletion indicator.

Regards

vijay

Read only

0 Likes
1,236

Hi Jeffrey,

PR line item will not deleted physically, only the deletion indicator will be set, if you want you can reset the deletion indicator flag.

Regards,

Arun.

Read only

Former Member
0 Likes
1,236

Jeffrey,

From a functional point of view there is no such thing as cancelling a PR (At least not to my knowledge). But setting the deletion indicator of the item(s) involved will do exactly what you want. The PR is still visible in the system, but no longer active as all items have a deletion indicator.

Regards,

John.