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: 

ME23N

former_member188827
Active Contributor
0 Kudos

hi

ive created an additional tab and fields in header of me21n using badis me_gui_po_cust and me_process_po_cust.

it is working fine.that is data in customer fields is getting saved in ekko table.

the only problem is that in me23n these fields are blank.i.e data is not getting displayed.

can ny1 suggest wat the problem is.

points will b rewarded

2 REPLIES 2

Former Member
0 Kudos

HI,

IN those BADI's you need to pull the data from the EKKO table and display it in the transaction. write like, ig the PO number is not blank, get the data based on the purchase order number and pass the values to the Z fields

Regards

Sudheer

0 Kudos

hi

method IF_EX_ME_GUI_PO_CUST~TRANSPORT_FROM_MODEL.

data: l_item type ref to if_purchase_order_item_mm,

l_header TYPE REF TO if_purchase_order_mm,

ls_mepoheader type mepoheader,

ls_mepoitem type mepoitem,

ls_customer type zmepo_badi_examp.

----


  • system asks to transport data from the business logic into the view

----


case im_name.

when subscreen1.

  • is it an item? im_model can be header or item.

mmpur_dynamic_cast l_HEADER im_model.

check not l_HEADER is initial.

  • transport standard fields

ls_mepoheader = l_header->get_data( ). *----


>This function is not reading header data in me23n.

ls_mepoitem = l_item->get_data( ) .

  • store info for later use

move-CORRESPONDING ls_mepoheader to dynp_data_pbo.

when others.

  • ...

endcase.

endmethod.

this is my code the additional fields zzfield1 & zzfields are getting displayed in me23n but they are empty even though the data for these fields is stored in the database table ekko. <b></b><b></b><b></b>