cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Problem in ME21n while copying Item level data.

0 Kudos

Hello,

When i'm tryin to copy 1st row of the data,when i copied on to 2nd row ,so it is not copied the Purchase Req. Number.

Why is it so? Whether i have to use BADI or Enhancement?

Kindly suggest.

Regards,

Abhishek Kulkarni

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Hi,

As per Screenshot All other data are copied on to 2nd row only P.R number is not copied ?

Need to do ABAP Development or what?

Regards,

Abhishek K.

raymond_giuseppi
Active Contributor
0 Kudos

If you don't find any Customizing option (e.g. a "copy rules" option) you could try to use BAdI ME_PROCESS_PO_CUST and add some code in PROCESS_ITEM method.

Regards,

Raymond

0 Kudos

Hi Raymond,

Thanks for your reply.

Whether is it Standard or  need to do any enhancement? when i copied one row as per screenshot it will not take same  Purchase Requisition Number on 2nd row.

So in BADI "ME_PROCESS_PO_CUST" is there any update method ??

Kindly Suggest.

Regards,

Abhishek K.

raymond_giuseppi
Active Contributor
0 Kudos

Yes in this method you will be able to call other methods on received instance of PO item, mainly GET_DATA (GET_PREVIOUS_DATA, GET_PERSISTENT_DATA) and SET_DATA will be useful. Perform some search at scn, there are already many threads on those methods.

Regards,

Raymond

0 Kudos

Hello,

Thanks for your reply.

But our requirement is to copy purchase requisition number in line item copy functionality. I believe in standard this functionality is not available can pl suggest any exit, BADI or a way to implement this functionality.

<Offers of points will be deleted - please don't offer or ask for rewards or your posts will be rejected, thank you.>

Thanks a Ton

Abhishek K

Message was edited by: Gareth Ryan

Message was edited by: Gareth Ryan

Former Member
0 Kudos

Abhishek,

The TCODE ME51N might help you.

BAPI BAPI_REQUISITION_CREATE

Regards,

Ashvin

Former Member
0 Kudos

HI Abhishek,

Please refer to the SAP Note 938251 - ME21N/ME59N: Problems when copying purchase orders.

Regards,

Ashvin