cancel
Showing results for 
Search instead for 
Did you mean: 

PO update via LSMW

0 Kudos
1,318

Dear experts,

My requirement is to update PO/Contract via LSMW only.

Here, i have to update payment terms, delete unprocessed messages and maintain new version with specific reason and description. I tried doing this via recording transaction me22, but the version management part can not be recorded. But when i run the batch input session it throws an error to update the version.

Please suggest a way to handle this.

Many Thanks,

Nidhi

View Entire Topic
deependra_shekhawat3
Contributor
0 Kudos

Hi Nidhi,

If it is not getting possible via recording you can try to change PO via BAPI 'BAPI_PO_CHANGE'.

In LSMW go with business object 'BUS2012' . You need to enable inbound IDOC processing for LSMW.

Thanks

Deependra

0 Kudos

Hi Deependra,

With BAPI_PO_CHANGE, unprocessed messages can not be deleted. Its the BAPI's restriction.

deependra_shekhawat3
Contributor
0 Kudos

Hi,

There are some paramter so you can take a look on them like Import paramter  NO_MESSAGING, NO_AUTHORITY etc.

Deependra

0 Kudos

Hi Deependra,

My requirement is to update PO and Contract at one go. And the BAPI is for PO only. Is there any other way out then using BAPI, some FM which can be included in LSMW code.

deependra_shekhawat3
Contributor
0 Kudos

Hi Nidhi,

what do you mean by contract ? is it sales contract or any other ?