Showing results for 
Search instead for 
Did you mean: 

pls anyone help me....urgent

Former Member
0 Kudos

Hi all..

pls tell me the code...

Get all the service line items in the contracts (Select EKPO line items where item category(PSTYP) is service. item category 9 is service.

. use the Package number(ESLL-PACKNO) from EKPO

Select on ESLL table using this Package number and get the Sub package Number (ESLL-SUB_PACKNO)

Select again on table ESSL to get the Service master number (ESLL-SRVPOS)

thanks in advance.


Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos


data : begin of t_data occurs 0,

ebelp like ekpo-ebelp,

packno like ekpo-packno,

end of t_data.

select ebelp packno into corresponding fields of table t_data

from ekpo where PSTYP = '9'.

select sub_packno srvpos into corresponding fields of table t_data1

from esll for all entries in t_data where packno = t_data-packno.

Define the table t_data1 accordingly to get the data into it.



Former Member
0 Kudos

Hi ..Himanshu

thank u 4 ur help.