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

T-Code CL24N (CAWN-ATFLV)

Former Member
0 Likes
11,248

Hi there,

I have a requirement to insert a hard code in an user-exit to check some informations... I really hate hard codes such this, and I'd like to know if someone could help me with this issue.

I need to retrieve characteristic values from T-CODE CL24N.

1 - I found entries in CAWN table but I don't know how to "convert" ATFLV field to string, or number.

2 - I have no idea which one is the selected value (100000,01 - 200000,00 BRL)

Does anyone know how to do that?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
8,686

Hi/Olá Thiago,

To retrieve characteristic values, pay attention for mainly tables about that: KLAH, KSSK, CABN, CAWN and AUSP.

[PT] Para buscar valores de classificação, você deve prestar atenção aos dados das principais tabelas a respeito: KLAH, KSSK, CABN, CAWN e AUSP.

Did you already try to use FM "CLAF_CLASSIFICATION_OF_OBJECTS"?

[PT] Chegaste a tentar usar a função "CLAF_CLASSIFICATION_OF_OBJECTS"?

Follow an example to use it, where we get some classification for customer:

[PT] Segue um exemplo de uso dela, onde buscamos algumas informações de classificação do cliente:

Any doubt, please let me know about it!

[PT] Qualquer dúvida a respeito, por favor me avise!

Best regards/Atenciosamente,

Alexandre B. Dambrowski

7 REPLIES 7
Read only

JuanCarlosDelga
Contributor
0 Likes
8,686

Hi Thiago,

For 1. you can use function QSS0_FLTP_TO_CHAR_CONVERSION.

For 2. Marck 'Check conversion exist' in User paremeters to be able to see the charateristic name.

Regards.

Read only

0 Likes
8,684

Thank you very much, ...!

It helped me a lot, but I didn't understand what should I do in the second step, about check conversion exist to check which one is the correct value that is selected.

Read only

Former Member
0 Likes
8,687

Hi/Olá Thiago,

To retrieve characteristic values, pay attention for mainly tables about that: KLAH, KSSK, CABN, CAWN and AUSP.

[PT] Para buscar valores de classificação, você deve prestar atenção aos dados das principais tabelas a respeito: KLAH, KSSK, CABN, CAWN e AUSP.

Did you already try to use FM "CLAF_CLASSIFICATION_OF_OBJECTS"?

[PT] Chegaste a tentar usar a função "CLAF_CLASSIFICATION_OF_OBJECTS"?

Follow an example to use it, where we get some classification for customer:

[PT] Segue um exemplo de uso dela, onde buscamos algumas informações de classificação do cliente:

Any doubt, please let me know about it!

[PT] Qualquer dúvida a respeito, por favor me avise!

Best regards/Atenciosamente,

Alexandre B. Dambrowski

Read only

0 Likes
8,680

Thank you, but I didn't find how to fill the OBJECT field.

Could you help me?

Read only

0 Likes
8,673

Thiago,

In your case, to get values about "02 PX" objects, you must use Object parameter "02PX" on FM "CLAF_CLASSIFICATION_OF_OBJECTS"!

If you need to get charateristics for all objects, you could use this FM insite a loop from KSSK or select directly from CABN/CABNT, CAWN/CAWNT and AUSP tables, as you need!

- CL24N Transaction:

- Table KLAH – Filling fields KLART & CLASS

- Table KSSK – Filling fields KLART & CLINT (KLAH-CLINT)

- FM "CLAF_CLASSIFICATION_OF_OBJECTS" results:

Best regards/Atenciosamente,

Alexandre B. Dambrowski

Read only

0 Likes
8,673

Perfect...! Thank you very much...!

Read only

0 Likes
8,673

You're welcome!

Best regards/Atenciosamente,

Alexandre B. Dambrowski