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

Need help urgent!!!!!!!!

Former Member
0 Likes
719

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.

3 REPLIES 3
Read only

Former Member
0 Likes
650

Move the material number to a field of length 50. Add leading zeros is required.

Read only

Former Member
0 Likes
650

put conversion exit of matnr data element .

and then use it on the different table.

Read only

Former Member
0 Likes
650

Just you need to type cast

like this

Select single * from KSSK

Where object(18) = ekpo-matnr.

Hope this help

Regards

Bikas