2008 Jun 06 10:03 AM
Dera All,
Please help me on this issue. I am giving you the scenario below.
-
Pick the value of EKKO-EBELN and input the same in EKPO-EBELN. From table EKPO, get the value of EKPO-MATNR. Now input the value of EKPO-MATNR in KSSK-OBJEK with leading Zeros. The total number of digits in KSSK-OBJEK should always be 18 so the number of leading zeros needs to be adjusted. Now from KSSK table, pick the value of KSSK-CLINT and input the same in KLAH-CLINT. From KLAH table, display the value KLAH-CLASS.
EKPO-MATNR is 18 char
KSSK-OBJET is 50 char
Select single * from KSSK
Where object = ekpo-matnr.
But problem is that matnr is 18 char & objet is 50 char so it is not match.
How I could do plz give me the solution.
Thanks & Regards,
Abhay.
Dera All,
Please help me on this issue. I am giving you the scenario below.
-
Pick the value of EKKO-EBELN and input the same in EKPO-EBELN. From table EKPO, get the value of EKPO-MATNR. Now input the value of EKPO-MATNR in KSSK-OBJEK with leading Zeros. The total number of digits in KSSK-OBJEK should always be 18 so the number of leading zeros needs to be adjusted. Now from KSSK table, pick the value of KSSK-CLINT and input the same in KLAH-CLINT. From KLAH table, display the value KLAH-CLASS.
EKPO-MATNR is 18 char
KSSK-OBJET is 50 char
Select single * from KSSK
Where object = ekpo-matnr.
But problem is that matnr is 18 char & objet is 50 char so it is not match.
How I could do plz give me the solution.
Thanks & Regards,
Abhay.
2008 Jun 06 10:05 AM
Move the material number to a field of length 50. Add leading zeros is required.
2008 Jun 06 10:14 AM
put conversion exit of matnr data element .
and then use it on the different table.
2008 Jun 06 10:18 AM
Just you need to type cast
like this
Select single * from KSSK
Where object(18) = ekpo-matnr.
Hope this help
Regards
Bikas
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |