Posts

Steps to implement RAP in SAP

Image
 SAP RAP Implementation two scenarios.     *    Managed:  SAP handle CRUD- Create, Read, Update, Delete     * Unmanaged:  CRUD with custom logic code.     *  By following arrow in diagram, we will know step create app end to end by SAP RAP. **************************** ** ** Thank You ************************* ** **

Introduction to RAP & CAP in SAP

RAP (ABAP RESTful Application Programming Model): It's SAP's modern way for ABAP developers to build business applications.   It helps create applications that work well in the cloud and with SAP S/4HANA.   It uses standard web technology (called REST) to communicate.   Think of it as an upgrade to how ABAP applications are built. CAP (SAP Cloud Application Programming Model): It's another way SAP helps developers build applications, but it's more focused on cloud-based development. It's not limited to the ABAP language; you can use others like JavaScript and Java.   It's designed to make it easier to connect to different services and databases in the cloud.   Think of it as a more general toolkit for building cloud applications. Main Simple Difference: RAP is mainly for modernizing ABAP development within the SAP ecosystem. CAP is a broader model for building cloud applications using various technologies.   ****************************...

Fetch data from excel and Move Material Stock from Restricted to Unrestricted in ABAP

Image
REPORT zr_mm_material_so_release.   ** Global Declarations      INCLUDE zi_mm_material_so_release_top. ** Selection screen      INCLUDE zi_mm_material_so_release_sel. ** subroutines      INCLUDE zi_mm_material_so_release_form. ** Initialization INITIALIZATION.   PERFORM init_selscr_icons.   PERFORM clear_variables. ** AT SELECTION SCREEN AT SELECTION-SCREEN.   CASE sscrfields-ucomm.     WHEN 'FC01'.       PERFORM prepare_template.       PERFORM download_template.   ENDCASE. ** AT SELECTION-SCREEN ON VALUE-REQUEST FOR AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file. * Selecting the file   PERFORM get_file. START-OF-SELECTION.   PERFORM read_file .   PERFORM process_file.   PERFORM call_bapi_mat_change.   PERFORM call_reuse_alv_grid_display.   *&---...