Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

urgent code required

Former Member
0 Likes
354

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

2 REPLIES 2
Read only

Former Member
0 Likes
326

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

Read only

Former Member
0 Likes
326

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