Posts

Showing posts from March, 2020

Finished Upgrading to Suite on HANA, Now What?

Customers are upgrading to HANA in large numbers. Instead of going to S/4 HANA and BW/4 HANA, a lot of customers are going to Suite on HANA and BW on HANA. For customer shops new to HANA, it is time to set the development strategy for custom ABAP development. This blog provides clear guidance on what should be your strategy and why? It is specifically written for customers who are on SAP Netweaver 7.5 and current support package stack running suite on HANA, ECC EHP 8. Do the following to get the best value for your money: Set up the ABAP team with Eclipse and ABAP Development Tools add-on. Insist they use it for all their work. You will have to adjust the developer roles to include authorizations for ADT Start using ABAP CDS for all data manipulation tasks, be it for a report, interface or new transaction New user interface transactions should be built as Fiori apps. Use ABAP CDS and Fiori Elements. For transactional apps use the BOPF framework generated from ABAP CDS annotations

BAPI_PO_CHANGE delivery complete indicator

Image
Some time required to change Po status below program helps you to change the status of the program DATA : xreturn like BAPIRET2 occurs 0 with header line, xpoitem like BAPIMEPOITEM occurs 0 with header line, xpoitemx like BAPIMEPOITEMX occurs 0 with header line. xpoitem-po_item = p_ebelp . " set position here xpoitem-no_more_gr = 'X' . append xpoitem . xpoitemx-po_item = p_ebelp . " set position here xpoitemx-no_more_gr = 'X' . append xpoitemx . CALL FUNCTION 'BAPI_PO_CHANGE' EXPORTING purchaseorder = p_ebeln "set ebeln here TABLES return = xreturn poitem = xpoitem poitemx = xpoitemx . if sy- subrc = 0 . CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING WAIT = 'X' . endif. Please support my work

Deleting Puraches Order

Image
DELETING PURCHASE ORDERS MASSEKPO-ELIKZ EKPO- EKKO-FRGKE NO_MORE_GR /SAPPO/MAPI_PO_ORDER_CLOSE W_FRM_PO_CLOSE /SAPPO/BAPI_ORDER_CLOSE CO_SF_CLOSE_ORDER_TECHNICAL CO_ZF_ORDER_CLOSE W_FRM_PO_CLOSE, also check above funtion module *&---------------------------------------------------------------------* *& Report ZMMR_DELETEPO                                               * *&---------------------------------------------------------------------* *&  Author                    : Rohini Kumar *&  Description               : PO Change *&  Program Objective         : Places a DELETION indicator for the PO *&                              items given in the VTLS data *&  Remarks                   : NA *&---------------------------------------------------------------------* REPORT ZMMR_DELETEPO NO STANDARD PAGE HEADING MESSAGE-ID zisb. tables : zvtls_sap. *C-- Types Declarations TYPES : BEGIN OF tp_flatfile_vtls,         ebeln(10),         ebelp ty