Skip to Content
0
Aug 22, 2023 at 05:50 AM

How to catch the ledger account number alias GL number with starting series number 2 or 4

22 Views

Hi All ,

According to my requirement i have to fetch the GL number series starting with 4 or 2 the leading zeros are removed please read this code

tt_budg[] = VALUE #( FOR ls_bsis IN lt_bsis ( voucher_date = ls_bsis-budat

budget_type = COND #( WHEN ls_bsis-hkont+0(1) = '4' THEN lc_opex

WHEN ls_bsis-hkont+0(1) = '2' THEN lc_capex )

based on this condition i want to fetch the data of budget_type is lc_opex value can anyone help me out from this

i need the 7.5 syntax