Posts

Showing posts from May, 2024

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)                                                                                Cost center - KOSTL - 510 (meta field value) Step 1:  Go to T-code: SE37. Step 2: Give FM name  MEREQBADI_FS_ITEM . And click on display. Step 3: Click on enhance button (shift +F4). Step 5: Goto Edit -  Enhancement operations - click on s how implicit enhancements. Step 6: Right click on Double quotes (140 line)- enhancement operations - create implementation. Step 7: Choose enhancement type - Code and click on create implementation and save. Step 8: Write code. IF  sy - uname  =  'TRNGAB63' .     DATA :   wa_header  TYPE  mereq_header ,         wa_item    TYPE  mereq_item ,         lv_kostl   TYPE  mmpur_metafield  VALUE  '510' ,         lv_sakto  

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 number (0111) and design layout (Pls ignore email field).         Fields: EBAN-ZZGL_NUM, EBAN-ZZGL_TEXT, EBAN-ZZCC_NUM, EBAN- ZZCC_TEXT. Step 8: Save and activate the screen. ***************************** Create class To set and get th