Skip to main content

Posts

Showing posts from August 19, 2011

Step by Step guide on BADI with Filter implementation

Step 1 à Before implementing filter objects to a BADI. We need to deactivate all the implementation for that BADI. Go to SE18 (BADI definition) and from there navigate to all BADI implementation to view all the active implementations for that BADI Select the BADI implementations listed on the screen and deactivate the implementation. Once done, return back to the initial screen of SE18 and proceed with next step. Step 2 à go to SE18 – BADI Definition screen and change the existing BADI definition that we created in the earlier tutorial.   Select the FILTER –DEPENDENT check box under the TYPE section. This will open up the FILTER TYPE field for inputs. And do an F1 on the FILTER TYPE field. Click on the F4 on the FILTER TYPE field name and enter some search criteria to find a relevant data element. And click on the continue button   Select the data element from the list to set up your filter and hit enter. Click on the save button and act

Custom BAPI creation - Step-by-step Procedure

To create the custom BAPI, we need to follow this step-by-step procedure. The steps are  Create the BAPI structure. Create Remote Function Module. Place the Remote Function Module into BOR (Business Object Repository). Implement, Generate and Release the BAPI. Step 1: To create BAPI structure, the structure name should start with the keyword ZBAPI . Here, Two BAPI structures are created in this scenario .The name of these BAPI structures are ZBAPI_IMPORT and ZBAPI_TABLE .   Step 2:   ZBAPI_IMPORT structure contains the following fields.     Step 3 : ZBAPI_TABLE structure contains the following fields.    Step 4: Now, define the Remote Enabled Function Module using T-Code SE37 starting with the ZBAPI . Provide the name of the function module as ZBAPI_DEMO_SD . We must pass the Import and export parameters as value parameters .  Attribute Parameters:    Import Parameters:     Export Parameters:    Return parameter in the Export parameter contains the error messages.