‎2007 Feb 08 7:49 PM
Hi all,
I have one requirement i.e i need to display two check boxes in selection screen one is for insert and second one is for delete. when ever we check the insert check box it has to insert the customer no's in the selected range if we select delete check box it has to delete the customer no's in the selected range table name is kna1.its very urgent please help me out.
Regards,
Gautami
‎2007 Feb 08 7:53 PM
HI,
Use AT SELECTION-SCREEN OUTPUT. event....
LOOP AT SCREEN.
IF CHK1 = 'X'.
SO_MATNR-SIGN = 'I'.
SO_MATNR-OPTION = 'EQ'.
SO_MATNR-LOW = '1'.
SO_MATNR-HIGH = '100'.
ENDIF.
IF CHK2 = 'X'.
CLEAR SO_MATNR.
REFRESH SO_MATNR.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Regards
SAB
‎2007 Feb 08 8:25 PM
Hi,
Use BAPI_CUSTOMER_CREATE to create the customers in the range
and BAPI_CUSTOMER_DELETE to delete the customers in the range.
Call these Func.modules appropriately inside a loop...endloop.
Regards
Subramanian