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: 

I am not getting the unloading point field update from PO in ME21N

Former Member
0 Kudos

I am not getting the unloading point feild update fromin  PO   ME21N

When i  create PO(ME21N) with  with Acct.Assigment Cat = 'Y' AND item Category = 'B' ( Blanket PO) , not getting updated UNLOADING POINT(Line Item Account assignment TAB).

If some can help me , really helpful and thanks in advance.

The following code wrote on PO BADI but it is not working.

po BADI:ME_PROCESS_PO_CUST

Method:PROCESS_ACCOUNT

Code:
DATA:ls_mepoaccounting TYPE  mepoaccounting.
ls_mepoaccounting = im_account->get_data( ).
ls_mepoaccounting-ablad = 'TEST'.
im_account->set_data( ls_mepoaccounting ).

Thanks & Regards

Kushal

6 REPLIES 6

former_member188827
Active Contributor
0 Kudos

Are you able to update unloading point using ME21N. Make sure it is not a "display only" field.Also, as Please have a look at following link, it contains some of the reasons why some fields dont change using BADI:

https://scn.sap.com/thread/1515821

Regards

0 Kudos

Hi,

Before started posting in this forum , i have made it  not display  mode this field and verified but not worked.

I also would like into inform it's happening only for banlket po's where item category = 'B'. other than this it's working perfectly.

On top of it , tried with the following user exit's too but not able to resolve the issue.

EXIT_SAPMM06E_012

EXIT_SAPMM06E_013

If at all any one having other thoughts, Please let me know and will await for your reply.

Thanks & Regards

Kushal

Former Member
0 Kudos

Hi Kushal,

Did you checked in Debugging mode whether the value is getting filled in that particular field or not?

Let me know if any clarification/help required.

Thanks & Best Regards.

Pavan Neerukonda.

0 Kudos

Hi Pavan,

Yes, i did debugging but standard program with '*' and '-' with ablad field for which is not able to update in                    im_account->set_data( ls_mepoaccounting ) with unloading point(ablad) in po creation transaction as per my above code.

Thanks & REgards

Kushal

0 Kudos

Hi,

Any one can help on this requirement?

Thanks

Kushal

0 Kudos

Good Day,

I am attempting similar task but for purchase requisition so that I won't need to fill it at the point of PO creation. It will adopt from PReq.

This is being attempted with the use of a BAdi ME_PROCESS_REQ_CUST.

I am also looking for assistance with this.