How to make field Address required in transaction KE51

Normally SAP doesn’t provide us configuration and user exit to make fields in Address tab required in transaction KE51 . but after little bit of debug ABAP Code, i found the clue that you need to create enhancement point in include program LRKPMF05  in subroutine md_user_command_handle. In this example we want to make field Street, City, Country […]

Read More

BAPI_ACC_DOCUMENT_POST Header Text Not Posted

If you use BAPI_ACC_DOCUMENT_POST to create FI Document, you will definitely get the header text is not posted although you have input header text into BAPI_ACC_DOCUMENT_POST. The solution you need to use BADI AC_DOCUMENT of method CHANGE_INITIAL & CHANGE_AFTER_CHECK. Go to SE18 and enter AC_DOCUMENT into BadI Name field. Create enhancement and put this ABAP code into […]

Read More

How to disable standard field in ME51N

You can disable or grey out standard field in ME51N on certain condition. the solution you need to create Enhancement Implementation in function module MEREQBADI_FS_ITEM and create enhancement on last line and put this ABAP Code into this enhancement.

Note : That’s code will grey out automatically after user input data into field AFNAM ( Requisitioner […]

Read More

How to populate field using table maintenance events

We have one table for example ZTBMM007, this table has several columns, where there are 2 columns i.e HKONT (GL Account) and TEXT (Description GL Account). For the case is we want after filling HKONT then the TEXT column will be filled automatically. The solution is we can use Table maintenance events. 1.First step you […]

Read More

Authorization for the Pricing Screen using BAdI PRICING_AUTHORITY_CHECK_UI

SAP Standard is not fully supported to hide or restricted information in CONDITION Screen, because when you give any user the authorization to view or change sales order and billing document they are also have authorization to view or change pricing in condition screen. Eventhough the pricing information is very sensitive and not all user […]

Read More