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

Delete Indicator in PO using BAPI

Former Member
0 Likes
1,155

Hi frends

MY requirement is For each PO which is of type PSTYP = 9. I have set the delete Indicator as L (loekz).

I am using the Bapi (BAPI_PO_CHANGE) But i am not able to update in the table as well as in the PO also

what are the parameters thet I have to pass coorectly to do these

Please Suggest me

Thanks.

5 REPLIES 5
Read only

Former Member
0 Likes
801

Hi,

try this.

If pstyp = 9.

in the POITEM populate tthe DELETE_IND = 'X'.

In order to upadte the table.

define an itab of structure BAPIMEPOITEMX.

pass the values

itab-DELETE_IND = 'X'.

Regards,

Bharagava

Edited by: Bhargava TC on Jun 30, 2009 1:38 PM

Read only

0 Likes
801

HI bhargaava

I have tried these but i am not able to update in PO number as well as in Table

Thanks

Read only

0 Likes
801

Hi try this.

Answer for below Q:

You need to pass below details for BAPI - BAPI_PO_CHANGE

Importing parameter

PURCHASEORDER <=== PO number

Tables parameter

POITEM

PO_ITEM <=== Po Line item number

DELETE_IND <=== 'X'

POITEM

PO_ITEM <=== Po Line item number

PO_ITEMX <=== 'X'

DELETE_IND <=== 'X'

After this you need to commit usig the BAPI - BAPI_TRANSACTION_COMMIT

Importing parameter

WAIT <=== 'X'

Regards,

Bharagava

Read only

0 Likes
801

Hi bhargava

Thanks for the reply actually the same I have done Ec 6 it is working fine and I am able to set the delete Indicator .

But when I have to do it in ECc 5.0 I am not able set the Delete Indicator for service PO.

Please Reply me

Thanks

P.Pramod

Read only

Former Member
0 Likes
801

answered