Tag: sap

SAP oData and Fiori Commonly Used Transaction Codes

These are most commonly used transaction codes which you will need while working on a fiori project:   oData related T-Codes SEGW - SAP Gateway Service Builder /IWFND/MAINT_SERVICE - Activate and Maintain Services /IWFND/ERROR_LOG - SAP Gateway Error Log /IWFND/TRACES - SAP Gateway Traces /UI2/GW_SYS_ALIAS - Gateway - Manage SAP System Alias   Fiori related T-Codes LPD_CUST - Launchpad customizing /UI2/FLP - SAP Fiori Launchpad /UI2/FLPD_CUST - Fiori Lpd. D
Read More »

Loading Jquery Correctly into BSP Application

Sometimes, we might want to use jquery in our bsp applications to create some pretty views with animation. But if you couldn't load it correctly, it might be very annoying. Thanks to SAP's Automatic Delta Handling (ADH) in BSP applications, when the page loads We can load it multiple times unnecessarily and call respective functions multiple times, after you might end up with a messed up view. Here are some tips to use jquery correctly, to keep you out from these troubles. First
Read More »

Employee Search with Dynamic Where Clause

I have implemented this function for a custom fiori application employee value help. It is simply used as an employee value help backend function. There are 3 fields at value help structure from but000 PARTNER NAME_FIRST NAME_LAST   FUNCTION z_crm_ui5_oneri_partner_vhelp. *"---------------------------------------------------------------------- *"*"Local Interface: *" IMPORTING *" VALUE(IS_PARTNER_VHELP) TYPE ZCRM_UI5_S063 OPTIONAL *" EXPORTING *" V
Read More »

How To change order status with bol programming

DATA: lv_status TYPE j_estat, lr_adm_h TYPE REF TO cl_crm_bol_entity, lr_btorder TYPE REF TO cl_crm_bol_entity, lr_core TYPE REF TO cl_crm_bol_core, lr_status_h TYPE REF TO cl_crm_bol_entity, lr_status TYPE REF TO cl_crm_bol_entity. lr_core = cl_crm_bol_core=>get_instance( ). CHECK lr_core IS BOUND. lr_core->load_component_set( 'ALL' ). lr_btorder = lr_core->get_root_entity( iv_object_name = '
Read More »

How To Mark Business Partner For Deletion with BUPA_CENTRAL_CHANGE

In order to mark a business partner for deletion, the BUPA_CENTRAL_CHANGE BAPI is used Simply provide the necessarry variables and call the BAPI DATA: lt_return TYPE STANDARD TABLE OF bapiret2, ls_data TYPE bapibus1006_central, ls_datax TYPE bapibus1006_central_x. ls_data-centralarchivingflag = 'X'. ls_datax-centralarchivingflag = 'X'. CALL FUNCTION 'BUPA_CENTRAL_CHANGE' EXPORTING iv_partner = iv_partner is_data = ls_data is_data_x
Read More »