Posts

Showing posts with the label Table

Dynamic Table Selection

REPORT zdany_dynamic_select. * We use some parameters to dynamically control the select, this is not very * clever but this is just a test program !! PARAMETER : p_tabnam TYPE tabname DEFAULT 'SFLIGHT',             p_selfl1 TYPE edpline DEFAULT 'CARRID',             p_selfl2 TYPE edpline DEFAULT 'CONNID',             p_selfl3 TYPE edpline DEFAULT 'FLDATE',             p_selfl4 TYPE edpline DEFAULT 'PRICE',             p_selfl5 TYPE edpline DEFAULT 'CURRENCY',             p_where1 TYPE edpline DEFAULT 'PRICE > 300',             p_where2 TYPE edpline DEFAULT 'AND CURRENCY = ''EUR'''. FIELD-SYMBOLS :  TYPE ANY TABLE,                  TYPE ANY,                  TYPE ANY. ...

How to delete line item (row) of SAP table ?

How to delete line item (row) of SAP table ? Answer : you can use se16n transaction like this: start tr. se16n type the table name and press ENTER. Then type the string "&sap_edit" into the command line and strike Enter again. enter your selection criteria. run.(F8) now you can easily delete the lines you want (and then save) All Changes are noted in the tables SE16N_CD_DATA and SE16N_CD_KEY. Nice answer from christina *************************** There are another way to delete this table, you can create abap program  for delete detail and summary table New GL. This is example ABAP program for that purpose REPORT  zfi_fagl_del. TABLES : faglflexa,faglflext. INCLUDE : zgen_alv,zgen_alv_event. SELECTION-SCREEN BEGIN OF BLOCK box1 WITH FRAME TITLE text-t01. SELECT-OPTIONS :             s_bukrs FOR faglflexa-rbukrs OBLIGATORY. PARAMETERS:          ...

How to attach parameter id in fields ?

When I googling this question, there are many question like this but the answer of this question I donn't get yet. So I'm try to change manual field and fill parameter id on attribute of data element with Z... And I'm getting error "Z.. Value not found on Table TPARA. Bingo .. so to add this parameter ID the value could be maintain on table TPARA, with tcode sm30 we can add parameter ID. Problem Solve....