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: 

BDC on ME22N

Former Member
0 Kudos

Hi Frnds,

I am trying to do the BDC program for the trnasaction ME22N to undelete all the purchase order line items. Also I have to check "GOODS RECEIPT" check box, for the same line itme, which is present in the "DELIVERY" tab.

Here i am facing two problems,

1. The cursor is not being placed on the specified line item, That means, I am not able to locate the cursor on the particular line item which is to be undeleted, the cursor is always placed on the first line item.

2. How can we choose the particualr line item value while trying to mark the checkbox(GOODS RECEIPT)as i explained above?

If anyone has any idea, please let me know,

Many thanks in advance and regards,

Karthick.c

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You cannot write a BDC on ME22n (ITs a enjoy transaction using ALV controls which will not work in the background). Use BAPI_PO_CHANGE instead.

Or do your BDC on the old transaction ME22.

REgards,

Ravi

Note : Please mark the helpful answers

Message was edited by: Ravikumar Allampallam

3 REPLIES 3

Former Member
0 Kudos

You cannot write a BDC on ME22n (ITs a enjoy transaction using ALV controls which will not work in the background). Use BAPI_PO_CHANGE instead.

Or do your BDC on the old transaction ME22.

REgards,

Ravi

Note : Please mark the helpful answers

Message was edited by: Ravikumar Allampallam

ferry_lianto
Active Contributor
0 Kudos

Hi Karthick,

BDC will not work smoothly with enjoy SAP transaction like ME22N. If you still want to use BDC, I would suggest to work with transaction ME22 instead.

Hope this will help.

Regards,

Ferry Lianto

Former Member
0 Kudos

Hey Boss,

I am not sure what do you mean by UNDELETE. Anyway if you are trying to change the purchase order I would recommend using BAPI_PO_CHANGE instead of recording ME22N.

-Kiran