Skip to Content
author's profile photo Former Member
Former Member

Need help urgent!!!!!!!!

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2008 at 09:05 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2008 at 09:14 AM

    put conversion exit of matnr data element .

    and then use it on the different table.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 06, 2008 at 09:18 AM

    Just you need to type cast

    like this

    Select single * from KSSK

    Where object(18) = ekpo-matnr.

    Hope this help

    Regards

    Bikas

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.