2015 Jan 27 11:31 AM
please help me...
In smart form po, based on ekko-ebeln get the multiple line items in ekpo.
based on ekpo pack no pass into esll get some lineitems , my requirement is again pass the esll-subpack no in esll get the
line items how to write select query.
2015 Jan 27 12:03 PM
Hi Praveen,
Try this,
SELECT EKKO~EBELN
EKPO~EBELP EKPO~PACKNO
ESLL~INTROW
FROM EKKO INNER JOIN EKPO ON EKPO~EBELN = EKKO~EBELN
INNER JOIN ESLL ON ESLL~PACKNO = EKPO~PACKNO
INTO TABLE LT_DATA
WHERE EKKO~EBELN IN S_EBELN. " Input
Regards,
Vijay
2015 Jan 27 11:44 AM
2015 Jan 27 12:14 PM
2015 Jan 27 12:22 PM
2015 Jan 27 11:48 AM
Hi,
1). Use the following function module ' MS_FETCH_SPEC_FOR_LIST'
here we have to pass the pack no is enough
2). use the view 'ML_ESLL' here pass the ebeln and ebelp we get complete data related to pack no.
2015 Jan 27 11:55 AM
2015 Jan 27 12:05 PM
hi,
hear pack no and sub pack no different and also one pack no multiple sub pack no is there .
eg: pack no : 123
subpck. 124,125. like
2015 Jan 27 12:11 PM
here it_service1 contain two sub_pack numbers,based on these sub_pack numbers I want to remaining here sub_pack numbers is more one pack number multiple subpack numbers
2015 Jan 27 1:43 PM
2015 Jan 27 12:03 PM
Hi Praveen,
Try this,
SELECT EKKO~EBELN
EKPO~EBELP EKPO~PACKNO
ESLL~INTROW
FROM EKKO INNER JOIN EKPO ON EKPO~EBELN = EKKO~EBELN
INNER JOIN ESLL ON ESLL~PACKNO = EKPO~PACKNO
INTO TABLE LT_DATA
WHERE EKKO~EBELN IN S_EBELN. " Input
Regards,
Vijay
2015 Feb 04 1:51 PM
Hi Praveen,
Have you got solved your issue? Do not leave the threads opened.
Regards,
Vijay
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |