Sunday, 13 April 2025

READ table TRANSPORTING NO FIELDS for checking existence of values:

 In SAP ABAP, the READ TABLE statement can be used to check the existence of values in an internal table without transferring any fields to the work area. When using TRANSPORTING NO FIELDS with READ TABLE, it allows you to perform a simple existence check without copying any data to a target structure.

if line_exists( Sales_order_inter_table [ ordertype = ’ZOR’ ] ).

*******add

Logic here******

Endif.


Note:

Isn’t this pretty simple and useful? Try to use the above for checking

error or success for BAPI return messages, you will like it.

No comments:

Post a Comment