Skip to Content
0
Former Member
Dec 26, 2007 at 09:11 AM

SELECT

33 Views

hi all

I have this below set of input statements.Which is working fine.

PARAMETERS : P_BUKRS TYPE BKPF-BUKRS OBLIGATORY.

SELECT-OPTIONS : s_belnr FOR bkpf-belnr.

PARAMETERS : P_GJAHR TYPE BKPF-GJAHR OBLIGATORY.

After the above statements are excuted am giving the code as mentioned below but the problem is that when i debug d below code i am getting the value P_GJAHR and also P_BUKRS but the value of is S_BELNR is not there in the field though am giving it in the input screen.Please help

SELECT DISTINCT USNAM FROM BKPF

INTO CORRESPONDING FIELDS OF TABLE it_bkpf1

WHERE bukrs = p_bukrs AND gjahr = p_gjahr

and belnr in s_belnr.

With Regards

Vijay