Posts

Showing posts with the label me51n

Fetch G/L and Cost center while creating PR

In this scenario GL account and cost center fetched to CMOD (includes)       DATA : li_items TYPE mmpur_accounting_list,                   lw_items TYPE mmpur_accounting_type,                   ls_acct  TYPE exkn.   DATA: l_f_refer TYPE REF TO if_purchase_requisition_item.   IF im_req_item IS NOT INITIAL.        CALL METHOD im_req_item-> if_acct_container_mm~get_items             RECEIVING                re_items = li_items.        IF NOT li_items IS INITIAL.           LOOP AT li_items INTO lw_items.              CALL METHOD lw_items-model->get_exkn                   RECEIVING                     r...

Display mode for fields G/L Account and cost center in ME51N

Image
                                                                              Refer -   Find meta field value                                                                                G/L account - SAKTO - 551 (meta field value)                                                                       ...

Add custom tab to me51n at item level in ABAP

Image
                                        * Customer exit for ME51N is -  MEREQ001                                         * To implement the customer exit in CMOD. Step 1: Goto T-code: CMOD. Step 2: Give project name and click on create. Step 3: Give short text and click on Enhancement assignments . Press enter and click on save. Step 4: Click on components . Double click on CI_EBANDB include and create the include. Step5: Give your field names (If your enhancement category can't be enhanced) as per our requirement. Otherwise click on append structure and create. Field names must started with ZZ. Step 6: Save and activate the structure. Step 7: Double click on C_EBANDBX and create structure like this. Step 7: Double click on screen ...