Application Development 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: 

Delete Partners assigned to the WBS elements using PM_PARTNER_DELETE_PARVW?

Former Member
0 Kudos

Hi Guys,

Can anybody tell me how to delete the partner assigned to WBS elements using PM_PARTNER_DELETE_PARVW.

Below is the code.but i was NOT able to DELETE the by using the BELOW CODE.

Is there any other alternative.

CALL FUNCTION 'PM_PARTNER_DELETE_PARVW'

EXPORTING

OBJNR = 'PR00001103'

PARNR = '000050260281'

PARVW = 'ZA'

.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

WAIT = 'X'

IMPORTING

RETURN = WA_RETURN.

.

APPEND WA_RETURN TO ET_RETURN.

Thanks,

Gopi.

2 REPLIES 2

messier31
Active Contributor
0 Kudos

Try below code:-

CALL FUNCTION 'PM_PARTNER_DELETE_PARVW'

EXPORTING

OBJNR = 'PR00001103'

PARVW = 'ZA'.

Dont pass partner no.

Enjoy SAP.

Pankaj Singh

Former Member
0 Kudos

Hi Pankaj,

Thanks for ur reply I tried like that but still its not working.

Thanks,

Gopi